/*
Theme Name: Vitale
Theme URI: https://vitalemethod.com
Description: Vitale — premium research-peptide store. Child theme of Storefront. Deep navy + ice blue, Crimson Pro + Atkinson Hyperlegible, trust-forward, conversion-focused.
Author: Vitale
Template: storefront
Version: 1.1.0
*/

/* ================================================================== *
 * DESIGN TOKENS — Deep Navy + Ice
 * ------------------------------------------------------------------ *
 * The legacy --forest-* / --cream-* / --gold token NAMES are kept so
 * the entire component layer remaps in one place; only their VALUES
 * change. forest-900/800 = deep navy, 700/600 = royal/primary blue,
 * 500 = sky. cream-* = white / ice-tinted off-white. gold = ice/sky.
 * ================================================================== */
:root{
  /* Navy + blue ramp (mapped onto the old "forest" names) */
  --forest-900:#0A1E3A; --forest-800:#112742; --forest-700:#174AA0;
  --forest-600:#1E60C9; --forest-500:#6FA8DC;
  /* Discrete role tokens (preferred for new work) */
  --navy-900:#0A1E3A; --navy-800:#112742;
  --blue-700:#174AA0; --blue-600:#1E60C9;
  --sky-500:#6FA8DC; --ice-300:#CFE3F5;

  /* Backgrounds: white + ice-tinted off-white (mapped onto "cream") */
  --cream:#FFFFFF; --cream-100:#FFFFFF; --cream-200:#F6F9FC;
  --ice:#CFE3F5;

  --ink:#0F1E33;
  /* "gold" role retired → ice/sky accent. gold = ice highlight, gold-hi = sky */
  --gold:#CFE3F5; --gold-hi:#6FA8DC;
  --white:#ffffff;
  --line:rgba(10,30,58,.10);
  --line-2:rgba(10,30,58,.16);
  --muted:rgba(15,30,51,.66);   /* WCAG AA 4.5:1+ on white / #F6F9FC */
  --muted-2:rgba(15,30,51,.56);

  --r-sm:.5rem; --r-md:.875rem; --r-lg:1.1rem; --r-xl:1.4rem; --r-pill:999px;
  --sh-sm:0 1px 2px rgba(10,30,58,.06);
  --sh-md:0 10px 24px -14px rgba(10,30,58,.28);
  --sh-lg:0 24px 48px -22px rgba(10,30,58,.4);
  --t-fast:.16s ease; --t:.24s ease;
  --maxw:1200px;
  --serif:'Crimson Pro', Georgia, serif;
  --sans:'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
}

/* ================================================================== *
 * BASE / RESET-ish
 * ================================================================== */
html{ scroll-behavior:smooth; overflow-x:hidden; max-width:100%; }
*{ box-sizing:border-box; }
body, .site, button, input, select, textarea,
.woocommerce, .woocommerce-page{
  font-family:var(--sans) !important;
  color:var(--ink);
}
body{
  background:var(--cream) !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; }
h1,h2,h3,h4,.serif,
.entry-title,.page-title,.product_title,
.woocommerce-loop-product__title,
.storefront-product-section-title,.section-title{
  font-family:var(--serif) !important;
  color:var(--forest-900) !important;
  font-weight:600 !important;
  letter-spacing:-.01em;
  line-height:1.12;
}
a{ color:var(--forest-600); text-decoration:none; transition:color var(--t-fast); }
a:hover{ color:var(--forest-700); }
::selection{ background:var(--gold); color:var(--forest-900); }
*:focus-visible{ outline:2px solid var(--forest-600); outline-offset:2px; border-radius:4px; }
/* Guaranteed-visible focus ring on interactive elements (works on light + dark) */
a:focus-visible, button:focus-visible, .button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.v-cta-pill:focus-visible, .v-btn:focus-visible,
.woocommerce a.button:focus-visible, .woocommerce button.button:focus-visible,
.single_add_to_cart_button:focus-visible{
  outline:3px solid var(--sky-500) !important; outline-offset:2px !important;
  box-shadow:0 0 0 1px var(--forest-900) !important;
}

.v-skip{ position:absolute; left:-9999px; top:0; background:var(--forest-900); color:var(--cream-100);
  padding:.6rem 1rem; z-index:200; border-radius:0 0 var(--r-sm) 0; }
.v-skip:focus{ left:0; color:var(--cream-100); }

/* Hide Storefront's old chrome we replace */
#masthead, .storefront-handheld-footer-bar, .site-info, .storefront-credit,
.storefront-product-pagination, .storefront-sticky-add-to-cart{ display:none !important; }

/* ================================================================== *
 * RUO ANNOUNCEMENT BAR
 * ================================================================== */
.v-ruo-bar{
  background:var(--forest-900); color:var(--cream-100);
  font-size:12.5px; letter-spacing:.015em; text-align:center;
  padding:9px 16px; line-height:1.4;
}
.v-ruo-bar__inner{ display:inline-flex; align-items:center; gap:.5rem; flex-wrap:wrap; justify-content:center; }
.v-ruo-bar svg{ color:var(--gold); flex:0 0 auto; }

/* ================================================================== *
 * HEADER
 * ================================================================== */
.v-site{ background:var(--cream); }
.v-header{
  position:sticky; top:0; z-index:50;
  background:rgba(235,243,252,.86);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow var(--t), background var(--t);
}
.v-header.is-scrolled{ box-shadow:var(--sh-md); background:rgba(235,243,252,.96); }
.v-header__inner{
  max-width:var(--maxw); margin:0 auto; padding:0 24px;
  height:68px; display:flex; align-items:center; gap:1.5rem;
}
.v-brandmark{ display:inline-flex; align-items:center; gap:.6rem; }
.v-brandmark__text{
  font-family:var(--sans); font-size:1.55rem; font-weight:700;
  color:var(--forest-900); letter-spacing:-.02em; line-height:1;
}
.v-nav{ margin-left:auto; }
.v-nav__list{ display:flex; align-items:center; gap:2rem; list-style:none; margin:0; padding:0; }
.v-nav__list > li{ position:relative; }
.v-nav__list > li > a{
  color:rgba(15,30,51,.82); font-size:.97rem; font-weight:400;
  padding:.4rem 0; display:inline-block;
}
.v-nav__list > li > a:hover{ color:var(--forest-600); }
.v-nav__list .menu-item-has-children > a::after{
  content:""; display:inline-block; width:.42em; height:.42em; margin-left:.45em;
  border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px); opacity:.6;
}
/* Dropdown */
.v-nav__list ul.sub-menu{
  position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%) translateY(6px);
  min-width:210px; background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-md); box-shadow:var(--sh-lg); padding:.5rem; margin:0; list-style:none;
  opacity:0; visibility:hidden; transition:opacity var(--t), transform var(--t);
}
.v-nav__list ul.sub-menu::before{ content:""; position:absolute; top:-18px; left:0; right:0; height:18px; }
.v-nav__list > li:hover > ul.sub-menu,
.v-nav__list > li:focus-within > ul.sub-menu{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.v-nav__list ul.sub-menu li a{
  display:block; padding:.55rem .75rem; border-radius:var(--r-sm);
  color:var(--ink); font-size:.92rem;
}
.v-nav__list ul.sub-menu li a:hover{ background:var(--cream-200); color:var(--forest-700); }

.v-actions{ display:flex; align-items:center; gap:1.1rem; }
.v-header-search, .v-cart{ color:rgba(15,30,51,.78); display:inline-flex; position:relative; }
.v-header-search:hover, .v-cart:hover{ color:var(--forest-600); }
.v-cart__count{
  position:absolute; top:-7px; right:-9px; background:var(--forest-600); color:var(--cream-100);
  font-size:10px; font-weight:700; min-width:17px; height:17px; padding:0 4px;
  border-radius:var(--r-pill); display:grid; place-items:center; line-height:1;
}
.v-cta-pill{
  display:inline-flex; align-items:center; background:var(--forest-600); color:var(--cream-100);
  font-size:.9rem; font-weight:600; padding:.6rem 1.15rem; border-radius:var(--r-pill);
  transition:background var(--t-fast), transform var(--t-fast);
}
.v-cta-pill:hover{ background:var(--forest-700); color:var(--cream-100); transform:translateY(-1px); }
.v-cta-pill--block{ display:flex; justify-content:center; margin-top:1rem; }

.v-burger{ display:none; background:none; border:none; color:var(--forest-900); cursor:pointer; padding:.25rem; }

/* Mobile drawer */
.v-mobile-nav{
  border-top:1px solid var(--line); padding:1rem 24px 1.4rem; background:var(--cream-100);
}
.v-mobile-nav__list{ list-style:none; margin:0; padding:0; }
.v-mobile-nav__list li a{ display:block; padding:.75rem .25rem; font-size:1.05rem; color:var(--ink); border-bottom:1px solid var(--line); }
.v-mobile-nav__list .sub-menu{ list-style:none; margin:0 0 .25rem; padding:0 0 0 1rem; }
.v-mobile-nav__list .sub-menu li a{ font-size:.95rem; color:var(--muted); padding:.55rem .25rem; border:none; }

/* ================================================================== *
 * CONTENT WRAP
 * ================================================================== */
.v-content{ display:block; }
.v-content .col-full{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* Full-width: cancel Storefront's reserved sidebar column on shop/product/cart */
.v-fullwidth .content-area,
.v-fullwidth.right-sidebar .content-area,
.v-fullwidth.left-sidebar .content-area{
  width:100% !important; float:none !important; margin:0 !important;
}
.v-fullwidth #secondary,
.v-fullwidth .widget-area{ display:none !important; }
.v-fullwidth .site-main{ margin:0 !important; }

/* ================================================================== *
 * BUTTONS (WooCommerce)
 * ================================================================== */
.button, button, input[type=submit], .added_to_cart,
.woocommerce a.button, .woocommerce button.button,
.woocommerce .button, .wc-block-components-button,
.wp-block-button__link, .woocommerce a.wp-block-button__link,
.wc-block-grid__product .wp-block-button__link,
.woocommerce #respond input#submit{
  background:var(--forest-600) !important; color:#ffffff !important;
  border-radius:var(--r-pill) !important; border:none !important;
  padding:.72em 1.5em !important; font-weight:600 !important; font-size:.92rem !important;
  line-height:1.2 !important;
  transition:background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast) !important;
  cursor:pointer; box-shadow:none !important;
}
.button:hover, button:hover, input[type=submit]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.wp-block-button__link:hover, .woocommerce a.wp-block-button__link:hover,
.woocommerce #respond input#submit:hover{
  background:var(--forest-700) !important; color:#ffffff !important; transform:translateY(-1px); box-shadow:var(--sh-md) !important;
}
.button.alt, .woocommerce a.button.alt, .single_add_to_cart_button,
.woocommerce button.button.alt{
  background:var(--blue-700) !important; color:#ffffff !important;
}
.button.alt:hover, .single_add_to_cart_button:hover, .woocommerce button.button.alt:hover{
  background:var(--navy-900) !important; color:#ffffff !important;
}

/* ================================================================== *
 * SHOP / ARCHIVE
 * ================================================================== */
/* Premium shop hero band */
.woocommerce.archive .v-content,
.woocommerce-page.archive .v-content{ padding-top:0; }

.v-shop-hero{
  background:radial-gradient(120% 140% at 85% -10%, #112742 0%, #0A1E3A 62%);
  color:var(--cream-100); padding:54px 0 58px; margin:0 0 2.5rem;
  /* break out of the padded .col-full container to span full width */
  width:100vw; position:relative; left:50%; right:50%;
  margin-left:-50vw; margin-right:-50vw;
}
.v-shop-hero__inner{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.v-shop-hero__eyebrow{ color:var(--sky-500); text-transform:uppercase; letter-spacing:.16em; font-size:.74rem; }
.v-shop-hero h1{ color:var(--cream-100) !important; font-size:clamp(2rem,4.5vw,3rem); margin:.5rem 0 .6rem; }
.v-shop-hero p{ color:rgba(235,243,252,.78); max-width:34rem; font-size:1.05rem; }
.v-shop-hero__chips{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1.2rem; }
.v-shop-hero__chips .v-chip{ color:var(--cream-100); background:rgba(235,243,252,.08); border-color:rgba(235,243,252,.16); }
.v-shop-hero__chips .v-chip svg{ color:var(--gold); }

/* Push the archive content up into a cream panel for depth */
.woocommerce.archive #content > .col-full,
.woocommerce-page.archive #content > .col-full,
.post-type-archive-product #content > .col-full,
.tax-product_cat #content > .col-full{
  padding-top:2.5rem; padding-bottom:4rem;
}

/* Force grid 4-across desktop, 2-across mobile (fixes the 1-col bug) */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:1.5rem !important;
  margin:0 !important; padding:0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{ content:none !important; display:none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:100% !important; float:none !important; margin:0 !important; clear:none !important;
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-xl);
  padding:0 !important; overflow:hidden; display:flex; flex-direction:column;
  transition:box-shadow var(--t), border-color var(--t), transform var(--t);
}
.woocommerce ul.products li.product:hover{
  box-shadow:var(--sh-lg); border-color:rgba(30,96,201,.35); transform:translateY(-3px);
}

/* Toolbar (result count + ordering) */
.woocommerce .woocommerce-result-count{ color:var(--muted); font-size:.9rem; margin:0 0 1.4rem; }
.woocommerce .woocommerce-ordering{ margin:0 0 1.4rem; }
.woocommerce .woocommerce-ordering select{
  border:1px solid var(--line-2); border-radius:var(--r-pill); padding:.5rem 2.2rem .5rem 1rem;
  background:var(--white); color:var(--ink); font-size:.9rem; cursor:pointer;
}

/* ----- PRODUCT CARD ----- */
.v-card__media{
  position:relative; aspect-ratio:1/1; background:linear-gradient(180deg,var(--cream-100),var(--cream-200));
  display:grid; place-items:center; overflow:hidden; border-bottom:1px solid var(--line);
}
.woocommerce ul.products li.product .v-card__media img,
.woocommerce ul.products li.product a img{
  width:78% !important; height:auto !important; margin:0 auto !important; border-radius:0 !important;
  box-shadow:none !important; mix-blend-mode:multiply; transition:transform var(--t);
}
.woocommerce ul.products li.product:hover .v-card__media img{ transform:scale(1.04); }
.v-card__coa{
  position:absolute; top:.7rem; left:.7rem; display:inline-flex; align-items:center; gap:.3rem;
  background:var(--forest-600); color:var(--cream-100); font-size:.66rem; font-weight:700;
  letter-spacing:.04em; padding:.28rem .55rem; border-radius:var(--r-pill); text-transform:uppercase;
}
.v-card__coa svg{ color:var(--cream-100); }
.v-card__purity{
  position:absolute; top:.7rem; right:.7rem; background:rgba(235,243,252,.92);
  color:var(--forest-700); font-size:.7rem; font-weight:700; padding:.28rem .55rem;
  border-radius:var(--r-pill); border:1px solid rgba(30,96,201,.18);
}
.v-card__body{ padding:1rem 1.1rem 1.2rem; display:flex; flex-direction:column; flex:1 1 auto; }

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:1.18rem !important; padding:0 !important; margin:0 0 .15rem !important; line-height:1.2 !important;
}
.v-card__sub{ color:var(--muted); font-size:.82rem; margin:0 0 .65rem; }
.woocommerce ul.products li.product .price{
  color:var(--forest-900) !important; font-weight:700 !important; font-size:1.18rem !important;
  font-family:var(--sans) !important; margin:0 !important;
}
.woocommerce ul.products li.product .price del{ color:var(--muted-2) !important; font-weight:400; }
.woocommerce ul.products li.product .price ins{ text-decoration:none; }

/* Price + add-to-cart row at the bottom */
.woocommerce ul.products li.product .v-card__body{ position:relative; }
.woocommerce ul.products li.product .price{
  margin-top:auto !important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart{
  margin-top:.85rem !important; width:100%; text-align:center; justify-content:center;
  display:inline-flex; align-items:center;
}
/* Place price and button on a tidy footer row */
.woocommerce ul.products li.product .v-card__price-row{ display:flex; align-items:center; justify-content:space-between; }

.star-rating span::before{ color:var(--sky-500) !important; }
.woocommerce ul.products li.product .star-rating{ font-size:.8em; margin:.1rem 0 .4rem; }
.onsale{
  background:var(--gold) !important; color:var(--forest-900) !important; border-radius:var(--r-pill) !important;
  border:none !important; padding:.25rem .6rem !important; font-weight:700 !important; min-height:0 !important;
  min-width:0 !important; line-height:1.4 !important; font-size:.7rem !important;
  position:absolute; top:.7rem; right:.7rem; z-index:2; margin:0 !important;
}
/* avoid clash with purity badge when on sale */
li.product.sale .v-card__purity{ top:2.6rem; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul{ border:none; margin-top:2.5rem; }
.woocommerce nav.woocommerce-pagination ul li{ border:none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  border:1px solid var(--line-2); border-radius:var(--r-sm); padding:.45rem .85rem; color:var(--forest-700);
  background:var(--white);
}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--forest-600); color:var(--cream-100); border-color:var(--forest-600);
}

/* ================================================================== *
 * SINGLE PRODUCT
 * ================================================================== */
.single-product .content-area{ max-width:var(--maxw); margin:0 auto !important; padding:2.5rem 24px 4rem; box-sizing:border-box; }
.single-product .site-main{ max-width:100%; }
.woocommerce.single-product div.product,
.single-product div.product{
  display:grid !important; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:3.5rem;
  margin:0 !important;
}
.woocommerce.single-product div.product::before,
.woocommerce.single-product div.product::after{ content:none !important; display:none !important; }
.single-product div.product > .woocommerce-product-gallery{ width:100% !important; max-width:100% !important; float:none !important; margin:0 !important; grid-column:1; grid-row:1; }
.single-product div.product > .summary{ width:100% !important; max-width:100% !important; float:none !important; margin:0 !important; grid-column:2; grid-row:1; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells{ grid-column:1 / -1; width:100% !important; float:none !important; }

/* Gallery frame */
.single-product .woocommerce-product-gallery{
  background:linear-gradient(180deg,var(--cream-100),var(--cream-200));
  border:1px solid var(--line); border-radius:var(--r-xl); padding:2rem; position:relative;
  display:flex; align-items:center; justify-content:center; min-height:380px;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{ margin:0; width:100%; }
.single-product .woocommerce-product-gallery img{ border-radius:var(--r-lg); display:block; margin:0 auto; }
/* branded vial placeholder: real photo will replace, keep it crisp (no blend wash-out) */
.single-product .woocommerce-product-gallery img.v-vial,
.single-product .woocommerce-product-gallery img.woocommerce-placeholder{ max-width:74%; box-shadow:none; }
.single-product .woocommerce-product-gallery__trigger{ display:none !important; }

/* Summary */
.single-product .product_title{ font-size:clamp(2rem,4vw,2.7rem) !important; margin:0 0 .25rem !important; }
.single-product .v-product-sub{ color:var(--muted); font-size:1rem; margin:0 0 1rem; }
.single-product div.product p.price,
.single-product div.product span.price{
  color:var(--forest-900) !important; font-family:var(--sans) !important;
  font-size:1.9rem !important; font-weight:700 !important; margin:0 0 1.1rem !important;
}
.single-product .woocommerce-product-details__short-description{ color:rgba(15,30,51,.72); font-size:1.02rem; margin-bottom:1.3rem; }
.single-product .woocommerce-product-details__short-description p:last-child{ margin-bottom:0; }

/* Purity bar — the centerpiece trust feature */
.v-purity{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:1.15rem 1.25rem 1.25rem; margin:0 0 1.5rem; box-shadow:var(--sh-sm);
}
.v-purity__head{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:.7rem; }
.v-purity__label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:700; }
.v-purity__value{ font-size:1.7rem; font-weight:700; color:var(--forest-600); line-height:1; }
.v-purity__track{
  position:relative; height:12px; border-radius:var(--r-pill); background:var(--cream-200);
  overflow:visible; margin-bottom:1rem;
}
.v-purity__fill{
  display:block; height:100%; border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--forest-500),var(--forest-600));
  transition:width 1s cubic-bezier(.2,.7,.2,1);
}
.v-purity__floor{ position:absolute; top:-4px; bottom:-4px; width:2px; background:var(--sky-500); }
.v-purity__floor-tip{
  position:absolute; top:-1.55rem; right:0; transform:translateX(50%); white-space:nowrap;
  font-size:.62rem; color:var(--blue-700); font-weight:700;
}
.v-purity__meta{ display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; }
.v-purity__meta span{ display:inline-flex; align-items:center; gap:.35rem; font-size:.82rem; color:rgba(15,30,51,.72); }
.v-purity__meta svg{ color:var(--forest-600); flex:0 0 auto; }

/* Assurance list */
.v-assure{ list-style:none; margin:1.4rem 0 0; padding:1.2rem 0 0; border-top:1px solid var(--line); display:grid; gap:.7rem; }
.v-assure li{ display:flex; align-items:center; gap:.7rem; font-size:.92rem; color:rgba(15,30,51,.78); }
.v-assure svg{ color:var(--forest-600); flex:0 0 auto; }

/* Quantity + add to cart */
.single-product form.cart{ margin:1.4rem 0 0 !important; display:flex; gap:.75rem; align-items:stretch; flex-wrap:wrap; }
.single-product form.cart .quantity{ flex:0 0 auto; }
.single-product form.cart .quantity .qty{
  width:4.5rem; height:100%; min-height:48px; border:1px solid var(--line-2); border-radius:var(--r-pill);
  text-align:center; font-size:1rem; background:var(--white); padding:.5rem;
}
.single-product .single_add_to_cart_button{ flex:1 1 auto; min-height:48px; font-size:1rem !important; padding:.85em 1.6em !important; }

/* Tabs */
.woocommerce-tabs{ margin-top:3.5rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs{ padding:0 0 0 0 !important; margin:0 0 0 0 !important; border-bottom:1px solid var(--line-2); display:flex; gap:.4rem; flex-wrap:wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ border:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:transparent !important; border:none !important; border-radius:0 !important; margin:0 !important;
  padding:0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{ display:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  color:var(--muted) !important; font-weight:600 !important; padding:.85rem 1.1rem !important;
  display:inline-block; border-bottom:2px solid transparent; font-size:.98rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{ color:var(--forest-700) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{ border-bottom-color:var(--forest-600); }
.woocommerce div.product .woocommerce-tabs .panel{ margin-top:1.8rem !important; padding:0 !important; }
.woocommerce-Tabs-panel h2{ font-size:1.5rem; }

/* COA tab */
.v-coa{ display:grid; grid-template-columns:1.1fr 1fr; gap:2.5rem; align-items:start; }
.v-coa__title{ font-size:1.7rem !important; margin:0 0 .6rem !important; }
.v-coa__intro p{ color:rgba(15,30,51,.72); font-size:1.02rem; max-width:34rem; }
.v-coa__card{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.5rem; box-shadow:var(--sh-md); }
.v-coa__card-head{ display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:.9rem; margin-bottom:1rem; }
.v-coa__brand{ display:inline-flex; align-items:center; gap:.4rem; font-weight:700; color:var(--forest-700); font-size:.92rem; }
.v-coa__brand svg{ color:var(--forest-600); }
.v-coa__date{ font-size:.78rem; color:var(--muted); }
.v-coa__rows{ margin:0; }
.v-coa__rows > div{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; padding:.4rem 0; }
.v-coa__rows dt{ color:var(--muted); font-size:.9rem; margin:0; }
.v-coa__rows dd{ margin:0; font-weight:600; color:var(--ink); text-align:right; font-size:.95rem; }
.v-coa__rows dd span{ font-weight:400; color:var(--muted); font-size:.82rem; }
.v-mono{ font-family:ui-monospace,Menlo,Consolas,monospace !important; font-size:.85rem !important; }
.v-coa__purity-row dt{ font-weight:700; color:var(--ink) !important; }
.v-coa__purity{ color:var(--forest-600) !important; font-size:1.1rem !important; }
.v-coa__bar{ height:8px; border-radius:var(--r-pill); background:var(--cream-200); overflow:hidden; margin:.5rem 0 .9rem; }
.v-coa__bar span{ display:block; height:100%; background:linear-gradient(90deg,var(--forest-500),var(--forest-600)); border-radius:var(--r-pill); }
.v-ok{ color:var(--forest-600) !important; display:inline-flex; align-items:center; gap:.3rem; }
.v-ok::before{ content:"✓"; font-weight:700; }
.v-coa__dl{
  display:inline-flex; align-items:center; gap:.5rem; margin-top:1.1rem; padding:.7rem 1.1rem;
  background:var(--cream-200); color:var(--forest-700); border-radius:var(--r-pill); font-weight:600; font-size:.9rem;
}
.v-coa__dl:hover{ background:var(--forest-600); color:var(--cream-100); }
.v-coa__dl:hover svg{ color:var(--cream-100); }

/* Related products heading */
.related.products > h2, .upsells.products > h2{ font-size:1.7rem; margin-bottom:1.5rem; }

/* ================================================================== *
 * CART / CHECKOUT polish
 * ================================================================== */
.woocommerce-cart #content > .col-full,
.woocommerce-checkout #content > .col-full{ padding:2.5rem 24px 4rem; max-width:var(--maxw); }
.woocommerce table.shop_table{ border-radius:var(--r-lg); border:1px solid var(--line); overflow:hidden; }
.woocommerce table.shop_table th{ background:var(--cream-200); color:var(--forest-900); font-family:var(--serif); }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review{ border:1px solid var(--line); border-radius:var(--r-lg); padding:1.25rem; background:var(--white); }

/* Quantity stepper — tidy +/- so they don't collide with the pill button style */
.woocommerce .quantity{ display:inline-flex; align-items:stretch; border:1px solid var(--line-2); border-radius:var(--r-pill); overflow:hidden; background:var(--white); }
.woocommerce .quantity .qty{
  border:none !important; border-radius:0 !important; padding:.4rem !important; width:3.2rem; text-align:center;
  background:transparent; -moz-appearance:textfield;
}
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.woocommerce .quantity button.plus,
.woocommerce .quantity button.minus,
.woocommerce .quantity .plus,
.woocommerce .quantity .minus{
  background:var(--cream-200) !important; color:var(--forest-700) !important; border:none !important;
  border-radius:0 !important; width:2.4rem !important; min-width:2.4rem !important; padding:0 !important;
  font-size:1.1rem !important; line-height:1 !important; box-shadow:none !important; transform:none !important;
  display:inline-flex !important; align-items:center; justify-content:center;
}
.woocommerce .quantity button.plus:hover,
.woocommerce .quantity button.minus:hover{ background:var(--forest-600) !important; color:var(--cream-100) !important; }

/* Block cart/checkout quantity stepper — override the global pill button style */
.wc-block-components-quantity-selector{
  display:inline-flex !important; align-items:stretch !important;
  border:1px solid var(--line-2) !important; border-radius:var(--r-pill) !important;
  overflow:hidden !important; max-width:8rem !important; background:var(--white) !important;
}
.wc-block-components-quantity-selector__input{
  border:none !important; border-radius:0 !important; background:transparent !important;
  width:2.6rem !important; text-align:center !important; padding:.4rem 0 !important; box-shadow:none !important;
}
.wc-block-components-quantity-selector__button,
.woocommerce .wc-block-components-quantity-selector__button{
  position:static !important; color:var(--forest-700) !important; background:var(--cream-200) !important;
  border:none !important; border-radius:0 !important; width:2.3rem !important; min-width:2.3rem !important;
  height:auto !important; padding:0 !important; margin:0 !important; box-shadow:none !important;
  transform:none !important; font-size:1.05rem !important; line-height:1 !important; flex:0 0 auto !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
}
.wc-block-components-quantity-selector__button--plus{ order:3; }
.wc-block-components-quantity-selector__button--minus{ order:1; }
.wc-block-components-quantity-selector__input{ order:2; }
.wc-block-components-quantity-selector__button:hover{ background:var(--forest-600) !important; color:var(--cream-100) !important; }

/* Block cart remove link / button — strip the global green pill style */
.wc-block-cart-item__remove-link{ color:var(--muted) !important; text-decoration:underline; }
.wc-block-cart-item__remove-link:hover{ color:var(--forest-700) !important; }
button.wc-block-cart-item__remove-link,
.wc-block-cart-item__quantity button:not(.wc-block-components-quantity-selector__button),
.wc-block-components-product-badge,
a.wc-block-cart-item__remove-link{
  background:transparent !important; color:var(--muted) !important; border:none !important;
  border-radius:0 !important; padding:0 !important; box-shadow:none !important; transform:none !important;
  width:auto !important; min-width:0 !important; font-weight:400 !important; font-size:.8rem !important;
  text-decoration:underline !important;
}
button.wc-block-cart-item__remove-link:hover,
a.wc-block-cart-item__remove-link:hover{ background:transparent !important; color:var(--forest-700) !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button{ width:100% !important; }
.wc-block-components-totals-item__value, .wc-block-formatted-money-amount{ color:var(--forest-900); }

/* Cart line remove icon */
.woocommerce a.remove{
  color:var(--forest-700) !important; border:1px solid var(--line-2); border-radius:999px; width:22px; height:22px;
  line-height:20px; background:var(--white) !important; font-weight:400;
}
.woocommerce a.remove:hover{ background:var(--forest-600) !important; color:var(--cream-100) !important; }
.cart-empty.woocommerce-info,
.woocommerce-info, .woocommerce-message, .woocommerce-error{
  border-top-color:var(--forest-600) !important; border-radius:var(--r-md); background:var(--white);
}
.woocommerce-info::before, .woocommerce-message::before{ color:var(--forest-600); }

/* ================================================================== *
 * GENERIC PAGE (About / Quality)
 * ================================================================== */
.page:not(.woocommerce-page) #content > .col-full{ max-width:46rem; padding:3rem 24px 4rem; }
.page .entry-title, .page-title{ font-size:clamp(2rem,4vw,2.8rem) !important; margin-bottom:1.2rem; }
.page .entry-content p{ font-size:1.08rem; color:rgba(15,30,51,.78); }

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb{ max-width:var(--maxw); margin:1.4rem auto -.5rem !important; padding:0 24px !important;
  color:var(--muted) !important; font-size:.85rem !important; }
.woocommerce-breadcrumb a{ color:var(--forest-600) !important; }

/* ================================================================== *
 * SHARED CHIP
 * ================================================================== */
.v-chip{
  display:inline-flex; align-items:center; gap:.35rem; font-size:.78rem; font-weight:600;
  padding:.32rem .7rem; border-radius:var(--r-pill); border:1px solid var(--line);
  background:var(--white); color:var(--forest-700);
}

/* ================================================================== *
 * FOOTER
 * ================================================================== */
.v-footer{ background:var(--forest-900); color:rgba(235,243,252,.72); margin-top:0; }
.v-footer__top{
  max-width:var(--maxw); margin:0 auto; padding:3.5rem 24px 3rem;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2.5rem;
}
.v-footer__mark{ display:inline-flex; align-items:center; gap:.55rem; }
.v-footer__name{ font-family:var(--sans); font-size:1.35rem; font-weight:700; color:var(--cream-100); }
.v-footer__tag{ color:rgba(235,243,252,.55); font-size:.92rem; max-width:22rem; margin:.9rem 0 1.1rem; }
.v-footer__trust{ display:flex; gap:.5rem; flex-wrap:wrap; }
.v-footer__trust .v-chip{ background:rgba(235,243,252,.06); border-color:rgba(235,243,252,.14); color:rgba(235,243,252,.85); }
.v-footer__trust .v-chip svg{ color:var(--forest-500); }
.v-footer__h{ color:var(--cream-100) !important; font-family:var(--sans) !important; font-size:.82rem !important;
  text-transform:uppercase; letter-spacing:.08em; font-weight:700 !important; margin:0 0 1rem; }
.v-footer__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.v-footer__col a{ color:rgba(235,243,252,.6); font-size:.93rem; }
.v-footer__col a:hover{ color:var(--gold); }
.v-footer__legal{ border-top:1px solid rgba(235,243,252,.1); }
.v-footer__legal-inner{ max-width:var(--maxw); margin:0 auto; padding:1.6rem 24px 2rem; }
.v-ruo-disclaimer{ font-size:12px; line-height:1.7; color:rgba(235,243,252,.46); margin:0 0 .6rem; }
.v-ruo-disclaimer strong{ color:rgba(235,243,252,.72); }
.v-footer__copy{ font-size:12px; color:rgba(235,243,252,.4); margin:0; }

/* ================================================================== *
 * RESPONSIVE
 * ================================================================== */
@media (max-width:1024px){
  .v-footer__top{ grid-template-columns:1fr 1fr 1fr; }
  .v-footer__brand{ grid-column:1 / -1; }
  .v-coa{ grid-template-columns:1fr; gap:1.6rem; }
}
@media (max-width:900px){
  .woocommerce.single-product div.product,
  .single-product div.product{ grid-template-columns:1fr !important; gap:1.75rem; }
  .single-product div.product > .woocommerce-product-gallery{ grid-column:1 !important; grid-row:auto !important; }
  .single-product div.product > .summary{ grid-column:1 !important; grid-row:auto !important; }
  .single-product .woocommerce-product-gallery{ min-height:300px; }
  .woocommerce ul.products,
  .woocommerce-page ul.products{ grid-template-columns:repeat(2,1fr) !important; gap:1rem !important; }
}
@media (max-width:782px){
  /* WordPress admin bar offset cancel for sticky header */
  .v-header{ top:0; }
}
@media (max-width:768px){
  .v-nav, .v-header-search{ display:none; }
  .v-burger{ display:inline-flex; }
  .v-header__inner{ height:60px; gap:.75rem; }
  .v-brandmark{ margin-right:auto; }
  .v-cta-pill{ display:none; }
  .v-actions{ gap:1.2rem; }
  .v-footer__top{ grid-template-columns:1fr 1fr; gap:1.8rem 1.5rem; }
  .v-shop-hero{ padding:40px 0 44px; }
}
@media (max-width:560px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{ grid-template-columns:repeat(2,1fr) !important; gap:.8rem !important; }
  .v-purity__head{ flex-wrap:wrap; align-items:center; }
  .v-purity__label{ flex:1 1 100%; }
  .v-purity__value{ font-size:1.5rem; }
  .v-purity__floor-tip{ display:none; } /* avoid edge overflow on tiny screens */
  .single-product form.cart{ gap:.6rem; }
  .single-product form.cart .quantity .qty{ min-height:46px; }
  .v-card__body{ padding:.85rem .85rem 1rem; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{ font-size:1.02rem !important; }
  .woocommerce ul.products li.product .price{ font-size:1.05rem !important; }
  .v-footer__top{ grid-template-columns:1fr 1fr; }
  .v-content .col-full{ padding:0 18px; }
  .v-header__inner{ padding:0 18px; }
}
@media (max-width:400px){
  .v-footer__top{ grid-template-columns:1fr; }
}

/* Hide mobile drawer when JS open class not present is handled by [hidden] */
@media (min-width:769px){ .v-mobile-nav{ display:none !important; } }

/* ── UI pass 2026-06-17: footer contrast + spacing ── */
.v-footer{ color:rgba(235,243,252,.82) !important; }
.v-footer__col a{ color:rgba(235,243,252,.9) !important; }
.v-footer__col a:hover{ color:var(--gold) !important; }
.v-footer__tag{ color:rgba(235,243,252,.7) !important; }
.v-footer__col li{ margin-bottom:.55rem; }
.v-ruo-disclaimer{ color:rgba(235,243,252,.62) !important; }

/* ── UI pass 2026-06-17b: fix regular pages (About + all legal pages) ── */
.page:not(.woocommerce-page) #secondary,
.page:not(.woocommerce-page) .widget-area{ display:none !important; }
.page:not(.woocommerce-page) #content,
.page:not(.woocommerce-page) #page.v-site{ background:#ffffff !important; }
.page:not(.woocommerce-page) .content-area{ width:100% !important; max-width:48rem !important; float:none !important; margin:0 auto !important; padding:3.25rem 24px 4.5rem !important; }
.page:not(.woocommerce-page) .site-main{ width:100% !important; margin:0 !important; }
.page:not(.woocommerce-page) .entry-title{ color:#0A1E3A !important; margin-bottom:1.4rem; }
.page:not(.woocommerce-page) .entry-content{ color:#243447 !important; }
.page:not(.woocommerce-page) .entry-content h1,
.page:not(.woocommerce-page) .entry-content h2,
.page:not(.woocommerce-page) .entry-content h3{ color:#0A1E3A !important; }
.page:not(.woocommerce-page) .entry-content h2{ font-size:1.5rem; margin:2.2rem 0 .7rem; }
.page:not(.woocommerce-page) .entry-content h3{ font-size:1.18rem; margin:1.6rem 0 .5rem; }
.page:not(.woocommerce-page) .entry-content p,
.page:not(.woocommerce-page) .entry-content li{ color:#243447 !important; font-size:1.06rem; line-height:1.7; }
.page:not(.woocommerce-page) .entry-content ul{ margin:1rem 0 1.6rem 1.25rem; }
.page:not(.woocommerce-page) .entry-content li{ margin-bottom:.5rem; }
.page:not(.woocommerce-page) .entry-content strong{ color:#0A1E3A; }
.page:not(.woocommerce-page) .entry-content a{ color:#174AA0 !important; text-decoration:underline; }
