/* =========================================================
   WooCommerce — Premium UI pack (DYB preprod) — CLEAN CANONICAL
   Target pages (FR):
   - /fr/mon-compte/ (Woo account)
   - /fr/panier/     (Woo cart)
   - /fr/commande/   (Woo checkout)
   - /fr/favoris/    (Wishlist - YITH)
   Scope: ONLY WooCommerce surfaces (account/cart/checkout/wishlist/search results)
   Goal: clean, sharp, readable, no layout breakage.
   Notes:
   - This file intentionally removes older/duplicate "cart emergency" blocks.
   - Keep this file as the single source of truth for Woo premium styling.
   ========================================================= */

/* ---------- tokens (safe fallbacks) ---------- */
:root{
  --dyb-ink: #111111;
  --dyb-ink-soft: #2b2b2b;
  --dyb-muted: #6b7280;
  --dyb-border: #e5e7eb;
  --dyb-surface: #ffffff;
  --dyb-surface-2: #f7f7f8;
  --dyb-radius: 16px;
  --dyb-radius-sm: 12px;
  --dyb-shadow: 0 10px 30px rgba(0,0,0,.08);
  --dyb-shadow-sm: 0 6px 16px rgba(0,0,0,.08);
  --dyb-focus: 0 0 0 3px rgba(17,17,17,.18);
}

/* ---------- global scope reset (DO NOT touch site header/footer) ---------- */
body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-wishlist .woocommerce,
body.search.post-type-archive-product .woocommerce,
body.search.woocommerce .woocommerce{
  font-family: inherit;
  color: var(--dyb-ink);
}

/* container breathing room */
body.woocommerce-account .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-wishlist .site-main,
body.search.post-type-archive-product .site-main,
body.search.woocommerce .site-main{
  padding: 24px 18px 56px;
}
@media (min-width: 1024px){
  body.woocommerce-account .site-main,
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-wishlist .site-main,
  body.search.post-type-archive-product .site-main,
  body.search.woocommerce .site-main{
    padding: 32px 24px 72px;
  }
}

/* headings */
body.woocommerce-account .woocommerce h1,
body.woocommerce-cart .woocommerce h1,
body.woocommerce-checkout .woocommerce h1,
body.woocommerce-wishlist .woocommerce h1,
body.search.post-type-archive-product .woocommerce h1,
body.search.woocommerce .woocommerce h1{
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
body.woocommerce-account .woocommerce h2,
body.woocommerce-checkout .woocommerce h2{
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 14px;
}

/* ---------- forms: hard reset against theme weirdness ---------- */
body.woocommerce-account .woocommerce form,
body.woocommerce-cart .woocommerce form,
body.woocommerce-checkout .woocommerce form{
  margin: 0;
}

body.woocommerce-account .woocommerce form .form-row,
body.woocommerce-checkout .woocommerce form .form-row,
body.woocommerce-cart .woocommerce form .form-row{
  float: none !important;
  width: 100% !important;
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

body.woocommerce-account .woocommerce form .form-row label,
body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-cart .woocommerce form .form-row label{
  display: block !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 6px !important;
  color: var(--dyb-ink);
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce input[type="search"],
body.woocommerce-account .woocommerce select,
body.woocommerce-account .woocommerce textarea,
body.woocommerce-cart .woocommerce input[type="text"],
body.woocommerce-cart .woocommerce input[type="email"],
body.woocommerce-cart .woocommerce input[type="password"],
body.woocommerce-cart .woocommerce input[type="tel"],
body.woocommerce-cart .woocommerce input[type="search"],
body.woocommerce-cart .woocommerce select,
body.woocommerce-cart .woocommerce textarea,
body.woocommerce-checkout .woocommerce input[type="text"],
body.woocommerce-checkout .woocommerce input[type="email"],
body.woocommerce-checkout .woocommerce input[type="password"],
body.woocommerce-checkout .woocommerce input[type="tel"],
body.woocommerce-checkout .woocommerce input[type="search"],
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .woocommerce textarea{
  width: 100% !important;
  box-sizing: border-box !important;
  height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--dyb-border);
  background: var(--dyb-surface);
  color: var(--dyb-ink);
  font-size: 15px;
  line-height: 1.2;
  outline: none;
}

body.woocommerce-account .woocommerce textarea,
body.woocommerce-checkout .woocommerce textarea{
  min-height: 110px;
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

body.woocommerce-account .woocommerce input:focus,
body.woocommerce-checkout .woocommerce input:focus,
body.woocommerce-cart .woocommerce input:focus,
body.woocommerce-account .woocommerce select:focus,
body.woocommerce-checkout .woocommerce select:focus,
body.woocommerce-account .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce textarea:focus{
  border-color: #bfc5cf;
  box-shadow: var(--dyb-focus);
}

/* checkboxes/radios: kill “black pill” effect from theme */
body.woocommerce-account .woocommerce input[type="checkbox"],
body.woocommerce-account .woocommerce input[type="radio"],
body.woocommerce-checkout .woocommerce input[type="checkbox"],
body.woocommerce-checkout .woocommerce input[type="radio"],
body.woocommerce-cart .woocommerce input[type="checkbox"],
body.woocommerce-cart .woocommerce input[type="radio"]{
  appearance: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 16px;
  min-height: 16px;
  box-shadow: none !important;
}

/* buttons */
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce input.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #111;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
body.woocommerce-account .woocommerce button.button:active,
body.woocommerce-cart .woocommerce button.button:active,
body.woocommerce-checkout .woocommerce button.button:active{
  transform: translateY(0);
}

body.woocommerce-account .woocommerce .button.alt,
body.woocommerce-cart .woocommerce .button.alt,
body.woocommerce-checkout .woocommerce .button.alt{
  background: #111;
}

/* links */
body.woocommerce-account .woocommerce a,
body.woocommerce-cart .woocommerce a,
body.woocommerce-checkout .woocommerce a{
  color: #0b57d0;
  text-decoration: none;
}
body.woocommerce-account .woocommerce a:hover,
body.woocommerce-cart .woocommerce a:hover,
body.woocommerce-checkout .woocommerce a:hover{
  text-decoration: underline;
}

/* notices */
body.woocommerce-account .woocommerce .woocommerce-message,
body.woocommerce-account .woocommerce .woocommerce-info,
body.woocommerce-cart .woocommerce .woocommerce-message,
body.woocommerce-cart .woocommerce .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-message,
body.woocommerce-checkout .woocommerce .woocommerce-info{
  border: 1px solid var(--dyb-border);
  border-radius: 14px;
  background: var(--dyb-surface);
  padding: 14px 16px;
  box-shadow: var(--dyb-shadow-sm);
}

/* =========================================================
   MY ACCOUNT — logged-out (login/register) + logged-in dashboard
   ========================================================= */

body.woocommerce-account .woocommerce{
  max-width: 1200px;
  margin: 0 auto;
}

/* Logged-out: 2 cards grid */
body.woocommerce-account:not(.logged-in) .woocommerce{
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
body.woocommerce-account:not(.logged-in) #customer_login{
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin: 24px auto 0;
}
@media (min-width: 900px){
  body.woocommerce-account:not(.logged-in) #customer_login{
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login .u-column1.col-1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2.col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2{
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  padding: 22px;
  box-shadow: var(--dyb-shadow-sm);
}
body.woocommerce-account:not(.logged-in) #customer_login h2{
  margin: 0 0 14px;
  font-size: 18px;
}

/* Remember me + lost password */
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 10px 0 0 !important;
  font-weight: 600;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input{
  margin: 0 !important;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword{
  margin: 12px 0 0 !important;
}

/* Mailchimp checkbox inside register form (mc4wp) */
body.woocommerce-account #customer_login .mc4wp-checkbox{
  margin-top: 10px;
}
body.woocommerce-account #customer_login .mc4wp-checkbox label{
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 500 !important;
  color: var(--dyb-ink-soft) !important;
}
body.woocommerce-account #customer_login .mc4wp-checkbox input{
  margin-top: 2px !important;
}

/* Logged-in: navigation + content grid */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{
  float: none !important;
  width: auto !important;
}
body.woocommerce-account.logged-in .woocommerce{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns: 1fr;
  }
}

/* nav card */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  padding: 10px;
  box-shadow: var(--dyb-shadow-sm);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{
  margin: 0;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--dyb-ink) !important;
  font-weight: 600;
  text-decoration: none !important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover{
  background: var(--dyb-surface-2);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{
  background: #111;
  color: #fff !important;
}

/* content card */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  padding: 28px 32px;
  box-shadow: var(--dyb-shadow-sm);
}

/* account dashboard typography polish
   Purpose: improve the default Woo dashboard intro text only,
   without touching tables, forms, or other site sections. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  font-size: 16px;
  line-height: 1.75;
  color: var(--dyb-ink-soft);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p{
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dyb-ink-soft);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-of-type{
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--dyb-ink);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-of-type strong{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dyb-ink);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title h3,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h3{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dyb-ink);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty{
  display: none;
}
@media (max-width: 900px){
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    padding: 22px 20px;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-of-type{
    font-size: 18px;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-of-type strong{
    font-size: 1.38em;
  }
}

/* tables inside account */
body.woocommerce-account .woocommerce table.shop_table{
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid var(--dyb-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--dyb-surface);
}
body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--dyb-border);
}
body.woocommerce-account .woocommerce table.shop_table tr:last-child td{
  border-bottom: 0;
}

/* =========================================================
   MY ACCOUNT — Downloads table premium fix
   Target: /mon-compte/downloads/
   ========================================================= */

body.woocommerce-account .woocommerce-table--order-downloads,
body.woocommerce-account table.woocommerce-table--order-downloads,
body.woocommerce-account table.woocommerce-table.woocommerce-table--order-downloads{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
body.woocommerce-account .woocommerce-table--order-downloads th,
body.woocommerce-account .woocommerce-table--order-downloads td{
  vertical-align: middle;
}
body.woocommerce-account .woocommerce-table--order-downloads th{
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-product{
  max-width: 520px;
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-remaining,
body.woocommerce-account .woocommerce-table--order-downloads td.download-expires{
  width: 140px;
  white-space: nowrap;
  color: var(--dyb-muted);
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
  width: 240px;
  text-align: right;
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-product a{
  display: block;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  line-height: 1.35;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-product a:hover{
  text-decoration: underline;
}
body.woocommerce-account .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 220px;
  width: auto;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 900px){
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
    width: auto;
    text-align: left;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td.download-product a{
    max-width: 100%;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    max-width: 100%;
    white-space: nowrap;
  }
}
@media (max-width: 640px){
  body.woocommerce-account .woocommerce-table--order-downloads thead{ display:none; }
  body.woocommerce-account .woocommerce-table--order-downloads tr{
    display:block;
    padding: 14px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 16px;
    margin: 0 0 12px;
    background: #fff;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding: 10px 0;
    border:0;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td:before{
    content: attr(data-title);
    font-weight:700;
    color:#111827;
    flex: 0 0 auto;
    max-width: 42%;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td.download-product a{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align:right;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
    text-align:right;
  }
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    max-width: 210px;
  }
}

/* =========================================================
   PASSWORD "EYE" TOGGLE — visible + stable (canonical, single block)
   ========================================================= */
.woocommerce .password-input{
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
.woocommerce .password-input input[type="password"],
.woocommerce .password-input input[type="text"]{
  padding-right: 56px !important;
}
.woocommerce button.show-password-input{
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.15) !important;
  background: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
  z-index: 5 !important;
  cursor: pointer !important;
}
.woocommerce button.show-password-input::after{
  color: #111 !important;
  opacity: 1 !important;
  filter: none !important;
}
/* Fallback icon if theme/plugin killed Woo icon font */
.woocommerce button.show-password-input::after{
  content: "👁" !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.woocommerce button.show-password-input:hover{
  border-color: rgba(0,0,0,.28) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
}
.woocommerce button.show-password-input:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12) !important;
}

/* =========================================================
   CART (/fr/panier/) — canonical premium layout
   Fixes: narrow column, messy wraps, coupon/actions alignment
   ========================================================= */
body.woocommerce-cart .woocommerce{
  max-width: 1200px;
  margin: 0 auto;
  width: 100% !important;
}
@media (min-width: 1024px){
  body.woocommerce-cart .woocommerce{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    align-items: start;
  }
}

/* cart form card */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart form.woocommerce-cart-form{
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  padding: 18px;
  box-shadow: var(--dyb-shadow-sm);
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important; /* no forced horizontal scroll */
}

/* Elementor cart shortcode sometimes sits inside a narrow column: force full width */
body.woocommerce-cart .elementor-widget-shortcode,
body.woocommerce-cart .elementor-widget-shortcode .elementor-shortcode,
body.woocommerce-cart .elementor-widget-shortcode .woocommerce,
body.woocommerce-cart .elementor-widget-shortcode .woocommerce-cart-form,
body.woocommerce-cart .elementor-widget-shortcode form.woocommerce-cart-form{
  width: 100% !important;
  max-width: 100% !important;
}
body.woocommerce-cart .elementor-column,
body.woocommerce-cart .elementor-column-wrap,
body.woocommerce-cart .elementor-widget-wrap{
  min-width: 0 !important;
}

/* cart table */
body.woocommerce-cart table.shop_table{
  border: 0;
  width: 100% !important;
  background: transparent;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto !important; /* allow natural column sizing (prevents ultra-narrow product name) */
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{
  border-bottom: 1px solid var(--dyb-border);
  padding: 14px 10px;
  vertical-align: middle;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body.woocommerce-cart table.shop_table tr:last-child td{
  border-bottom: 0;
}

/* Give PRODUCT NAME real room (fixes vertical letter stacking) */
body.woocommerce-cart table.shop_table td.product-name,
body.woocommerce-cart table.shop_table th.product-name{
  width: auto !important;
  min-width: 320px;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.woocommerce-cart table.shop_table td.product-name a{
  display: inline-block;
  max-width: 100%;
}

/* sensible column sizing on desktop/tablet */
@media (min-width: 992px){
  body.woocommerce-cart table.shop_table th.product-remove,
  body.woocommerce-cart table.shop_table td.product-remove{ width: 48px; }
  body.woocommerce-cart table.shop_table th.product-thumbnail,
  body.woocommerce-cart table.shop_table td.product-thumbnail{ width: 96px; }
  body.woocommerce-cart table.shop_table th.product-price,
  body.woocommerce-cart table.shop_table td.product-price{ width: 96px; }
  body.woocommerce-cart table.shop_table th.product-quantity,
  body.woocommerce-cart table.shop_table td.product-quantity{ width: 104px; }
  body.woocommerce-cart table.shop_table th.product-subtotal,
  body.woocommerce-cart table.shop_table td.product-subtotal{ width: 120px; }
}

body.woocommerce-cart .product-thumbnail img{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--dyb-border);
}
body.woocommerce-cart .product-name a{
  font-weight: 700;
  color: var(--dyb-ink) !important;
  line-height: 1.35 !important;
}
body.woocommerce-cart .product-name dl.variation{
  margin-top: 8px;
  font-size: 13px;
  color: var(--dyb-muted);
}
body.woocommerce-cart .product-name dl.variation dt{ font-weight: 600; }
body.woocommerce-cart .product-name dl.variation dd{ margin: 0 0 6px; }

body.woocommerce-cart .quantity input.qty{
  width: 92px !important;
  text-align: center;
}

/* cart actions */
body.woocommerce-cart table.shop_table td.actions{
  padding-top: 18px !important;
}
body.woocommerce-cart table.shop_table td.actions .coupon{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}
body.woocommerce-cart table.shop_table td.actions .coupon input.input-text{
  flex: 1 1 260px !important;
  min-width: 220px !important;
  height: 44px !important;
  line-height: 44px !important;
}
body.woocommerce-cart table.shop_table td.actions .coupon button{
  flex: 0 0 auto !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 18px !important;
}
body.woocommerce-cart button[name="update_cart"]{
  background: #2b2b2b;
  margin-top: 12px !important;
  float: none !important;
  display: inline-flex !important;
}

/* totals sidebar */
body.woocommerce-cart .cart-collaterals{
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  padding: 18px;
  box-shadow: var(--dyb-shadow-sm);
}
body.woocommerce-cart .cart_totals h2{
  font-size: 18px;
  margin-bottom: 12px;
}
body.woocommerce-cart .cart_totals table{ border: 0; }
body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td{ padding: 10px 0; }
body.woocommerce-cart .wc-proceed-to-checkout{ margin-top: 14px; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  width: 100%;
}

/* Mobile: stack actions cleanly */
@media (max-width: 767px){
  body.woocommerce-cart table.shop_table{
    table-layout: auto !important;
  }

  body.woocommerce-cart table.shop_table td.actions{
    padding-top: 18px !important;
  }

  body.woocommerce-cart table.shop_table td.actions .coupon{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-cart table.shop_table td.actions .coupon input.input-text{
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: 46px !important;
    max-height: 46px !important;
    padding: 0 16px !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  body.woocommerce-cart table.shop_table td.actions .coupon button,
  body.woocommerce-cart table.shop_table td.actions button[name="update_cart"]{
    flex: none !important;
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 18px !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

/* =========================================================
   WISHLIST (/fr/favoris/) — YITH
   ========================================================= */
body.woocommerce-wishlist .wishlist_table,
body.woocommerce-wishlist table.shop_table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--dyb-surface);
  border: 1px solid var(--dyb-border);
  border-radius: var(--dyb-radius);
  overflow: hidden;
  box-shadow: var(--dyb-shadow-sm);
}
body.woocommerce-wishlist .wishlist_table th,
body.woocommerce-wishlist .wishlist_table td{
  padding: 14px;
  border-bottom: 1px solid var(--dyb-border);
}
body.woocommerce-wishlist .wishlist_table tr:last-child td{
  border-bottom: 0;
}
body.woocommerce-wishlist .wishlist_table a{
  font-weight: 700;
}

/* =========================================================
   SEARCH results (?s=...&post_type=product)
   ========================================================= */
body.search.post-type-archive-product .woocommerce ul.products,
body.search.woocommerce .woocommerce ul.products{
  margin-top: 16px;
}

/* =========================================================
   MINI CART (Header dropdown) — Premium / clean
   Targets: #ac-cart-panel + Woo mini-cart markup
   ========================================================= */
#ac-cart-panel.ac-cart-panel{
  width: 380px;
  max-width: calc(100vw - 24px);
}
#ac-cart-panel .ac-dd-inner{
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  overflow: hidden;
}
#ac-cart-panel .ac-dd-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
#ac-cart-panel .ac-dd-title{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}
#ac-cart-panel .ac-dd-link{
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e9e9ee;
  background: #fafafb;
  color: #111;
}
#ac-cart-panel .ac-dd-link:hover{ background:#f3f4f6; }
#ac-cart-panel .ac-dd-body{
  padding: 10px 12px 12px;
  max-height: min(66vh, 520px);
  overflow: auto;
}
#ac-cart-panel ul.woocommerce-mini-cart{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
#ac-cart-panel li.woocommerce-mini-cart-item{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
}
#ac-cart-panel li.woocommerce-mini-cart-item img{
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 !important;
}
#ac-cart-panel li.woocommerce-mini-cart-item > a:not(.remove){
  display: block;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: #111;
  text-decoration: none;
}
#ac-cart-panel a.remove.remove_from_cart_button{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid #ececf2;
  background: #fff;
  color: #111 !important;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}
#ac-cart-panel a.remove.remove_from_cart_button:hover{ background:#f3f4f6; }
#ac-cart-panel dl.variation{
  grid-column: 2 / -1;
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fafafb;
  border: 1px solid #efeff5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
#ac-cart-panel dl.variation dt{
  font-size: 11px;
  font-weight: 700;
  color: #444;
}
#ac-cart-panel dl.variation dd{
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #111;
}
#ac-cart-panel dl.variation dd p{ margin: 0; }
#ac-cart-panel span.quantity{
  grid-column: 2 / -1;
  margin-top: 8px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  font-size: 12px;
  color: #333;
}
#ac-cart-panel span.quantity .amount{
  font-weight: 800;
  color: #111;
}
#ac-cart-panel p.woocommerce-mini-cart__total.total{
  margin: 12px 0 0;
  padding: 12px;
  border-top: 1px solid #eee;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-size: 13px;
}
#ac-cart-panel p.woocommerce-mini-cart__total.total strong{ font-weight: 800; }
#ac-cart-panel p.woocommerce-mini-cart__buttons.buttons{
  margin: 10px 0 0;
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#ac-cart-panel p.woocommerce-mini-cart__buttons a.button{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  min-height: 44px;
}
#ac-cart-panel p.woocommerce-mini-cart__buttons a.button.checkout{
  background: #111;
  color: #fff;
}
#ac-cart-panel p.woocommerce-mini-cart__buttons a.button:hover{ filter: brightness(.98); }
@media (max-width: 420px){
  #ac-cart-panel p.woocommerce-mini-cart__buttons.buttons{
    grid-template-columns: 1fr;
  }
}






/* =========================================================
   CART (/fr/panier/) — spacing + centering polish (v3)
   Goal: less tight, centered, premium rhythm
   ========================================================= */

body.woocommerce-cart .site-main{
  padding: 40px 24px 80px !important;
}

/* Force Elementor section/container to behave like a centered page container */
@media (min-width: 1024px){
  body.woocommerce-cart .elementor-section .elementor-container{
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }
}

/* Center the Woo wrapper (avoid “stuck to the right”) */
body.woocommerce-cart .woocommerce{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* More breathing room between table and totals */
@media (min-width: 1024px){
  body.woocommerce-cart .woocommerce{
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 32px !important;
  }
}

/* Make cards feel premium (less cramped) */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart form.woocommerce-cart-form{
  padding: 24px !important;
}

body.woocommerce-cart .cart-collaterals{
  padding: 24px !important;
}

/* Table padding slightly larger */
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{
  padding: 16px 12px !important;
}

/* Coupon row spacing */
body.woocommerce-cart table.shop_table td.actions{
  padding-top: 22px !important;
}
/* =========================================================
   CART (/fr/panier/) — force full-width layout (fix narrow 360px form)
   ========================================================= */

@media (min-width: 1024px){

  /* 1) Kill any Elementor “flex-end / narrow column” behavior */
  body.woocommerce-cart .elementor-section .elementor-container,
  body.woocommerce-cart .elementor-section .elementor-column,
  body.woocommerce-cart .elementor-widget-wrap,
  body.woocommerce-cart .elementor-widget-container,
  body.woocommerce-cart .elementor-shortcode{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 2) Center the cart block and define the real grid */
  body.woocommerce-cart .woocommerce{
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 32px !important;
    align-items: start !important;
  }

  /* 3) Make the form actually take the left column */
  body.woocommerce-cart form.woocommerce-cart-form{
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  /* 4) Totals to the right */
  body.woocommerce-cart .cart-collaterals{
    grid-column: 2 !important;
    width: 100% !important;
    justify-self: stretch !important;
  }
}



/* =========================================================
   CART totals sidebar — stop “Sous- / total” wrapping
   ========================================================= */

@media (min-width: 1024px){

  /* Make the right column wider */
  body.woocommerce-cart .woocommerce{
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 32px !important;
  }

  /* Ensure the sidebar uses the full column width */
  body.woocommerce-cart .cart-collaterals{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Totals table: prevent ugly breaks */
  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td{
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }

  /* Keep labels on one line */
  body.woocommerce-cart .cart_totals table.shop_table th{
    white-space: nowrap !important;
    width: 45%;
  }

  /* Amounts aligned and readable */
  body.woocommerce-cart .cart_totals table.shop_table td{
    text-align: right;
  }
}


/* =========================================================
   PHASE 3 — WooCommerce archive + single product unification
   Goal: make shop/category/product pages feel part of the same
   premium V2 system without touching WooCommerce core logic.
   ========================================================= */

body.woocommerce-page,
body.tax-product_cat,
body.tax-product_tag,
body.post-type-archive-product,
body.single-product {
  background: #f8f4ef;
}

body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.single-product .site-main {
  padding: 28px 18px 64px;
}

@media (min-width: 1024px) {
  body.post-type-archive-product .site-main,
  body.tax-product_cat .site-main .site-main,
  body.tax-product_tag .site-main,
  body.single-product .site-main {
    padding: 34px 24px 84px;
  }
}

body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  margin: 0 0 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(44,40,36,.08);
}

body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: .95;
  font-weight: 400;
  color: #2c2824;
}

body.post-type-archive-product .term-description,
body.tax-product_cat .term-description,
body.tax-product_tag .term-description,
body.post-type-archive-product .woocommerce-products-header p,
body.tax-product_cat .woocommerce-products-header p,
body.tax-product_tag .woocommerce-products-header p {
  max-width: 760px;
  color: #61584f;
  line-height: 1.75;
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  margin-bottom: 22px;
}

body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(44,40,36,.14);
  background: #fff;
  color: #2c2824;
}

body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
  margin: 0;
}

body.post-type-archive-product .woocommerce ul.products::before,
body.post-type-archive-product .woocommerce ul.products::after,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after,
body.tax-product_tag .woocommerce ul.products::before,
body.tax-product_tag .woocommerce ul.products::after {
  display: none;
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.post-type-archive-product .woocommerce ul.products li.product .product-block,
body.tax-product_cat .woocommerce ul.products li.product .product-block,
body.tax-product_tag .woocommerce ul.products li.product .product-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

body.post-type-archive-product .woocommerce ul.products li.product .product-image,
body.tax-product_cat .woocommerce ul.products li.product .product-image,
body.tax-product_tag .woocommerce ul.products li.product .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #efe8df;
  border-radius: 0;
}

body.post-type-archive-product .woocommerce ul.products li.product .product-image img,
body.tax-product_cat .woocommerce ul.products li.product .product-image img,
body.tax-product_tag .woocommerce ul.products li.product .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

body.post-type-archive-product .woocommerce ul.products li.product:hover .product-image img,
body.tax-product_cat .woocommerce ul.products li.product:hover .product-image img,
body.tax-product_tag .woocommerce ul.products li.product:hover .product-image img {
  transform: scale(1.03);
}

body.post-type-archive-product .woocommerce ul.products li.product .onsale,
body.tax-product_cat .woocommerce ul.products li.product .onsale,
body.tax-product_tag .woocommerce ul.products li.product .onsale {
  top: 14px;
  left: 14px;
  right: auto;
  min-width: auto;
  min-height: auto;
  margin: 0;
  padding: 7px 10px;
  border-radius: 0;
  background: #2c2824;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}

body.post-type-archive-product .woocommerce ul.products li.product .product-caption,
body.tax-product_cat .woocommerce ul.products li.product .product-caption,
body.tax-product_tag .woocommerce ul.products li.product .product-caption,
body.post-type-archive-product .woocommerce ul.products li.product .caption,
body.tax-product_cat .woocommerce ul.products li.product .caption,
body.tax-product_tag .woocommerce ul.products li.product .caption {
  padding: 14px 0 0;
  text-align: left;
}

body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-category__title,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-category__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-category__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 400;
  color: #2c2824;
}

body.post-type-archive-product .woocommerce ul.products li.product .price,
body.tax-product_cat .woocommerce ul.products li.product .price,
body.tax-product_tag .woocommerce ul.products li.product .price {
  display: block;
  margin: 0 0 12px;
  color: #4f4841;
  font-size: 15px;
}

body.post-type-archive-product .woocommerce ul.products li.product .button,
body.tax-product_cat .woocommerce ul.products li.product .button,
body.tax-product_tag .woocommerce ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid rgba(44,40,36,.16);
  background: #fff;
  color: #2c2824;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 600;
}

body.post-type-archive-product .woocommerce ul.products li.product .button:hover,
body.tax-product_cat .woocommerce ul.products li.product .button:hover,
body.tax-product_tag .woocommerce ul.products li.product .button:hover {
  background: #2c2824;
  color: #fff;
  border-color: #2c2824;
}

body.post-type-archive-product nav.woocommerce-pagination,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_tag nav.woocommerce-pagination {
  margin-top: 34px;
}

body.post-type-archive-product nav.woocommerce-pagination ul,
body.tax-product_cat nav.woocommerce-pagination ul,
body.tax-product_tag nav.woocommerce-pagination ul {
  border: 0;
}

body.post-type-archive-product nav.woocommerce-pagination ul li,
body.tax-product_cat nav.woocommerce-pagination ul li,
body.tax-product_tag nav.woocommerce-pagination ul li {
  border: 0;
  margin-right: 8px;
}

body.post-type-archive-product nav.woocommerce-pagination ul li a,
body.post-type-archive-product nav.woocommerce-pagination ul li span,
body.tax-product_cat nav.woocommerce-pagination ul li a,
body.tax-product_cat nav.woocommerce-pagination ul li span,
body.tax-product_tag nav.woocommerce-pagination ul li a,
body.tax-product_tag nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid rgba(44,40,36,.12);
  background: #fff;
  color: #2c2824;
}

body.post-type-archive-product nav.woocommerce-pagination ul li span.current,
body.tax-product_cat nav.woocommerce-pagination ul li span.current,
body.tax-product_tag nav.woocommerce-pagination ul li span.current {
  background: #2c2824;
  border-color: #2c2824;
  color: #fff;
}

body.single-product div.product {
  background: transparent;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
  margin-bottom: 32px;
}

body.single-product div.product .summary .product_title {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: .95;
  font-weight: 400;
  color: #2c2824;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  margin-bottom: 18px;
  color: #4f4841;
  font-size: 20px;
}

body.single-product div.product .woocommerce-product-details__short-description,
body.single-product div.product .woocommerce-product-details__short-description p {
  color: #61584f;
  line-height: 1.8;
}

body.single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.single-product div.product form.cart .quantity .qty {
  min-height: 46px;
  border: 1px solid rgba(44,40,36,.14);
  background: #fff;
}

body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product div.product .variations_form .single_add_to_cart_button {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #2c2824;
  background: #2c2824;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 600;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product .variations_form .single_add_to_cart_button:hover {
  background: #fff;
  color: #2c2824;
}

body.single-product .woocommerce-tabs {
  margin-top: 34px;
}

body.single-product .woocommerce-tabs ul.tabs {
  padding: 0;
  border-bottom: 1px solid rgba(44,40,36,.1);
}

body.single-product .woocommerce-tabs ul.tabs::before {
  display: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
  margin: 0 18px 0 0;
  padding: 0;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 0 0 14px;
  color: #6f655d;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #2c2824;
}

body.single-product .woocommerce-tabs .panel {
  padding-top: 24px;
  color: #5f554c;
  line-height: 1.8;
}

body.single-product .related.products,
body.single-product .up-sells.upsells.products {
  margin-top: 46px;
}

body.single-product .related.products > h2,
body.single-product .up-sells.upsells.products > h2 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1;
  font-weight: 400;
  color: #2c2824;
}

body.single-product .related.products ul.products,
body.single-product .up-sells.upsells.products ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .up-sells.upsells.products ul.products::before,
body.single-product .up-sells.upsells.products ul.products::after {
  display: none;
}

body.single-product .related.products ul.products li.product,
body.single-product .up-sells.upsells.products ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

@media (max-width: 991px) {
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.single-product .related.products ul.products,
  body.single-product .up-sells.upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products,
  body.single-product .related.products ul.products,
  body.single-product .up-sells.upsells.products ul.products {
    grid-template-columns: 1fr;
  }

  body.single-product div.product .summary .product_title {
    font-size: 42px;
  }
}

/* =========================================================
   Single product polish — add to cart + wishlist alignment
   Scope: single product only
   Goal:
   - keep simple products clean
   - keep variable product selectors full width
   - put quantity BESIDE the add-to-cart button on mobile
   - leave wishlist below and untouched
   ========================================================= */

/* Simple products only: the cart row itself can stay inline */
body.single-product div.product form.cart:not(.variations_form){
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body.single-product div.product form.cart:not(.variations_form) .quantity,
body.single-product div.product form.cart:not(.variations_form) .quantity-box{
  flex: 0 0 auto;
  margin: 0 !important;
}

body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button{
  width: auto !important;
  min-width: 220px;
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  text-align: center;
  margin: 0 !important;
}

/* Variable products: keep the form itself as a normal block */
body.single-product div.product form.variations_form{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Variable selector table must stay full width */
body.single-product div.product form.variations_form table.variations{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  table-layout: auto !important;
}

body.single-product div.product form.variations_form table.variations tbody,
body.single-product div.product form.variations_form table.variations tr{
  width: 100% !important;
}

body.single-product div.product form.variations_form table.variations th,
body.single-product div.product form.variations_form table.variations td{
  width: auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
  vertical-align: middle !important;
}

body.single-product div.product form.variations_form table.variations td.value,
body.single-product div.product form.variations_form table.variations td.value select{
  width: 100% !important;
  max-width: 100% !important;
}

body.single-product div.product form.variations_form .single_variation_wrap{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart,
body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart.variations_button,
body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart-disabled,
body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart-enabled{
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100% !important;
}

body.single-product div.product .variations_form .quantity,
body.single-product div.product .variations_form .quantity-box{
  flex: 0 0 auto;
  margin: 0 !important;
}

body.single-product div.product .variations_form .single_add_to_cart_button{
  width: auto !important;
  min-width: 220px;
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  text-align: center;
  margin: 0 !important;
}

body.single-product div.product form.cart .single_add_to_cart_button::before,
body.single-product div.product .variations_form .single_add_to_cart_button::before{
  margin-right: 0;
  flex: 0 0 auto;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist{
  margin: 14px 0 0;
  width: auto;
  min-width: 190px;
  clear: none;
  flex: 0 0 auto;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist .yith-wcwl-add-button,
body.single-product .entry-summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse,
body.single-product .entry-summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 190px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #2c2824;
  background: #2c2824;
  color: #fff !important;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist a:hover{
  background: #fff;
  color: #2c2824 !important;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist a::before{
  content: none !important;
  display: none !important;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist a span{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.single-product .entry-summary .yith-wcwl-add-to-wishlist svg,
body.single-product .entry-summary .yith-wcwl-add-to-wishlist svg *{
  color: currentColor;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 767.98px){
  /* Variable products: stack the selector cleanly first */
  body.single-product div.product form.variations_form table.variations,
  body.single-product div.product form.variations_form table.variations tbody,
  body.single-product div.product form.variations_form table.variations tr{
    display: block !important;
    width: 100% !important;
  }

  body.single-product div.product form.variations_form table.variations tr{
    margin: 0 0 14px !important;
  }

  body.single-product div.product form.variations_form table.variations th.label,
  body.single-product div.product form.variations_form table.variations td.value{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single-product div.product form.variations_form table.variations th.label{
    margin: 0 0 8px !important;
  }

  body.single-product div.product form.variations_form table.variations th.label label{
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    writing-mode: horizontal-tb !important;
  }

  body.single-product div.product form.variations_form table.variations td.value select{
    width: 100% !important;
  }

  /* Only the actual qty/button row goes side by side */
  body.single-product div.product form.cart:not(.variations_form),
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart,
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart.variations_button,
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart-disabled,
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart-enabled{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.single-product div.product form.cart:not(.variations_form) .quantity,
  body.single-product div.product form.cart:not(.variations_form) .quantity-box,
  body.single-product div.product .variations_form .quantity,
  body.single-product div.product .variations_form .quantity-box{
    flex: 0 0 56px !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    margin: 0 !important;
  }

  body.single-product div.product form.cart:not(.variations_form) .quantity .qty,
  body.single-product div.product form.cart:not(.variations_form) .quantity-box .qty,
  body.single-product div.product .variations_form .quantity .qty,
  body.single-product div.product .variations_form .quantity-box .qty{
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button,
  body.single-product div.product .variations_form .single_add_to_cart_button{
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
  }
}

/* =========================================================
   MY ACCOUNT — logged-out login/register page WIDTH FIX
   Target: /mon-compte/ when user is NOT logged in
   Problem: register column/form still rendered too narrow.
   Fix: force the two cards and the register form to use real
   balanced widths with more breathing room.
   ========================================================= */

body.woocommerce-account:not(.logged-in) .woocommerce-account-form,
body.woocommerce-account:not(.logged-in) #customer_login,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
  display: grid !important;
  grid-template-columns: minmax(360px, 420px) minmax(400px, 480px) !important;
  gap: 36px !important;
  justify-content: center !important;
  align-items: start !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  flex: none !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1 {
  max-width: 420px !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 {
  max-width: 480px !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1 > h2,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 > h2 {
  margin: 0 0 16px !important;
  text-align: center !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1 form,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  border-radius: 18px !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .form-row,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login .form-row {
  width: 100% !important;
  margin-bottom: 14px !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register input.input-text,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login input.input-text,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .woocommerce-Input,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login .woocommerce-Input {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .woocommerce-privacy-policy-text {
  margin-top: 8px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .mc4wp-checkbox,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .woocommerce-form-row label {
  line-height: 1.6 !important;
}

body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login .button,
body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register .button {
  min-width: 190px !important;
  min-height: 48px !important;
}

@media (max-width: 980px) {
  body.woocommerce-account:not(.logged-in) .woocommerce-account-form,
  body.woocommerce-account:not(.logged-in) #customer_login,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    max-width: 860px !important;
  }

  body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    grid-template-columns: minmax(320px, 1fr) minmax(340px, 1fr) !important;
    gap: 24px !important;
  }

  body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 {
    max-width: none !important;
  }
}

@media (max-width: 767.98px) {
  body.woocommerce-account:not(.logged-in) .woocommerce-account-form,
  body.woocommerce-account:not(.logged-in) #customer_login,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    max-width: 480px !important;
  }

  body.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-login,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set .woocommerce-form-register,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column1 form,
  body.woocommerce-account:not(.logged-in) .u-columns.col2-set > .u-column2 form {
    padding: 20px !important;
  }
}


/* =========================================================
   MY ACCOUNT — Downloads page spacing/typography polish
   Target: /mon-compte/downloads/
   Scope: only the downloads section inside My Account content
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads{
  margin-top: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .shop_table{
  width: 100% !important;
  table-layout: fixed;
  border: 1px solid var(--dyb-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--dyb-surface);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td{
  padding: 18px 16px !important;
  vertical-align: middle;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--dyb-ink);
  background: #fafafb;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads tbody td{
  font-size: 15px;
  line-height: 1.55;
  color: var(--dyb-ink-soft);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-product{
  width: 42%;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-product a{
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  font-size: 15px;
  line-height: 1.5;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-remaining,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-expires{
  width: 18%;
  font-size: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-file{
  width: 22%;
  text-align: right;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
  min-height: 42px;
  padding: 12px 16px;
  max-width: 100%;
  font-size: 13px;
}

@media (max-width: 1100px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td{
    padding: 16px 14px !important;
  }
}

@media (max-width: 900px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-product,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-remaining,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-expires,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-file{
    width: auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-file{
    text-align: left;
  }
}

@media (max-width: 640px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads tr{
    padding: 16px !important;
    border-radius: 16px;
    margin: 0 0 14px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td{
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td:before{
    font-size: 13px;
    line-height: 1.35;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-product a{
    text-align: right;
    font-size: 14px;
    line-height: 1.45;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    width: auto;
    max-width: 100%;
  }
}

/* =========================================================
   MY ACCOUNT — Downloads page FINAL header spacing fix
   Scope: only downloads table header/title spacing
   Reason: header labels were colliding and felt cramped
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .shop_table.shop_table_responsive{
  table-layout: fixed !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  padding: 18px 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-product,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product{
  width: 34% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-remaining,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-remaining{
  width: 18% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-expires,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-expires{
  width: 20% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
  width: 28% !important;
  text-align: right !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product a{
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 1100px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
    font-size: 13px !important;
    padding: 16px 14px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-product,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product{
    width: 38% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-remaining{
    width: 16% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-expires,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-expires{
    width: 18% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
    width: 28% !important;
  }
}


/* =========================================================
   MY ACCOUNT — Downloads page FINAL v3 header typography/spacing fix
   Scope: only downloads table header row on /mon-compte/downloads/
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  padding: 20px 16px !important;
  vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-product{
  width: 28% !important;
  text-align: left !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-remaining{
  width: 24% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-expires{
  width: 16% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file{
  width: 32% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product{
  width: 28% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-remaining{
  width: 24% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-expires{
  width: 16% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
  width: 32% !important;
  text-align: right !important;
}

@media (max-width: 1180px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
    font-size: 12.5px !important;
    padding: 18px 12px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-product,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product{
    width: 30% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-remaining{
    width: 23% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-expires,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-expires{
    width: 17% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
    width: 30% !important;
  }
}


/* =========================================================
   MY ACCOUNT — Downloads page FINAL v5 desktop header spacing fix
   Scope: ONLY the downloads table header row / column balance
   Goal: keep all French titles on one line with safe horizontal room
   ========================================================= */
@media (min-width: 901px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .shop_table.shop_table_responsive{
    table-layout: fixed !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads thead th{
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    padding: 16px 8px !important;
    vertical-align: middle !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-product,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-product{
    width: 26% !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-remaining{
    width: 24% !important;
    text-align: center !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-expires,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-expires{
    width: 16% !important;
    text-align: center !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
    width: 34% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads th.download-file{
    text-align: center !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads table.woocommerce-table--order-downloads td.download-file{
    text-align: right !important;
  }
}


/* =========================================================
   MY ACCOUNT — premium redesign override layer
   NOTE:
   - Appended to the full production CSS so no later Woo blocks are lost.
   - This block only overrides My Account / password-eye styling.
   - Cart, checkout, archive, product, and mini-cart rules above stay intact.
   ========================================================= */

/* =========================================================
   MY ACCOUNT — premium redesign
   Goal:
   - more breathing room
   - calmer hierarchy
   - cleaner nav/content cards
   - one coherent system across all account endpoints
   Scope: /mon-compte/ and child endpoints only
   ========================================================= */

/* Shared account shell */
body.woocommerce-account .woocommerce{
  max-width: 1240px;
  margin: 0 auto;
}

body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3,
body.woocommerce-account .woocommerce h4{
  letter-spacing: -0.02em;
  color: var(--dyb-ink);
}

body.woocommerce-account .woocommerce p,
body.woocommerce-account .woocommerce li,
body.woocommerce-account .woocommerce address,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content label,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-Input,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .select2-selection,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .select2-results{
  font-size: 15px;
  line-height: 1.72;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content > * + *{
  margin-top: 18px;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-error{
  margin-bottom: 20px;
}

/* Logged-out account: cleaner dual-card layout */
body.woocommerce-account:not(.logged-in) .woocommerce{
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

body.woocommerce-account:not(.logged-in) #customer_login{
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin: 32px auto 0;
}

@media (min-width: 980px){
  body.woocommerce-account:not(.logged-in) #customer_login{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login .u-column1.col-1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2.col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2{
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 24px;
  padding: 30px 34px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

body.woocommerce-account:not(.logged-in) #customer_login h2{
  margin: 0 0 22px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.1;
}

body.woocommerce-account:not(.logged-in) #customer_login .form-row{
  margin-bottom: 18px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-LostPassword,
body.woocommerce-account:not(.logged-in) #customer_login .mc4wp-checkbox,
body.woocommerce-account:not(.logged-in) #customer_login p{
  color: var(--dyb-ink-soft);
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 12px 0 0 !important;
  font-weight: 600;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input{
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword{
  margin: 14px 0 0 !important;
}

body.woocommerce-account #customer_login .mc4wp-checkbox{
  margin-top: 14px;
}

body.woocommerce-account #customer_login .mc4wp-checkbox label{
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 500 !important;
  color: var(--dyb-ink-soft) !important;
}

body.woocommerce-account #customer_login .mc4wp-checkbox input{
  margin-top: 2px !important;
}

/* Logged-in dashboard/endpoints: nav + content */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{
  float: none !important;
  width: auto !important;
}

body.woocommerce-account.logged-in .woocommerce{
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

@media (max-width: 980px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Left navigation card */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li + li{
  margin-top: 4px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 16px;
  color: var(--dyb-ink) !important;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover{
  background: #f6f6f7;
  transform: translateX(2px);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{
  background: #111;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(0,0,0,.14);
}

/* Right content card */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 24px;
  padding: 30px 34px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

@media (max-width: 980px){
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    padding: 24px 22px;
  }
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details{
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > h2,
body.woocommerce-account .woocommerce-MyAccount-content > h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title,
body.woocommerce-account .woocommerce-MyAccount-content legend{
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
  margin: 0 0 18px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column--billing-address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column--shipping-address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{
  background: #fff;
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{
    grid-template-columns: 1fr;
  }
}

/* Account tables: orders/downloads */
body.woocommerce-account .woocommerce table.shop_table{
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

body.woocommerce-account .woocommerce table.shop_table thead th{
  background: #fafafa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4b5563;
}

body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td{
  padding: 18px 18px;
  border-bottom: 1px solid rgba(17,17,17,.08);
  vertical-align: middle;
}

body.woocommerce-account .woocommerce table.shop_table td{
  font-size: 15px;
  line-height: 1.6;
}

body.woocommerce-account .woocommerce table.shop_table tr:last-child td{
  border-bottom: 0;
}

body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce .woocommerce-table--order-downloads .download-file .button,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-downloads-file{
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

/* Downloads page: make it elegant, not patched */
body.woocommerce-account .woocommerce-table--order-downloads,
body.woocommerce-account table.woocommerce-table--order-downloads,
body.woocommerce-account table.woocommerce-table.woocommerce-table--order-downloads{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-account .woocommerce-table--order-downloads th,
body.woocommerce-account .woocommerce-table--order-downloads td{
  vertical-align: middle;
}

body.woocommerce-account .woocommerce-table--order-downloads th{
  font-weight: 700;
  white-space: nowrap;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-product{
  max-width: 460px;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-remaining,
body.woocommerce-account .woocommerce-table--order-downloads td.download-expires{
  width: 120px;
  white-space: nowrap;
  color: var(--dyb-muted);
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
  width: 220px;
  text-align: right;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-product a{
  display: block;
  font-weight: 600;
  color: #8b5e34;
  text-decoration: none;
  line-height: 1.5;
  max-width: 460px;
  word-break: break-word;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-product a:hover{
  text-decoration: underline;
}

body.woocommerce-account .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 220px;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px){
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
    width: auto;
    text-align: left;
  }

  body.woocommerce-account .woocommerce-table--order-downloads td.download-product a,
  body.woocommerce-account .woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    max-width: 100%;
  }
}

@media (max-width: 640px){
  body.woocommerce-account .woocommerce-table--order-downloads thead{ display:none; }

  body.woocommerce-account .woocommerce-table--order-downloads tr{
    display:block;
    padding: 16px 18px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 18px;
    margin: 0 0 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
  }

  body.woocommerce-account .woocommerce-table--order-downloads td{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    padding: 10px 0;
    border:0;
  }

  body.woocommerce-account .woocommerce-table--order-downloads td:before{
    content: attr(data-title);
    font-weight:700;
    color:#111827;
    flex: 0 0 auto;
    max-width: 42%;
  }

  body.woocommerce-account .woocommerce-table--order-downloads td.download-product a{
    text-align:right;
  }

  body.woocommerce-account .woocommerce-table--order-downloads td.download-file{
    text-align:right;
  }
}

/* Account forms: more room + calmer labels */
body.woocommerce-account .woocommerce form .form-row{
  margin: 0 0 18px !important;
}

body.woocommerce-account .woocommerce form .form-row label{
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 8px !important;
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce input[type="search"],
body.woocommerce-account .woocommerce select,
body.woocommerce-account .woocommerce textarea{
  height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
}

body.woocommerce-account .woocommerce textarea{
  min-height: 130px;
}

body.woocommerce-account .woocommerce fieldset{
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 20px;
  padding: 22px 24px 8px;
  margin: 26px 0 0;
}

body.woocommerce-account .woocommerce fieldset legend{
  padding: 0 6px;
  margin-left: -6px;
}

body.woocommerce-account .woocommerce .edit-account p,
body.woocommerce-account .woocommerce .woocommerce-address-fields p,
body.woocommerce-account .woocommerce .woocommerce-form-row{
  max-width: 100%;
}

/* Small utility polish */
body.woocommerce-account .woocommerce .woocommerce-Address-title .edit,
body.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper + p,
body.woocommerce-account .woocommerce .woocommerce-address-fields > p:last-child,
body.woocommerce-account .woocommerce .woocommerce-form-row + p{
  margin-top: 14px;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .dashboard-intro,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-account-fields,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-table--order-downloads{
  margin-top: 0;
}


/* =========================================================
   PASSWORD "EYE" TOGGLE — visible + stable (canonical, single block)
   ========================================================= */
.woocommerce .password-input{
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
.woocommerce .password-input input[type="password"],
.woocommerce .password-input input[type="text"]{
  padding-right: 56px !important;
}
.woocommerce button.show-password-input{
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.15) !important;
  background: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
  z-index: 5 !important;
  cursor: pointer !important;
}
.woocommerce button.show-password-input::after{
  color: #111 !important;
  opacity: 1 !important;
  filter: none !important;
}
/* Fallback icon if theme/plugin killed Woo icon font */
.woocommerce button.show-password-input::after{
  content: "👁" !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.woocommerce button.show-password-input:hover{
  border-color: rgba(0,0,0,.28) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
}
.woocommerce button.show-password-input:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12) !important;
}



/* =========================================================
   MY ACCOUNT — endpoint final stabilization v3
   Purpose:
   - fix the remaining tight/broken account endpoints only
   - replace the previous endpoint refinement block with cleaner final rules
   - keep all other Woo styles intact
   Scope:
   - /mon-compte/orders/
   - /mon-compte/downloads/
   - /mon-compte/edit-address/
   - /mon-compte/view-order/*
   ========================================================= */

/* Wider account canvas only for My Account pages */
body.woocommerce-account .dyb-v2-container{
  width: min(1380px, calc(100% - 48px)) !important;
  max-width: 1380px !important;
}

body.woocommerce-account .dyb-v2-editorial-content.entry-content{
  max-width: none !important;
}

body.woocommerce-account.logged-in .woocommerce{
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  padding: 14px !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  min-width: 0 !important;
  width: 100% !important;
  padding: 32px 34px !important;
  overflow: visible !important;
}

@media (max-width: 980px){
  body.woocommerce-account .dyb-v2-container{
    width: min(100%, calc(100% - 32px)) !important;
  }

  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    padding: 24px 22px !important;
  }
}

/* Calmer account subheadings in endpoint cards */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{
  font-size: 20px !important;
  line-height: 1.15 !important;
  margin: 0 0 14px !important;
}

/* ORDERS list — desktop first, mobile will switch to cards */
body.woocommerce-account .woocommerce table.woocommerce-orders-table,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table{
  width: 100% !important;
  table-layout: auto !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table thead th,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table thead th{
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  writing-mode: horizontal-tb !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  padding: 18px 16px !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table td,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table td{
  padding: 18px 16px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
}

@media (min-width: 901px){
  body.woocommerce-account .woocommerce table.woocommerce-orders-table,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table{
    table-layout: fixed !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-number{
    width: 18% !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-date,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-date{
    width: 18% !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-status,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-status{
    width: 18% !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-total,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-total{
    width: 24% !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__header-order-actions{
    width: 22% !important;
    text-align: center !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number a,
  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button{
    white-space: nowrap !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button{
    min-width: 92px !important;
  }
}

/* DOWNLOADS — desktop stable, mobile cards */
body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

@media (min-width: 901px){
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads{
    table-layout: fixed !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads thead th,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads thead th{
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    padding: 18px 16px !important;
    vertical-align: middle !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td{
    padding: 18px 16px !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-remaining,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-remaining{
    display: none !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-product,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-product,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-product,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-product{
    width: 52% !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-expires,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-expires,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-expires,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-expires{
    width: 16% !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-file{
    width: 32% !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-file{
    text-align: center !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-file{
    text-align: right !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-product a,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-product a{
    display: block !important;
    max-width: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.55 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 170px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 900px){
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads{
    display: block !important;
    table-layout: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads thead,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads thead{
    display: none !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody{
    display: block !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody tr,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody tr{
    display: block !important;
    margin: 0 0 16px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(17,17,17,.08) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.05) !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-remaining,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-remaining,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-remaining{
    display: none !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody td,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody td{
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody td:first-child,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody td:first-child{
    padding-top: 0 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody td:last-child,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody td:last-child{
    padding-bottom: 0 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads tbody td::before,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads tbody td::before{
    content: attr(data-title) !important;
    display: block !important;
    flex: 0 0 120px !important;
    max-width: 120px !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-product,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-product,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-expires,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-expires,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-file{
    width: auto !important;
    text-align: right !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-product a,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-product a{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: right !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-file a.woocommerce-MyAccount-downloads-file{
    display: inline-flex !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    white-space: nowrap !important;
  }
}
/* ORDER VIEW — fix giant product meta + give table real balance */
body.woocommerce-account .woocommerce-order-details table.shop_table.woocommerce-table--order-details,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details{
  width: 100% !important;
  table-layout: fixed !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.woocommerce-table--order-details thead th,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead th{
  white-space: nowrap !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  padding: 18px 16px !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.woocommerce-table--order-details td,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details td{
  padding: 18px 16px !important;
  vertical-align: top !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table .product-name,
body.woocommerce-account .woocommerce-order-details table.shop_table .woocommerce-table__product-name{
  width: 70% !important;
  text-align: left !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table .product-total,
body.woocommerce-account .woocommerce-order-details table.shop_table .woocommerce-table__product-total{
  width: 30% !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table td.product-name > a,
body.woocommerce-account .woocommerce-order-details table.shop_table td.woocommerce-table__product-name > a{
  display: block !important;
  margin-bottom: 8px !important;
  line-height: 1.45 !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table strong.product-quantity,
body.woocommerce-account .woocommerce-order-details table.shop_table .product-quantity{
  display: inline-block !important;
  margin: 6px 0 0 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  color: var(--dyb-ink) !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta{
  list-style: none !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li{
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--dyb-ink-soft) !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta strong,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta b{
  display: inline !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  color: var(--dyb-ink) !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta p{
  display: inline !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--dyb-ink-soft) !important;
}

/* ORDER VIEW — billing/shipping address cards */
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns,
body.woocommerce-account .woocommerce-customer-details .col2-set{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-column,
body.woocommerce-account .woocommerce-customer-details .col-1,
body.woocommerce-account .woocommerce-customer-details .col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(17,17,17,.07) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.05) !important;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-column__title,
body.woocommerce-account .woocommerce-customer-details h2,
body.woocommerce-account .woocommerce-customer-details h3{
  font-size: 20px !important;
  line-height: 1.15 !important;
  margin: 0 0 14px !important;
}

body.woocommerce-account .woocommerce-customer-details address{
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  line-height: 1.8 !important;
}

/* EDIT ADDRESS cards on the dedicated endpoint */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(17,17,17,.07) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.05) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .woocommerce-Address address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .col-1 address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses .col-2 address{
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  line-height: 1.85 !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit{
  display: inline-block !important;
  margin-top: 12px !important;
  white-space: normal !important;
  line-height: 1.55 !important;
}

/* Payment methods / account detail stay roomy */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethods,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-payment-methods{
  background: #fff !important;
  border: 1px solid rgba(17,17,17,.07) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.05) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethods .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-payment-methods .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content button.button{
  min-height: 46px !important;
  padding: 12px 18px !important;
  white-space: nowrap !important;
}

/* Tablet/mobile fallbacks */
@media (max-width: 1100px){
  body.woocommerce-account .woocommerce table.woocommerce-orders-table thead th,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table thead th,
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads thead th,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads thead th{
    font-size: 11px !important;
    padding: 16px 12px !important;
  }
}

@media (max-width: 900px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses,
  body.woocommerce-account .woocommerce-customer-details .woocommerce-columns,
  body.woocommerce-account .woocommerce-customer-details .col2-set{
    grid-template-columns: 1fr !important;
  }

  /* Orders table: switch to stacked cards on mobile */
  body.woocommerce-account .woocommerce table.woocommerce-orders-table,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table{
    display: block !important;
    table-layout: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table thead,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table thead{
    display: none !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody{
    display: block !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody tr,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody tr{
    display: block !important;
    margin: 0 0 18px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(17,17,17,.08) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.05) !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody td,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody td{
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    writing-mode: horizontal-tb !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody td:first-child,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody td:first-child{
    padding-top: 0 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody td:last-child,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody td:last-child{
    padding-bottom: 0 !important;
  }

  body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody td::before,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table tbody td::before{
    content: attr(data-title) !important;
    display: block !important;
    flex: 0 0 118px !important;
    max-width: 118px !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number a{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions{
    display: block !important;
    text-align: right !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions::before{
    display: block !important;
    margin-bottom: 10px !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button{
    display: inline-flex !important;
    min-width: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  /* Keep other account tables flexible */
  body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads,
  body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads,
  body.woocommerce-account .woocommerce-order-details table.shop_table.woocommerce-table--order-details,
  body.woocommerce-account .woocommerce-order-details table.shop_table.order_details{
    table-layout: auto !important;
  }
}


/* =========================================================
   MY ACCOUNT — endpoint final stabilization v4 (targeted)
   Purpose:
   - widen the billing/shipping edit form area only
   - remove the unnecessary “Téléchargements restants” column
   - strengthen the order-item meta reset on view-order pages
   Scope:
   - /mon-compte/edit-address/*
   - /mon-compte/downloads/
   - /mon-compte/view-order/* (downloads section + item meta)
   ========================================================= */

/* 1) EDIT ADDRESS endpoint — give the form real room */
body.woocommerce-account.woocommerce-edit-address .woocommerce,
body.woocommerce-account.woocommerce-edit-address .woocommerce-page .woocommerce{
  width: 100% !important;
  max-width: 1320px !important;
}

body.woocommerce-account.woocommerce-edit-address.logged-in .woocommerce{
  grid-template-columns: 260px minmax(720px, 1fr) !important;
  gap: 40px !important;
  align-items: start !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content{
  width: 100% !important;
  max-width: 860px !important;
  min-width: 0 !important;
  padding: 34px 38px !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content > form,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-address-fields,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper{
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content h2{
  margin: 0 0 18px !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .form-row{
  margin-bottom: 18px !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .select2,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .select2-container,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-input-wrapper{
  width: 100% !important;
}

@media (max-width: 980px){
  body.woocommerce-account.woocommerce-edit-address.logged-in .woocommerce{
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content{
    max-width: none !important;
    padding: 24px 22px !important;
  }
}

/* 2) Remove “Téléchargements restants” from downloads tables */
body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads th.download-remaining,
body.woocommerce-account .woocommerce table.woocommerce-table--order-downloads td.download-remaining,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads th.download-remaining,
body.woocommerce-account .woocommerce table.shop_table.woocommerce-table--order-downloads td.download-remaining{
  display: none !important;
}

/* 3) View-order — stronger reset for broken item meta */
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li *,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta strong,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta b,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta p,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta span{
  font-family: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta{
  max-width: 100% !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta li{
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--dyb-ink-soft) !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta strong,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta b{
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: var(--dyb-ink) !important;
  display: inline !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta p,
body.woocommerce-account .woocommerce-order-details table.shop_table ul.wc-item-meta span{
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--dyb-ink-soft) !important;
  display: inline !important;
}


/* =========================================================
   WISHLIST (/fr/favoris/) — Premium table redesign (final spacious)
   Scope: ONLY YITH wishlist page.
   Goal:
   - widen the real wishlist content area
   - give product name/title more breathing room
   - enlarge product thumbnails
   - keep buttons stable and premium
   - stay solid if many products are added
   ========================================================= */

/* widen only the wishlist page canvas */
body.woocommerce-wishlist .dyb-v2-container{
  width: min(1480px, calc(100% - 48px)) !important;
  max-width: 1480px !important;
}

body.woocommerce-wishlist .dyb-v2-editorial-content.entry-content{
  max-width: none !important;
}

body.woocommerce-wishlist .wishlist-title-container,
body.woocommerce-wishlist .wishlist-title-with-form,
body.woocommerce-wishlist .hidden-title-form,
body.woocommerce-wishlist .wishlist-fragment,
body.woocommerce-wishlist .entry-content > form[action*="/favoris/"],
body.woocommerce-wishlist .entry-content > form[action*="/wishlist/"]{
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-wishlist .wishlist-title-container,
body.woocommerce-wishlist .wishlist-title-with-form,
body.woocommerce-wishlist .hidden-title-form{
  margin-bottom: 22px !important;
}

body.woocommerce-wishlist .wishlist-title-with-form h2,
body.woocommerce-wishlist .wishlist-title-container h2{
  margin: 0 0 10px;
}

body.woocommerce-wishlist table.shop_table.cart.wishlist_table,
body.woocommerce-wishlist .wishlist_table.shop_table{
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 18px 40px rgba(17,17,17,.08);
}

body.woocommerce-wishlist .wishlist_table thead th{
  padding: 22px 18px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dyb-muted);
  background: #fbfbfc;
  border-bottom: 1px solid var(--dyb-border);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  vertical-align: middle;
}

body.woocommerce-wishlist .wishlist_table tbody td{
  padding: 24px 18px;
  vertical-align: middle;
}

body.woocommerce-wishlist .wishlist_table tbody tr{
  background: #fff;
}

body.woocommerce-wishlist .wishlist_table tbody tr + tr td{
  border-top: 1px solid rgba(17,17,17,.06);
}

/* desktop/tablet sizing: keep fixed columns sensible and let name breathe */
body.woocommerce-wishlist .wishlist_table th.product-remove,
body.woocommerce-wishlist .wishlist_table td.product-remove{
  width: 56px;
  min-width: 56px;
  text-align: center;
}

body.woocommerce-wishlist .wishlist_table th.product-thumbnail,
body.woocommerce-wishlist .wishlist_table td.product-thumbnail{
  width: 148px;
  min-width: 148px;
}

body.woocommerce-wishlist .wishlist_table th.product-name,
body.woocommerce-wishlist .wishlist_table td.product-name{
  width: auto !important;
}

body.woocommerce-wishlist .wishlist_table th.product-price,
body.woocommerce-wishlist .wishlist_table td.product-price{
  width: 148px;
  min-width: 148px;
}

body.woocommerce-wishlist .wishlist_table th.product-stock-status,
body.woocommerce-wishlist .wishlist_table td.product-stock-status{
  width: 148px;
  min-width: 148px;
}

body.woocommerce-wishlist .wishlist_table th.product-add-to-cart,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart{
  width: 216px;
  min-width: 216px;
}

/* remove icon */
body.woocommerce-wishlist .wishlist_table td.product-remove a.remove,
body.woocommerce-wishlist .wishlist_table td.product-remove a{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,17,17,.12);
  color: #111 !important;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

body.woocommerce-wishlist .wishlist_table td.product-remove a.remove:hover,
body.woocommerce-wishlist .wishlist_table td.product-remove a:hover{
  background: #111;
  border-color: #111;
  color: #fff !important;
  transform: scale(1.04);
}

/* larger thumbnail */
body.woocommerce-wishlist .wishlist_table td.product-thumbnail,
body.woocommerce-wishlist .wishlist_table td.product-thumbnail a{
  display: flex;
  align-items: center;
  justify-content: center;
}

body.woocommerce-wishlist .wishlist_table td.product-thumbnail img{
  width: 104px !important;
  min-width: 104px;
  height: 128px !important;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 10px 22px rgba(17,17,17,.08);
  background: #fff;
}

/* product title / quick view */
body.woocommerce-wishlist .wishlist_table td.product-name{
  font-size: 16px !important;
  line-height: 1.6;
}

body.woocommerce-wishlist .wishlist_table td.product-name > *{
  font-size: inherit;
}

body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
  display: block;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  font-family: var(--dyb-font-sans, inherit);
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--dyb-ink);
  text-decoration: none;
  margin: 0 0 14px;
}

body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button):hover{
  color: #8b6b4f;
}

body.woocommerce-wishlist .wishlist_table td.product-name .yith-wcqv-button,
body.woocommerce-wishlist .wishlist_table td.product-name .button.quick-view,
body.woocommerce-wishlist .wishlist_table td.product-name a.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 118px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  color: #111 !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
}

body.woocommerce-wishlist .wishlist_table td.product-name .yith-wcqv-button:hover,
body.woocommerce-wishlist .wishlist_table td.product-name .button.quick-view:hover,
body.woocommerce-wishlist .wishlist_table td.product-name a.button:hover{
  background: #111;
  color: #fff !important;
  border-color: #111;
}

/* price / stock */
body.woocommerce-wishlist .wishlist_table td.product-price,
body.woocommerce-wishlist .wishlist_table td.product-stock-status{
  font-size: 15px;
  line-height: 1.65;
  color: var(--dyb-ink-soft);
}

body.woocommerce-wishlist .wishlist_table td.product-price .amount,
body.woocommerce-wishlist .wishlist_table td.product-price ins .amount{
  font-size: 16px;
  font-weight: 700;
  color: var(--dyb-ink);
}

body.woocommerce-wishlist .wishlist_table td.product-price del{
  opacity: .55;
  margin-right: 6px;
}

body.woocommerce-wishlist .wishlist_table td.product-stock-status .wishlist-in-stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .stock.in-stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .instock{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f6f43 !important;
  font-weight: 700;
}

body.woocommerce-wishlist .wishlist_table td.product-stock-status .wishlist-in-stock::before,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .stock.in-stock::before,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .instock::before{
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

/* add to cart cell */
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart{
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart a.button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .add_to_cart_button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .single_add_to_cart_button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 178px;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff !important;
  font-family: var(--dyb-font-sans, inherit);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17,17,17,.14);
}

body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .button:hover,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart a.button:hover,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .add_to_cart_button:hover,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .single_add_to_cart_button:hover{
  background: #fff;
  color: #111 !important;
}

/* share area */
body.woocommerce-wishlist .yith-wcwl-share,
body.woocommerce-wishlist .wishlist-share,
body.woocommerce-wishlist .yith_wcwl_wishlist_footer{
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 28px auto 0 !important;
}

/* medium desktops / laptops */
@media (max-width: 1260px){
  body.woocommerce-wishlist .wishlist-title-container,
  body.woocommerce-wishlist .wishlist-title-with-form,
  body.woocommerce-wishlist .hidden-title-form,
  body.woocommerce-wishlist .wishlist-fragment,
  body.woocommerce-wishlist .entry-content > form[action*="/favoris/"],
  body.woocommerce-wishlist .entry-content > form[action*="/wishlist/"]{
    width: min(1080px, 100%) !important;
    max-width: 1080px !important;
  }

  body.woocommerce-wishlist .wishlist_table thead th,
  body.woocommerce-wishlist .wishlist_table tbody td{
    padding-left: 14px;
    padding-right: 14px;
  }

  body.woocommerce-wishlist .wishlist_table th.product-thumbnail,
  body.woocommerce-wishlist .wishlist_table td.product-thumbnail{ width: 132px; min-width: 132px; }
  body.woocommerce-wishlist .wishlist_table td.product-thumbnail img{ width: 94px !important; height: 118px !important; }
  body.woocommerce-wishlist .wishlist_table th.product-price,
  body.woocommerce-wishlist .wishlist_table td.product-price{ width: 132px; min-width: 132px; }
  body.woocommerce-wishlist .wishlist_table th.product-stock-status,
  body.woocommerce-wishlist .wishlist_table td.product-stock-status{ width: 132px; min-width: 132px; }
  body.woocommerce-wishlist .wishlist_table th.product-add-to-cart,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart{ width: 196px; min-width: 196px; }
  body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
    font-size: clamp(18px, 1.45vw, 24px);
  }
}

/* tablet */
@media (max-width: 980px){
  body.woocommerce-wishlist .dyb-v2-container{
    width: min(100%, calc(100% - 32px)) !important;
  }

  body.woocommerce-wishlist .wishlist-title-container,
  body.woocommerce-wishlist .wishlist-title-with-form,
  body.woocommerce-wishlist .hidden-title-form,
  body.woocommerce-wishlist .wishlist-fragment,
  body.woocommerce-wishlist .entry-content > form[action*="/favoris/"],
  body.woocommerce-wishlist .entry-content > form[action*="/wishlist/"]{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-wishlist .wishlist_table thead th,
  body.woocommerce-wishlist .wishlist_table tbody td{
    padding: 16px 12px;
  }

  body.woocommerce-wishlist .wishlist_table th.product-thumbnail,
  body.woocommerce-wishlist .wishlist_table td.product-thumbnail{ width: 112px; min-width: 112px; }
  body.woocommerce-wishlist .wishlist_table td.product-thumbnail img{ width: 82px !important; height: 102px !important; }
  body.woocommerce-wishlist .wishlist_table th.product-price,
  body.woocommerce-wishlist .wishlist_table td.product-price{ width: 118px; min-width: 118px; }
  body.woocommerce-wishlist .wishlist_table th.product-stock-status,
  body.woocommerce-wishlist .wishlist_table td.product-stock-status{ width: 118px; min-width: 118px; }
  body.woocommerce-wishlist .wishlist_table th.product-add-to-cart,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart{ width: 176px; min-width: 176px; }

  body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
    font-size: 18px;
  }

  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart a.button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .add_to_cart_button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .single_add_to_cart_button{
    min-width: 154px;
    font-size: 12px;
  }
}

/* mobile: card layout */
@media (max-width: 767px){
  body.woocommerce-wishlist .wishlist_table,
  body.woocommerce-wishlist table.shop_table.cart.wishlist_table{
    display: block;
    overflow: hidden;
  }

  body.woocommerce-wishlist .wishlist_table thead{
    display: none;
  }

  body.woocommerce-wishlist .wishlist_table tbody,
  body.woocommerce-wishlist .wishlist_table tr,
  body.woocommerce-wishlist .wishlist_table td{
    display: block;
    width: 100% !important;
  }

  body.woocommerce-wishlist .wishlist_table tbody tr{
    position: relative;
    padding: 18px 18px 20px;
  }

  body.woocommerce-wishlist .wishlist_table tbody td{
    padding: 0;
    border: 0;
    text-align: left !important;
  }

  body.woocommerce-wishlist .wishlist_table td.product-remove{
    position: absolute;
    top: 14px;
    right: 14px;
    width: auto !important;
  }

  body.woocommerce-wishlist .wishlist_table td.product-thumbnail{
    margin: 0 0 14px;
    justify-content: flex-start;
  }

  body.woocommerce-wishlist .wishlist_table td.product-thumbnail img{
    width: 84px !important;
    height: 104px !important;
  }

  body.woocommerce-wishlist .wishlist_table td.product-name{
    margin: 0 0 12px;
  }

  body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
    font-size: 24px;
  }

  body.woocommerce-wishlist .wishlist_table td.product-price,
  body.woocommerce-wishlist .wishlist_table td.product-stock-status{
    margin: 0 0 10px;
  }

  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart{
    margin-top: 14px;
  }

  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart a.button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .add_to_cart_button,
  body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .single_add_to_cart_button{
    max-width: none;
    width: 100%;
  }
}



/* =========================================================
   SINGLE PRODUCT — back-to-top above sticky add-to-cart bar
   Scope: only single product pages
   Goal: keep the back-to-top button visible above WSATC bar
   ========================================================= */
body.single-product #back-to-top,
body.single-product a#back-to-top,
body.single-product #back-to-top.show,
body.single-product a#back-to-top.show{
  right: 18px !important;
  bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 10050 !important;
}

body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top,
body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top,
body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top.show,
body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top.show{
  bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width: 991.98px){
  body.single-product #back-to-top,
  body.single-product a#back-to-top,
  body.single-product #back-to-top.show,
  body.single-product a#back-to-top.show{
    right: 16px !important;
    bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top,
  body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top,
  body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top.show,
  body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top.show{
    bottom: calc(144px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 767.98px){
  body.single-product #back-to-top,
  body.single-product a#back-to-top,
  body.single-product #back-to-top.show,
  body.single-product a#back-to-top.show{
    right: 14px !important;
    bottom: calc(124px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top,
  body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top,
  body.single-product #wsatc-stick-cart-wrapper ~ #back-to-top.show,
  body.single-product #wsatc-stick-cart-wrapper ~ a#back-to-top.show{
    bottom: calc(152px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* =========================================================
   CART (/fr/panier/) — larger product thumbnails + wider table rhythm
   Goal:
   - double the visual weight of cart product photos on desktop
   - keep columns aligned and breathing room clean
   - stay stable on tablet/mobile without breaking layout
   ========================================================= */

/* Give the cart form a bit more usable width against the totals card */
@media (min-width: 1024px){
  body.woocommerce-cart .woocommerce{
    grid-template-columns: minmax(0, 1fr) 390px !important;
    gap: 34px !important;
  }
}

/* Stronger row rhythm */
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{
  padding: 18px 14px !important;
  vertical-align: middle !important;
}

/* Desktop / large tablet: bigger image column + larger thumbnails */
@media (min-width: 992px){
  body.woocommerce-cart table.shop_table th.product-remove,
  body.woocommerce-cart table.shop_table td.product-remove{
    width: 52px !important;
  }

  body.woocommerce-cart table.shop_table th.product-thumbnail,
  body.woocommerce-cart table.shop_table td.product-thumbnail{
    width: 164px !important;
    min-width: 164px !important;
    padding-right: 18px !important;
  }

  body.woocommerce-cart table.shop_table td.product-name,
  body.woocommerce-cart table.shop_table th.product-name{
    min-width: 360px !important;
  }

  body.woocommerce-cart table.shop_table th.product-price,
  body.woocommerce-cart table.shop_table td.product-price{
    width: 110px !important;
  }

  body.woocommerce-cart table.shop_table th.product-quantity,
  body.woocommerce-cart table.shop_table td.product-quantity{
    width: 112px !important;
  }

  body.woocommerce-cart table.shop_table th.product-subtotal,
  body.woocommerce-cart table.shop_table td.product-subtotal{
    width: 130px !important;
  }

  body.woocommerce-cart .product-thumbnail a{
    display: block;
    width: 128px;
    max-width: 128px;
  }

  body.woocommerce-cart .product-thumbnail img{
    width: 128px !important;
    height: 128px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 16px;
  }
}

/* Tablet: still noticeably bigger, but less aggressive */
@media (min-width: 768px) and (max-width: 991.98px){
  body.woocommerce-cart table.shop_table th,
  body.woocommerce-cart table.shop_table td{
    padding: 16px 12px !important;
  }

  body.woocommerce-cart table.shop_table th.product-thumbnail,
  body.woocommerce-cart table.shop_table td.product-thumbnail{
    width: 132px !important;
    min-width: 132px !important;
    padding-right: 16px !important;
  }

  body.woocommerce-cart .product-thumbnail a{
    display: block;
    width: 96px;
    max-width: 96px;
  }

  body.woocommerce-cart .product-thumbnail img{
    width: 96px !important;
    height: 96px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 14px;
  }

  body.woocommerce-cart table.shop_table td.product-name,
  body.woocommerce-cart table.shop_table th.product-name{
    min-width: 260px !important;
  }
}

/* Mobile: keep it safe and readable, but still larger than the old tiny thumbnails */
@media (max-width: 767.98px){
  body.woocommerce-cart table.shop_table td.product-thumbnail,
  body.woocommerce-cart table.shop_table th.product-thumbnail{
    width: 96px !important;
    min-width: 96px !important;
    padding-right: 12px !important;
  }

  body.woocommerce-cart .product-thumbnail a{
    display: block;
    width: 72px;
    max-width: 72px;
  }

  body.woocommerce-cart .product-thumbnail img{
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 12px;
  }

  body.woocommerce-cart table.shop_table td.product-name,
  body.woocommerce-cart table.shop_table th.product-name{
    min-width: 0 !important;
  }
}


/* =========================================================
   CART (/fr/panier/) — Continue shopping button
   Goal:
   - add a clear secondary path back to the boutique
   - keep checkout as the strongest action
   - align visually with the cart action stack on the right
   - stay stable on desktop, tablet, and mobile
   ========================================================= */

body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping-wrap{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  clear: both;
  width: 100%;
  margin-top: 12px;
}

body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 184px;
  padding: 0 18px !important;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.14) !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .12s ease, box-shadow .12s ease;
}

body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping:hover,
body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping:focus-visible{
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.14) !important;
  transform: translateY(-1px);
  outline: none;
}

body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping:active{
  transform: translateY(0);
}

@media (max-width: 767.98px){
  body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping-wrap{
    justify-content: stretch;
    width: 100%;
    margin-top: 12px;
  }

  body.woocommerce-cart table.shop_table td.actions .dyb-cart-continue-shopping{
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   WISHLIST (/fr/favoris/) — FINAL typography alignment
   Goal:
   - make wishlist typography follow the site font system
   - keep page title styles untouched
   - affect ONLY wishlist content/table/buttons
   ========================================================= */

/* Base typography inside wishlist content only */
body.woocommerce-wishlist .wishlist_table,
body.woocommerce-wishlist .wishlist_table th,
body.woocommerce-wishlist .wishlist_table td,
body.woocommerce-wishlist .wishlist_table a,
body.woocommerce-wishlist .wishlist_table span,
body.woocommerce-wishlist .wishlist_table strong,
body.woocommerce-wishlist .wishlist_table small,
body.woocommerce-wishlist .wishlist_table .price,
body.woocommerce-wishlist .wishlist_table .amount,
body.woocommerce-wishlist .wishlist_table .stock,
body.woocommerce-wishlist .wishlist_table .wishlist-in-stock,
body.woocommerce-wishlist .wishlist_table .yith-wcqv-button,
body.woocommerce-wishlist .wishlist_table .button,
body.woocommerce-wishlist .wishlist_table .add_to_cart_button,
body.woocommerce-wishlist .wishlist_table .product_type_simple,
body.woocommerce-wishlist .wishlist_table .product_type_variable{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
}

/* Table headers: keep UI/system style */
body.woocommerce-wishlist .wishlist_table thead th{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

/* Product title: use the site UI font, not plugin fallback */
body.woocommerce-wishlist .wishlist_table td.product-name,
body.woocommerce-wishlist .wishlist_table td.product-name > *{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
}

body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--dyb-text-strong, #241f1a) !important;
}

/* Quick view button */
body.woocommerce-wishlist .wishlist_table td.product-name .yith-wcqv-button,
body.woocommerce-wishlist .wishlist_table td.product-name .button.quick-view,
body.woocommerce-wishlist .wishlist_table td.product-name a.button{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

/* Price + stock */
body.woocommerce-wishlist .wishlist_table td.product-price,
body.woocommerce-wishlist .wishlist_table td.product-stock-status,
body.woocommerce-wishlist .wishlist_table td.product-price .amount,
body.woocommerce-wishlist .wishlist_table td.product-price ins .amount,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .wishlist-in-stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .instock{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
}

body.woocommerce-wishlist .wishlist_table td.product-price .amount,
body.woocommerce-wishlist .wishlist_table td.product-price ins .amount{
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.woocommerce-wishlist .wishlist_table td.product-stock-status .wishlist-in-stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .stock.in-stock,
body.woocommerce-wishlist .wishlist_table td.product-stock-status .instock{
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

/* Main CTA button */
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart a.button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .add_to_cart_button,
body.woocommerce-wishlist .wishlist_table td.product-add-to-cart .single_add_to_cart_button{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
}

/* Remove icon cell stays in the UI font system too */
body.woocommerce-wishlist .wishlist_table td.product-remove a.remove,
body.woocommerce-wishlist .wishlist_table td.product-remove a{
  font-family: var(--dyb-font-sans, "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif) !important;
}

@media (max-width: 767px){
  body.woocommerce-wishlist .wishlist_table td.product-name a:not(.button):not(.btn):not(.yith-wcqv-button){
    font-size: clamp(20px, 6vw, 24px) !important;
    line-height: 1.15 !important;
  }
}


/* =========================================================
   CART (/fr/panier/) — final page title + clean responsive item labels
   Scope: only cart page
   Goal:
   - make the page title visible on desktop and mobile
   - remove the empty spacer above the cart shortcode
   - keep desktop headers clean
   - show explicit Prix / Quantité / Sous-total labels on mobile cards
   ========================================================= */

/* Show the real cart page title again */
body.woocommerce-cart h1.screen-reader-text{
  position: static !important;
  width: min(1320px, calc(100% - 48px)) !important;
  height: auto !important;
  margin: 28px auto 18px !important;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: normal !important;
  border: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: .98 !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  color: #2c2824 !important;
}

/* Remove the useless blank spacer above the cart */
body.woocommerce-cart .site-main .elementor-widget-spacer,
body.woocommerce-cart .site-main .elementor-spacer{
  display: none !important;
}

/* Keep the cart wrapper tucked under the title */
body.woocommerce-cart .site-main{
  padding-top: 8px !important;
}

body.woocommerce-cart .woocommerce{
  margin-top: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form{
  margin-top: 0 !important;
}

/* Desktop / tablet: keep header labels visible and aligned */
body.woocommerce-cart table.shop_table thead th{
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--dyb-ink) !important;
  white-space: nowrap !important;
}

/* Mobile card layout with explicit labels */
@media (max-width: 767.98px){
  body.woocommerce-cart h1.screen-reader-text{
    width: calc(100% - 32px) !important;
    margin: 20px auto 14px !important;
    font-size: 32px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart form.woocommerce-cart-form{
    padding: 18px !important;
  }

  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr.cart_item{
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart table.shop_table thead{
    display: none !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item{
    position: relative !important;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 10px !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid var(--dyb-border) !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item:last-of-type{
    border-bottom: 0 !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-remove{
    position: absolute !important;
    top: 18px !important;
    right: 0 !important;
    width: auto !important;
    z-index: 2 !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail{
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    width: 72px !important;
    min-width: 72px !important;
    padding-right: 0 !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail a{
    width: 72px !important;
    max-width: 72px !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail img{
    width: 72px !important;
    height: 72px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-name{
    grid-column: 2 !important;
    min-width: 0 !important;
    padding-right: 42px !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-name a{
    display: block !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-name dl.variation{
    margin-top: 0 !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-price,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal{
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 10px 0 !important;
    border-top: 1px solid var(--dyb-border) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-price::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal::before{
    display: block !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: var(--dyb-muted) !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-price::before{
    content: "Prix" !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity::before{
    content: "Quantité" !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal::before{
    content: "Sous-total" !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-price > *,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal > *{
    margin-left: auto !important;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity .quantity{
    margin-left: auto !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity input.qty{
    width: 88px !important;
    height: 42px !important;
  }
}


/* =========================================================
   CART (/fr/panier/) — update notice visibility fix
   Scope: only cart page update/info/error notices
   Goal:
   - make “Panier mis à jour.” clearly visible
   - keep the notice in a clean position under the page title
   - hide the wrapper only when it is truly empty
   ========================================================= */

body.woocommerce-cart .woocommerce-notices-wrapper:empty{
  display: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper{
  width: 100% !important;
  margin: 0 0 18px !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 18px 16px 56px !important;
  border: 1px solid rgba(17,17,17,.10) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #111111 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  box-shadow: 0 10px 24px rgba(17,17,17,.06) !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message::before,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info::before,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error::before{
  position: absolute !important;
  top: 50% !important;
  left: 18px !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message::before{
  content: "✓" !important;
  background: rgba(31,111,67,.10) !important;
  color: #1f6f43 !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info::before{
  content: "i" !important;
  background: rgba(11,87,208,.10) !important;
  color: #0b57d0 !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error::before{
  content: "!" !important;
  background: rgba(185,28,28,.10) !important;
  color: #b91c1c !important;
}

body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message a,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info a,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error a{
  color: #111111 !important;
  text-decoration: underline !important;
}

@media (max-width: 767.98px){
  body.woocommerce-cart .woocommerce-notices-wrapper{
    margin: 0 0 14px !important;
  }

  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message,
  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info,
  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error{
    padding: 14px 14px 14px 48px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-message::before,
  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-info::before,
  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper .woocommerce-error::before{
    left: 14px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   SINGLE PRODUCT — add-to-cart success notice (muted champagne)
   Scope: single product pages only
   Goal:
   - replace the bright blue success bar with a softer premium tone
   - keep the message aligned with the site palette on desktop and mobile
   - keep cart / checkout / account notice styles untouched
   ========================================================= */

body.single-product .woocommerce-notices-wrapper{
  width: 100% !important;
  margin: 0 0 22px !important;
}

body.single-product .woocommerce-notices-wrapper:empty{
  display: none !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 18px !important;
  row-gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 15px 18px !important;
  border: 1px solid #D5C3A1 !important;
  border-radius: 18px !important;
  background: #E6D9C3 !important;
  color: #2C2824 !important;
  box-shadow: 0 10px 24px rgba(44,40,36,.06) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message::before{
  display: none !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message a:not(.button){
  color: #2C2824 !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward,
body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  align-self: center !important;
  flex: 0 0 auto !important;
  min-height: 42px !important;
  margin-left: auto !important;
  padding: 0 18px !important;
  border: 1px solid #8A7558 !important;
  border-radius: 14px !important;
  background: #8A7558 !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward:hover,
body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover,
body.single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward:focus-visible,
body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:focus-visible{
  background: #7B674D !important;
  border-color: #7B674D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  outline: none !important;
}

@media (max-width: 767.98px){
  body.single-product .woocommerce-notices-wrapper{
    margin: 0 0 16px !important;
  }

  body.single-product .woocommerce-notices-wrapper .woocommerce-message{
    display: block !important;
    padding: 14px 14px 16px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward,
  body.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward{
    display: inline-flex !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 12px 0 0 !important;
  }
}


/* =========================================================
   SINGLE PRODUCT — inline variation warning (replaces browser alert)
   Scope: variable product forms only
   Goal:
   - show the warning inside the site UI
   - keep it premium, visible, and stable on desktop/mobile
   ========================================================= */

body.single-product form.variations_form .single_variation_wrap{
  position: relative;
}

body.single-product .dyb-product-inline-alert{
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #DCC8AF;
  border-radius: 18px;
  background: #EFE3D5;
  color: #2C2824;
  box-shadow: 0 10px 24px rgba(44,40,36,.06);
}

body.single-product .dyb-product-inline-alert__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #DCC9B0;
  color: #725E46;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

body.single-product .dyb-product-inline-alert__content{
  min-width: 0;
}

body.single-product .dyb-product-inline-alert__text{
  margin: 0;
  color: #2C2824;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

body.single-product .dyb-product-inline-alert__close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(138,117,88,.22);
  border-radius: 12px;
  background: #F8F3ED;
  color: #725E46;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

body.single-product .dyb-product-inline-alert__close:hover,
body.single-product .dyb-product-inline-alert__close:focus-visible{
  background: #8A7558;
  border-color: #8A7558;
  color: #FFFFFF;
  outline: none;
}

@media (max-width: 767.98px){
  body.single-product .dyb-product-inline-alert{
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 16px;
  }

  body.single-product .dyb-product-inline-alert__icon{
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  body.single-product .dyb-product-inline-alert__text{
    font-size: 14px;
    line-height: 1.5;
  }

  body.single-product .dyb-product-inline-alert__close{
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
}




/* =========================================================
   CHECKOUT (/fr/commande/) — FINAL CANONICAL LAYOUT
   Purpose:
   - single source of truth for checkout only
   - subtle coupon area with low visual impact
   - delivery and billing cards aligned in the left column
   - order summary card aligned in the right column
   - heading and spacing cleaned for desktop and mobile
   Edit only this block for future checkout styling updates.
   ========================================================= */

body.woocommerce-checkout .woocommerce{
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-checkout .site-main{
  padding-top: 16px !important;
}

/* Real page title */
body.woocommerce-checkout h1.screen-reader-text{
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: normal !important;
  border: 0 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: .98 !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  color: #2c2824 !important;
}

/* Back link */
body.woocommerce-checkout .dyb-checkout-back-link-wrap{
  margin: 0 0 14px !important;
}
body.woocommerce-checkout .dyb-checkout-back-link{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border: 1px solid #b9a17b !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #2c2824 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .dyb-checkout-back-link:hover,
body.woocommerce-checkout .dyb-checkout-back-link:focus-visible{
  background: #f6efe5 !important;
  color: #2c2824 !important;
  text-decoration: none !important;
  outline: none !important;
}

/* Layout */
body.woocommerce-checkout form.woocommerce-checkout{
  display: block !important;
}
@media (min-width: 1024px){
  body.woocommerce-checkout form.woocommerce-checkout{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 430px !important;
    gap: 32px !important;
    align-items: start !important;
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout form.checkout_coupon{
    grid-column: 1 !important;
  }

  body.woocommerce-checkout #customer_details{
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.woocommerce-checkout #order_review_heading{
    display: none !important;
  }

  body.woocommerce-checkout #order_review{
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
    align-self: start !important;
    position: sticky !important;
    top: 120px !important;
  }
}

/* Coupon — compact real form, without hiding valid helper/success text */
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  display: none !important;
}

body.woocommerce-checkout form.checkout_coupon{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form.checkout_coupon p{
  margin: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-first,
body.woocommerce-checkout form.checkout_coupon p.form-row-last{
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-first{
  min-width: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon p:not(.form-row){
  grid-column: 1 / -1 !important;
  margin: 0 0 2px !important;
  color: var(--dyb-muted) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout form.checkout_coupon .input-text{
  min-width: 0 !important;
  width: 100% !important;
  height: 48px !important;
  border: 1px solid #ddcfbd !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form.checkout_coupon button.button{
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
}

@media (max-width: 767px){
  body.woocommerce-checkout form.checkout_coupon{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.woocommerce-checkout form.checkout_coupon button.button{
    width: 100% !important;
  }
}

/* Left column cards */
body.woocommerce-checkout #customer_details{
  display: grid !important;
  gap: 20px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2{
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid #ebe4da !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 10px 24px rgba(17,17,17,.05) !important;
}
body.woocommerce-checkout #customer_details .col-2{ order: 1 !important; }
body.woocommerce-checkout #customer_details .col-1{ order: 2 !important; }
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-billing-fields{
  margin: 0 !important;
}
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout #customer_details .col-1 > h3,
body.woocommerce-checkout #customer_details .col-2 > h3{
  margin: 0 0 16px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #2c2824 !important;
}
body.woocommerce-checkout .woocommerce-shipping-fields h3 label{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2c2824 !important;
}
body.woocommerce-checkout .woocommerce-shipping-fields h3 input{
  margin: 0 !important;
}
body.woocommerce-checkout .woocommerce-additional-fields{
  margin-top: 18px !important;
}

/* Order summary card */
body.woocommerce-checkout #order_review_heading{
  display: none !important;
}
body.woocommerce-checkout #order_review{
  background: #fff !important;
  border: 1px solid #ebe4da !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 10px 24px rgba(17,17,17,.05) !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.woocommerce-checkout #order_review::before{
  content: "Votre commande";
  display: block;
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eee7dd;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #2c2824;
}
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table{
  width: 100% !important;
  border: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td{
  padding: 12px 0 !important;
  border-bottom: 1px solid #eee7dd !important;
  vertical-align: top !important;
}
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr:last-child th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr:last-child td{
  border-bottom: 0 !important;
}
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th.product-name,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td.product-name{
  width: 66% !important;
  padding-right: 20px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th.product-total,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td.product-total{
  width: 34% !important;
  text-align: right !important;
}

/* Payment area */
body.woocommerce-checkout #payment{
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid #eee7dd !important;
  background: transparent !important;
}
body.woocommerce-checkout #payment ul.payment_methods{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods > li{
  padding: 10px 0 !important;
}
body.woocommerce-checkout #payment div.payment_box{
  margin: 10px 0 0 !important;
  padding: 14px !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text{
  color: var(--dyb-muted) !important;
  font-size: 13px !important;
}
body.woocommerce-checkout #place_order{
  width: 100% !important;
}

/* Mobile */
@media (max-width: 1023px){
  body.woocommerce-checkout #order_review_heading{ display:none !important; }
  body.woocommerce-checkout #order_review{ margin-top: 0 !important; }
}
@media (max-width: 767px){
  body.woocommerce-checkout h1.screen-reader-text{
    margin: 0 0 14px !important;
    font-size: 34px !important;
  }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
  body.woocommerce-checkout form.checkout_coupon button.button{
    width: 100% !important;
  }
  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout #order_review{
    padding: 18px !important;
  }
}



/* =========================================================
   CART — secure payment reassurance under checkout button
   Scope: cart totals only
   Goal:
   - show uploaded payment image
   - keep explanatory text below
   - clean and premium
   ========================================================= */
body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment{
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  text-align: center;
  border-top: 1px solid rgba(17,17,17,.08);
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment::before,
body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment::after{
  content: none !important;
  display: none !important;
}

body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment__image{
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
}

body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment__note{
  display: block;
  max-width: 28ch;
  margin: 0;
  color: var(--dyb-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 767px){
  body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment{
    margin-top: 12px;
    padding-top: 10px;
    gap: 6px;
  }

  body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment__image{
    width: min(100%, 220px);
  }

  body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .dyb-cart-secure-payment__note{
    font-size: 11.5px;
    line-height: 1.4;
    max-width: 26ch;
  }
}


/* =========================================================
   CHECKOUT (/fr/commande/) — notice visibility + stable feedback
   Purpose:
   - hide only truly empty wrappers / empty express placeholders
   - keep success/info/error notices visible
   - avoid the ghost white bar above the coupon area
   - leave the canonical checkout grid/layout untouched
   ========================================================= */

body.woocommerce-checkout .woocommerce-NoticeGroup,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout .woocommerce-notices-wrapper{
  width: 100% !important;
  margin: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper:empty,
body.woocommerce-checkout .woocommerce-NoticeGroup:empty,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout:empty,
body.woocommerce-checkout .wc-stripe-express-checkout-element:empty{
  display: none !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper{
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-stripe-express-checkout-element{
  margin: 0 0 18px !important;
  text-align: left !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 15px 18px 15px 52px !important;
  border: 1px solid #D5C3A1 !important;
  border-radius: 18px !important;
  background: #E6D9C3 !important;
  color: #2C2824 !important;
  box-shadow: 0 10px 24px rgba(44,40,36,.06) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before{
  position: absolute !important;
  top: 50% !important;
  left: 18px !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.woocommerce-checkout .woocommerce-message::before{
  content: "✓" !important;
  background: rgba(138,117,88,.14) !important;
  color: #725E46 !important;
}

body.woocommerce-checkout .woocommerce-info::before{
  content: "i" !important;
  background: rgba(138,117,88,.14) !important;
  color: #725E46 !important;
}

body.woocommerce-checkout .woocommerce-message a,
body.woocommerce-checkout .woocommerce-info a{
  color: #2C2824 !important;
  text-decoration: underline !important;
}

body.woocommerce-checkout ul.woocommerce-error,
body.woocommerce-checkout .woocommerce-error{
  position: relative !important;
  list-style: none !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 16px 18px 16px 56px !important;
  border: 1px solid #E3CDB6 !important;
  border-radius: 18px !important;
  background: #F3E6D7 !important;
  color: #5F4630 !important;
  box-shadow: 0 10px 24px rgba(44,40,36,.06) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.woocommerce-checkout ul.woocommerce-error::before,
body.woocommerce-checkout .woocommerce-error::before{
  content: "!" !important;
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(149,85,37,.12) !important;
  color: #955525 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.woocommerce-checkout ul.woocommerce-error li,
body.woocommerce-checkout .woocommerce-error li{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: inherit !important;
}

body.woocommerce-checkout ul.woocommerce-error a,
body.woocommerce-checkout .woocommerce-error a{
  color: #5F4630 !important;
  text-decoration: underline !important;
}

body.woocommerce-checkout p.form-row.validate-required.woocommerce-invalid-required-field{
  padding: 12px 14px !important;
  border: 1px solid #E7D6C5 !important;
  border-radius: 16px !important;
  background: #FBF5EE !important;
}

body.woocommerce-checkout p.form-row.validate-required.woocommerce-invalid-required-field label,
body.woocommerce-checkout p.form-row.validate-required.woocommerce-invalid-required-field .woocommerce-terms-and-conditions-checkbox-text{
  color: #5F4630 !important;
}

@media (min-width: 1024px){
  body.woocommerce-checkout .woocommerce-NoticeGroup,
  body.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
  body.woocommerce-checkout .woocommerce-notices-wrapper,
  body.woocommerce-checkout ul.woocommerce-error{
    clear: left !important;
  }
}

@media (max-width: 767px){
  body.woocommerce-checkout .woocommerce-message,
  body.woocommerce-checkout .woocommerce-info{
    padding: 14px 14px 14px 48px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-checkout .woocommerce-message::before,
  body.woocommerce-checkout .woocommerce-info::before{
    left: 14px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout ul.woocommerce-error,
  body.woocommerce-checkout .woocommerce-error{
    padding: 14px 14px 14px 48px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-checkout ul.woocommerce-error::before,
  body.woocommerce-checkout .woocommerce-error::before{
    top: 14px !important;
    left: 14px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   CART (/fr/panier/) — mobile totals readability fix
   Scope: ONLY mobile/small screens on the cart totals card
   Goal:
   - stop Sous-total / Expédition / Total from collapsing vertically
   - give shipping methods and destination room to breathe
   - keep desktop cart layout untouched
   ========================================================= */
@media (max-width: 767.98px){
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart_totals{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .cart_totals{
    padding: 18px !important;
  }

  body.woocommerce-cart .cart_totals h2{
    margin: 0 0 14px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table,
  body.woocommerce-cart .cart_totals table.shop_table tbody,
  body.woocommerce-cart .cart_totals table.shop_table tr{
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table{
    table-layout: auto !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tr{
    margin: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--dyb-border) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tr:last-child{
    border-bottom: 0 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th{
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: var(--dyb-ink) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td{
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--dyb-ink-soft) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td::before{
    display: none !important;
    content: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table .amount,
  body.woocommerce-cart .cart_totals table.shop_table strong,
  body.woocommerce-cart .cart_totals table.shop_table strong .amount{
    white-space: nowrap !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method li{
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    margin: 0 0 12px !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method li:last-child{
    margin-bottom: 0 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method li input{
    grid-column: 1 !important;
    margin: 3px 0 0 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method li label{
    grid-column: 2 !important;
    display: block !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.6 !important;
    color: var(--dyb-ink-soft) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table .woocommerce-shipping-destination,
  body.woocommerce-cart .cart_totals table.shop_table .shipping-calculator-button{
    display: block !important;
    margin-top: 12px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.6 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
  body.woocommerce-cart .cart_totals table.shop_table tr.order-total td{
    font-weight: 700 !important;
    color: var(--dyb-ink) !important;
  }
}

/* =========================================================
   SINGLE PRODUCT — related / up-sells image normalization
   Goal:
   - force a consistent image frame for related products
   - keep the existing desktop/tablet/mobile grid intact
   - work with both Woo default markup and Zoli product markup
   ========================================================= */
body.single-product .related.products ul.products li.product,
body.single-product .up-sells.upsells.products ul.products li.product{
  min-width: 0;
}

/* Theme wrapper version */
body.single-product .related.products ul.products li.product .product-image,
body.single-product .up-sells.upsells.products ul.products li.product .product-image{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #efe8df;
}

body.single-product .related.products ul.products li.product .product-image img,
body.single-product .up-sells.upsells.products ul.products li.product .product-image img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}

/* Woo default / fallback link wrapper version */
body.single-product .related.products ul.products li.product > a:first-child,
body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link,
body.single-product .related.products ul.products li.product a.woocommerce-loop-product__link,
body.single-product .up-sells.upsells.products ul.products li.product > a:first-child,
body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-LoopProduct-link,
body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-loop-product__link{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #efe8df;
}

body.single-product .related.products ul.products li.product > a:first-child img,
body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link img,
body.single-product .related.products ul.products li.product a.woocommerce-loop-product__link img,
body.single-product .up-sells.upsells.products ul.products li.product > a:first-child img,
body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-LoopProduct-link img,
body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-loop-product__link img{
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}

/* Keep captions aligned under a consistent image frame */
body.single-product .related.products ul.products li.product .caption,
body.single-product .related.products ul.products li.product .product-caption,
body.single-product .up-sells.upsells.products ul.products li.product .caption,
body.single-product .up-sells.upsells.products ul.products li.product .product-caption{
  padding-top: 12px;
}

@media (max-width: 991px){
  body.single-product .related.products ul.products li.product .product-image,
  body.single-product .up-sells.upsells.products ul.products li.product .product-image,
  body.single-product .related.products ul.products li.product > a:first-child,
  body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link,
  body.single-product .related.products ul.products li.product a.woocommerce-loop-product__link,
  body.single-product .up-sells.upsells.products ul.products li.product > a:first-child,
  body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-LoopProduct-link,
  body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-loop-product__link{
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 680px){
  body.single-product .related.products ul.products li.product .product-image,
  body.single-product .up-sells.upsells.products ul.products li.product .product-image,
  body.single-product .related.products ul.products li.product > a:first-child,
  body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link,
  body.single-product .related.products ul.products li.product a.woocommerce-loop-product__link,
  body.single-product .up-sells.upsells.products ul.products li.product > a:first-child,
  body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-LoopProduct-link,
  body.single-product .up-sells.upsells.products ul.products li.product a.woocommerce-loop-product__link{
    aspect-ratio: 4 / 5;
  }
}
