/*
Theme Name: Wicked Smaht Tees
Theme URI: https://wickedsmahttees.com
Author: Superior Promo
Author URI: https://superiorpromo.net
Description: Classic PHP WooCommerce theme for Wicked Smaht Tees — a Boston-pride apparel brand. Vintage/collegiate, worn-in, two-color varsity look. Built from the Wicked Smaht Tees design system (Harbor Navy + Fenway Green). Classic template files only — no block editor / FSE.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wicked-smaht-tees
Tags: e-commerce, woocommerce, classic, two-columns, custom-menu, featured-images
WC requires at least: 6.0
WC tested up to: 8.9
*/

/* ==========================================================================
   DESIGN TOKENS  (ported verbatim from design-system/tokens/)
   ========================================================================== */
:root {
  /* ---------- Brand: Harbor Navy ---------- */
  --navy-950: #01142b;
  --navy-900: #011e41; /* CORE brand navy */
  --navy-800: #0a2c54;
  --navy-700: #15406e;
  --navy-500: #2e5c8a;
  --navy-300: #7c9bbe;
  --navy-100: #d5e0ec;
  --navy-50:  #eef3f8;

  /* ---------- Brand: Fenway Green ---------- */
  --green-900: #013d22;
  --green-800: #005229;
  --green-700: #006838; /* CORE brand green */
  --green-600: #0a7d46;
  --green-500: #1e9556;
  --green-300: #7cc49b;
  --green-100: #d8ede0;
  --green-50:  #eef7f1;

  /* ---------- Vintage accents ---------- */
  --gold-500:  #c9a227;
  --brick-500: #a3271f;

  /* ---------- Warm neutrals ---------- */
  --paper:   #fbfaf5;
  --cream:   #f3eee2;
  --sand:    #e7dfcc;
  --ink:     #12181f;
  --slate-700: #3a4650;
  --slate-500: #6a7681;
  --slate-300: #b4bcc4;
  --line:    #e3e7ea;
  --white:   #ffffff;

  /* ---------- Semantic aliases ---------- */
  --color-bg:            var(--paper);
  --color-surface:       var(--white);
  --color-surface-alt:   var(--cream);
  --color-surface-navy:  var(--navy-900);
  --color-text:          var(--ink);
  --color-text-muted:    var(--slate-500);
  --color-text-subtle:   var(--slate-300);
  --color-text-inverse:  var(--paper);
  --color-text-brand:    var(--navy-900);
  --color-primary:        var(--navy-900);
  --color-primary-hover:  var(--navy-800);
  --color-primary-active: var(--navy-950);
  --color-on-primary:     var(--paper);
  --color-accent:         var(--green-700);
  --color-accent-hover:   var(--green-600);
  --color-accent-active:  var(--green-800);
  --color-on-accent:      var(--white);
  --color-border:         var(--line);
  --color-border-warm:    var(--sand);
  --color-border-strong:  var(--navy-900);
  --color-focus-ring:     var(--green-500);

  /* ---------- Status ---------- */
  --color-success:    #006838;
  --color-success-bg: var(--green-50);
  --color-warning:    #b8791f;
  --color-warning-bg: #fbf1dd;
  --color-error:      #a3271f;
  --color-error-bg:   #fbe9e7;
  --color-info:       #15406e;
  --color-info-bg:    var(--navy-50);

  /* ---------- Typography ---------- */
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Anton', 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Kaushan Script', 'Segoe Script', cursive;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --fw-book: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-4xl: 4rem;
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-display: 0.01em;
  --tracking-label: 0.08em;
  --tracking-normal: 0;

  /* ---------- Spacing (8px base) ---------- */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* ---------- Radius ---------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---------- Borders ---------- */
  --border-hair: 1px;
  --border-med: 2px;
  --border-bold: 3px;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 1px 2px rgba(1, 30, 65, 0.08);
  --shadow-md: 0 4px 12px rgba(1, 30, 65, 0.10);
  --shadow-lg: 0 12px 32px rgba(1, 30, 65, 0.14);
  --shadow-focus: 0 0 0 3px rgba(30, 149, 86, 0.35);

  /* ---------- Layout / Motion ---------- */
  --container-max: 1200px;
  --container-pad: var(--space-5);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: var(--fw-book);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--duration-fast) var(--ease-standard); }
a:hover { color: var(--color-accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 var(--space-4); color: var(--color-text-brand); }
p { margin: 0 0 var(--space-4); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

.wst-container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.wst-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  color: var(--green-700); font-size: var(--text-xs); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-3);
}
.wst-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-700); display: inline-block; }
.wst-eyebrow.is-plain::before { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.wst-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-md); border: var(--border-med) solid transparent;
  cursor: pointer; transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.wst-btn:active { transform: translateY(1px); }
.wst-btn--accent { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.wst-btn--accent:hover { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.wst-btn--accent:active { background: var(--green-800); }
.wst-btn--primary { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.wst-btn--primary:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--paper); }
.wst-btn--primary:active { background: var(--navy-950); }
.wst-btn--paper { background: var(--paper); color: var(--navy-900); border-color: var(--paper); }
.wst-btn--paper:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.wst-btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-500); }
.wst-btn--outline:hover { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.wst-btn--outline-paper { background: transparent; color: var(--paper); border-color: var(--navy-500); }
.wst-btn--outline-paper:hover { background: var(--paper); color: var(--navy-900); border-color: var(--paper); }
.wst-btn--block { width: 100%; }
.wst-btn--sm { padding: 0.7rem 1rem; font-size: var(--text-xs); }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.wst-announcement {
  background: var(--green-700); color: var(--white); overflow: hidden; white-space: nowrap;
  font-size: 12.5px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.08em;
}
.wst-announcement__track {
  display: inline-flex; font-family: var(--font-mono); padding: 9px 0; animation: wst-marquee 26s linear infinite;
}
.wst-announcement__track > span { padding: 0 26px; }
.wst-announcement__track .wst-announcement__sep { color: var(--gold-500); }
@keyframes wst-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.wst-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 245, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.wst-header__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad);
  height: 74px; display: flex; align-items: center; gap: var(--space-6);
}
.wst-header__logo { display: flex; align-items: center; }
.wst-header__logo img { height: 56px; width: auto; }
.wst-nav { flex: 1; }
.wst-nav ul { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.wst-nav a {
  font-size: 13px; font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy-900);
}
.wst-nav a:hover { color: var(--green-700); }
.wst-nav .current-menu-item > a { color: var(--green-700); }
.wst-header__actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.wst-iconbtn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; border-radius: var(--radius-md); color: var(--navy-900);
  position: relative; transition: background var(--duration-fast) var(--ease-standard);
}
.wst-iconbtn:hover { background: var(--cream); }
.wst-iconbtn svg { width: 22px; height: 22px; }
.wst-cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--brick-500); color: var(--white); border-radius: var(--radius-pill);
  font-size: 11px; font-weight: var(--fw-bold); line-height: 18px; text-align: center;
}
.wst-cart-count:empty, .wst-cart-count.is-zero { display: none; }
.wst-menu-toggle { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.wst-footer { background: var(--navy-900); color: var(--navy-100); margin-top: var(--space-9); }
.wst-footer__top {
  max-width: var(--container-max); margin: 0 auto; padding: var(--space-8) var(--container-pad) var(--space-7);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6);
}
.wst-footer__brand img { height: 96px; width: auto; margin-bottom: var(--space-4); }
.wst-footer__brand p { max-width: 34ch; color: var(--navy-100); font-size: var(--text-sm); }
.wst-footer h4 { color: var(--white); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.wst-footer ul { list-style: none; }
.wst-footer ul li { margin-bottom: var(--space-3); }
.wst-footer a { color: var(--navy-100); font-size: var(--text-sm); }
.wst-footer a:hover { color: var(--white); }
.wst-footer__bottom { border-top: 1px solid var(--navy-700); }
.wst-footer__bottom-inner {
  max-width: var(--container-max); margin: 0 auto; padding: var(--space-4) var(--container-pad);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  font-size: 12.5px; color: var(--navy-300);
}
.wst-footer__bottom a { color: var(--navy-300); }
.wst-footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   HERO
   ========================================================================== */
.wst-hero {
  color: var(--paper); position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 82% -10%, var(--navy-700) 0%, var(--navy-900) 46%, var(--navy-950) 100%);
}
.wst-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
  background-image: repeating-linear-gradient(112deg, var(--paper) 0, var(--paper) 1px, transparent 1px, transparent 22px);
}
.wst-hero__inner {
  position: relative; max-width: var(--container-max); margin: 0 auto; padding: var(--space-8) var(--container-pad);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center;
}
.wst-hero__eyebrow { color: var(--green-300); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.wst-hero__eyebrow::before { background: var(--green-300); }
.wst-live {
  display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: 0.08em;
  color: #ff9c86; background: rgba(163, 39, 31, 0.16); border: 1px solid rgba(163, 39, 31, 0.5);
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px;
}
.wst-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brick-500); animation: wst-pulse 1.6s ease-in-out infinite; }
@keyframes wst-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(163, 39, 31, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(163, 39, 31, 0); }
}
.wst-hero h1 {
  color: var(--paper); font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.9; letter-spacing: var(--tracking-display);
  text-wrap: balance; margin-bottom: var(--space-2);
}
.wst-hero__kicker {
  font-family: var(--font-display); color: var(--gold-500); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(1.25rem, 2.4vw, 1.875rem); margin: 0 0 var(--space-5);
}
.wst-hero__blurb { color: var(--navy-100); font-size: var(--text-md); max-width: 44ch; margin-bottom: var(--space-6); }
.wst-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }
.wst-btn__arrow { display: inline-block; transition: transform var(--duration-fast) var(--ease-standard); }
.wst-btn:hover .wst-btn__arrow { transform: translateX(4px); }
.wst-hero__meta { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.wst-countdown { display: flex; gap: var(--space-2); }
.wst-countdown__u {
  background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: var(--radius-md);
  padding: 8px 11px; text-align: center; min-width: 52px;
}
.wst-countdown__u b {
  display: block; font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: var(--text-lg);
  line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; font-weight: var(--fw-bold);
}
.wst-countdown__u span { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-300); }
.wst-countdown__label { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-300); max-width: 9ch; line-height: 1.4; }
.wst-hero__price { font-size: var(--text-sm); color: var(--navy-100); text-transform: uppercase; letter-spacing: 0.06em; }
.wst-hero__price strong { color: var(--gold-500); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; }

/* --- Hero product stage --- */
.wst-hero__media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 18%, var(--green-500) 0%, var(--green-700) 52%, var(--green-900) 100%);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.wst-hero__media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1.1px, transparent 1.2px); background-size: 12px 12px;
}
.wst-hero__arc {
  position: absolute; top: var(--space-5); z-index: 2; font-family: var(--font-display);
  letter-spacing: 0.26em; font-size: var(--text-sm); text-transform: uppercase; color: rgba(243, 238, 226, 0.62);
}
.wst-hero__tee { position: relative; z-index: 1; width: 76%; will-change: transform; animation: wst-bob 6s ease-in-out infinite; }
.wst-hero__tee .wst-tee { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.4)); transition: transform 0.25s var(--ease-standard); }
.wst-hero__tee img { width: 100%; height: 100%; object-fit: contain; }
@keyframes wst-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.wst-hero-chip {
  position: absolute; z-index: 3; background: rgba(1, 20, 43, 0.86); border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--paper); font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 11px;
  letter-spacing: 0.04em; padding: 7px 12px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); white-space: nowrap;
}
.wst-hero-chip b { color: var(--gold-500); }
.wst-hero-chip--1 { top: 16%; left: -4%; animation: wst-bob 6s ease-in-out infinite; }
.wst-hero-chip--2 { top: 46%; right: -6%; animation: wst-bob 7s ease-in-out 0.4s infinite; }
.wst-hero-chip--3 { bottom: 12%; left: 6%; animation: wst-bob 6.5s ease-in-out 0.8s infinite; }
.wst-pill-badge {
  position: absolute; top: var(--space-4); right: var(--space-4); left: auto; z-index: 3;
  background: var(--navy-950); color: var(--gold-500); font-family: var(--font-display); font-size: 13px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid rgba(201, 162, 39, 0.4);
}

/* Respect reduced-motion for all the new hero/marquee motion. */
@media (prefers-reduced-motion: reduce) {
  .wst-announcement__track,
  .wst-hero__tee,
  .wst-hero-chip,
  .wst-live i { animation: none !important; }
  .wst-hero__tee .wst-tee,
  .wst-btn__arrow { transition: none !important; }
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.wst-section { padding: var(--space-8) 0; }
.wst-section__head { text-align: center; margin-bottom: var(--space-7); }
.wst-section__head .wst-eyebrow { justify-content: center; }
.wst-section__title {
  font-size: var(--text-2xl); font-weight: var(--fw-black); text-transform: uppercase;
  letter-spacing: var(--tracking-display); display: inline-flex; align-items: center; gap: var(--space-5);
}
.wst-section__title img { height: 14px; width: auto; }
.wst-section__title img.is-flip { transform: scaleX(-1); }
.wst-section__head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; }
.wst-section__head--row .wst-eyebrow { justify-content: flex-start; }

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */
.wst-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.wst-cat-tile {
  position: relative; background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-lg);
  min-height: 150px; padding: var(--space-5); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.wst-cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wst-cat-tile__dot { position: absolute; top: var(--space-5); right: var(--space-5); width: 34px; height: 34px; border-radius: var(--radius-circle); }
.wst-cat-tile__name { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 22px; text-transform: uppercase; color: var(--navy-900); line-height: 1.1; }
.wst-cat-tile__count { font-size: 13px; color: var(--slate-500); margin-top: var(--space-1); }

/* ==========================================================================
   PRODUCT GRID + TILE
   ========================================================================== */
.wst-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); list-style: none; }
.wst-product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wst-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
  display: flex; flex-direction: column;
}
.wst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wst-card__media { position: relative; aspect-ratio: 4 / 5; display: block; background: var(--cream); overflow: hidden; }
.wst-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wst-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: flex-end; padding: var(--space-3);
  background-color: var(--cream);
  background-image: repeating-linear-gradient(-45deg, var(--sand) 0, var(--sand) 1px, transparent 1px, transparent 12px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--slate-500);
}
.wst-card__placeholder--tee {
  align-items: center; justify-content: center; padding: var(--space-5);
  transition: transform var(--duration-base) var(--ease-standard);
}
.wst-card__placeholder--tee .wst-tee { width: 72%; height: auto; }
.wst-card:hover .wst-card__placeholder--tee { transform: scale(1.05) rotate(-1deg); }
.wst-badge {
  position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2;
  font-size: 11px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); padding: 4px 10px; border-radius: var(--radius-pill);
}
.wst-badge--green { background: var(--green-700); }
.wst-badge--brick { background: var(--brick-500); }
.wst-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.wst-card__name { font-size: 16px; font-weight: var(--fw-bold); color: var(--navy-900); line-height: 1.25; }
.wst-card__name a { color: inherit; }
.wst-card__name a:hover { color: var(--green-700); }
.wst-swatches { display: flex; gap: 6px; }
.wst-swatches .dot { width: 15px; height: 15px; border-radius: var(--radius-circle); border: 1px solid rgba(0,0,0,0.12); }
.wst-price { display: flex; align-items: baseline; gap: var(--space-2); }
.wst-price .amount, .wst-price ins { font-size: 18px; font-weight: var(--fw-bold); color: var(--navy-900); text-decoration: none; }
.wst-price del { font-size: 14px; color: var(--slate-500); }
.wst-card__body .wst-btn { margin-top: auto; }

/* ==========================================================================
   SHOP ARCHIVE
   ========================================================================== */
.wst-shop-head { padding: var(--space-8) 0 var(--space-5); }
.wst-shop-head h1 { font-size: var(--text-3xl); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); margin: 0; }
.wst-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.wst-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.wst-chip {
  display: inline-block; font-size: 13px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--sand);
  background: transparent; color: var(--navy-900);
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.wst-chip:hover { border-color: var(--navy-500); color: var(--navy-900); }
.wst-chip.is-active { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.wst-result-count { font-size: 13px; color: var(--slate-500); }

/* ==========================================================================
   PRODUCT DETAIL (PDP)
   ========================================================================== */
.wst-breadcrumb { padding: var(--space-5) 0 0; font-size: 13px; color: var(--slate-500); }
.wst-breadcrumb a { color: var(--slate-500); }
.wst-breadcrumb a:hover { color: var(--green-700); }
.wst-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: flex-start; padding: var(--space-5) 0 var(--space-8); }
.wst-pdp__gallery { position: relative; }
.wst-pdp__main { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); border: 1px solid var(--sand); overflow: hidden; background: var(--cream); }
.wst-pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.wst-pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-3); }
.wst-pdp__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer; }
.wst-pdp__thumbs img.is-active { border-color: var(--navy-900); }
.wst-pdp__eyebrow { color: var(--green-700); font-size: var(--text-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--tracking-label); }
.wst-pdp h1 { font-size: var(--text-3xl); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.05; margin: var(--space-2) 0 var(--space-4); }
.wst-pdp__rating { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--slate-500); margin-bottom: var(--space-4); }
.wst-stars { color: var(--gold-500); letter-spacing: 1px; }
.wst-pdp__price { font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-black); color: var(--navy-900); margin-bottom: var(--space-4); display: flex; align-items: baseline; gap: var(--space-3); }
.wst-pdp__price del { font-size: 18px; font-weight: var(--fw-book); color: var(--slate-500); }
.wst-pdp__desc { color: var(--slate-700); max-width: 52ch; margin-bottom: var(--space-5); }
.wst-option { margin-bottom: var(--space-5); }
.wst-option__label { font-size: var(--text-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy-900); margin-bottom: var(--space-3); display: flex; justify-content: space-between; }
.wst-option__label a { font-size: 13px; font-weight: var(--fw-medium); text-transform: none; letter-spacing: 0; }
.wst-swatch-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.wst-swatch {
  width: 34px; height: 34px; border-radius: var(--radius-circle); border: 1px solid rgba(0,0,0,0.12); cursor: pointer; padding: 0;
  transition: box-shadow var(--duration-fast) var(--ease-standard);
}
.wst-swatch.is-selected { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--navy-900); }
.wst-swatch:disabled { opacity: 0.3; cursor: not-allowed; position: relative; }
.wst-swatch:disabled::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-circle); background: linear-gradient(to top left, transparent 45%, rgba(0,0,0,0.35) 47%, rgba(0,0,0,0.35) 53%, transparent 55%); }
.wst-size-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.wst-size {
  min-width: 52px; height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md);
  border: 2px solid var(--sand); background: transparent; color: var(--navy-900);
  font-weight: var(--fw-bold); font-size: var(--text-sm); cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
}
.wst-size:hover { border-color: var(--navy-500); }
.wst-size.is-selected { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.wst-size:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.wst-buy-row { display: flex; gap: var(--space-4); align-items: stretch; margin-bottom: var(--space-6); }
.wst-qty { display: inline-flex; align-items: center; border: 2px solid var(--navy-900); border-radius: var(--radius-md); height: 52px; overflow: hidden; }
.wst-qty button { width: 44px; height: 100%; border: none; background: transparent; font-size: 20px; font-weight: var(--fw-bold); color: var(--navy-900); }
.wst-qty button:hover { background: var(--cream); }
.wst-qty input { width: 44px; height: 100%; border: none; text-align: center; font-size: 16px; font-weight: var(--fw-bold); color: var(--navy-900); background: transparent; -moz-appearance: textfield; }
.wst-qty input::-webkit-outer-spin-button, .wst-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wst-buy-row .wst-btn { flex: 1; height: 52px; }
.wst-details { list-style: none; display: grid; gap: var(--space-3); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.wst-details li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--slate-700); }
.wst-details li::before { content: "\2713"; color: var(--green-700); font-weight: var(--fw-bold); }
.wst-related { padding: var(--space-7) 0 var(--space-8); }
.wst-related h2 { font-size: var(--text-xl); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); border-bottom: 2px solid var(--sand); padding-bottom: var(--space-4); margin-bottom: var(--space-6); }

/* ==========================================================================
   CART
   ========================================================================== */
.wst-cart-wrap { max-width: 1080px; margin: 0 auto; padding: var(--space-8) var(--container-pad); }
.wst-cart-wrap h1 { font-size: var(--text-3xl); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); margin-bottom: var(--space-6); }
.wst-cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-7); align-items: flex-start; }
.wst-cart-items { display: flex; flex-direction: column; gap: var(--space-4); }
.wst-cart-item {
  position: relative; display: flex; gap: var(--space-4); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4);
}
.wst-cart-item__thumb { position: relative; width: 92px; flex-shrink: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--cream); }
.wst-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wst-cart-item__dot { position: absolute; bottom: 6px; left: 6px; width: 14px; height: 14px; border-radius: var(--radius-circle); border: 1px solid rgba(255,255,255,0.7); }
.wst-cart-item__info { flex: 1; display: flex; flex-direction: column; }
.wst-cart-item__name { font-size: 16px; font-weight: var(--fw-bold); color: var(--navy-900); }
.wst-cart-item__meta { font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.wst-cart-item__bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-3); }
.wst-cart-item__total { font-size: 16px; font-weight: var(--fw-bold); color: var(--navy-900); }
.wst-cart-item__remove { position: absolute; top: var(--space-3); right: var(--space-4); border: none; background: transparent; color: var(--slate-500); font-size: 20px; line-height: 1; }
.wst-cart-item__remove:hover { color: var(--brick-500); }
.wst-qty--sand { border-color: var(--sand); height: 40px; }
.wst-qty--sand button { color: var(--navy-900); }
.wst-keep-shopping { display: inline-block; margin-top: var(--space-5); font-size: var(--text-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy-900); }
.wst-keep-shopping:hover { color: var(--green-700); }
.wst-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5); position: sticky; top: 96px; }
.wst-summary h2 { font-size: var(--text-lg); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); margin-bottom: var(--space-5); }
.wst-summary__row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-2) 0; font-size: var(--text-sm); color: var(--slate-700); }
.wst-summary__row .value { font-weight: var(--fw-bold); color: var(--navy-900); }
.wst-summary__row .value.is-free { color: var(--green-700); }
.wst-ship-hint { background: var(--green-50); color: var(--green-800); font-size: 12.5px; font-weight: var(--fw-medium); padding: 8px 12px; border-radius: var(--radius-md); margin: var(--space-3) 0; text-align: center; }
.wst-summary__divider { border: none; border-top: 1px solid var(--line); margin: var(--space-4) 0; }
.wst-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-5); }
.wst-summary__total .label { font-size: var(--text-base); font-weight: var(--fw-bold); text-transform: uppercase; color: var(--navy-900); }
.wst-summary__total .amount { font-family: var(--font-display); font-size: 24px; font-weight: var(--fw-black); color: var(--navy-900); }
.wst-trust { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: 12.5px; color: var(--slate-500); margin-top: var(--space-4); }
.wst-cart-empty { background: var(--cream); border: 2px dashed var(--sand); border-radius: var(--radius-lg); padding: var(--space-8); text-align: center; max-width: 560px; margin: 0 auto; }
.wst-cart-empty h2 { font-size: var(--text-xl); font-weight: var(--fw-black); text-transform: uppercase; }
.wst-cart-empty p { color: var(--slate-700); margin-bottom: var(--space-5); }
.wc-proceed-to-checkout { margin-top: var(--space-2); }
.wst-summary .checkout-button, .wst-summary a.checkout-button {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 52px;
	background: var(--navy-900); color: var(--paper); border: 2px solid var(--navy-900); border-radius: var(--radius-md);
	font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em;
	transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.wst-summary .checkout-button:hover { background: var(--navy-800); color: var(--paper); }
.wst-summary .checkout-button:active { transform: translateY(1px); }

/* --- Cart & Checkout BLOCKS ---------------------------------------------
   The Cart and Checkout pages render as WooCommerce *blocks*, not the classic
   shortcode, so woocommerce/cart/*.php above is bypassed entirely and the
   .wst-summary rules never match. The block buttons instead inherit WordPress
   global styles — `:root :where(.wp-element-button)`, background #32373c —
   which is only (0,1,0) specificity, so a single extra class clears it.
   NOTE: <body> carries .wst-theme here but NOT .woocommerce (checkout uses
   .woocommerce-checkout), so don't compound .woocommerce like the PDP rules do.
   Proceed to Checkout stays navy (the intent of the classic rule above);
   Place Order takes the green accent as the final conversion step. */
/* The doubled `.wc-block-components-button` + `body` prefix is load-bearing, not
   defensive habit: Woo Blocks sets `min-height: 3em` via
   `body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(…)`,
   which outweighs a plain `.wst-theme .wc-block-…` pairing and pins the button
   at 42px. (0,3,1) is the first rung that carries the height. */
body.wst-theme .wc-block-components-button.wc-block-cart__submit-button,
body.wst-theme .wc-block-components-button.wc-block-components-checkout-place-order-button {
	min-height: 52px; border-radius: var(--radius-md); border: 2px solid transparent;
	font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-sm);
	text-transform: uppercase; letter-spacing: 0.04em; color: var(--paper);
	transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
body.wst-theme .wc-block-components-button.wc-block-cart__submit-button { background: var(--navy-900); border-color: var(--navy-900); }
body.wst-theme .wc-block-components-button.wc-block-cart__submit-button:hover { background: var(--navy-800); border-color: var(--navy-800); }
body.wst-theme .wc-block-components-button.wc-block-components-checkout-place-order-button { background: var(--green-700); border-color: var(--green-700); }
body.wst-theme .wc-block-components-button.wc-block-components-checkout-place-order-button:hover { background: var(--green-600); border-color: var(--green-600); }
body.wst-theme .wc-block-components-button.wc-block-cart__submit-button:active,
body.wst-theme .wc-block-components-button.wc-block-components-checkout-place-order-button:active { transform: translateY(1px); }
body.wst-theme .wc-block-components-button.wc-block-cart__submit-button:disabled,
body.wst-theme .wc-block-components-button.wc-block-components-checkout-place-order-button:disabled {
	background: var(--sand); border-color: var(--sand); color: var(--slate-700); cursor: not-allowed; transform: none;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.wst-newsletter { position: relative; background: var(--navy-900); border-radius: var(--radius-xl); padding: var(--space-8) var(--space-7); text-align: center; overflow: hidden; }
.wst-newsletter::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, var(--paper) 0, var(--paper) 1px, transparent 1px, transparent 14px);
}
.wst-newsletter > * { position: relative; }
.wst-newsletter h2 { color: var(--paper); font-size: var(--text-2xl); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: var(--tracking-display); margin-bottom: var(--space-3); }
.wst-newsletter p { color: var(--navy-100); max-width: 46ch; margin: 0 auto var(--space-6); }
.wst-newsletter__form { display: flex; gap: var(--space-3); width: 100%; max-width: 520px; margin: 0 auto; }
.wst-newsletter__form input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--navy-700); background: var(--navy-800); color: var(--paper); font-size: var(--text-base);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.wst-newsletter__form input[type="email"]::placeholder { color: var(--navy-300); }
.wst-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--green-500); box-shadow: var(--shadow-focus); }
.wst-newsletter__form .wst-btn { flex: 0 0 auto; height: 52px; white-space: nowrap; }
.wst-newsletter__success { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--green-700); color: var(--white); font-weight: var(--fw-bold); padding: 14px 22px; border-radius: var(--radius-pill); margin-top: var(--space-2); }
/* Ensure the [hidden] attribute wins over the display rule above. */
.wst-newsletter__success[hidden] { display: none; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.wst-toast {
  position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy-900); color: var(--paper); font-weight: var(--fw-medium); font-size: var(--text-sm);
  padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--space-2); opacity: 0; pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard); z-index: 1000;
}
.wst-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.wst-toast__check { color: var(--green-300); font-weight: var(--fw-bold); }

/* ==========================================================================
   GENERIC PAGE / POSTS
   ========================================================================== */
.wst-page { max-width: 800px; margin: 0 auto; padding: var(--space-8) var(--container-pad); }
.wst-page h1 { font-size: var(--text-2xl); font-weight: var(--fw-black); text-transform: uppercase; }
.wst-content-narrow { max-width: 800px; margin: 0 auto; padding: var(--space-8) var(--container-pad); }

/* ==========================================================================
   WOOCOMMERCE NOTICES (restyled)
   ========================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-5);
  font-size: var(--text-sm); border: 1px solid;
}
.woocommerce-message { background: var(--green-50); border-color: var(--green-300); color: var(--green-800); }
.woocommerce-info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-800); }
.woocommerce-error { background: var(--color-error-bg); border-color: var(--brick-500); color: var(--brick-500); }
/* Woo pins an icon-font glyph at `position:absolute; left:1.5em` and reserves
   room for it with `padding-left:3.5em`. The padding above is a flat
   var(--space-4) (16px), so the glyph (left:21px) landed ON the first word.
   These notices are fully restyled and don't use Woo's icon language, so drop
   the glyph rather than pad around it. ::after (the clearfix) is left alone. */
.wst-theme .woocommerce-message::before,
.wst-theme .woocommerce-info::before,
.wst-theme .woocommerce-error::before { content: none; }

/* ==========================================================================
   WOOCOMMERCE NATIVE FORM STYLING (PDP add-to-cart, gallery, related)
   ========================================================================== */
/* Gallery */
.wst-pdp__gallery .woocommerce-product-gallery { position: relative; }
/* WooCommerce's woocommerce-layout.css applies `float: left; width: 48%` to
   div.images to build its own two-column PDP. The gallery div carries that
   `images` class, so the 48% lands INSIDE .wst-pdp's already-halved grid
   column and halves it again (544px x 0.48 = 261px). .wst-pdp owns the
   column split, so cancel Woo's. Selector is deliberately heavier than
   `.woocommerce div.product div.images` (0,3,2) — source order alone
   doesn't beat it. */
.woocommerce div.product .wst-pdp .woocommerce-product-gallery { float: none; width: 100%; }
.wst-pdp__gallery .woocommerce-product-gallery__image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sand); }
.wst-pdp__gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.wst-pdp__gallery .flex-control-thumbs li { margin: 0; }
.wst-pdp__gallery .flex-control-thumbs img { border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer; opacity: 0.85; }
.wst-pdp__gallery .flex-control-thumbs img.flex-active, .wst-pdp__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--navy-900); }

/* Native <select>s are swapped for swatch/size buttons by JS and hidden. If JS
   is disabled they remain visible (styled below) so the page still works. */
.wst-visually-hidden-select {
  position: absolute !important; width: 1px !important; height: 1px !important;
  /* min-width beats width, so Woo's `.variations select { min-width: 75% }`
     kept these hidden selects ~768px wide and scrolled the whole page
     sideways at tablet widths. Clamp both axes or width:1px does nothing. */
  min-width: 0 !important; max-width: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}
.wst-swatch-row, .wst-size-row { margin-top: var(--space-2); }

/* Variation selectors (rendered by native form; styled to echo the design) */
.wst-theme .variations { border: none; margin: 0 0 var(--space-5); width: 100%; }
.wst-theme .variations tr { display: block; margin-bottom: var(--space-4); }
.wst-theme .variations th, .wst-theme .variations td { display: block; text-align: left; padding: 0; }
.wst-theme .variations th.label label {
	font-size: var(--text-sm); font-weight: var(--fw-bold); text-transform: uppercase;
	letter-spacing: 0.04em; color: var(--navy-900); margin-bottom: var(--space-2); display: inline-block;
}
.wst-theme .variations select {
	width: 100%; max-width: 320px; height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-md);
	border: 2px solid var(--sand); background: var(--white); color: var(--navy-900); font-weight: var(--fw-medium); font-size: var(--text-sm);
}
.wst-theme .reset_variations { display: inline-block; margin-top: var(--space-2); font-size: 13px; color: var(--slate-500); }
.wst-theme .woocommerce-variation-price { margin-bottom: var(--space-4); }
.wst-theme .woocommerce-variation-price .price { font-family: var(--font-display); font-size: 24px; font-weight: var(--fw-black); color: var(--navy-900); }

/* Add-to-cart row: quantity stepper + button */
.wst-theme form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-4); margin-bottom: var(--space-6); }
.wst-theme form.cart .quantity { display: inline-flex; align-items: center; border: 2px solid var(--navy-900); border-radius: var(--radius-md); height: 52px; overflow: hidden; }
.wst-theme form.cart .quantity input.qty {
	width: 56px; height: 100%; border: none; text-align: center; font-size: 16px; font-weight: var(--fw-bold);
	color: var(--navy-900); background: transparent; -moz-appearance: textfield;
}
.wst-theme form.cart .quantity input.qty::-webkit-outer-spin-button,
.wst-theme form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wst-theme form.cart .wst-qty-btn { width: 44px; height: 52px; border: none; background: transparent; font-size: 20px; font-weight: var(--fw-bold); color: var(--navy-900); }
.wst-theme form.cart .wst-qty-btn:hover { background: var(--cream); }
.wst-theme form.cart .single_add_to_cart_button {
	flex: 1; min-width: 220px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--green-700); color: var(--white); border: 2px solid var(--green-700); border-radius: var(--radius-md);
	font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em;
	cursor: pointer; transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.wst-theme form.cart .single_add_to_cart_button:hover { background: var(--green-600); border-color: var(--green-600); }
.wst-theme form.cart .single_add_to_cart_button:active { transform: translateY(1px); }
/* Disabled add-to-cart. Variable products render this state until a size is
   chosen, so it's the FIRST thing a shopper sees — it can't be Woo's default.
   Two things to beat in woocommerce.css: `.button.alt.disabled` keeps the Woo
   purple (#7f54b3) plus a blanket opacity:0.5, and `.button.alt.disabled:hover`
   is (0,5,1) — heavier than the theme's own :hover (0,4,1), which is why
   hovering gave a purple fill with a green border. Compounding the two body
   classes (.woocommerce.wst-theme, both present on <body>) clears that weight.
   opacity is reset to 1 because the muted tokens below do the work; stacking
   0.5 on top of them just makes the label mushy. */
.woocommerce.wst-theme form.cart .single_add_to_cart_button.disabled,
.woocommerce.wst-theme form.cart .single_add_to_cart_button:disabled,
.woocommerce.wst-theme form.cart .single_add_to_cart_button.disabled:hover,
.woocommerce.wst-theme form.cart .single_add_to_cart_button:disabled:hover,
.woocommerce.wst-theme form.cart .single_add_to_cart_button.disabled:focus,
.woocommerce.wst-theme form.cart .single_add_to_cart_button.disabled:active {
	background: var(--sand); border-color: var(--sand); color: var(--slate-700);
	opacity: 1; cursor: not-allowed; transform: none;
}
.wst-theme .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-4); width: 100%; }

/* Product tabs / reviews */
.wst-pdp-tabs { padding: var(--space-7) 0; }
.wst-pdp-tabs .woocommerce-Tabs-panel h2 { font-size: var(--text-xl); font-weight: var(--fw-black); text-transform: uppercase; }
.wst-pdp-tabs .wc-tabs { display: flex; gap: var(--space-5); list-style: none; border-bottom: 2px solid var(--sand); margin-bottom: var(--space-5); padding: 0; }
.wst-pdp-tabs .wc-tabs li { list-style: none; }
.wst-pdp-tabs .wc-tabs li a { font-weight: var(--fw-bold); text-transform: uppercase; font-size: var(--text-sm); letter-spacing: 0.04em; color: var(--slate-500); padding-bottom: var(--space-3); display: inline-block; }
.wst-pdp-tabs .wc-tabs li.active a { color: var(--navy-900); border-bottom: 2px solid var(--navy-900); }

/* Related products grid (uses content-product tiles) */
.wst-related ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.wst-related ul.products::before, .wst-related ul.products::after { display: none; }
/* Related is the one place Woo's own `ul.products` markup survives (the shop
   archive uses .wst-product-grid instead), so woocommerce-layout.css still
   applies its float grid here: `width:22.05%`, overridden to `30.75%` by
   `ul.products.columns-3` (0,4,2). That lands INSIDE the grid cell above and
   shrinks it again — 368px x 0.3075 = 113px. Grid owns the columns; the
   3.8% right margin has to go too or it dents the gap. */
.wst-theme .wst-related ul.products li.product.wst-card { float: none; width: auto; margin: 0; }

/* Stock / meta */
.wst-theme .stock { font-size: 13px; color: var(--slate-500); margin-bottom: var(--space-3); }
.wst-theme .product_meta { font-size: 13px; color: var(--slate-500); margin-top: var(--space-4); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .wst-product-grid { grid-template-columns: repeat(3, 1fr); }
  .wst-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .wst-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wst-menu-toggle { display: inline-flex; }
  /* Mobile nav = panel anchored to the bottom of the header (works regardless
     of the announcement bar height or scroll position). */
  .wst-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--sand);
    padding: var(--space-4) var(--container-pad);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 74px); overflow-y: auto;
    display: none; z-index: 90;
  }
  .wst-nav.is-open { display: block; }
  .wst-nav ul { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .wst-nav a { display: block; padding: var(--space-1) 0; font-size: 15px; }
  .wst-hero__inner { grid-template-columns: 1fr; }
  .wst-hero__media { order: -1; }
  .wst-pdp { grid-template-columns: 1fr; }
  .wst-cart-layout { grid-template-columns: 1fr; }
  .wst-summary { position: static; }
  .wst-product-grid, .wst-product-grid.cols-3, .wst-related ul.products { grid-template-columns: repeat(2, 1fr); }
  .wst-section__head--row { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .wst-newsletter { padding: var(--space-7) var(--space-5); }
  .wst-newsletter__form { flex-direction: column; max-width: 360px; }
  .wst-newsletter__form .wst-btn { width: 100%; }
  .wst-newsletter__success { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .wst-product-grid, .wst-product-grid.cols-3, .wst-cat-grid, .wst-related ul.products { grid-template-columns: 1fr; }
  .wst-footer__top { grid-template-columns: 1fr; }
}
