/* ==========================================================================
   ANTHOPHILE — woocommerce.css
   Replaces the default woocommerce-general stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout resets
   Removing woocommerce-general also removes WooCommerce's own float, width and
   clearfix rules. Everything WooCommerce relies on is re-declared here as
   modern layout so nothing collapses.
   -------------------------------------------------------------------------- */
.woocommerce .col2-set:not(#customer_details),
.woocommerce-page .col2-set:not(#customer_details),
.woocommerce .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,40px);align-items:start}
/* The checkout's customer column must stay a single stack whatever classes
   WooCommerce or a plugin puts on it. */
#customer_details{display:block!important}
/* The theme's checkout blocks lay their own fields out on a grid */
#anth-gifting{display:block}
#anth-gifting .form-row-first{grid-column:1}
#anth-gifting .form-row-last{grid-column:2}
#anth-gifting > .form-row,
#anth-gifting .anth-gift-fields > .form-row{margin-bottom:16px}
@supports (display:grid){
  #anth-gifting .anth-gift-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  #anth-gifting .anth-gift-fields > .form-row-wide{grid-column:1/-1}
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce .u-columns .col-1,
.woocommerce .u-columns .col-2{width:auto;float:none;margin:0;max-width:none}

.woocommerce .clear{clear:both}
.woocommerce::after,.woocommerce-page::after,
.woocommerce .col2-set::after,.woocommerce ul.products::after{content:"";display:table;clear:both}

.woocommerce img{height:auto;max-width:100%}
.woocommerce .woocommerce-breadcrumb{margin:0}
.woocommerce .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.woocommerce abbr.required{border:0;text-decoration:none}

/* Product gallery — without Woo's base CSS this needs explicit sizing */
.woocommerce div.product div.images,
.woocommerce div.product div.summary{float:none;width:auto;margin:0}
.woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;opacity:1!important}
.woocommerce-product-gallery__wrapper{width:100%;margin:0;display:block}
.woocommerce-product-gallery__image{width:100%;display:block}
.woocommerce-product-gallery__image a{display:block}
.woocommerce-product-gallery__image img{width:100%;height:auto;display:block}
.woocommerce-product-gallery .flex-viewport{width:100%}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper{max-width:var(--anth-container);margin:0 auto;padding-inline:var(--anth-pad)}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  list-style:none;display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:var(--anth-mist);border-left:3px solid var(--anth-stem);
  border-radius:8px;padding:15px 18px;margin:18px 0;font-size:14px;
}
.woocommerce-error{background:#fdeceb;border-left-color:#b3261e;color:#7a1c16;display:block}
.woocommerce-error li{margin-bottom:4px}
.woocommerce-message .button,.woocommerce-info .button{
  margin-left:auto;border-radius:999px;background:var(--anth-ink);color:#fff;
  padding:9px 18px;font-size:13px;font-weight:500;
}

/* --------------------------------------------------------------------------
   Shop header + toolbar
   -------------------------------------------------------------------------- */
.anth-shop__header{padding-block:clamp(26px,4vw,52px) 0}
.anth-shop__header .anth-chips{margin-bottom:0}
.anth-shop__title{font-size:clamp(30px,4vw,52px);font-weight:300}
.anth-shop__desc{color:var(--anth-mute);max-width:62ch;margin-top:12px;font-size:14.5px}
.anth-shop__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(22px,3vw,48px);align-items:start;padding-block:clamp(22px,3vw,40px) 0}
.anth-shop__layout.has-sidebar{grid-template-columns:260px minmax(0,1fr)}
.anth-shop__main{min-width:0}
.anth-shop__sidebar{position:sticky;top:calc(var(--anth-header-h) + 16px)}
.anth-shop__sidebar .widget{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid var(--anth-line)}
.anth-shop__sidebar ul{list-style:none;display:grid;gap:9px;font-size:14px}
.anth-shop__sidebar a{color:var(--anth-mute)}
.anth-shop__sidebar a:hover{color:var(--anth-ink)}

.anth-shop__toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-bottom:18px;margin-bottom:4px;border-bottom:1px solid var(--anth-line);
}
.anth-shop__toolbar-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.woocommerce-result-count{margin:0;font-size:13px;color:var(--anth-mute)}
.woocommerce-ordering select,
.woocommerce select,
.woocommerce-page select{
  -webkit-appearance:none;appearance:none;
  border:1px solid var(--anth-line);border-radius:999px;background:var(--anth-paper);
  padding:11px 40px 11px 18px;font-size:13.5px;color:var(--anth-ink);cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236e7770' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
}
.woocommerce form .form-row select{border-radius:8px;padding-block:12px}
.woocommerce-ordering{margin:0}
.anth-filters-toggle{display:none}

/* --------------------------------------------------------------------------
   Product archive grid — reuses .anth-card from theme.css
   -------------------------------------------------------------------------- */
.woocommerce ul.products{--cols:4;list-style:none;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:var(--anth-gap);margin:0;padding:22px 0 0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{margin:0;width:auto;float:none}
.woocommerce ul.products li.product-category a{display:block;border-radius:var(--anth-radius);overflow:hidden;position:relative}
.woocommerce ul.products li.product-category h2{
  position:absolute;left:16px;bottom:16px;color:#fff;font-size:20px;z-index:2;
  text-shadow:0 1px 8px rgba(0,0,0,.4);
}
.star-rating{display:inline-block;font-size:12px;color:var(--anth-stem)}

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */
.single-product div.product{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(24px,4vw,70px);padding-block:clamp(24px,4vw,54px);align-items:start;
}
.single-product div.product > .woocommerce-product-gallery{grid-column:1;grid-row:1}
.single-product div.product > .summary{grid-column:2;grid-row:1}
/* The details column scrolls with the page like everything else */
.single-product div.product{align-items:start}
.single-product div.product > .summary{position:static;overflow:visible;max-height:none}
.single-product .summary > *:first-child{margin-top:0}
.single-product .woocommerce-product-gallery{position:relative}
.single-product .woocommerce-product-gallery__wrapper img{border-radius:var(--anth-radius)}
.single-product .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;list-style:none;margin-top:12px}
.single-product .flex-control-thumbs img{border-radius:6px;cursor:pointer;opacity:.6;transition:opacity .25s}
.single-product .flex-control-thumbs .flex-active,.single-product .flex-control-thumbs img:hover{opacity:1}
.woocommerce-product-gallery__trigger{
  position:absolute;top:14px;right:14px;z-index:3;width:40px;height:40px;border-radius:50%;
  background:var(--anth-paper);display:grid;place-items:center;box-shadow:var(--anth-shadow);font-size:0;
}
.woocommerce-product-gallery__trigger::after{content:"⤢";font-size:16px;line-height:1}

.single-product .product_title{font-size:clamp(28px,3.6vw,46px);font-weight:300;margin-bottom:10px}
.anth-single__stems{font-size:14px;color:var(--anth-mute);margin:0 0 14px}
.single-product .price{font-size:22px;font-family:var(--anth-font-head);margin:0 0 18px;display:block}
.single-product .price del{color:var(--anth-mute);font-size:17px;margin-right:8px}
.single-product .price ins{text-decoration:none;color:var(--anth-stem)}
.woocommerce-product-details__short-description{color:var(--anth-mute);font-size:15px;margin-bottom:22px}
.woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:13px}

.single-product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}
.single-product form.variations_form{display:block}
.single-product table.variations{width:100%;margin-bottom:16px;border-collapse:collapse}
.single-product table.variations th{text-align:left;padding:8px 0;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--anth-mute);width:110px;vertical-align:middle}
.single-product table.variations td{padding:8px 0}
.single-product .reset_variations{font-size:12px;color:var(--anth-mute)}
.woocommerce-variation-price{margin-bottom:14px}

.anth-qty{display:inline-flex;align-items:center;border:1px solid var(--anth-line);border-radius:999px;background:var(--anth-paper);overflow:hidden}
.anth-qty__btn{width:40px;height:46px;display:grid;place-items:center;font-size:16px;color:var(--anth-mute);transition:color .2s}
.anth-qty__btn:hover{color:var(--anth-ink)}
.anth-qty input.qty{width:46px;height:46px;border:0;text-align:center;padding:0;background:transparent;-moz-appearance:textfield;font-size:14px}
.anth-qty input.qty::-webkit-outer-spin-button,.anth-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:var(--anth-ink);color:#fff;border:1px solid var(--anth-ink);border-radius:999px;
  padding:14px 28px;font-size:14px;font-weight:500;line-height:1;cursor:pointer;
  transition:background .25s,border-color .25s,color .25s;
}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--anth-stem);border-color:var(--anth-stem);color:#fff}
.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.4;cursor:not-allowed}
.woocommerce .button.wc-backward{background:transparent;color:var(--anth-ink)}
.single_add_to_cart_button{flex:1;min-width:200px}

.anth-single__promises{list-style:none;display:grid;gap:11px;border-top:1px solid var(--anth-line);padding-top:20px;margin:6px 0 18px}
.anth-single__promises li{display:flex;gap:11px;align-items:flex-start;font-size:13.5px;color:var(--anth-mute)}
.anth-single__promises svg{color:var(--anth-stem);flex:none;margin-top:2px}
.anth-single__whatsapp{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--anth-stem);border-bottom:1px solid currentColor;padding-bottom:3px}

/* Tabs */
.woocommerce-tabs{grid-column:1/-1;padding-block:clamp(26px,4vw,54px);border-top:1px solid var(--anth-line)}
.woocommerce-tabs ul.tabs{display:flex;gap:26px;list-style:none;border-bottom:1px solid var(--anth-line);margin-bottom:26px;flex-wrap:wrap}
.woocommerce-tabs ul.tabs li a{display:block;padding:14px 0;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--anth-mute);border-bottom:2px solid transparent}
.woocommerce-tabs ul.tabs li.active a{color:var(--anth-ink);border-bottom-color:var(--anth-stem)}
.woocommerce-tabs .panel{max-width:76ch}
.woocommerce-tabs .panel h2{font-size:24px;margin-bottom:12px}

.related.products,.upsells.products{grid-column:1/-1;padding-block:clamp(26px,4vw,54px);border-top:1px solid var(--anth-line)}
.related.products > h2,.upsells.products > h2{font-size:clamp(22px,2.8vw,34px);font-weight:300;margin-bottom:18px}

/* Reviews */
#reviews .commentlist{list-style:none;display:grid;gap:22px}
#reviews .comment_container{display:flex;gap:16px}
#reviews .avatar{border-radius:50%;width:48px;height:48px}
#reviews .comment-text{flex:1;background:var(--anth-mist);border-radius:var(--anth-radius);padding:18px}
#review_form_wrapper{margin-top:30px}

/* --------------------------------------------------------------------------
   Cart — fallback layout for WooCommerce's own cart.php
   The theme ships its own cart template, but these rules make the default
   table markup lay out correctly too, so the page is never broken.
   -------------------------------------------------------------------------- */
.anth-cart-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:clamp(24px,4vw,60px);align-items:start}
.anth-cart-shell > .woocommerce-cart-form{grid-column:1;min-width:0}
.anth-cart-shell > .cart-collaterals{grid-column:2;min-width:0;position:sticky;top:calc(var(--anth-header-h) + 16px)}
.anth-cart-shell > .anth-freebar{grid-column:1/-1}
/* When the theme's own template renders, it brings its own grid */
.anth-cart-shell:has(.anth-cart){display:block}

.anth-cart-shell table.shop_table{width:100%;border-collapse:collapse;margin:0}
.anth-cart-shell table.shop_table thead th{
  text-align:left;font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--anth-mute);font-weight:500;padding:0 12px 12px 0;border-bottom:1px solid var(--anth-line);
}
.anth-cart-shell table.shop_table td{padding:20px 12px 20px 0;border-bottom:1px solid var(--anth-line);vertical-align:middle;font-size:14px}
.anth-cart-shell table.shop_table td.product-thumbnail img{width:96px;height:120px;object-fit:cover;border-radius:8px}
.anth-cart-shell table.shop_table td.product-name{width:40%}
.anth-cart-shell table.shop_table td.product-name a{font-family:var(--anth-font-head);font-size:19px;color:var(--anth-ink)}
.anth-cart-shell table.shop_table td.product-name dl.variation{margin:6px 0 0;font-size:12.5px;color:var(--anth-mute)}
.anth-cart-shell table.shop_table td.product-name dl.variation dt,
.anth-cart-shell table.shop_table td.product-name dl.variation dd{display:inline;margin:0 4px 0 0}
.anth-cart-shell table.shop_table td.product-name dl.variation dd p{display:inline;margin:0}
.anth-cart-shell table.shop_table td.product-price,
.anth-cart-shell table.shop_table td.product-subtotal{white-space:nowrap}
.anth-cart-shell table.shop_table td.product-subtotal{text-align:right;font-weight:500}
.anth-cart-shell table.shop_table th.product-subtotal{text-align:right}
.anth-cart-shell table.shop_table td.product-remove{width:34px;padding-right:0}
.anth-cart-shell table.shop_table td.product-remove a{
  display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--anth-mist);color:var(--anth-mute);font-size:17px;line-height:1;text-decoration:none;
}
.anth-cart-shell table.shop_table td.product-remove a:hover{background:#b3261e;color:#fff}
.anth-cart-shell table.shop_table td.actions{padding:22px 0 0;border-bottom:0}
.anth-cart-shell .coupon{display:flex;gap:9px;align-items:center;float:none;margin-bottom:0}
.anth-cart-shell .coupon input{max-width:220px;border-radius:999px;padding:12px 18px}
.anth-cart-shell td.actions > .button[name="update_cart"],
.anth-cart-shell td.actions > button[name="update_cart"]{float:right}
.anth-cart-shell .cart_totals h2{font-size:21px;margin:0 0 18px}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals{float:none;width:auto}
.anth-cart-shell .cart_totals{background:var(--anth-mist);border-radius:var(--anth-radius);padding:26px}
.anth-cart-shell .cart_totals table{width:100%;border-collapse:collapse}
.anth-cart-shell .cart_totals th{
  width:42%;text-align:left;padding:11px 10px 11px 0;border-bottom:1px solid var(--anth-line);
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--anth-mute);font-weight:500;vertical-align:top;
}
.anth-cart-shell .cart_totals td{padding:11px 0;border-bottom:1px solid var(--anth-line);text-align:right;font-size:14px}
.anth-cart-shell .cart_totals .order-total th,.anth-cart-shell .cart_totals .order-total td{border-bottom:0;padding-top:16px}
.anth-cart-shell .cart_totals .order-total .amount{font-family:var(--anth-font-head);font-size:22px}
.anth-cart-shell .cart_totals ul#shipping_method{list-style:none;margin:0;padding:0;display:grid;gap:7px;text-align:right}
.anth-cart-shell .cart_totals ul#shipping_method label{font-weight:400;font-size:13.5px;margin:0}
.anth-cart-shell .woocommerce-shipping-destination,
.anth-cart-shell .woocommerce-shipping-calculator{font-size:12.5px;color:var(--anth-mute);text-align:right;margin-top:8px}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.woocommerce-cart .anth-main > .anth-container{padding-block:clamp(24px,4vw,54px)}

.anth-cart,.anth-cart__main,.anth-cart__details,.anth-cart__aside{min-width:0}
.anth-cart{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:clamp(24px,4vw,60px);align-items:start}
.anth-cart__main{min-width:0}

.anth-cart__head{
  display:grid;grid-template-columns:96px minmax(0,1fr) 140px 120px 30px;
  gap:18px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--anth-line);
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--anth-mute);
}
.anth-cart__head span:nth-child(1){grid-column:1/3}
.anth-cart__head span:nth-child(2){grid-column:3;text-align:center}
.anth-cart__head span:nth-child(3){grid-column:4;text-align:right}

.anth-cart__list{list-style:none;margin:0;padding:0}
.anth-cart__item{
  display:grid;grid-template-columns:96px minmax(0,1fr) 140px 120px 30px;
  gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--anth-line);
}
.anth-cart__thumb img{width:96px;height:120px;object-fit:cover;border-radius:8px;display:block}
.anth-cart__details{min-width:0}
.anth-cart__name{font-size:19px;margin:0 0 4px}
.anth-cart__name a{color:var(--anth-ink)}
.anth-cart__name a:hover{color:var(--anth-stem)}
.anth-cart__stems{font-size:13px;color:var(--anth-mute);margin:0 0 6px}
.anth-cart__meta{font-size:12.5px;color:var(--anth-mute)}
.anth-cart__meta dl{margin:0}
.anth-cart__meta dt{font-weight:500;display:inline}
.anth-cart__meta dd{display:inline;margin:0 0 0 4px}
.anth-cart__meta dd p{margin:0}
.anth-cart__unit{display:block;font-size:12.5px;color:var(--anth-mute);margin-top:6px}
.anth-cart__qty{justify-self:center}
.anth-cart__subtotal{text-align:right;font-size:15px;font-weight:500;white-space:nowrap}
.anth-cart__remove{
  justify-self:end;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--anth-mist);color:var(--anth-mute);font-size:17px;line-height:1;text-decoration:none;
}
.anth-cart__remove:hover{background:#b3261e;color:#fff}

.anth-cart__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:22px}
.anth-cart__coupon{display:flex;gap:9px;flex:1;min-width:260px}
.anth-cart__coupon input{max-width:220px;border-radius:999px;padding:12px 18px}
.anth-cart__update{margin-left:auto}
.anth-cart__continue{display:inline-block;margin-top:26px;font-size:13.5px;color:var(--anth-mute)}
.anth-cart__continue:hover{color:var(--anth-ink)}

.anth-cart__aside{position:sticky;top:calc(var(--anth-header-h) + 16px);min-width:0}
.anth-totals{background:var(--anth-mist);border-radius:var(--anth-radius);padding:26px}
.anth-totals__title{font-size:21px;margin:0 0 18px}
.anth-totals__rows{display:grid;gap:2px}
.anth-totals__row{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:11px 0;border-bottom:1px solid var(--anth-line);font-size:14px;
}
.anth-totals__row > span:first-child{color:var(--anth-mute);flex:none}
.anth-totals__row > span:last-child{text-align:right;min-width:0}
.anth-totals__row--total{border-bottom:0;padding-top:16px;font-size:16px}
.anth-totals__row--total > span:first-child{color:var(--anth-ink);font-weight:500}
.anth-totals__row--total .amount{font-family:var(--anth-font-head);font-size:22px}
.anth-totals__shipping ul#shipping_method{list-style:none;margin:0;padding:0;display:grid;gap:7px;text-align:right}
.anth-totals__shipping label{font-weight:400;font-size:13.5px;margin:0}
.anth-totals__shipping .woocommerce-shipping-destination{font-size:12px;margin-top:8px}
.anth-totals__shipping .woocommerce-shipping-calculator{margin-top:8px;font-size:12.5px}
.anth-totals__note{font-size:12.5px;color:var(--anth-mute);margin:16px 0 0}
.woocommerce .wc-proceed-to-checkout{padding:18px 0 0}
.woocommerce .wc-proceed-to-checkout .button{width:100%;margin:0}

.anth-freebar{margin-bottom:22px}
.anth-freebar__text{font-size:13.5px;margin:0 0 8px;display:flex;align-items:center;gap:7px}
.anth-freebar__text.is-complete{color:var(--anth-stem)}
.anth-freebar__track{display:block;height:5px;background:var(--anth-line);border-radius:999px;overflow:hidden}
.anth-freebar__fill{display:block;height:100%;background:var(--anth-stem);border-radius:999px;transition:width .5s ease}

/* empty cart */
.woocommerce .cart-empty,.woocommerce .wc-empty-cart-message{text-align:center;padding:50px 0 10px}
.woocommerce .cart-empty{font-family:var(--anth-font-head);font-size:clamp(22px,3vw,32px);font-weight:300;color:var(--anth-ink);border:0;background:transparent}
.woocommerce .return-to-shop{text-align:center;padding-bottom:50px}

/* mini cart in the drawer */
.anth-minicart__list{list-style:none;display:grid;gap:16px;margin-bottom:20px;padding:0}
.anth-minicart__item{display:flex;gap:13px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--anth-line);position:relative}
.anth-minicart__thumb img{width:66px;border-radius:8px}
.anth-minicart__body{flex:1;min-width:0;padding-right:24px}
.anth-minicart__name{display:block;font-family:var(--anth-font-head);font-size:16px;line-height:1.25}
.anth-minicart__meta{display:block;font-size:13px;color:var(--anth-mute);margin-top:5px}
.anth-minicart__remove{position:absolute;top:0;right:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--anth-mist);font-size:15px;color:var(--anth-mute);line-height:1}
.anth-minicart__remove:hover{background:#b3261e;color:#fff}
.anth-minicart__foot{border-top:1px solid var(--anth-line);padding-top:18px}
.anth-minicart__total{display:flex;justify-content:space-between;font-size:15px;margin-bottom:6px}
.anth-minicart__total strong{font-family:var(--anth-font-head);font-size:19px}
.anth-minicart__note{font-size:12.5px;color:var(--anth-mute);margin-bottom:16px}
.anth-minicart__actions{display:grid;gap:9px}
.anth-minicart__actions .anth-btn{width:100%}
.anth-minicart__empty{text-align:center;padding:40px 0;color:var(--anth-mute)}
.anth-minicart__empty svg{margin:0 auto 14px;color:var(--anth-line)}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.woocommerce-checkout .anth-main > .anth-container{padding-block:clamp(24px,4vw,54px)}

.anth-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,420px);gap:clamp(24px,4vw,60px);align-items:start}
.anth-checkout__main{min-width:0}
.anth-checkout__customer{display:block;min-width:0}
.anth-checkout__aside{position:sticky;top:calc(var(--anth-header-h) + 16px);min-width:0}
.anth-checkout h3,.anth-checkout #order_review_heading{font-size:21px;margin:0 0 16px}
.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields{margin-bottom:26px}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3{margin-top:0}
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper{display:block}
.woocommerce-shipping-fields{border-top:1px solid var(--anth-line);padding-top:22px}
.woocommerce-shipping-fields h3 label{font-family:var(--anth-font-head);font-size:19px;font-weight:400;display:flex;align-items:center;gap:10px;margin:0}
.woocommerce-shipping-fields h3 input[type=checkbox]{width:auto;margin:0}

.woocommerce form .form-row{display:flex;flex-direction:column;margin:0 0 16px;padding:0}
.woocommerce form .form-row label{font-size:13px;font-weight:500;margin-bottom:6px}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}
@supports (display:grid){
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  .woocommerce form .form-row-wide,
  .woocommerce form .form-row:not(.form-row-first):not(.form-row-last){grid-column:1/-1}
  .woocommerce form .form-row-first{grid-column:1}
  .woocommerce form .form-row-last{grid-column:2}
}
.woocommerce form .form-row.woocommerce-invalid input,
.woocommerce form .form-row.woocommerce-invalid select{border-color:#b3261e}
.woocommerce form .form-row .required{color:#b3261e;text-decoration:none}
.woocommerce-input-wrapper{display:block;width:100%}

#order_review{background:var(--anth-mist);border-radius:var(--anth-radius);padding:24px}
.anth-review__items{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:14px}
.anth-review__item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center}
.anth-review__thumb{position:relative;display:block}
.anth-review__thumb img{width:56px;height:68px;object-fit:cover;border-radius:6px;display:block}
.anth-review__count{
  position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;
  display:grid;place-items:center;border-radius:999px;background:var(--anth-ink);color:#fff;
  font-size:11px;font-weight:600;
}
.anth-review__body{min-width:0}
.anth-review__name{display:block;font-family:var(--anth-font-head);font-size:15.5px;line-height:1.25}
.anth-review__body dl{margin:4px 0 0;font-size:12px;color:var(--anth-mute)}
.anth-review__body dt,.anth-review__body dd{display:inline;margin:0}
.anth-review__body dd{margin-right:6px}
.anth-review__body dd p{display:inline;margin:0}
.anth-review__price{font-size:14px;white-space:nowrap;text-align:right}
.anth-review__totals{border-top:1px solid var(--anth-line);padding-top:14px;display:grid;gap:2px}
.anth-review__row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:9px 0;font-size:14px}
.anth-review__row > span:first-child{color:var(--anth-mute);flex:none}
.anth-review__row > span:last-child{text-align:right;min-width:0}
.anth-review__row--shipping{display:block}
.anth-review__row--shipping ul#shipping_method{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.anth-review__row--shipping label{font-weight:400;font-size:13.5px;margin:0}
.anth-review__row--total{border-top:1px solid var(--anth-line);margin-top:8px;padding-top:15px;font-size:16px}
.anth-review__row--total > span:first-child{color:var(--anth-ink);font-weight:500}
.anth-review__row--total .amount{font-family:var(--anth-font-head);font-size:22px}

.woocommerce-checkout #payment{background:transparent;border-radius:0;margin-top:20px}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;border:0;padding:0;margin:0 0 16px}
.woocommerce-checkout #payment ul.payment_methods li{border:1px solid var(--anth-line);border-radius:var(--anth-radius);padding:14px 16px;margin-bottom:10px;background:var(--anth-paper)}
.woocommerce-checkout #payment ul.payment_methods label{display:inline;font-weight:500;margin:0}
.woocommerce-checkout #payment div.payment_box{background:var(--anth-mist);border-radius:8px;padding:13px;margin-top:10px;font-size:13px;color:var(--anth-mute)}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment .place-order{padding:0;margin:0}
.woocommerce-checkout #payment .place-order .button{width:100%;padding:17px 28px;font-size:15px}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:12.5px;color:var(--anth-mute);margin-bottom:14px}
.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12.5px;color:var(--anth-mute)}
.woocommerce-form-coupon-toggle{margin-bottom:20px}
.woocommerce-form-coupon{background:var(--anth-mist);border-radius:var(--anth-radius);padding:20px;margin-bottom:22px}
.woocommerce-form-coupon .form-row{margin-bottom:0}

.anth-checkout-block{background:var(--anth-paper);border:1px solid var(--anth-line);border-radius:var(--anth-radius);padding:22px;margin-bottom:22px}
.anth-checkout-block h3{display:flex;align-items:center;gap:10px;font-size:20px;margin:0 0 8px}
.anth-checkout-block h3 svg{color:var(--anth-stem);flex:none}
.anth-checkout-block__note{font-size:13px;color:var(--anth-mute);margin-bottom:18px}
.anth-checkout-block .form-row{margin-bottom:16px}
.anth-checkout-block .anth-gift-fields{border-top:1px solid var(--anth-line);margin-top:14px;padding-top:18px}
.anth-checkout-block input[type=checkbox]{width:auto;margin:0}
.anth-checkout-block .woocommerce-input-wrapper{width:100%}
.anth-checkout-block label.checkbox,
.anth-checkout-block .form-row.anth-gift-toggle label{
  display:flex;align-items:flex-start;gap:9px;font-size:14px;font-weight:400;margin:0;line-height:1.45;
}
.anth-checkout-block label .optional{color:var(--anth-mute);font-size:12.5px;margin-left:4px}
.anth-checkout-block .form-row input[type=checkbox]{margin-top:2px;flex:none}

.anth-checkout-block .form-row input[type=date],
.anth-checkout-block .form-row select{width:100%;min-width:0}
.anth-char-count{font-size:12px;color:var(--anth-mute);align-self:flex-end;margin-top:4px}
.anth-char-count.is-over{color:#b3261e}

.woocommerce-order{max-width:820px;margin:0 auto;padding-block:clamp(24px,4vw,54px)}
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;background:var(--anth-mist);border-radius:var(--anth-radius);padding:22px;margin-bottom:28px}
.woocommerce-order-overview li{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--anth-mute)}
.woocommerce-order-overview li strong{display:block;font-family:var(--anth-font-head);font-size:18px;letter-spacing:0;text-transform:none;color:var(--anth-ink);margin-top:4px}
.anth-order-delivery{background:var(--anth-mist);border-radius:var(--anth-radius);padding:22px;margin-top:24px}
.anth-order-delivery h2{font-size:20px;margin-bottom:12px}
.anth-order-delivery ul{list-style:none;display:grid;gap:8px;font-size:14px;padding:0}
.woocommerce-thankyou-order-received{font-family:var(--anth-font-head);font-size:clamp(24px,3.4vw,38px);font-weight:300;margin-bottom:22px;color:var(--anth-ink)}
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title{font-size:20px;margin:26px 0 12px}
.woocommerce-order .shop_table{background:var(--anth-paper);border:1px solid var(--anth-line);border-radius:var(--anth-radius);overflow:hidden;width:100%;border-collapse:collapse}
.woocommerce-order .shop_table th,.woocommerce-order .shop_table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--anth-line)}

/* --------------------------------------------------------------------------
   Block Cart & Checkout (fallback)
   The theme's delivery and gifting fields only exist on the classic
   shortcode checkout. These rules stop the block version looking broken if a
   site keeps it, but classic is strongly recommended.
   -------------------------------------------------------------------------- */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart{max-width:var(--anth-container);margin-inline:auto;padding-block:clamp(20px,3vw,40px)}
.wc-block-components-main{min-width:0}
.wc-block-checkout__form,.wc-block-cart__main{min-width:0}
.wc-block-components-title,.wc-block-components-checkout-step__title{font-family:var(--anth-font-head)!important;font-weight:400!important}
.wc-block-components-text-input input,
.wc-block-components-address-form input,
.wc-block-components-textarea{border-radius:8px!important;border-color:var(--anth-line)!important}
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
  background:var(--anth-ink)!important;color:#fff!important;border-radius:999px!important;
  font-family:var(--anth-font-body)!important;font-weight:500!important;
}
.wc-block-components-button:hover{background:var(--anth-stem)!important}
.wc-block-components-sidebar,.wc-block-components-order-summary{
  background:var(--anth-mist);border-radius:var(--anth-radius);padding:20px;
}
.wc-block-components-product-metadata__description{display:none}
.wc-block-components-order-summary-item__description{font-size:12.5px;color:var(--anth-mute)}

/* --------------------------------------------------------------------------
   My account
   -------------------------------------------------------------------------- */
.woocommerce-account .anth-main > .anth-container{padding-block:clamp(24px,4vw,54px)}

/* --- logged out: login / register ---------------------------------------- */
.woocommerce-account:not(.logged-in) .woocommerce{max-width:980px;margin:0 auto}
.woocommerce-account .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,40px);align-items:start}
.woocommerce-account .u-columns .col-1,
.woocommerce-account .u-columns .col-2{width:auto;float:none;margin:0}
.woocommerce-account .u-columns h2{font-size:24px;margin:0 0 16px}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register{
  background:var(--anth-paper);border:1px solid var(--anth-line);
  border-radius:var(--anth-radius);padding:clamp(22px,3vw,34px);margin:0;
}
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-form-login{max-width:460px;margin:0 auto}
.woocommerce-account .u-columns{align-items:stretch}
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .col-1{grid-column:1;grid-row:1;display:flex;flex-direction:column}
.woocommerce-account .u-columns .u-column2,
.woocommerce-account .u-columns .col-2{grid-column:2;grid-row:1;display:flex;flex-direction:column}
.woocommerce-account .u-columns h2{margin-top:0}
.woocommerce-account .u-columns form{flex:1;margin:0}
.woocommerce-account .woocommerce-form-row{margin-bottom:16px}
.woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:4px 0 16px}
.woocommerce-form-login__rememberme input,
.woocommerce-form-register input[type=checkbox]{width:auto;margin:0}
.woocommerce-form-login .button,
.woocommerce-form-register .button{width:100%}
.woocommerce-LostPassword{margin:14px 0 0;font-size:13.5px}
.woocommerce-LostPassword a{color:var(--anth-stem)}
.woocommerce-privacy-policy-text{font-size:12.5px;color:var(--anth-mute);margin-bottom:16px}
.woocommerce-ResetPassword{max-width:460px;margin:0 auto;background:var(--anth-paper);border:1px solid var(--anth-line);border-radius:var(--anth-radius);padding:30px}

/* --- logged in: two-column dashboard ------------------------------------- */
.woocommerce-account.logged-in .anth-main > .anth-container > .woocommerce,
.woocommerce-account.logged-in .woocommerce{
  display:grid;grid-template-columns:250px minmax(0,1fr);
  gap:clamp(24px,3.5vw,54px);align-items:start;width:100%;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;margin:0;min-width:0}
.woocommerce-MyAccount-navigation{
  background:var(--anth-mist);border-radius:var(--anth-radius);padding:14px;
  position:sticky;top:calc(var(--anth-header-h) + 16px);
}
.woocommerce-MyAccount-navigation ul{list-style:none;display:grid;gap:2px;margin:0;padding:0}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation a{
  display:block;padding:11px 14px;border-radius:8px;font-size:14px;
  color:var(--anth-mute);transition:background .2s,color .2s;
}
.woocommerce-MyAccount-navigation li.is-active > a,
.woocommerce-MyAccount-navigation a:hover{background:var(--anth-paper);color:var(--anth-ink);font-weight:500}
.woocommerce-MyAccount-navigation li--customer-logout a{color:#b3261e}

.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content > p:first-child{font-size:15.5px}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3{font-size:22px;margin:0 0 16px}
.woocommerce-MyAccount-content mark{background:transparent;color:var(--anth-ink);font-weight:500}

/* orders + downloads tables */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .shop_table{
  width:100%;border-collapse:collapse;background:var(--anth-paper);
  border:1px solid var(--anth-line);border-radius:var(--anth-radius);overflow:hidden;
}
.woocommerce-account .shop_table th{
  background:var(--anth-mist);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--anth-mute);font-weight:500;text-align:left;padding:13px 16px;border:0;
}
.woocommerce-account .shop_table td{padding:16px;border-top:1px solid var(--anth-line);font-size:14px;vertical-align:middle}
.woocommerce-account .shop_table .woocommerce-orders-table__cell-order-actions{text-align:right}
.woocommerce-account .shop_table .button{padding:9px 18px;font-size:12.5px}
.woocommerce-account .woocommerce-orders-table__cell-order-status{color:var(--anth-stem);font-weight:500}

/* addresses */
.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,28px)}
.woocommerce-account .woocommerce-Address{
  background:var(--anth-paper);border:1px solid var(--anth-line);
  border-radius:var(--anth-radius);padding:22px;width:auto;float:none;
}
.woocommerce-account .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3{font-size:19px;margin:0}
.woocommerce-account .woocommerce-Address-title a{font-size:12.5px;color:var(--anth-stem);border-bottom:1px solid currentColor}
.woocommerce-account address{font-style:normal;font-size:14px;color:var(--anth-mute);line-height:1.8}

/* edit account + edit address forms */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account form.edit-account,
.woocommerce-account .woocommerce-address-fields{
  background:var(--anth-paper);border:1px solid var(--anth-line);
  border-radius:var(--anth-radius);padding:clamp(22px,3vw,32px);max-width:640px;
}
.woocommerce-account fieldset{border:0;border-top:1px solid var(--anth-line);margin:24px 0 0;padding:22px 0 0}
.woocommerce-account fieldset legend{font-family:var(--anth-font-head);font-size:19px;padding:0}
.woocommerce-account .woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:8px}

/* order detail view */
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details{margin-bottom:28px}
.woocommerce-account .woocommerce-column__title{font-size:19px;margin-bottom:10px}
.woocommerce-account .woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.woocommerce-account .woocommerce-columns--addresses .col-1,
.woocommerce-account .woocommerce-columns--addresses .col-2{width:auto;float:none}

/* empty states */
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-Message{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:var(--anth-mist);border-left:3px solid var(--anth-stem);
  border-radius:8px;padding:18px 20px;margin:0 0 20px;
}

/* --------------------------------------------------------------------------
   Quick view
   -------------------------------------------------------------------------- */
.anth-quickview{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,3vw,40px);padding:clamp(18px,3vw,34px)}
.anth-quickview__media img{border-radius:var(--anth-radius);width:100%}
.anth-quickview__thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.anth-quickview__thumbs img{border-radius:6px}
.anth-quickview__summary h2{font-size:clamp(22px,2.6vw,32px);font-weight:300;margin-bottom:6px}
.anth-quickview__stems{font-size:13.5px;color:var(--anth-mute);margin-bottom:12px}
.anth-quickview__price{font-family:var(--anth-font-head);font-size:22px;margin-bottom:14px}
.anth-quickview__excerpt{font-size:14px;color:var(--anth-mute);margin-bottom:14px}
.anth-quickview__delivery{font-size:13px;color:var(--anth-stem);margin-bottom:18px}
.anth-quickview__full{display:inline-block;margin-top:16px;font-size:13.5px;border-bottom:1px solid var(--anth-line);padding-bottom:3px}
.anth-quickview form.cart{margin:0 0 6px}
.anth-quickview .single_add_to_cart_button{width:100%}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width:1200px){.woocommerce ul.products{--cols:3}}

@media (max-width:1100px){
  .anth-cart,.anth-checkout{grid-template-columns:1fr}
  .anth-cart__aside,.anth-checkout__aside{position:static}
}

@media (max-width:1024px){
  .anth-shop__layout{grid-template-columns:1fr}
  .anth-shop__sidebar{
    position:fixed;top:0;left:0;bottom:0;width:min(340px,90vw);z-index:95;background:var(--anth-paper);
    padding:22px;overflow-y:auto;transform:translateX(-100%);transition:transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .anth-shop__sidebar.is-open{transform:none}
  .anth-filters-toggle{display:inline-flex}
  .single-product div.product{grid-template-columns:1fr}
  .woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr}
  .woocommerce-MyAccount-navigation{position:static}
  .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,1fr);display:grid}
  .woocommerce-account .u-columns{grid-template-columns:1fr}
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .woocommerce-columns--addresses{grid-template-columns:1fr}
  .anth-quickview{grid-template-columns:1fr}
}

@media (max-width:781px){
  .woocommerce ul.products{--cols:2}
  .anth-cart__head{display:none}
  .anth-cart__item{
    grid-template-columns:84px minmax(0,1fr) auto;
    grid-template-areas:
      "thumb details remove"
      "thumb qty     subtotal";
    gap:10px 12px;
  }
  .anth-cart__thumb{grid-area:thumb}
  .anth-cart__thumb img{width:84px;height:104px}
  .anth-cart__details{grid-area:details}
  .anth-cart__qty{grid-area:qty;justify-self:start}
  .anth-cart__subtotal{grid-area:subtotal;align-self:center;text-align:right;white-space:nowrap;font-size:14px}
  .anth-cart__remove{grid-area:remove}
  .anth-cart__actions{flex-direction:column;align-items:stretch}
  .anth-cart__coupon{min-width:0}
  .anth-cart__coupon input{max-width:none;flex:1}
  .anth-cart__update{margin-left:0;width:100%}
  .anth-checkout__customer .woocommerce-billing-fields__field-wrapper,
  .anth-checkout__customer .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{grid-column:1}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;margin-right:0}
  .woocommerce-account .shop_table thead{display:none}
  .woocommerce-account .shop_table tr{display:grid;gap:4px;padding:14px 16px;border-top:1px solid var(--anth-line)}
  .woocommerce-account .shop_table td{padding:0;border:0}
  .woocommerce-account .shop_table td::before{content:attr(data-title) ": ";font-weight:500;color:var(--anth-mute)}
  .woocommerce-account .shop_table .woocommerce-orders-table__cell-order-actions{text-align:left;margin-top:8px}
  .woocommerce-account .shop_table .woocommerce-orders-table__cell-order-actions::before{display:none}
  .single-product form.cart{flex-direction:column;align-items:stretch}
  .single_add_to_cart_button{width:100%}
  .anth-qty{align-self:flex-start}
}

/* --------------------------------------------------------------------------
   Mobile refinements
   -------------------------------------------------------------------------- */
@media (max-width:1024px){
  /* Single product: gallery first, then the details, in one column */
  .single-product div.product{grid-template-columns:minmax(0,1fr);gap:24px}
  .single-product div.product > .woocommerce-product-gallery{grid-column:1;grid-row:1;position:static;max-height:none}
  .single-product div.product > .summary{grid-column:1;grid-row:2;position:static;max-height:none;overflow:visible}
  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .related,
  .single-product div.product > .upsells{grid-column:1}
}

@media (max-width:781px){
  /* Product page */
  .single-product .product_title{font-size:clamp(26px,7vw,34px)}
  .single-product .price{font-size:20px}
  .single-product .flex-control-thumbs{grid-template-columns:repeat(4,1fr)}
  .single-product form.cart{gap:10px}
  .anth-single__promises li{font-size:13px}
  .woocommerce-tabs ul.tabs{gap:16px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none}
  .woocommerce-tabs ul.tabs li a{white-space:nowrap}

  /* Quick view */
  .anth-modal{padding:0;align-items:flex-end}
  .anth-modal__panel{
    width:100%;max-height:92vh;border-radius:var(--anth-radius) var(--anth-radius) 0 0;
  }
  .anth-quickview{grid-template-columns:1fr;gap:16px;padding:18px}
  .anth-quickview__media img{max-height:44vh;object-fit:cover}
  .anth-quickview__thumbs{grid-template-columns:repeat(4,1fr)}

  /* Cart — default table markup */
  .anth-cart-shell{grid-template-columns:1fr;gap:26px}
  .anth-cart-shell > .cart-collaterals{grid-column:1;position:static}
  .anth-cart-shell table.shop_table thead{display:none}
  .anth-cart-shell table.shop_table,
  .anth-cart-shell table.shop_table tbody{display:block;width:100%}
  .anth-cart-shell table.shop_table tr{
    display:grid;grid-template-columns:84px minmax(0,1fr) auto;
    grid-template-areas:
      "thumb name   remove"
      "thumb price  price"
      "thumb qty    subtotal";
    gap:8px 12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--anth-line);
  }
  .anth-cart-shell table.shop_table td{display:block;padding:0;border:0}
  .anth-cart-shell table.shop_table td.product-thumbnail{grid-area:thumb}
  .anth-cart-shell table.shop_table td.product-thumbnail img{width:84px;height:104px}
  .anth-cart-shell table.shop_table td.product-name{grid-area:name;width:auto}
  .anth-cart-shell table.shop_table td.product-price{grid-area:price;font-size:13px;color:var(--anth-mute)}
  .anth-cart-shell table.shop_table td.product-quantity{grid-area:qty}
  .anth-cart-shell table.shop_table td.product-subtotal{grid-area:subtotal;text-align:right;white-space:nowrap}
  .anth-cart-shell table.shop_table td.product-remove{grid-area:remove;width:auto}
  .anth-cart-shell table.shop_table tr:has(td.actions){display:block;border-bottom:0}
  .anth-cart-shell table.shop_table td.actions{display:block;padding-top:18px}
  .anth-cart-shell .coupon{flex-direction:column;align-items:stretch;margin-bottom:12px}
  .anth-cart-shell .coupon input{max-width:none}
  .anth-cart-shell .coupon .button,
  .anth-cart-shell td.actions > .button,
  .anth-cart-shell td.actions > button{width:100%;float:none}
  .anth-cart-shell .cart_totals{padding:20px}
  .anth-cart-shell .cart_totals th{width:45%;font-size:10.5px}

  /* Checkout */
  .anth-checkout{gap:26px}
  #order_review{padding:20px}
  .anth-checkout-block{padding:18px}
  .anth-checkout-block h3{font-size:18px}
  #anth-gifting .anth-gift-fields{grid-template-columns:1fr}
  #anth-gifting .form-row-first,#anth-gifting .form-row-last{grid-column:1}
  .woocommerce-checkout #payment .place-order .button{padding:16px 22px;font-size:14.5px}

  /* My account */
  .woocommerce-account .anth-main > .anth-container{padding-block:20px 34px}
  .woocommerce-account.logged-in .anth-main > .anth-container > .woocommerce,
  .woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:20px}
  .woocommerce-MyAccount-navigation{
    position:static;padding:6px;margin:0 calc(var(--anth-pad) * -1);
    border-radius:0;background:var(--anth-mist);
  }
  .woocommerce-MyAccount-navigation ul{
    display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;
    padding:4px var(--anth-pad);-webkit-overflow-scrolling:touch;
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
  .woocommerce-MyAccount-navigation li{flex:none}
  .woocommerce-MyAccount-navigation a{white-space:nowrap;padding:10px 16px;border-radius:999px;font-size:13.5px}
  .woocommerce-MyAccount-navigation li.is-active > a{background:var(--anth-ink);color:#fff}
  .woocommerce-MyAccount-content{padding-top:4px}
  .woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:20px}
  .woocommerce-account .u-columns,
  .woocommerce .col2-set:not(#customer_details),
  .woocommerce-page .col2-set:not(#customer_details){grid-template-columns:1fr;gap:18px}
  .woocommerce-account:not(.logged-in) .woocommerce{max-width:none}
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .woocommerce-columns--addresses{grid-template-columns:1fr}
  .woocommerce-account .u-columns .u-column1,
  .woocommerce-account .u-columns .col-1,
  .woocommerce-account .u-columns .u-column2,
  .woocommerce-account .u-columns .col-2{grid-column:1}
  .woocommerce-account .u-columns .u-column2,
  .woocommerce-account .u-columns .col-2{grid-row:2}
  .woocommerce-account .woocommerce-form-login,
  .woocommerce-account .woocommerce-form-register{padding:20px}
  .woocommerce-account .woocommerce-EditAccountForm,
  .woocommerce-account form.edit-account,
  .woocommerce-account .woocommerce-address-fields{padding:20px}
  .woocommerce-account .woocommerce-Address{padding:18px}
  .woocommerce-account .shop_table td.woocommerce-orders-table__cell-order-actions .button{width:100%}
}

@media (max-width:480px){
  .anth-cart-shell table.shop_table tr{grid-template-columns:70px minmax(0,1fr) 26px}
  .anth-cart-shell table.shop_table td.product-thumbnail img{width:70px;height:88px}
  .anth-cart-shell table.shop_table td.product-name a{font-size:17px}
}
