/*
Theme Name: Valor Commerce
Theme URI: https://example.com/valor-commerce
Author: Elite Web Studio
Author URI: https://example.com
Description: A premium WooCommerce theme for stores serving Active Duty Military, Veterans, First Responders, Military Spouses, and Patriotic Americans. Sage, cream, black, and dark olive design language, conversion-focused layouts, WCAG-minded markup, and subtle motion.
Version: 2.0.19
Requires at least: 6.4
Tested up to: 7.0.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valor
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Design tokens — spec palette
   ============================================================ */
:root {
  /* Palette: sage green, cream, black, dark olive-brown */
  --primary: #000000;        /* Black — primary surfaces (header, hero, footer) & headings */
  --primary-deep: #000000;   /* footer/nav */
  --primary-soft: #484435;   /* raised surface on black */
  --secondary: #484435;      /* Dark Olive — promo bar, badges, eyebrows, strong support */
  --stone: #484435;          /* muted supporting labels */
  --accent: #97a069;         /* Sage — CTAs, highlights, ratings */
  --accent-bright: #aab37c;
  --white: #ffffff;
  --black: #000000;
  --paper: #e9ecdc;         /* warm off-white page background */
  --ink: #000000;           /* body text on light */
  --muted: #484435;
  --line: rgba(72, 68, 53, 0.22);
  --line-dark: rgba(233, 236, 220, 0.16);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  --radius: 0.75rem;
  --radius-lg: 1.1rem;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --container: 1440px;
  --card-min: 300px; /* product card width basis, sitewide */
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--secondary); }
::selection { background: var(--accent); color: var(--primary-deep); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }

/* Full-width commerce surfaces (v2.0.9): shop archives, cart, checkout, and
   the Sale / Clearance templates — flagged with body.valor-fullwidth (see
   valor_is_fullwidth()). Content containers span the viewport behind a wider
   fluid gutter, and the 1040px prose measure is lifted so the cart/checkout
   grids can stretch. Scoped to #main: header, promo bar, and footer keep the
   sitewide 1440px cap. Element-level measures (.promo-lead, .checkout-steps,
   form rows, the order-pay card) stay capped for readable line lengths. */
body.valor-fullwidth #main .container { max-width: none; padding-inline: clamp(1rem, 3vw, 3rem); }
body.valor-fullwidth #main .entry-content { max-width: none; }
.section { padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0; }
.section-dark { background: var(--primary); color: rgba(255, 255, 255, 0.85); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-dark .eyebrow { color: var(--accent); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head .lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head .lead { color: rgba(255, 255, 255, 0.72); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.22); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--primary); color: var(--white); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn, .button, button.single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 1.75rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-accent, .woocommerce a.button.alt, .woocommerce button.button.alt, button.single_add_to_cart_button {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--primary-deep) !important;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, button.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(151, 160, 105, 0.40);
  background: linear-gradient(180deg, #bcc492, var(--accent-bright));
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-soft); color: var(--white); transform: translateY(-2px); }
.btn-line { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-line:hover { background: var(--primary); color: var(--white); }
.section-dark .btn-line { border-color: rgba(255,255,255,0.5); color: var(--white); }
.section-dark .btn-line:hover { background: var(--white); color: var(--primary); }

/* ============================================================
   Announcement / promo bar
   ============================================================ */
.promo-bar {
  background: var(--secondary); color: var(--white);
  font-size: 0.85rem; letter-spacing: 0.06em; text-align: center;
  padding: 0.5rem 1rem;
}
.promo-bar strong { color: var(--accent-bright); }

/* ============================================================
   Header & navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--primary);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.85rem 0; }

.site-brand { display: flex; align-items: center; gap: 0.85rem; color: var(--white); flex-shrink: 0; }
.site-brand:hover { color: var(--white); }
.brand-shield {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.6rem;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--primary-deep);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 0.85rem + 0.75vw, 1.45rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.05; white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--accent); }
.custom-logo {
  display: block; max-height: 64px; width: auto;
  /* soft halo so dark logo edges read against the black header */
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.14));
}
@media (max-width: 575px) {
  .site-brand { gap: 0.6rem; }
  .custom-logo { max-height: 48px; }
  .brand-name { letter-spacing: 0.06em; }
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block;
  padding: 0.6rem 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500; font-size: 0.95rem;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--white); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }

/* dropdown / simple mega menu */
.main-nav li { position: relative; }
.main-nav ul ul {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.5rem;
  display: block; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
}
.main-nav li:hover > ul, .main-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul ul a { color: var(--ink); border-radius: 0.5rem; padding: 0.55rem 0.8rem; }
.main-nav ul ul a::after { display: none; }
.main-nav ul ul a:hover { background: var(--paper); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.35rem; }
.header-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  color: rgba(255, 255, 255, 0.85); font-size: 1.15rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.header-icon:hover { background: rgba(255, 255, 255, 0.1); color: var(--accent-bright); }
.cart-count {
  position: absolute; top: 0.15rem; right: 0.1rem;
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.25rem;
  border-radius: 999px; background: var(--accent); color: var(--primary-deep);
  font-size: 0.68rem; font-weight: 700; line-height: 1.15rem; text-align: center;
}

/* header search */
.header-search { position: relative; }
.header-search form { display: flex; }
.header-search input[type="search"] {
  width: clamp(160px, 18vw, 260px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--white); padding: 0.55rem 2.6rem 0.55rem 1.1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.header-search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.header-search input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.12); outline: none; }
.header-search button {
  position: absolute; right: 0.3rem; top: 50%; translate: 0 -50%;
  background: none; border: 0; color: var(--accent-bright); font-size: 1rem; cursor: pointer;
  width: 2rem; height: 2rem;
}

/* header bottom — category bar */
.header-bottom {
  background: var(--primary);
  border-top: 1px solid var(--line-dark);
}
.header-bottom-nav {
  display: flex;
  align-items: center;
  height: 72px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-bottom-nav::-webkit-scrollbar { display: none; }
.header-bottom-nav.can-scroll { cursor: grab; }
.header-bottom-nav.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.category-menu {
  list-style: none;
  display: flex; align-items: center;
  gap: 0.25rem; margin: 0 auto; padding: 0;
}
.site-header .header-bottom .category-menu a {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.6rem 0.9rem;
  transition: color 0.2s ease;
}
.site-header .header-bottom .category-menu a:hover { color: var(--accent-bright); }
.site-header .header-bottom .category-menu .current-menu-item > a,
.site-header .header-bottom .category-menu .current-menu-ancestor > a { color: var(--accent); }
@media (max-width: 1023px) {
  .site-header .header-bottom .category-menu a { font-size: 0.8rem; padding: 0.55rem 0.7rem; letter-spacing: 0.07em; }
  .header-bottom-nav { height: 56px; }
}

/* mobile off-canvas */
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-search { display: none; }
  .main-nav {
    position: fixed; inset: 0 25% 0 0; z-index: 950;
    background: var(--primary-deep); padding: 5rem 1.5rem 2rem;
    transform: translateX(-102%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto; margin: 0;
  }
  .main-nav.is-open { transform: translateX(0); box-shadow: 30px 0 80px rgba(0,0,0,0.5); }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 1.1rem; padding: 0.8rem 0.5rem; }
  .main-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding-left: 1rem;
  }
  .main-nav ul ul a { color: rgba(255, 255, 255, 0.7); }
  .nav-overlay {
    position: fixed; inset: 0; z-index: 940;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.94) 20%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.35)), var(--primary);
  background-size: cover; background-position: center;
  color: var(--white);
}
.hero::after { /* ember field stripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary) 55%, transparent);
}
.hero-inner { padding: clamp(5rem, 4rem + 6vw, 9rem) 0; max-width: 640px; }
.hero-flag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(151, 160, 105, 0.50); border-radius: 999px;
  padding: 0.45rem 1rem; margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.55);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--accent); }
.hero p { color: rgba(255, 255, 255, 0.78); font-size: 1.12rem; margin: 0 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.hero-badge { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.hero-badge i { color: var(--accent); font-size: 1.15rem; }

/* load sequence */
.seq { opacity: 0; transform: translateY(24px); animation: seqIn 0.9s var(--ease-out) forwards; animation-delay: calc(0.1s + var(--d, 0) * 0.12s); }
@keyframes seqIn { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Category tiles
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cat-tile {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--primary-soft);
  border: 1px solid var(--line);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.88));
}
.cat-tile-label {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1;
  color: var(--white); font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between;
}
.cat-tile-label i { color: var(--accent); transition: transform 0.3s var(--ease-out); }
.cat-tile:hover .cat-tile-label i { transform: translateX(5px); }
.cat-tile-count { position: absolute; top: 1rem; left: 1.25rem; z-index: 1; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cat-grid { grid-template-columns: 1fr; } .cat-tile { aspect-ratio: 16 / 10; } }

/* ============================================================
   WooCommerce product grid & cards
   ============================================================ */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr)); gap: 1.5rem; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; padding: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
}
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(151, 160, 105, 0.55); }
.woocommerce ul.products li.product a img { margin: 0; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body); font-weight: 400; font-size: 1rem; text-transform: none;
  color: var(--ink); padding: 1rem 1.15rem 0.25rem;
}
.woocommerce ul.products li.product .price { color: var(--primary); font-weight: 700; padding: 0 1.15rem; font-size: 1.05rem; }
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: 1; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--secondary); }
.woocommerce ul.products li.product .star-rating { margin: 0.35rem 1.15rem 0; color: var(--accent); }
.woocommerce ul.products li.product .button { margin: 1rem 1.15rem 1.25rem; align-self: flex-start; font-size: 0.82rem; padding: 0.65rem 1.3rem; background: var(--primary); color: var(--white); }
.woocommerce ul.products li.product .button:hover { background: var(--secondary); color: var(--white); }
.woocommerce span.onsale {
  background: var(--secondary); color: var(--white);
  font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; min-height: 0; min-width: 0; line-height: 1;
  padding: 0.45rem 0.9rem; top: 0.9rem; left: 0.9rem; margin: 0;
}

@media (max-width: 767px) { .woocommerce ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 419px) { .woocommerce ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: 1fr; } }

/* shop layout, filters sidebar */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 991px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-sidebar .widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.shop-sidebar .widget-title, .shop-sidebar .widgettitle { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem; display: block; }
.shop-sidebar ul { list-style: none; margin: 0; padding: 0; }
.shop-sidebar li { padding: 0.3rem 0; font-size: 0.94rem; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range { background: var(--accent); }
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--primary); }

/* ============================================================
   Product filter (built-in faceted filter)
   ============================================================ */
@media (min-width: 992px) {
  .shop-sidebar { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
}

.vc-filter {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0.35rem 1.25rem 1.25rem; margin-bottom: 1.25rem;
}
.vc-filter-head { display: none; align-items: center; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.vc-filter-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); display: inline-flex; gap: 0.5rem; align-items: center; }
.vc-drawer-close { background: none; border: 0; cursor: pointer; font-size: 1.15rem; color: var(--primary); padding: 0.35rem; line-height: 1; }

/* Collapsible groups */
.vc-group { border: 0; margin: 0; padding: 0; border-bottom: 1px solid var(--line); min-inline-size: 0; }
.vc-group:last-of-type { border-bottom: 0; }
.vc-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 1rem 0;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
}
.vc-group-toggle i { color: var(--secondary); transition: transform 0.3s var(--ease-out); }
.vc-group.is-open > .vc-group-toggle i { transform: rotate(180deg); }
.vc-group-active {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.3rem; height: 1.3rem; padding: 0 0.3rem; margin-left: 0.5rem;
  border-radius: 999px; background: var(--accent); color: var(--primary-deep);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0;
}
.vc-group-body {
  display: grid; grid-template-rows: 0fr; overflow: hidden; visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease-out), visibility 0.35s;
}
.vc-group.is-open > .vc-group-body { grid-template-rows: 1fr; visibility: visible; }
.vc-group-body > * { min-height: 0; }
.vc-group-body > :last-child { margin-bottom: 1.1rem; }
.vc-options { min-height: 0; display: flex; flex-direction: column; gap: 0.15rem; }

/* Checkbox rows */
.vc-check {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0;
  font-size: 0.94rem; color: var(--ink); cursor: pointer; border-radius: 0.4rem;
}
.vc-check:hover .vc-check-label { color: var(--secondary); }
.vc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-box {
  flex: 0 0 auto; width: 1.15rem; height: 1.15rem; border-radius: 0.3rem;
  border: 2px solid var(--stone); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.vc-box i { font-size: 0.8rem; color: var(--white); opacity: 0; transform: scale(0.4); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
.vc-check input:checked ~ .vc-box { background: var(--secondary); border-color: var(--secondary); }
.vc-check input:checked ~ .vc-box i { opacity: 1; transform: scale(1); }
.vc-check input:focus-visible ~ .vc-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.vc-check-label { flex: 1 1 auto; min-width: 0; }
.vc-count { flex: 0 0 auto; font-size: 0.78rem; color: var(--stone); background: var(--paper); border-radius: 999px; padding: 0.1rem 0.55rem; }
.vc-depth-1 { padding-left: 1.35rem; }
.vc-depth-2 { padding-left: 2.7rem; }
.vc-depth-3 { padding-left: 4.05rem; }

/* Category links (category archives) */
.vc-cat-links { list-style: none; margin: 0; padding: 0; }
.vc-cat-links li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.94rem; }
.vc-cat-links a { display: inline-flex; align-items: center; gap: 0.2rem; }
.vc-cat-links .is-current > a { color: var(--secondary); font-weight: 700; }

/* Price */
.vc-price { padding-top: 0.4rem; }
.vc-price-track { position: relative; height: 26px; margin: 0 0.3rem 0.75rem; }
.vc-price-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 5px;
  transform: translateY(-50%); border-radius: 999px; background: var(--line);
}
.vc-price-fill {
  position: absolute; top: 50%; height: 5px; transform: translateY(-50%); border-radius: 999px;
  left: var(--vc-lo, 0%); right: calc(100% - var(--vc-hi, 100%)); background: var(--accent);
}
.vc-range {
  position: absolute; inset: 0; width: 100%; margin: 0; background: none;
  -webkit-appearance: none; appearance: none; pointer-events: none; height: 26px;
}
.vc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; border-radius: 50%; background: var(--primary);
  border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 3px 8px rgba(0, 0, 0, 0.25);
}
.vc-range::-moz-range-thumb {
  pointer-events: auto; cursor: grab;
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
  border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 3px 8px rgba(0, 0, 0, 0.25);
}
.vc-range::-moz-range-track { background: none; }
.vc-range:focus-visible { outline: none; }
.vc-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(151, 160, 105, 0.45); }
.vc-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(151, 160, 105, 0.45); }
.vc-price-inputs { display: flex; align-items: center; gap: 0.5rem; }
.vc-price-dash { color: var(--stone); }
.vc-price-field {
  flex: 1 1 0; display: flex; align-items: center; gap: 0.3rem; min-width: 0;
  border: 1px solid var(--line); border-radius: 0.5rem; background: var(--white); padding: 0.45rem 0.65rem;
}
.vc-price-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(151, 160, 105, 0.28); }
.vc-price-field .vc-cur { color: var(--stone); font-size: 0.85rem; }
.vc-price-field input {
  width: 100%; min-width: 0; border: 0; background: none; font: inherit; font-size: 0.94rem; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.vc-price-field input::-webkit-outer-spin-button, .vc-price-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vc-price-field input:focus { outline: none; }

/* Swatches */
.vc-options-swatch { flex-direction: row; flex-wrap: wrap; gap: 0.55rem; padding-top: 0.2rem; }
.vc-swatch { position: relative; cursor: pointer; }
.vc-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-swatch-dot {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--vc-swatch, var(--paper));
  border: 1px solid rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 2px var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.2s ease;
}
.vc-swatch-dot i { font-size: 0.85rem; color: var(--white); mix-blend-mode: difference; opacity: 0; transform: scale(0.4); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
.vc-swatch:hover .vc-swatch-dot { transform: scale(1.08); }
.vc-swatch input:checked ~ .vc-swatch-dot { box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--primary); }
.vc-swatch input:checked ~ .vc-swatch-dot i { opacity: 1; transform: scale(1); }
.vc-swatch input:focus-visible ~ .vc-swatch-dot { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Text swatches — terms with no resolvable color show their initial instead of a blank dot */
.vc-swatch-init {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 700; line-height: 1; color: var(--ink);
  transition: opacity 0.2s ease;
}
.vc-swatch-text .vc-swatch-dot { background: var(--white); border-style: dashed; }
.vc-swatch-text input:checked ~ .vc-swatch-dot { background: var(--primary); border-style: solid; }
.vc-swatch input:checked ~ .vc-swatch-dot .vc-swatch-init { opacity: 0; }

/* Size pills */
.vc-options-pill { flex-direction: row; flex-wrap: wrap; gap: 0.45rem; padding-top: 0.2rem; }
.vc-pill { position: relative; cursor: pointer; }
.vc-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-pill-face {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem;
  padding: 0.4rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--line);
  background: var(--white); font-size: 0.86rem; font-weight: 600; color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.vc-pill:hover .vc-pill-face { border-color: var(--secondary); transform: translateY(-1px); }
.vc-pill input:checked ~ .vc-pill-face { background: var(--primary); border-color: var(--primary); color: var(--white); }
.vc-pill input:focus-visible ~ .vc-pill-face { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Rating stars */
.vc-stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.12em; }

/* Sale toggle */
.vc-toggle { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; cursor: pointer; font-size: 0.94rem; }
.vc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-toggle-track {
  flex: 0 0 auto; width: 2.5rem; height: 1.4rem; border-radius: 999px;
  background: var(--line); position: relative; transition: background-color 0.25s ease;
}
.vc-toggle-thumb {
  position: absolute; top: 0.17rem; left: 0.17rem; width: 1.06rem; height: 1.06rem;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease-out);
}
.vc-toggle input:checked ~ .vc-toggle-track { background: var(--secondary); }
.vc-toggle input:checked ~ .vc-toggle-track .vc-toggle-thumb { transform: translateX(1.1rem); }
.vc-toggle input:focus-visible ~ .vc-toggle-track { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Option search inside a group */
.vc-term-search { position: relative; margin: 0 0 0.65rem; }
.vc-term-search i { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); color: var(--stone); font-size: 0.85rem; }
.vc-term-search input {
  width: 100%; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--paper);
  padding: 0.5rem 0.75rem 0.5rem 2rem; font: inherit; font-size: 0.9rem;
}
.vc-term-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(151, 160, 105, 0.28); }

/* Footer actions */
.vc-filter-actions { display: flex; align-items: center; gap: 0.7rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.vc-apply { flex: 1 1 auto; }
.vc-reset {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  white-space: nowrap; font-size: 0.88rem;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.vc-reset i { font-size: 0.9em; }
.vc-reset.is-idle { opacity: 0.55; }
.vc-reset.is-idle:hover, .vc-reset.is-idle:focus-visible { opacity: 1; }
@media (min-width: 992px) {
  .vc-js .vc-filter-actions { padding-top: 0; border-top: 0; }
  .vc-js .vc-apply { display: none; } /* live-apply makes the button redundant on desktop */
  .vc-js .vc-reset { flex: 1 1 auto; }
}

/* Keyword search (v1.5) */
.vc-search { position: relative; display: flex; align-items: center; margin-bottom: 1.2rem; }
.vc-search > .bi-search {
  position: absolute; left: 0.9rem; font-size: 0.88rem; color: var(--secondary);
  pointer-events: none;
}
.vc-search-input {
  width: 100%; padding: 0.62rem 2.5rem 0.62rem 2.35rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-family: inherit; font-size: 0.92rem; line-height: 1.3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vc-search-input::placeholder { color: var(--muted); opacity: 0.7; }
.vc-search-input:hover { border-color: rgba(72, 68, 53, 0.45); }
.vc-search-input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--secondary); }
.vc-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.vc-search-clear {
  position: absolute; right: 0.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.8rem; height: 1.8rem; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--secondary); font-size: 0.78rem; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.vc-search-clear:hover { background: rgba(72, 68, 53, 0.12); color: var(--ink); }
.vc-search-clear:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

/* Toolbar: mobile trigger + active chips */
.shop-toolbar { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.shop-toolbar:empty { display: none; }
.vc-filters-toggle {
  display: none; align-items: center; gap: 0.5rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--primary); color: var(--white); border: 0; border-radius: 999px; padding: 0.7rem 1.4rem;
}
.vc-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.3rem; height: 1.3rem; padding: 0 0.3rem; border-radius: 999px;
  background: var(--accent); color: var(--primary-deep);
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0;
}
.vc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.vc-chip {
  display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem; font: inherit; font-size: 0.85rem; font-weight: 500; color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.vc-chip i { color: var(--stone); font-size: 0.95rem; }
.vc-chip:hover { border-color: var(--secondary); color: var(--secondary); }
.vc-chip:hover i { color: var(--secondary); }
.vc-chip-clear { background: var(--secondary); border-color: var(--secondary); color: var(--white); text-decoration: none; }
.vc-chip-clear:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Loading state while results refresh */
#vc-shop-main { position: relative; }
#vc-shop-main.is-loading > *:not(.shop-toolbar) { opacity: 0.45; filter: saturate(0.6); pointer-events: none; transition: opacity 0.2s ease; }
#vc-shop-main.is-loading::after {
  content: ""; position: absolute; top: 8rem; left: 50%; width: 2.4rem; height: 2.4rem; margin-left: -1.2rem;
  border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--secondary);
  animation: vc-spin 0.8s linear infinite; z-index: 5;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

/* Mobile: off-canvas filter drawer */
@media (max-width: 991px) {
  .vc-filters-toggle { display: inline-flex; }
  .shop-sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 1200; width: min(86vw, 22.5rem);
    background: var(--paper); padding: 0 1rem; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-105%); visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0.4s;
    box-shadow: var(--shadow);
  }
  .vc-drawer-open .shop-sidebar { transform: translateX(0); visibility: visible; }
  .vc-drawer-open { overflow: hidden; }
  .shop-sidebar .vc-filter { border: 0; border-radius: 0; background: none; padding-inline: 0.25rem; margin-bottom: 0; }
  .vc-filter-head { display: flex; position: sticky; top: 0; background: var(--paper); z-index: 2; }
  .vc-overlay {
    position: fixed; inset: 0; z-index: 1150; background: rgba(0, 0, 0, 0.55);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .vc-overlay.is-open { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-sidebar, .vc-overlay, .vc-group-body, .vc-group-toggle i,
  .vc-box i, .vc-swatch-dot, .vc-swatch-dot i, .vc-swatch-init, .vc-pill-face, .vc-toggle-thumb { transition: none; }
  #vc-shop-main.is-loading::after { animation-duration: 1.6s; }
}

.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 0.2rem; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 0.5rem; padding: 0.6rem 0.95rem; border: 1px solid var(--line);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============================================================
   Single product (product-detail page)
   ============================================================ */

/* Breadcrumb strip */
.vps-crumbs { background: var(--white); border-bottom: 1px solid var(--line); padding: 0.8rem 0; font-size: 0.85rem; }
.vps-crumbs .woocommerce-breadcrumb { margin: 0; color: var(--stone); font-size: 0.85rem; }
.vps-crumbs .woocommerce-breadcrumb a { color: var(--secondary); }

/* Layout */
.vps-main { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.vps-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1.5rem + 2.5vw, 4rem); align-items: start; }
@media (max-width: 991px) { .vps-layout { grid-template-columns: 1fr; } }

/* Neutralize WooCommerce's float layout inside the grid */
.woocommerce div.product .vps-layout div.images,
.woocommerce div.product .vps-layout div.summary { float: none; width: 100%; margin: 0; }

/* Media column: vertical thumbs + main image */
.vps-media { position: relative; --vps-thumbw: 84px; }
.vps-media .woocommerce-product-gallery { display: grid; grid-template-columns: var(--vps-thumbw) 1fr; gap: 0.9rem; align-items: start; opacity: 1 !important; }
.vps-media .woocommerce-product-gallery__wrapper,
.vps-media .woocommerce-product-gallery > .flex-viewport { grid-column: 2; grid-row: 1; margin: 0; }
.vps-media .woocommerce-product-gallery:not(:has(.flex-control-thumbs)) { grid-template-columns: 1fr; }
.vps-media .woocommerce-product-gallery:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__wrapper { grid-column: 1; }
.vps-media .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.vps-media .flex-control-thumbs li { float: none; width: var(--vps-thumbw); margin: 0; }
.vps-media .flex-control-thumbs li img {
  width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; display: block;
  border-radius: 0.6rem; border: 2px solid transparent; opacity: 0.65;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.25s var(--ease-out);
}
.vps-media .flex-control-thumbs li img:hover { opacity: 1; transform: scale(1.04); }
.vps-media .flex-control-thumbs li img.flex-active { opacity: 1; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(151, 160, 105, 0.3); }

.vps-media .woocommerce-product-gallery__wrapper,
.vps-media .flex-viewport { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.vps-media .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.vps-media .woocommerce-product-gallery__image:hover img { transform: scale(1.04); }
.vps-media .woocommerce-product-gallery__trigger { z-index: 9; top: auto; bottom: 1rem; right: 1rem; border-radius: 50%; }

.vps-media span.onsale { position: absolute; z-index: 9; top: 1rem; left: calc(var(--vps-thumbw) + 1.9rem); }
.vps-media:not(:has(.flex-control-thumbs)) span.onsale { left: 1rem; }

.vps-wish { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: var(--white); border: 2px solid var(--line); color: var(--primary); transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out); }
.vps-wish:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-1px); }
.vps-wish.is-saved { color: var(--secondary); border-color: var(--secondary); }
.vps-wish i { font-size: 1.15rem; line-height: 1; }
.vps-wish-media { position: absolute; z-index: 9; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border-width: 1px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); }

/* Summary rows */
.vps .summary > * { margin-bottom: 0; }
.vps-topline { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.vps-flag {
  display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px;
  background: rgba(151, 160, 105, 0.22); color: var(--secondary);
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.vps-sku { font-size: 0.82rem; color: var(--stone); letter-spacing: 0.04em; }

.vps .product_title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: 0.4rem; }
.vps-brand { font-size: 0.95rem; color: var(--muted); margin: 0 0 0.9rem; }
.vps-brand a { color: var(--secondary); font-weight: 600; }

.vps-rating { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.1rem; }
.vps .star-rating { color: var(--accent); float: none; margin: 0; }
.vps-rating-avg { color: var(--primary); }
.vps-rating-count { font-size: 0.88rem; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }

.vps-price { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.woocommerce div.product .vps-price p.price { margin: 0; font-size: 2rem; font-weight: 700; color: var(--primary); }
.woocommerce div.product .vps-price p.price del { font-size: 1.15rem; font-weight: 400; color: var(--stone); opacity: 1; }
.woocommerce div.product .vps-price p.price ins { text-decoration: none; color: var(--secondary); }
.vps-off {
  display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--secondary); color: var(--white);
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}

.vps .woocommerce-product-details__short-description { color: var(--muted); line-height: 1.75; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; }

/* Variation rows: label + picked value + swatches */
.vps table.variations { border: 0; border-collapse: collapse; width: 100%; margin: 0 0 0.75rem; }
.vps table.variations tr {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label picked" "opts opts";
  align-items: center; row-gap: 0.6rem; padding: 0 0 1.2rem;
}
.vps table.variations th.label {
  grid-area: label; padding: 0; background: none; text-align: left;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
}
.vps table.variations td.value { display: contents; }
.vps select[data-vps-swatch-ui] { display: none !important; }
.vps-picked { grid-area: picked; justify-self: end; font-size: 0.92rem; font-weight: 600; color: var(--secondary); }
.vps-picked.is-empty { color: var(--stone); font-weight: 500; }
.vps-swatches { grid-area: opts; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.vps .reset_variations { grid-column: 1 / -1; justify-self: start; font-size: 0.82rem; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }

.vps-opt { position: relative; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
.vps-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 0.6rem; }

.vps-opt-swatch .vps-dot {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--vc-swatch, var(--paper));
  border: 1px solid rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 2px var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.2s ease;
}
.vps-opt-swatch .vps-dot i { font-size: 1rem; color: var(--white); mix-blend-mode: difference; opacity: 0; transform: scale(0.4); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
.vps-opt-swatch:hover:not(:disabled) .vps-dot { transform: scale(1.1); }
.vps-opt-swatch.is-active .vps-dot { box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--primary); }
.vps-opt-swatch.is-active .vps-dot i { opacity: 1; transform: scale(1); }

/* Text swatches — options with no resolvable color show their initial instead of a blank dot */
.vps-init {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.86rem; font-weight: 700; line-height: 1; color: var(--ink);
  transition: opacity 0.2s ease;
}
.vps-opt-text .vps-dot { background: var(--white); border-style: dashed; }
.vps-opt-text.is-active .vps-dot { background: var(--primary); border-style: solid; }
.vps-opt-swatch.is-active .vps-init { opacity: 0; }

.vps-opt-pill {
  min-width: 3rem; padding: 0.65rem 0.9rem; border-radius: 0.6rem; border: 2px solid var(--line);
  background: var(--white); font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.vps-opt-pill:hover:not(:disabled) { border-color: var(--secondary); color: var(--secondary); transform: translateY(-1px); }
.vps-opt-pill.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22); }

.vps-opt.is-disabled { opacity: 0.35; cursor: not-allowed; }
.vps-opt-pill.is-disabled { position: relative; background: var(--paper); color: var(--stone); }
.vps-opt-pill.is-disabled::after {
  content: ""; position: absolute; top: 50%; left: 6px; right: 6px; height: 2px;
  background: var(--stone); border-radius: 2px; transform: rotate(-18deg);
}
.vps-unavailable { flex-basis: 100%; font-size: 0.82rem; color: var(--stone); }
.vps-unavailable::before { content: "\f622"; font-family: "bootstrap-icons"; color: var(--secondary); margin-right: 0.35rem; vertical-align: -0.1em; }

/* Size chart — ruler trigger beside the size options (clothing only) + modal */
.vps-size-chart-open {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 0; padding: 0.2rem 0; cursor: pointer;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary);
}
.vps-size-chart-open i { font-size: 1rem; line-height: 1; }
.vps-size-chart-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.vps-size-chart-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 0.3rem; }

html.vps-modal-lock { overflow: hidden; }
.vps-size-chart-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 1rem; }
.vps-size-chart-modal[hidden] { display: none; }
.vps-size-chart-backdrop { position: absolute; inset: 0; background: rgba(31, 29, 22, 0.55); }
.vps-size-chart-panel {
  position: relative; width: min(33rem, 100%); max-height: min(85vh, 38rem); overflow: auto;
  background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.vps-size-chart-title { margin: 0 0 1rem; font-size: 1.2rem; padding-right: 2.4rem; }
.vps-size-chart-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.vps-size-chart-close:hover { background: var(--paper); }
.vps-size-chart-img { display: block; max-width: 100%; height: auto; border-radius: 0.5rem; }
.vps-size-chart-table { width: 100%; border-collapse: collapse; }
.vps-size-chart-table th, .vps-size-chart-table td { padding: 0.6rem 0.75rem; border: 1px solid var(--line); text-align: left; font-size: 0.92rem; }
.vps-size-chart-table th { background: var(--primary); color: var(--white); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.vps-size-chart-table tbody tr:nth-child(even) td { background: var(--paper); }
.vps-size-chart-note { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--stone); }

/* Purchase controls: qty + add to cart + wishlist, then Buy Now */
.vps form.cart { margin-bottom: 1.4rem; }
.vps form.cart:not(.variations_form),
.vps .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: stretch; }
.vps .woocommerce-variation.single_variation { min-height: 0; margin-bottom: 0.5rem; }
.vps .woocommerce-variation-price .price { font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.vps .woocommerce-variation-availability p.stock { margin: 0.3rem 0 0; font-size: 0.9rem; }
.vps p.stock.in-stock { color: var(--secondary); }
.vps p.stock.out-of-stock { color: #8a3a31; font-weight: 600; }

.vps-qty { display: inline-flex; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 0.65rem; overflow: hidden; }
.vps-qty-btn { width: 2.8rem; background: transparent; border: 0; cursor: pointer; color: var(--primary); font-size: 0.95rem; transition: background-color 0.15s ease; display: inline-flex; align-items: center; justify-content: center; }
.vps-qty-btn:hover { background: rgba(72, 68, 53, 0.1); }
.woocommerce .vps .quantity .qty,
.vps .vps-qty input.qty {
  width: 3.1rem; min-height: 3.1rem; border: 0; background: transparent; text-align: center;
  font-weight: 700; font-size: 1rem; color: var(--ink); border-radius: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.vps .vps-qty input.qty::-webkit-outer-spin-button, .vps .vps-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vps .vps-qty input.qty:focus { outline: none; }
.vps-qty:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(151, 160, 105, 0.28); }

.vps button.single_add_to_cart_button { flex: 1 1 auto; min-width: 12rem; }
.vps .summary .vps-wish { width: 3.4rem; border-radius: 0.65rem; flex: 0 0 auto; }

.vps-buy-now {
  flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.9rem 1.75rem; border-radius: 999px; border: 2px solid var(--primary);
  background: var(--primary); color: var(--white); cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.vps-buy-now:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow); }
.vps-buy-now i { color: var(--accent-bright); }

/* Trust badges */
.vps-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.4rem 0 0; }
.vps-trust-badge {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 0.6rem; text-align: center; transition: background-color 0.2s ease;
}
.vps-trust-badge:hover { background: var(--white); }
.vps-trust-badge i { display: block; font-size: 1.4rem; color: var(--secondary); margin-bottom: 0.35rem; }
.vps-trust-badge span { font-size: 0.8rem; color: var(--muted); line-height: 1.35; display: block; }

/* Meta */
.vps .product_meta { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1rem; font-size: 0.85rem; color: var(--stone); }
.vps .product_meta > span { display: block; padding: 0.15rem 0; }
.vps .product_meta .sku_wrapper { display: none; } /* SKU is shown at the top */
.vps .product_meta a { color: var(--secondary); }

/* Highlights band */
.vps-highlights { background: var(--white); border-block: 1px solid var(--line); }
.vps-highlights-title { text-align: center; margin-bottom: 2.25rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.vps-highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.vps-highlight {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem; text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.vps-highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vps-highlight i { font-size: 2rem; color: var(--accent); display: block; margin-bottom: 0.8rem; transition: transform 0.25s var(--ease-out); }
.vps-highlight:hover i { transform: scale(1.1); }
.vps-highlight h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.vps-highlight p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 991px) { .vps-highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .vps-highlights-grid { grid-template-columns: 1fr; } }

/* Tabs, reviews, related */
.vps-below { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.woocommerce div.product .vps-below .woocommerce-tabs { margin-bottom: 1rem; }
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs { border: 0; background: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0 2rem; border-bottom: 1px solid var(--line); }
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs li { border: 0; background: none; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs li a {
  display: inline-block; padding: 0.85rem 0; font-family: var(--font-display); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.woocommerce div.product .vps-below .woocommerce-tabs ul.tabs li.active a { color: var(--primary); border-bottom-color: var(--secondary); }
.woocommerce div.product .vps-below .woocommerce-Tabs-panel > h2:first-of-type { display: none; }

.vps-below .woocommerce-Tabs-panel table.shop_attributes { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vps-below .woocommerce-Tabs-panel table.shop_attributes th { background: var(--paper); color: var(--primary); font-weight: 600; }

.woocommerce .vps-below #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; position: static; width: 48px; padding: 0; border: 0; }
.woocommerce .vps-below #reviews #comments ol.commentlist li { border: 0; margin-bottom: 1rem; }
.woocommerce .vps-below #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.vps-below #review_form #respond { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.vps-below .related, .vps-below .up-sells { margin-top: 3rem; }

@media (max-width: 575px) {
  .vps-media { --vps-thumbw: 60px; }
  .vps-trust-badge span { font-size: 0.74rem; }
  .vps button.single_add_to_cart_button { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vps-media .woocommerce-product-gallery__image img, .vps-media .flex-control-thumbs li img,
  .vps-opt-swatch .vps-dot, .vps-opt-swatch .vps-dot i, .vps-init, .vps-opt-pill,
  .vps-wish, .vps-buy-now, .vps-highlight, .vps-highlight i { transition: none; }
}

/* notices */
.woocommerce-message, .woocommerce-info { border-top-color: var(--secondary); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--secondary); }

/* cart & checkout */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--primary); color: var(--white); font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.75rem 0.9rem; background: var(--white);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(151, 160, 105, 0.28); outline: none;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a {
  display: block; padding: 0.7rem 1rem; border-radius: 0.5rem; font-weight: 500;
}
.woocommerce-MyAccount-navigation li.is-active a { background: var(--primary); color: var(--white); }

/* ============================================================
   Appreciation band, testimonials, trust, newsletter
   ============================================================ */
.appreciation {
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.95), rgba(72, 68, 53, 0.85)),
    var(--primary-deep);
  color: var(--white);
  border-block: 4px solid var(--accent);
}
.appreciation-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.appreciation ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.appreciation li { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.45rem 0; color: rgba(255, 255, 255, 0.85); }
.appreciation li i { color: var(--accent); }
.discount-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
}
.discount-card .pct { font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.discount-card p { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 991px) { .appreciation-grid { grid-template-columns: 1fr; } }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; margin: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial .stars { color: var(--accent); letter-spacing: 0.18em; margin-bottom: 0.9rem; }
.testimonial p { color: var(--ink); }
.testimonial footer strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); }
.testimonial footer span { font-size: 0.82rem; color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 991px) { .testimonial-grid { grid-template-columns: 1fr; } }

.trust-strip { background: var(--white); border-block: 1px solid var(--line); padding: 1.75rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; gap: 0.9rem; align-items: center; }
.trust-item i { font-size: 1.6rem; color: var(--secondary); }
.trust-item strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); font-size: 0.95rem; }
.trust-item span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 991px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .trust-grid { grid-template-columns: 1fr; } }

.newsletter { background: var(--primary); color: var(--white); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1 1 240px; min-height: 3.25rem; border-radius: 999px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.08); color: var(--white); padding: 0 1.4rem;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter input:focus { border-color: var(--accent); outline: none; }
@media (max-width: 991px) { .newsletter-inner { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-group { margin-bottom: 2.5rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.1rem 1.35rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--primary);
}
.faq-q i { color: var(--accent); transition: transform 0.3s var(--ease-out); }
.faq-item.is-open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-a-inner { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* ============================================================
   Content pages, contact, 404
   ============================================================ */
.page-hero { background: var(--primary); color: var(--white); padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0; border-bottom: 4px solid var(--accent); }
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero .breadcrumbs { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.6rem; }
.page-hero .breadcrumbs a { color: var(--accent-bright); }

.entry-content { max-width: 1040px; }
.entry-content h2 { margin-top: 2rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-meta { list-style: none; margin: 0; padding: 0; }
.contact-meta li { display: flex; gap: 0.9rem; align-items: baseline; padding: 0.6rem 0; }
.contact-meta i { color: var(--secondary); font-size: 1.1rem; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }

.error-404 { text-align: center; padding: 6rem 0; }
.error-404 .code { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 9rem); font-weight: 700; color: var(--primary); line-height: 1; }
.error-404 .code span { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.72); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.14em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.28rem 0; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--accent-bright); }
/* Brand lockup stays crisp white like the header (overrides the muted link color above). */
.site-footer .site-brand, .site-footer .site-brand:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--white);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-deep); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; }
.footer-pay { display: flex; gap: 0.8rem; font-size: 1.5rem; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 991px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer-main { grid-template-columns: 1fr; } }

/* ============================================================
   Scroll reveal & reduced motion
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--stagger, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seq, [data-reveal] { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .btn, .cat-tile img, .woocommerce ul.products li.product, .testimonial, .faq-a { transition: none !important; }
}

/* ============================================================
   Designed pages: About / FAQ / Track Order / Contact
   ============================================================ */

/* --- About --- */
.mission { border-left: 4px solid var(--accent); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  color: var(--primary);
  max-width: 26ch;
  margin: 0;
}
.about-story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .about-story { grid-template-columns: 1fr; gap: 1rem; } }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-top: 4px solid var(--accent);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card i { font-size: 1.7rem; color: var(--secondary); display: block; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
@media (max-width: 991px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .values-grid { grid-template-columns: 1fr; } }

.stats-band { background: var(--primary); color: var(--white); padding: 3rem 0; border-block: 4px solid var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); color: var(--accent); line-height: 1; }
.stat-label { display: block; margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(233, 236, 220, 0.7); }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.giving-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.giving-list { list-style: none; margin: 0; padding: 0; }
.giving-list li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; margin-bottom: 1rem;
}
.giving-list i {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(151, 160, 105, 0.18); color: var(--secondary); font-size: 1.2rem;
}
.giving-list strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); margin-bottom: 0.2rem; }
.giving-list span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 991px) { .giving-grid { grid-template-columns: 1fr; } }

.about-cta {
  background-color: var(--primary); background-size: cover; background-position: center;
  color: var(--white); text-align: center; border-top: 4px solid var(--accent);
}
.about-cta h2 { color: var(--white); }
.about-cta p { color: rgba(233, 236, 220, 0.75); margin-bottom: 2rem; }

/* --- FAQ --- */
.faq-wrap { max-width: 900px; }
.faq-search-wrap { position: relative; margin-bottom: 1.5rem; }
.faq-search-wrap i { position: absolute; left: 1.25rem; top: 50%; translate: 0 -50%; color: var(--stone); }
.faq-search-wrap input {
  width: 100%; padding: 1rem 1.4rem 1rem 3rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-search-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(151, 160, 105, 0.25); outline: none; }

.faq-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.faq-topic {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.faq-topic:hover { border-color: var(--accent); color: var(--primary); transform: translateY(-2px); }
.faq-topic.is-active { background: var(--primary); border-color: var(--primary); color: var(--accent); }

.faq-group h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.faq-empty { color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }

.help-cta {
  margin-top: 3.5rem;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-lg); border-left: 5px solid var(--accent);
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.help-cta h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.35rem; }
.help-cta p { color: rgba(233, 236, 220, 0.75); margin: 0; }

/* --- Track Order --- */
.track-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; margin-bottom: 1rem; }
@media (max-width: 991px) { .track-grid { grid-template-columns: 1fr; } }

.track-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-top: 5px solid var(--accent);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow);
  position: sticky; top: 110px;
}
.track-card-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.track-card-head i {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 0.85rem;
  background: rgba(151, 160, 105, 0.18); color: var(--secondary); font-size: 1.35rem;
}
.track-card-head h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.track-card-head p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.track-card .track_id, .track-card .track_email { width: 100%; }
.track-card form.track_order p.form-row { margin-bottom: 1rem; }
.track-card input.input-text {
  width: 100%; border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.8rem 1rem; background: var(--paper);
}
.track-card input.input-text:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(151, 160, 105, 0.25); outline: none; }
.track-hint { display: flex; gap: 0.5rem; align-items: baseline; color: var(--muted); font-size: 0.86rem; margin: 1.25rem 0 0; }
.track-hint i { color: var(--secondary); }

.track-steps { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; position: relative; }
.track-steps::before {
  content: ""; position: absolute; left: 1.15rem; top: 0.5rem; bottom: 0.5rem; width: 2px;
  background: var(--line);
}
.track-steps li { position: relative; display: flex; gap: 1.25rem; padding: 0 0 1.75rem; }
.track-steps li:last-child { padding-bottom: 0; }
.track-step-no {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  font-family: var(--font-display); font-weight: 600;
  border: 2px solid var(--accent);
}
.track-steps strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); }
.track-steps span { color: var(--muted); font-size: 0.93rem; }

.status-legend { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.status-legend h3 { font-size: 1rem; margin-bottom: 1rem; }
.status-legend dl { margin: 0; }
.status-legend dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.status-legend dt { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); }
.status-legend dd { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 575px) { .status-legend dl > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* --- Contact --- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.method-card {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
}
.method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.method-card i { font-size: 1.6rem; color: var(--secondary); margin-bottom: 0.75rem; }
.method-card strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); font-size: 1.05rem; }
.method-card span { color: var(--ink); font-weight: 500; }
.method-card em { font-style: normal; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 767px) { .method-grid { grid-template-columns: 1fr; } }

.valor-form label { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); margin-bottom: 0.35rem; }
.valor-form .optional { color: var(--stone); text-transform: none; letter-spacing: 0; }
.valor-form input[type="text"], .valor-form input[type="email"], .valor-form select, .valor-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.8rem 1rem; background: var(--paper); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.valor-form input:focus, .valor-form select:focus, .valor-form textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(151, 160, 105, 0.25); outline: none;
}
.valor-form p { margin: 0 0 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575px) { .form-row-2 { grid-template-columns: 1fr; } }
.valor-hp { position: absolute !important; left: -9999px; }

.alert-confirm {
  display: flex; gap: 0.6rem; align-items: baseline;
  background: rgba(151, 160, 105, 0.16); border: 1px solid var(--accent); color: var(--secondary);
  border-radius: 0.75rem; padding: 0.9rem 1.1rem; font-size: 0.94rem; margin-bottom: 1.25rem;
}
.alert-error {
  background: rgba(160, 60, 40, 0.1); border: 1px solid rgba(160, 60, 40, 0.4); color: #7c2d1c;
  border-radius: 0.75rem; padding: 0.9rem 1.1rem; font-size: 0.94rem; margin-bottom: 1.25rem;
}

.map-panel { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-panel iframe { display: block; width: 100%; min-height: 380px; border: 0; }

/* ============================================================
   About page imagery
   ============================================================ */
.about-media { position: relative; }
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo-main { aspect-ratio: 4 / 5; }
.about-photo-offset {
  position: absolute; right: -1rem; bottom: -2rem;
  width: 46%; aspect-ratio: 1;
  border: 5px solid var(--paper);
}
.about-story .about-media { padding-bottom: 2rem; }
@media (max-width: 991px) {
  .about-photo-main { aspect-ratio: 16 / 10; }
  .about-photo-offset { display: none; }
  .about-story .about-media { padding-bottom: 0; }
}

.about-band {
  background-size: cover; background-position: center; background-attachment: fixed;
  padding: clamp(4rem, 3rem + 5vw, 8rem) 0;
}
@media (max-width: 991px) { .about-band { background-attachment: scroll; } }
.about-band-quote { margin: 0; max-width: 760px; }
.about-band-quote p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 2.2vw, 2.4rem); line-height: 1.3;
  color: var(--white); margin: 0 0 1rem;
}
.about-band-quote cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

.giving-grid-3 { grid-template-columns: 0.8fr 1fr 1.1fr; align-items: stretch; }
.giving-photo { min-height: 320px; }
@media (max-width: 991px) {
  .giving-grid-3 { grid-template-columns: 1fr; }
  .giving-photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ============================================================
   Legal / policy pages
   ============================================================ */
.legal-updated { margin: 0.6rem 0 0; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 991px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } }

.legal-toc-inner {
  position: sticky; top: 110px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-top: 4px solid var(--accent);
  padding: 1.4rem 1.5rem;
}
.legal-toc-title { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); margin-bottom: 0.75rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 0.6rem; align-items: baseline;
  padding: 0.42rem 0.5rem; border-radius: 0.45rem;
  color: var(--muted); font-size: 0.9rem; line-height: 1.35;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display); font-size: 0.72rem; color: var(--stone);
  flex: 0 0 auto;
}
.legal-toc a:hover { color: var(--primary); background: var(--paper); }
.legal-toc a.is-current { color: var(--primary); border-left-color: var(--accent); background: rgba(151, 160, 105, 0.12); }
.legal-toc-cta { width: 100%; margin-top: 1.25rem; font-size: 0.8rem; padding: 0.65rem 1rem; }
@media (max-width: 991px) { .legal-toc-inner { position: static; } }

.legal-content { max-width: 760px; }
.legal-section { padding: 1.75rem 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-section:first-of-type { border-top: 0; padding-top: 0; }
.legal-section h2 { display: flex; gap: 0.9rem; align-items: baseline; font-size: 1.35rem; }
.legal-no { font-family: var(--font-display); font-weight: 500; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.06em; }
.legal-section .entry-content p { color: var(--ink); }
.legal-section .entry-content { max-width: none; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  transition: opacity 0.55s ease, visibility 0.55s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

.preloader-brand { display: flex; align-items: center; gap: 1rem; }

.preloader-shield {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.6rem; height: 4rem;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
  font-size: 1.4rem;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.07); filter: brightness(1.12); }
}

.preloader-logo {
  display: block; max-height: 72px; width: auto; max-width: 220px;
  /* same soft halo as the header so dark logo edges read on black */
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.14));
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

.preloader-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); line-height: 1.05; white-space: nowrap;
}
.preloader-name em { font-style: normal; color: var(--accent); }

@media (max-width: 575px) {
  .preloader-brand { gap: 0.7rem; }
  .preloader-logo { max-height: 52px; max-width: 150px; }
  .preloader-name { letter-spacing: 0.08em; }
}

.preloader-bar {
  position: relative; width: 190px; height: 2px; border-radius: 2px;
  background: rgba(233, 236, 220, 0.16); overflow: hidden;
}
.preloader-bar span {
  position: absolute; inset: 0 auto 0 0; width: 40%;
  background: var(--accent); border-radius: 2px;
  animation: preloaderSweep 1.1s var(--ease-out) infinite;
}
@keyframes preloaderSweep {
  0% { left: -40%; }
  100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
}

/* ============================================================
   Homepage 1.4 — category carousel, featured collection,
   flash-sale countdown banner
   ============================================================ */

/* --- Section head with an action on the right --- */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; max-width: none; flex-wrap: wrap; }
.section-head-row > div { max-width: 62ch; }
.section-head-row h2 { margin-bottom: 0; }
.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem; padding-bottom: 0.4rem; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.link-more i { color: var(--accent); transition: transform 0.3s var(--ease-out); }
.link-more:hover i { transform: translateX(5px); }

/* --- Carousel shell (arrows live in the section head) --- */
.carousel-nav { display: flex; gap: 0.6rem; padding-bottom: 0.15rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--primary); font-size: 1.1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; transform: none; }
.no-nav .carousel-nav { display: none; }

.cat-carousel-track {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  list-style: none; margin: 0; padding: 0.4rem 0.25rem 1.1rem; /* room for the hover lift/ring */
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
}
.cat-carousel-track::-webkit-scrollbar { display: none; }
.cat-carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.cat-carousel-track.is-dragging a { pointer-events: none; }
.cat-carousel-track a, .cat-carousel-track img { -webkit-user-drag: none; }

/* --- Circular category bubbles with overlay --- */
.cat-bubble { flex: 0 0 auto; width: clamp(128px, 12vw, 172px); scroll-snap-align: start; }
.cat-bubble > a { display: block; border-radius: 50%; }
.cat-bubble-media {
  position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, var(--secondary), #26241c);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.cat-bubble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.cat-bubble-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: rgba(233, 236, 220, 0.32); }
.cat-bubble-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 6%, rgba(0, 0, 0, 0.32) 46%, rgba(0, 0, 0, 0.05) 72%); }
.cat-bubble-media::after { content: ""; position: absolute; inset: 0; background: rgba(72, 68, 53, 0.4); opacity: 0; transition: opacity 0.35s ease; }
.cat-bubble-name {
  position: absolute; left: 9%; right: 9%; bottom: 24%; z-index: 1; text-align: center;
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.94rem;
  line-height: 1.12; letter-spacing: 0.06em; text-transform: uppercase;
}
.cat-bubble-count {
  position: absolute; left: 9%; right: 9%; bottom: 12%; z-index: 1; text-align: center;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright);
}
.cat-bubble > a:hover .cat-bubble-media,
.cat-bubble > a:focus-visible .cat-bubble-media {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 0 3px var(--accent);
}
.cat-bubble > a:hover img,
.cat-bubble > a:focus-visible img { transform: scale(1.1); }
.cat-bubble > a:hover .cat-bubble-media::after,
.cat-bubble > a:focus-visible .cat-bubble-media::after { opacity: 1; }

/* --- Featured collection: promo card + 2×2 featured products --- */
.collection-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 1.5rem; align-items: stretch; }
.collection-card {
  position: relative; display: flex; align-items: flex-end; min-height: 480px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #14130f, var(--secondary));
}
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 12%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.12)); }
.collection-card:hover img { transform: scale(1.05); }
.collection-card-body { position: relative; z-index: 1; display: block; padding: clamp(1.5rem, 3vw, 2.5rem); }
.collection-flag {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  padding: 0.35rem 0.95rem; border-radius: 999px; background: rgba(151, 160, 105, 0.28);
  color: var(--accent-bright); font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.collection-title {
  display: block; margin-bottom: 0.6rem; color: var(--white);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1;
}
.collection-text { display: block; max-width: 46ch; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.78); }
.collection-card .btn-line { border-color: rgba(255, 255, 255, 0.55); color: var(--white); pointer-events: none; }
.collection-card:hover .btn-line { background: var(--white); border-color: var(--white); color: var(--primary); }
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5,
.woocommerce ul.products.columns-6 { grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr)); }
@media (max-width: 991px) {
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 380px; }
}


/* --- Flash-sale banner with countdown + product image --- */
.sale-banner {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.9);
  background: radial-gradient(130% 160% at 88% 0%, #5c5642 0%, var(--secondary) 42%, #23211a 100%);
  background-size: cover; background-position: center;
}
.sale-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(233, 236, 220, 0.045) 0 2px, transparent 2px 14px);
}
.sale-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.sale-banner h2 { color: var(--white); }
.sale-copy > p { max-width: 52ch; color: rgba(255, 255, 255, 0.75); }
.sale-flag {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem;
  padding: 0.4rem 1rem; border-radius: 999px; background: var(--accent); color: var(--primary-deep);
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.countdown { display: flex; align-items: center; gap: 0.55rem; margin: 1.7rem 0 1.9rem; }
.count-cell {
  min-width: 76px; padding: 0.8rem 0.4rem 0.65rem; text-align: center;
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.count-cell b {
  display: block; color: var(--white); font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.count-cell small { display: block; margin-top: 0.35rem; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.count-sep { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); opacity: 0.8; }
.sale-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.sale-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.68); }
.sale-note i { color: var(--accent); }

.sale-figure { position: relative; display: grid; place-items: center; min-height: 340px; }
.sale-ring {
  position: absolute; width: min(480px, 92%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--accent-bright), var(--accent) 55%, #6d754a 100%);
  opacity: 0.92;
}
.sale-ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(0, 0, 0, 0.28); }
.sale-img {
  position: relative; z-index: 1; width: min(360px, 72%); aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg); border: 4px solid rgba(233, 236, 220, 0.92);
  transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: saleFloat 5.5s ease-in-out infinite;
}
.sale-sticker {
  position: absolute; z-index: 2; top: 5%; right: clamp(0px, 6%, 3rem);
  width: clamp(98px, 10vw, 130px); aspect-ratio: 1; border-radius: 50%; padding: 0.8rem;
  display: grid; place-items: center; text-align: center;
  background: var(--primary); color: var(--accent-bright);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; line-height: 1.25;
  letter-spacing: 0.08em; text-transform: uppercase;
  transform: rotate(9deg); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: saleFloat 5.5s ease-in-out 0.4s infinite;
}
.sale-sticker::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(151, 160, 105, 0.6); }
.sale-figure.no-img .sale-ring { width: min(340px, 82%); }
.sale-figure.no-img .sale-sticker { position: relative; top: auto; right: auto; width: clamp(150px, 14vw, 190px); font-size: 1.05rem; transform: rotate(-6deg); }
@keyframes saleFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@media (max-width: 991px) {
  .sale-grid { grid-template-columns: 1fr; }
  .sale-figure { min-height: 300px; margin-top: 0.5rem; }
}
@media (max-width: 575px) {
  .count-sep { display: none; }
  .countdown { gap: 0.45rem; }
  .count-cell { min-width: 0; flex: 1; }
  .cat-bubble { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  .sale-img, .sale-sticker { animation: none !important; }
  .carousel-btn, .cat-bubble-media, .cat-bubble img, .collection-card img, .link-more i { transition: none !important; }
}

/* ============================================================
   Shop-by-branch parallax band (v1.9)
   ============================================================ */
.branch-band {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}
.branch-band-bg {
  position: absolute;
  left: 0; right: 0;
  top: -18%; height: 136%;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='460'%20height='460'%3E%3Cg%20fill='none'%20stroke='%2397a069'%20stroke-opacity='0.12'%20stroke-width='1.6'%3E%3Cpath%20d='M-20%2060%20C60%2020%20140%2090%20230%2070%20S390%2010%20480%2055'/%3E%3Cpath%20d='M-20%20130%20C70%2090%20150%20160%20240%20140%20S400%2085%20480%20125'/%3E%3Cpath%20d='M-20%20210%20C60%20175%20160%20240%20250%20215%20S400%20160%20480%20205'/%3E%3Cpath%20d='M-20%20290%20C80%20250%20150%20320%20240%20295%20S390%20245%20480%20285'/%3E%3Cpath%20d='M-20%20370%20C60%20335%20160%20400%20250%20372%20S400%20320%20480%20365'/%3E%3Cpath%20d='M-20%20440%20C80%20405%20150%20470%20240%20445%20S390%20400%20480%20440'/%3E%3C/g%3E%3Cg%20stroke='%2397a069'%20stroke-opacity='0.18'%20stroke-width='1.6'%3E%3Cpath%20d='M85%20105%20v10%20M80%20110%20h10'/%3E%3Cpath%20d='M330%20250%20v10%20M325%20255%20h10'/%3E%3Cpath%20d='M180%20390%20v10%20M175%20395%20h10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 460px auto;
  background-repeat: repeat;
  will-change: transform;
}
.branch-band-bg.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.branch-band-bg.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.branch-band-inner { position: relative; z-index: 1; }
.branch-band .section-head h2 { color: var(--white); }
.branch-band .eyebrow { color: var(--accent); }

.branch-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.branch-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  text-align: center; padding: 1.25rem 0.5rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease;
}
.branch-item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.05); }
.branch-logo {
  display: grid; place-items: center;
  width: clamp(84px, 9vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--accent);
  font-size: 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.branch-item:hover .branch-logo {
  border-color: rgba(151, 160, 105, 0.65);
  box-shadow: 0 0 0 6px rgba(151, 160, 105, 0.14);
}
.branch-logo.has-img { background: var(--paper); border-color: rgba(151, 160, 105, 0.35); }
.branch-item:hover .branch-logo.has-img { border-color: rgba(151, 160, 105, 0.9); }
.branch-logo img { width: 68%; height: 68%; object-fit: contain; }
.branch-logo { position: relative; overflow: hidden; }
.branch-shop-overlay {
  position: absolute; inset: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border-radius: 50%;
  background: rgba(18, 20, 12, 0.66);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.branch-item:hover .branch-shop-overlay,
.branch-item:focus-visible .branch-shop-overlay { opacity: 1; transform: scale(1); }
@media (hover: none) { .branch-shop-overlay { display: none; } }
.branch-logo svg.branch-mark { width: 58%; height: 58%; display: block; }
.branch-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--white);
}
@media (max-width: 1023px) {
  .branch-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (max-width: 640px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid li:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   Sharkdropship / imported supplier products
   (dropshipping & affiliate compatibility — v2.0.2)
   ============================================================ */

/* Even product cards under 120-char marketplace titles: clamp to two
   lines. Applies to every product, so hand-made and imported cards
   stay the same height in the grid. */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.45;
  max-height: calc(2 * 1.45em + 1.25rem); /* two lines + top padding fallback */
  overflow: hidden;
}

/* Raw marketplace description HTML (AliExpress / Temu / Amazon dumps):
   scoped to the wrapper the theme adds around supplier-product
   descriptions only, so store-authored content is never restyled. */
.valor-supplier-desc { overflow-wrap: anywhere; }
.valor-supplier-desc img { display: block; margin: 0.85rem auto; width: auto; }
.valor-supplier-desc iframe,
.valor-supplier-desc video,
.valor-supplier-desc embed,
.valor-supplier-desc object { max-width: 100%; }
.valor-supplier-desc table {
  display: block; width: max-content; max-width: 100%;
  overflow-x: auto; border-collapse: collapse; margin: 1rem 0;
}
.valor-supplier-desc table th,
.valor-supplier-desc table td { border: 1px solid var(--line); padding: 0.5rem 0.75rem; }
.valor-supplier-desc [style*="min-width"] { min-width: 0 !important; }
.valor-supplier-desc [style*="width"] { max-width: 100% !important; }
.valor-supplier-desc [style*="position: absolute"],
.valor-supplier-desc [style*="position:absolute"] { position: static !important; }

/* External / affiliate imports: the outbound buy button becomes the
   single full-width action (no quantity, no Buy Now on this type). */
.vps.product-type-external form.cart .single_add_to_cart_button { flex: 1 1 100%; }

/* ============================================================
   Sale & Clearance landing pages — v2.0.4
   (page-sale.php / page-clearance.php: promo hero, meta row,
   24-card grid reusing the shop card styles, staff note,
   empty state, sibling cross-link)
   ============================================================ */
.promo-hero .sale-flag { margin-bottom: 1.35rem; }
.promo-hero h1 { margin-bottom: 0.85rem; }
.promo-hero .promo-lead {
  max-width: 56ch; margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem); line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.promo-hero .countdown { margin: 1.6rem 0 0.2rem; }

.promo-intro { margin-bottom: 2.25rem; }
.promo-meta { margin-bottom: 2rem; }
.promo-meta h2 { font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.9rem); }

/* Staff-only curation hint (clearance fallback mode; customers never see it). */
.promo-staff-note {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 2rem; padding: 0.9rem 1.15rem;
  background: var(--paper); border: 1px dashed var(--accent);
  border-radius: var(--radius); font-size: 0.88rem; color: var(--muted);
}
.promo-staff-note i { color: var(--accent); font-size: 1.05rem; line-height: 1.5; }
.promo-staff-note p { margin: 0; }

/* Empty state: no markdowns live / rack cleared. */
.promo-empty {
  max-width: 640px; margin: 1rem auto; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem;
  text-align: center; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.promo-empty i { font-size: 2.2rem; color: var(--accent); }
.promo-empty h2 { margin: 0.9rem 0 0.6rem; }
.promo-empty p { max-width: 46ch; margin: 0 auto 1.6rem; color: var(--muted); }

/* Cross-link band: Sale ↔ Clearance. */
.promo-crosslink {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: 2.75rem; padding: 1.1rem 1.35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.promo-crosslink > span {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em;
  color: var(--primary);
}
.promo-crosslink > span i { color: var(--accent); }

@media (max-width: 640px) {
  .promo-crosslink { justify-content: center; text-align: center; }
}

/* ============================================================
   Wishlist page & header heart badge — v2.0.5
   (page-wishlist.php + assets/js/wishlist.js: loading spinner,
   injected card grid with per-card remove, clear-all, and the
   localStorage-driven count badge on the header heart)
   ============================================================ */
.cart-count[hidden] { display: none; } /* badge markup ships hidden until JS counts */

/* Loading */
.vw-loading { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 1rem; text-align: center; color: var(--muted); }
.vw-spinner {
  display: inline-block; width: 2.4rem; height: 2.4rem; margin-bottom: 0.9rem;
  border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
  animation: vw-spin 0.8s linear infinite;
}
@keyframes vw-spin { to { transform: rotate(360deg); } }
.vw-loading p { margin: 0; }

/* Meta-row actions: continue shopping + clear all */
.vw-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.vw-clear {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s ease;
}
.vw-clear:hover { color: var(--primary); }
.vw-clear i { color: var(--accent); }

/* Injected grid: cards are the standard shop-loop cards; the remove
   heart is overlaid on the image corner. */
.vw-grid .products li.product { position: relative; }
.vw-remove {
  position: absolute; z-index: 5; top: 0.75rem; right: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--accent); font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s var(--ease-out), color 0.2s ease, border-color 0.2s ease;
}
.vw-remove:hover { transform: scale(1.1); color: var(--primary); border-color: var(--accent); }
.vw-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Card exit (matches the 180ms timeout in wishlist.js) */
.vw-leaving { opacity: 0; transform: scale(0.96); transition: opacity 0.18s ease, transform 0.18s ease; }

@media (prefers-reduced-motion: reduce) {
  .vw-spinner { animation-duration: 1.6s; }
  .vw-remove, .vw-leaving { transition: none !important; }
}

/* ============================================================
   v2.0.19 — HUSKY (WOOF) compatibility layer
   Scoped so nothing here applies unless HUSKY is active
   (.vhc-auto / .widget_woof only render under takeover).
   ============================================================ */

/* HUSKY panel inherits the drawer treatment on mobile,
   matching the theme filter's card-less presentation. */
@media (max-width: 991px) {
  .shop-sidebar .widget_woof { border: 0; border-radius: 0; background: none; padding-inline: 0.25rem; margin-bottom: 0; }
}

/* Filters emptied a landing grid: keep the notice breathing room. */
.vhc-noresults { margin: 0.5rem 0 1.5rem; }

/* ============================================================
   v2.0.12 — Footer card logos + catalog grid/list switcher
   ============================================================ */

/* Footer: the Shift4Shop logo strip replaces the icon row.
   Fixed 350×38 intrinsic size; scale down inside narrow footers. */
.footer-pay a { display: inline-flex; }
.footer-pay img { display: block; max-width: 100%; height: auto; }

/* --- Switcher (right edge of .shop-toolbar) ------------------ */
.vc-view-switch {
  display: inline-flex; gap: 0.2rem; margin-left: auto; align-self: center;
  padding: 0.2rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
}
.vc-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 0.98rem; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.vc-view-btn:hover { background: rgba(72, 68, 53, 0.1); color: var(--primary); }
.vc-view-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

/* The pressed look keys off the same root class the layout uses, so it
   is right before JS runs and after every AJAX toolbar re-render. */
html:not(.vc-view-list) .vc-view-btn[data-vc-view="grid"],
html.vc-view-list .vc-view-btn[data-vc-view="list"] { background: var(--primary); color: var(--white); }

/* --- Card excerpt (markup ships on catalog surfaces only) ---- */
.vc-loop-excerpt { display: none; } /* grid stays as designed */

/* --- List layout ---------------------------------------------
   Scoped to .shop-main (shop, taxonomies, Sale/Clearance grids);
   the wishlist and homepage grids never re-flow. The card link
   becomes display:contents so the image and text split into the
   li's two grid columns; children the loop may add later (e.g.
   WooCommerce's "View cart" link after an AJAX add) land in the
   text column by default.
   v2.0.13: selectors no longer require a .woocommerce wrapper
   between .shop-main and ul.products — woocommerce_content()
   renders the loop bare on the shop/taxonomy archives (the class
   sits on <body>), so the old selectors never matched there and
   the toggle changed nothing. The Sale/Clearance shortcode grids
   (which do wrap in .woocommerce) still match the looser
   descendant selector. */
html.vc-view-list .shop-main ul.products,
html.vc-view-list .shop-main ul.products[class*="columns-"] { grid-template-columns: 1fr; gap: 1.1rem; }

html.vc-view-list .shop-main ul.products li.product {
  position: relative;
  display: grid;
  grid-template-columns: clamp(9.5rem, 30%, 14rem) minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 1.6rem);
  align-content: start;
}
html.vc-view-list .shop-main ul.products li.product:hover { transform: translateY(-3px); }

html.vc-view-list .shop-main ul.products li.product > .woocommerce-LoopProduct-link { display: contents; }

html.vc-view-list .shop-main ul.products li.product > *,
html.vc-view-list .shop-main ul.products li.product > .woocommerce-LoopProduct-link > * { grid-column: 2; min-width: 0; }

html.vc-view-list .shop-main ul.products li.product img {
  grid-column: 1; grid-row: 1 / span 9; align-self: start;
  width: 100%; height: auto;
}

html.vc-view-list .shop-main ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.08rem; padding: 1.05rem 1.25rem 0.15rem 0;
}
html.vc-view-list .shop-main ul.products li.product .star-rating { margin: 0.3rem 0 0; }
html.vc-view-list .shop-main ul.products li.product .price { padding: 0.15rem 1.25rem 0 0; }
html.vc-view-list .shop-main ul.products li.product .vc-loop-excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  color: var(--muted); font-size: 0.9rem; line-height: 1.55;
  padding: 0.45rem 1.25rem 0 0;
}
html.vc-view-list .shop-main ul.products li.product .button { margin: 0.9rem 1.25rem 1.1rem 0; justify-self: start; }

/* Small screens: tighter thumb column, two-line excerpt. */
@media (max-width: 575px) {
  html.vc-view-list .shop-main ul.products { gap: 0.8rem; }
  html.vc-view-list .shop-main ul.products li.product { grid-template-columns: 7rem minmax(0, 1fr); column-gap: 0.9rem; }
  html.vc-view-list .shop-main ul.products li.product .woocommerce-loop-product__title { font-size: 0.95rem; padding: 0.8rem 0.9rem 0.1rem 0; }
  html.vc-view-list .shop-main ul.products li.product .vc-loop-excerpt { -webkit-line-clamp: 2; font-size: 0.84rem; padding-right: 0.9rem; }
  html.vc-view-list .shop-main ul.products li.product .button { margin: 0.6rem 0.9rem 0.85rem 0; font-size: 0.78rem; padding: 0.55rem 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-view-btn { transition: none !important; }
}

/* ============================================================
   Collection landing template (v2.0.18)
   Shop-style hero lead — the base .promo-lead styling is scoped
   to .promo-hero; the Collection hero is the shop's .page-hero.
   ============================================================ */
.page-hero .promo-lead {
  max-width: 56ch; margin: 0.85rem 0 0;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem); line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   Header AI trigger (v2.0.17 — re-applied in v2.0.18)
   Sparkle button pinned to the right edge of the drag-scrollable
   category bar; opens the assistant via [data-vc-ai-open].
   ============================================================ */
.header-bottom-nav .vc-ai-nav-trigger {
  position: sticky; right: 0; margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 0; cursor: pointer;
  /* Fade scrolled links out underneath instead of a hard clip. */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, var(--primary) 1.6rem);
  color: var(--accent-bright);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.6rem 0.2rem 0.6rem 2.2rem;
  transition: color 0.2s ease;
}
.header-bottom-nav .vc-ai-nav-trigger:hover,
.header-bottom-nav .vc-ai-nav-trigger:focus-visible { color: var(--white); }
.header-bottom-nav .vc-ai-nav-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.header-bottom-nav .vc-ai-nav-trigger .bi { font-size: 1.05rem; color: var(--accent); }
.header-bottom-nav .vc-ai-nav-trigger:hover .bi { color: var(--accent-bright); }
@media (max-width: 1023px) {
  .header-bottom-nav .vc-ai-nav-trigger { font-size: 0.8rem; letter-spacing: 0.07em; padding-left: 1.9rem; }
}
@media (max-width: 575px) {
  .header-bottom-nav .vc-ai-nav-trigger .vc-ai-nav-label { display: none; }
  .header-bottom-nav .vc-ai-nav-trigger { padding-right: 0.4rem; }
}

/* ============================================================
   AI shopping assistant (v2.0.15 — CSS re-applied in v2.0.18,
   including the v2.0.16 [hidden] overrides)
   Floating launcher + chat panel rendered by
   Valor_AI_Assistant::render_widget(); behavior in
   assets/js/ai-assistant.js.
   ============================================================ */

/* v2.0.16: the author display values below must never beat the UA
   [hidden] rule — the shell ships hidden until JS boots, and the
   panel toggles via the hidden attribute. */
.vc-ai[hidden],
.vc-ai__panel[hidden] { display: none !important; }

.vc-ai {
  position: fixed; right: clamp(0.9rem, 2.5vw, 1.6rem); bottom: clamp(0.9rem, 2.5vw, 1.6rem);
  z-index: 1300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem;
  font-family: var(--font-body);
}

.vc-ai__launcher {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--accent); color: var(--black);
  font-size: 1.35rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}
.vc-ai__launcher:hover { background: var(--accent-bright); transform: translateY(-2px); }
.vc-ai__launcher:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.vc-ai.is-open .vc-ai__launcher { background: var(--primary); color: var(--accent-bright); }

.vc-ai__panel {
  display: flex; flex-direction: column;
  width: min(24rem, calc(100vw - 2rem));
  height: min(34rem, calc(100vh - 7.5rem));
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vc-ai__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--primary); color: var(--white);
  border-bottom: 3px solid var(--accent);
}
.vc-ai__title {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.vc-ai__badge {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em;
  background: var(--accent); color: var(--black);
  border-radius: 999px; padding: 0.14rem 0.5rem;
}
.vc-ai__head-actions { display: inline-flex; gap: 0.25rem; }
.vc-ai__iconbtn {
  border: 0; cursor: pointer; background: transparent; color: rgba(255, 255, 255, 0.75);
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: color 0.2s ease, background 0.2s ease;
}
.vc-ai__iconbtn:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.vc-ai__iconbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.vc-ai__log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.vc-ai__msg { display: flex; }
.vc-ai__msg--user { justify-content: flex-end; }
.vc-ai__bubble {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem; line-height: 1.55;
  overflow-wrap: anywhere;
}
.vc-ai__bubble p { margin: 0; }
.vc-ai__bubble p + p { margin-top: 0.5rem; }
.vc-ai__msg--assistant .vc-ai__bubble {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-bottom-left-radius: 0.25rem;
}
.vc-ai__msg--user .vc-ai__bubble {
  background: var(--secondary); color: var(--white);
  border-bottom-right-radius: 0.25rem;
}
.vc-ai__bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Typing indicator: three pulsing dots. */
.vc-ai__msg--typing .vc-ai__bubble {
  display: inline-flex; gap: 0.3rem; align-items: center; padding: 0.7rem 0.85rem;
}
.vc-ai__msg--typing .vc-ai__bubble span {
  width: 0.42rem; height: 0.42rem; border-radius: 50%;
  background: var(--muted); opacity: 0.4;
  animation: vc-ai-dot 1.1s ease-in-out infinite;
}
.vc-ai__msg--typing .vc-ai__bubble span:nth-child(2) { animation-delay: 0.18s; }
.vc-ai__msg--typing .vc-ai__bubble span:nth-child(3) { animation-delay: 0.36s; }
@keyframes vc-ai-dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Grounded product suggestions under a reply. */
.vc-ai__products { display: flex; flex-direction: column; gap: 0.45rem; }
.vc-ai__products-label {
  margin: 0; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.vc-ai__product {
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.5rem 0.65rem; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.vc-ai__product:hover { border-color: var(--accent); transform: translateY(-1px); }
.vc-ai__product img {
  width: 2.6rem; height: 2.6rem; object-fit: cover; border-radius: calc(var(--radius) - 0.3rem);
  flex: 0 0 auto;
}
.vc-ai__product-meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.vc-ai__product-name {
  font-size: 0.85rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.vc-ai__product-price { font-size: 0.8rem; color: var(--secondary); font-weight: 700; }

.vc-ai__composer {
  display: flex; align-items: flex-end; gap: 0.5rem;
  padding: 0.75rem; border-top: 1px solid var(--line); background: var(--white);
}
.vc-ai__composer textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 0.92rem; line-height: 1.5;
  padding: 0.55rem 0.7rem; max-height: 120px;
}
.vc-ai__composer textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.vc-ai__send {
  border: 0; cursor: pointer; flex: 0 0 auto;
  width: 2.6rem; height: 2.6rem; border-radius: var(--radius);
  background: var(--primary); color: var(--white); font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.vc-ai__send:hover:not(:disabled) { background: var(--secondary); }
.vc-ai__send:disabled { opacity: 0.45; cursor: not-allowed; }
.vc-ai__send:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.vc-ai__fineprint {
  margin: 0; padding: 0.5rem 0.9rem 0.7rem;
  background: var(--white);
  font-size: 0.68rem; line-height: 1.5; color: var(--muted);
}

/* Small screens: bottom-sheet panel. */
@media (max-width: 575px) {
  .vc-ai { right: 0.75rem; bottom: 0.75rem; left: 0.75rem; align-items: stretch; }
  .vc-ai__launcher { align-self: flex-end; }
  .vc-ai__panel { width: 100%; height: min(30rem, calc(100dvh - 6.5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .vc-ai__launcher, .vc-ai__product { transition: none !important; }
  .vc-ai__msg--typing .vc-ai__bubble span { animation: none; opacity: 0.7; }
}
