@charset "UTF-8";

/* Flori Green — Boutique.
 * WooCommerce est volontairement isolé : cette feuille n’est chargée que
 * lorsque l’extension existe, après main.css. Les filets, les aplats et le vide
 * remplacent les cartes et les ombres jusque dans le panier et la commande.
 */

/* 01. Socle opératoire */

/* ── LA TABLE DE TRADUCTION ───────────────────────────────────────────
   Cette feuille a ete ecrite pour l'ancienne peau du site. Elle appelle
   trente-six jetons qui n'existent plus : --space-5, --c-line-strong,
   --ui-small, --font-display, --radius-control… Un `var()` sans valeur ni
   repli ne tombe pas sur « rien » : il rend la propriete INVALIDE. D'ou une
   boutique sans marges, sans filets et sans rayons — le fond des « avis mal
   designes », du panier gris et de la fiche produit brute.

   Deux corrections possibles : reecrire 193 appels, ou ecrire une fois la
   traduction. La traduction, pour la meme raison que pour le studio 3D :
   une valeur, un endroit. Les noms restent anciens dans le corps du
   fichier, mais ils pointent tous sur la palette et l'echelle actuelles.

   L'echelle d'espacement suit --pad, qui respire deja avec l'ecran. */
:root {
  --space-1:.25rem; --space-2:.45rem; --space-3:.7rem; --space-4:1rem;
  --space-5:1.4rem; --space-6:1.9rem; --space-7:2.6rem; --space-8:3.4rem;

  --c-cream:var(--ground); --c-paper:var(--surface); --c-sand:var(--surface);
  --c-clay:color-mix(in srgb,var(--ink) 8%,var(--surface));
  --c-ink:var(--ink); --c-on-ink:var(--ground); --c-ink-soft:var(--ink-dim);
  --c-wine:var(--ember-aplat); --c-on-wine:var(--on-ember);
  --c-line:color-mix(in srgb,var(--ink) 16%,transparent);
  --c-line-strong:color-mix(in srgb,var(--ink) 30%,transparent);

  --ui-h1:var(--t-h1); --ui-h2:var(--t-h2); --ui-h3:var(--t-h3);
  --ui-body:var(--t-body); --ui-small:var(--t-small); --ui-label:var(--t-micro);
  --ui-lh-tight:1.15; --ui-measure:65ch;
  --tracking-label:.12em;
  /* Une seule police sur le site : le « display » est le meme sans-serif,
     distingue par la capitale et l'interlettrage, pas par la famille. */
  --font-display:var(--sans); --font-sans:var(--sans);

  --radius-control:var(--r-pastille); --radius-panel:var(--r-case);
  --ring:2px solid var(--ember-txt); --ring-offset:2px;

  --fg-shop-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m10 1.5 2.3 5 5.4.7-4 3.8 1 5.5-4.7-2.7-4.7 2.7 1-5.5-4-3.8 5.4-.7z'/%3E%3C/svg%3E");
}

.fg-woo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5) var(--space-8);
  min-width: 0;
}

.fg-woo-content > :where(.woocommerce-notices-wrapper, .products, .woocommerce-pagination, .product, .cart-empty, .return-to-shop, form, .cart-collaterals, .woocommerce-form-login, .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
  grid-column: 1 / -1;
}

.fg-woo-content :where(.woocommerce, .product, form, table, fieldset, .woocommerce-MyAccount-content) {
  min-width: 0;
}

.woocommerce a {
  text-underline-offset: .28em;
}

.woocommerce :where(button.button, a.button, input.button, #respond input#submit, .wc-block-components-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 50px;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--c-wine);
  border-radius: var(--radius-control);
  background: var(--c-wine);
  color: var(--c-on-wine);
  font-size: var(--ui-small);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.woocommerce :where(button.button, a.button, input.button, #respond input#submit, .wc-block-components-button):hover {
  border-color: var(--c-clay);
  background: var(--c-clay);
  color: var(--c-on-ink);
  transform: translateY(-2px);
}

.woocommerce :where(button.button, input.button, .wc-block-components-button):disabled,
.woocommerce :where(button.button, input.button, .wc-block-components-button)[aria-disabled="true"],
.woocommerce :where(button.button, input.button).disabled {
  border-color: var(--c-line-strong);
  background: var(--c-line);
  color: var(--c-ink-soft);
  cursor: not-allowed;
  transform: none;
}

.woocommerce :where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: var(--ring);
  outline-offset: var(--ring-offset);
}

.woocommerce :where(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select),
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-control);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: var(--ui-body);
  line-height: 1.35;
}

.woocommerce textarea {
  min-height: 12rem;
  resize: vertical;
}

.woocommerce :where(input, textarea)::placeholder {
  color: var(--c-ink-soft);
  opacity: 1;
}

.woocommerce :where(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select):focus {
  border-color: var(--c-wine);
  outline: var(--ring);
  outline-offset: 0;
}

.woocommerce form .form-row {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  padding: 0;
}

.woocommerce form .form-row label,
.wc-block-components-text-input label,
.wc-block-components-form .wc-block-components-checkout-step__title {
  color: var(--c-ink);
  font-size: var(--ui-small);
  font-weight: 600;
  line-height: 1.35;
}

.woocommerce form .form-row .required {
  color: var(--c-clay);
  text-decoration: none;
}

.woocommerce form .form-row.woocommerce-invalid :where(input, textarea, select) {
  border-color: var(--c-clay);
}

.woocommerce-password-strength,
.woocommerce-password-hint,
.woocommerce-form__label-for-checkbox,
.woocommerce-form__label-for-radio {
  font-size: var(--ui-small);
}

/* 02. Notices, états et prix */

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-notices-wrapper {
  margin-bottom: var(--space-5);
}

.woocommerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error),
:where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  display: flow-root;
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-panel);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: var(--ui-small);
  list-style: none;
}

.woocommerce .woocommerce-error {
  border-color: var(--c-clay);
}

.woocommerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
  content: none;
}

.woocommerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
  float: inline-end;
  min-height: 44px;
  margin-inline-start: var(--space-4);
}

.woocommerce .price,
.woocommerce-Price-amount,
.wc-block-components-product-price {
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}

.woocommerce .price {
  font-family: var(--font-display);
  font-size: var(--ui-h3);
  line-height: 1.1;
}

.woocommerce .price del {
  color: var(--c-ink-soft);
  font-size: var(--ui-small);
}

.woocommerce .price ins {
  text-decoration: none;
}

.woocommerce .stock {
  padding-block: var(--space-3);
  border-block: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  font-size: var(--ui-small);
  font-weight: 600;
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  z-index: 2;
  top: var(--space-3);
  right: var(--space-3);
  left: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-on-wine);
  border-radius: var(--radius-control);
  background: var(--c-wine);
  color: var(--c-on-wine);
  font-size: var(--ui-label);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* 03. Note et avis */

.woocommerce .star-rating {
  position: relative;
  display: inline-block;
  float: none;
  width: 5.7em;
  height: 1.1em;
  overflow: hidden;
  color: var(--c-line-strong);
  font-size: var(--ui-small);
  line-height: 1;
}

.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 5.7em;
  height: 1.1em;
  background: currentColor;
  content: "";
  -webkit-mask: var(--fg-shop-star) left center / 1.1em 1.1em repeat-x;
  mask: var(--fg-shop-star) left center / 1.1em 1.1em repeat-x;
}

.woocommerce .star-rating span {
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  overflow: hidden;
  color: var(--c-clay);
  text-indent: -999em;
}

.woocommerce .comment-form-rating {
  display: grid;
  gap: var(--space-2);
}

.woocommerce .comment-form-rating > label {
  font-weight: 600;
}

.woocommerce .comment-form-rating p.stars,
.woocommerce .comment-form-rating p.stars span {
  display: inline-flex;
  width: fit-content;
  margin: 0;
}

.woocommerce .comment-form-rating p.stars a {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
}

.woocommerce .comment-form-rating p.stars a::before {
  width: 22px;
  height: 22px;
  background: var(--c-line-strong);
  content: "";
  -webkit-mask: var(--fg-shop-star) center / contain no-repeat;
  mask: var(--fg-shop-star) center / contain no-repeat;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.woocommerce .comment-form-rating p.stars span:hover a::before,
.woocommerce .comment-form-rating p.stars.selected a:not(.active)::before,
.woocommerce .comment-form-rating p.stars.selected a.active::before {
  background: var(--c-clay);
}

.woocommerce .comment-form-rating p.stars span:hover a:hover ~ a::before,
.woocommerce .comment-form-rating p.stars.selected a.active ~ a::before {
  background: var(--c-line-strong);
}

.woocommerce .comment-form-rating p.stars a:hover::before,
.woocommerce .comment-form-rating p.stars a:focus-visible::before,
.woocommerce .comment-form-rating p.stars a.active::before {
  background: var(--c-clay);
  transform: scale(1.08);
}

.woocommerce .comment-form-rating p.stars a:focus-visible {
  outline: var(--ring);
  outline-offset: 0;
}

/* Les avis ne sont pas habilles ici.
   Le gabarit de la fiche produit les enferme dans #avis, et c'est la, dans
   skin.css, qu'ils sont dessines — sombres, avec les jetons du site. Deux
   jeux de regles pour un meme bloc auraient diverge a la premiere retouche :
   celui-ci est donc supprime plutot que laisse en double. */

/* 04. Catalogue et tri */

.fg-woo-content > .woocommerce-result-count,
.fg-woo-content > .woocommerce-ordering {
  align-self: center;
  margin: 0 0 var(--space-5);
}

.woocommerce-result-count {
  color: var(--c-ink-soft);
  font-size: var(--ui-small);
  font-variant-numeric: tabular-nums;
}

.woocommerce-ordering select {
  width: auto;
  min-width: min(19rem, 100%);
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-control);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: var(--ui-small);
  cursor: pointer;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-7) var(--space-5);
  clear: both;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.woocommerce ul.products li.product {
  position: relative;
  grid-column: span 4;
  float: none;
  min-width: 0;
  width: auto;
  margin: 0;
}

.woocommerce ul.products li.product:nth-child(5n + 1) {
  grid-column: span 7;
}

.woocommerce ul.products li.product:nth-child(5n + 2) {
  grid-column: span 5;
  margin-top: 18%;
}

.woocommerce ul.products li.product a {
  text-decoration: none;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--c-paper);
  object-fit: cover;
}

.woocommerce ul.products li.product:nth-child(5n + 1) a img {
  aspect-ratio: 5 / 4;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  padding: var(--space-4) 0 var(--space-2);
  border-top: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-size: var(--ui-h3);
  font-weight: 400;
  line-height: 1.06;
}

.woocommerce ul.products li.product .price {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--ui-small);
}

.woocommerce ul.products li.product .star-rating {
  margin-bottom: var(--space-3);
}

.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 48px;
}

.woocommerce nav.woocommerce-pagination {
  grid-column: 1 / -1;
  margin-top: var(--space-8);
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  float: none;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul :where(a, span) {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2);
  border: 1px solid var(--c-line-strong);
  background: transparent;
  color: var(--c-ink);
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul span.current {
  border-color: var(--c-wine);
  background: var(--c-wine);
  color: var(--c-on-wine);
}

/* 05. Fiche produit et onglets */

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr);
  gap: var(--space-8);
  min-width: 0;
}

.woocommerce div.product :where(div.images, div.summary) {
  float: none;
  min-width: 0;
  width: auto;
  margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce div.product div.images img {
  width: 100%;
  background: var(--c-paper);
  object-fit: contain;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  border: 1px solid transparent;
  opacity: .68;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  border-color: var(--c-wine);
  opacity: 1;
}

.woocommerce div.product .summary {
  align-self: start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--c-line-strong);
}

.woocommerce div.product .product_title {
  margin-bottom: var(--space-5);
  font-size: var(--ui-h1);
  line-height: .92;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  max-width: 58ch;
  color: var(--c-ink-soft);
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-3);
  margin-block: var(--space-6);
}

.woocommerce .quantity {
  display: inline-flex;
}

.woocommerce .quantity .qty {
  width: 5rem;
  min-height: 50px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-control);
  background: var(--c-paper);
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 1 14rem;
  min-height: 50px;
}

.fg-product-taxonomy-pills {
  margin-top: var(--space-5);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: var(--space-8);
  border-top: 1px solid var(--c-line-strong);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  margin: 0;
  padding: var(--space-5) 0 0;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0 var(--space-3);
  border-bottom: 2px solid transparent;
  color: var(--c-ink-soft);
  font-size: var(--ui-small);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a[aria-selected="true"] {
  border-color: var(--c-wine);
  color: var(--c-ink);
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: var(--ui-measure);
  margin: 0;
  padding-block: var(--space-7);
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  margin-bottom: var(--space-5);
  font-size: var(--ui-h2);
  line-height: var(--ui-lh-tight);
}

/* 06. Panier */

.woocommerce table.shop_table {
  width: 100%;
  margin: 0 0 var(--space-7);
  border: 0;
  border-collapse: collapse;
  border-radius: var(--radius-panel);
  background: transparent;
}

.woocommerce table.shop_table :where(th, td) {
  padding: var(--space-4);
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  text-align: start;
  vertical-align: middle;
}

.woocommerce table.shop_table th {
  color: var(--c-ink-soft);
  font-size: var(--ui-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.woocommerce table.shop_table .product-thumbnail {
  width: 7rem;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 5rem;
  aspect-ratio: 1;
  background: var(--c-paper);
  object-fit: cover;
}

.woocommerce table.shop_table .product-remove {
  width: 52px;
}

.woocommerce table.shop_table .product-remove a.remove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--ui-h3);
  line-height: 1;
  text-decoration: none;
}

.woocommerce table.shop_table .product-remove a.remove:hover {
  border-color: var(--c-clay);
  background: var(--c-clay);
  color: var(--c-on-ink);
}

.woocommerce table.shop_table .actions {
  padding-inline: 0;
}

.woocommerce table.shop_table .actions .coupon {
  display: flex;
  gap: var(--space-2);
  float: inline-start;
}

.woocommerce table.shop_table .actions .coupon label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.woocommerce table.shop_table .actions .coupon .input-text {
  width: min(18rem, 45vw);
}

.woocommerce .cart-collaterals {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
}

.woocommerce .cart-collaterals::before,
.woocommerce .cart-collaterals::after {
  content: none;
}

.woocommerce .cart-collaterals .cross-sells,
.woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: auto;
}

.woocommerce .cart-collaterals .cart_totals {
  grid-column: 2;
  padding: var(--space-6);
  border: 1px solid var(--c-line-strong);
  background: var(--c-paper);
}

.woocommerce .cart-collaterals h2 {
  margin-bottom: var(--space-5);
  font-size: var(--ui-h2);
  line-height: var(--ui-lh-tight);
}

.woocommerce .wc-proceed-to-checkout {
  padding: var(--space-5) 0 0;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
  width: 100%;
}

.woocommerce .cart-empty {
  max-width: var(--ui-measure);
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--ui-h3);
}

/* 07. Commande */

.woocommerce .checkout_coupon,
.woocommerce .woocommerce-form-login {
  max-width: var(--ui-measure);
  margin-bottom: var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--c-line-strong);
  background: var(--c-paper);
}

.woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr);
  gap: var(--space-8);
}

.woocommerce form.checkout > :where(.col2-set, #order_review_heading, #order_review) {
  min-width: 0;
}

.woocommerce form.checkout .col2-set {
  grid-row: 1 / span 2;
}

.woocommerce form.checkout .col2-set,
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
  float: none;
  width: auto;
}

.woocommerce form.checkout .col2-set .col-2 {
  margin-top: var(--space-8);
}

.woocommerce form.checkout #order_review_heading {
  margin: 0;
  font-size: var(--ui-h3);
}

.woocommerce form.checkout #order_review {
  align-self: start;
  padding: var(--space-5);
  border: 1px solid var(--c-line-strong);
  background: var(--c-paper);
}

.woocommerce :where(.woocommerce-billing-fields > h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields > h3) {
  margin-bottom: var(--space-5);
  font-size: var(--ui-h3);
}

.woocommerce-checkout #payment {
  border-radius: var(--radius-panel);
  background: var(--c-cream);
}

.woocommerce-checkout #payment ul.payment_methods {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--c-line-strong);
  list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding-block: var(--space-3);
}

.woocommerce-checkout #payment div.payment_box {
  margin: var(--space-3) 0;
  padding: var(--space-4);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-panel);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: var(--ui-small);
}

.woocommerce-checkout #payment div.payment_box::before {
  content: none;
}

.woocommerce-checkout #payment div.form-row {
  padding: var(--space-5) 0 0;
}

.woocommerce-checkout #payment #place_order {
  float: none;
  width: 100%;
}

.woocommerce .woocommerce-privacy-policy-text {
  color: var(--c-ink-soft);
  font-size: var(--ui-small);
}

/* 08. Compte et connexion */

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(13rem, 3fr) minmax(0, 9fr);
  gap: var(--space-8);
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  content: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line-strong);
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--c-line-strong);
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  color: var(--c-wine);
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password {
  max-width: var(--ui-measure);
  margin: 0;
  padding: var(--space-6);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-panel);
  background: var(--c-paper);
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.woocommerce-account .woocommerce-Address {
  float: none;
  width: auto;
  padding-block: var(--space-4);
  border-top: 1px solid var(--c-line-strong);
}

/* 09. Blocs WooCommerce */

.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar-layout {
  color: var(--c-ink);
}

.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper,
.wc-block-components-panel,
.wc-block-components-address-card {
  border-color: var(--c-line-strong);
  border-radius: var(--radius-panel);
  background: var(--c-paper);
  box-shadow: none;
}

.wc-block-components-product-name,
.wc-block-components-order-summary-item__description,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--c-ink);
}

.wc-block-components-checkout-step__description,
.wc-block-components-product-metadata,
.wc-block-components-totals-shipping__via,
.wc-block-components-validation-error {
  color: var(--c-ink-soft);
  font-size: var(--ui-small);
}

.wc-block-components-radio-control__option,
.wc-block-components-checkbox .wc-block-components-checkbox__input {
  min-height: 44px;
}

/* 10. Responsive */

@media (max-width: 1100px) {
  .woocommerce ul.products li.product:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

  .woocommerce form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce form.checkout .col2-set {
    grid-row: auto;
  }

  .woocommerce form.checkout #order_review {
    padding: var(--space-4);
  }
}

@media (max-width: 700px) {
  .fg-woo-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .fg-woo-content > .woocommerce-result-count,
  .fg-woo-content > .woocommerce-ordering {
    grid-column: 1;
    margin-bottom: 0;
  }

  .woocommerce-ordering select {
    width: 100%;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-7) var(--space-4);
  }

  .woocommerce ul.products li.product:nth-child(n) {
    grid-column: span 2;
  }

  .woocommerce ul.products li.product:nth-child(5n + 1) {
    grid-column: span 3;
  }

  .woocommerce ul.products li.product:nth-child(5n + 2) {
    grid-column: 2 / span 3;
  }

  .woocommerce ul.products li.product .button {
    padding-inline: var(--space-3);
  }

  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related.products,
  .woocommerce div.product .upsells.products {
    grid-column: 1;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    gap: var(--space-4);
  }

  .woocommerce table.shop_table_responsive thead,
  .woocommerce table.shop_table.cart thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .woocommerce table.shop_table_responsive,
  .woocommerce table.shop_table_responsive tbody,
  .woocommerce table.shop_table_responsive tr,
  .woocommerce table.shop_table_responsive td,
  .woocommerce table.shop_table.cart,
  .woocommerce table.shop_table.cart tbody,
  .woocommerce table.shop_table.cart tr,
  .woocommerce table.shop_table.cart td {
    display: block;
    width: 100%;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce table.shop_table.cart tr {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) 44px;
    gap: 0 var(--space-3);
    padding-block: var(--space-4);
    border-top: 1px solid var(--c-line-strong);
  }

  .woocommerce table.shop_table_responsive td,
  .woocommerce table.shop_table.cart td {
    grid-column: 2 / 4;
    min-width: 0;
    padding: var(--space-2) 0;
    border: 0;
    text-align: end;
  }

  .woocommerce table.shop_table_responsive td::before,
  .woocommerce table.shop_table.cart td::before {
    float: inline-start;
    color: var(--c-ink-soft);
    content: attr(data-title);
    font-size: var(--ui-small);
    font-weight: 600;
  }

  .woocommerce table.shop_table_responsive td.product-thumbnail,
  .woocommerce table.shop_table.cart td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: auto;
  }

  .woocommerce table.shop_table_responsive td.product-name,
  .woocommerce table.shop_table.cart td.product-name {
    grid-row: 1;
    text-align: start;
  }

  .woocommerce table.shop_table_responsive td.product-remove,
  .woocommerce table.shop_table.cart td.product-remove {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    padding: 0;
  }

  .woocommerce table.shop_table_responsive td.product-thumbnail::before,
  .woocommerce table.shop_table_responsive td.product-name::before,
  .woocommerce table.shop_table_responsive td.product-remove::before,
  .woocommerce table.shop_table.cart td.product-thumbnail::before,
  .woocommerce table.shop_table.cart td.product-name::before,
  .woocommerce table.shop_table.cart td.product-remove::before {
    content: none;
  }

  .woocommerce table.shop_table .actions {
    grid-column: 1 / 4;
    display: grid;
    gap: var(--space-3);
  }

  .woocommerce table.shop_table .actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    float: none;
  }

  .woocommerce table.shop_table .actions .coupon .input-text {
    width: 100%;
  }

  .woocommerce table.shop_table .actions > .button {
    width: 100%;
  }

  .woocommerce .cart-collaterals {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce .cart-collaterals .cart_totals {
    grid-column: 1;
    padding: var(--space-4);
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    min-width: 10rem;
    padding-inline: var(--space-3);
    border: 1px solid var(--c-line-strong);
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
    float: none;
    width: 100%;
    margin: 0 0 var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce *,
  .woocommerce *::before,
  .woocommerce *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}

@media print {
  .woocommerce :where(.button, .quantity, .product-remove, .woocommerce-ordering, .woocommerce-pagination),
  .woocommerce-account .woocommerce-MyAccount-navigation {
    display: none;
  }
}
