/* Whole Melts Officials — theme styles
   Dark canopy with shiny green brand. Server-rendered. */

:root {
  --bg: #04100a;
  --bg-2: #07180f;
  --panel: rgba(8, 28, 18, 0.86);
  --panel-2: rgba(12, 40, 26, 0.78);
  --border: rgba(34, 220, 120, 0.30);
  --text: #eafff1;
  --muted: #86c79e;
  /* Shiny green primary system (replaces former gold tokens) */
  --gold: #22e57a;            /* legacy alias kept for back-compat */
  --gold-light: #a8ffce;
  --gold-dark: #0a8a3a;
  --brand: #22e57a;
  --brand-foreground: #04140a;
  --brand-2: #0bbf4e;
  --brand-deep: #066b30;
  /* Complementary accents that pair with shiny green */
  --accent-cyan: #4ad6c5;     /* teal */
  --accent-lime: #c9ff5d;     /* sharp lime */
  --accent-amber: #e8ffd6;    /* off-white minty highlight */
  --accent-ink: #08221a;      /* deep ink for contrast surfaces */
  --shadow-brand: 0 0 0 1px rgba(34, 229, 122, 0.45),
                  0 18px 50px -18px rgba(34, 229, 122, 0.55),
                  0 0 60px -10px rgba(168, 255, 206, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.wm-body {
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(22, 255, 107, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(118, 255, 165, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 95%, rgba(11, 191, 78, 0.22), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

/* On checkout/cart, drop the heavy fixed background to keep typing snappy. */
body.woocommerce-checkout,
body.woocommerce-cart {
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { color: var(--text); margin: 0 0 0.6em; line-height: 1.2; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); line-height: 1.7; margin: 0 0 1em; }

.wm-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.wm-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(22, 255, 107, 0.5);
  margin-bottom: 0.6em;
}

/* Aurora background accent */
.wm-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 30% 25% at 20% 30%, rgba(22, 255, 107, 0.18), transparent 60%),
    radial-gradient(ellipse 35% 30% at 80% 70%, rgba(118, 255, 165, 0.14), transparent 60%);
  mix-blend-mode: screen;
}

/* Topbar */
.wm-topbar {
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.wm-topbar__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px; font-size: 0.85rem; color: var(--muted);
}

/* Header */
.wm-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.wm-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; gap: 16px;
}
.wm-logo { display: flex; align-items: center; gap: 12px; }
.wm-logo__mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-brand);
}
.wm-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.wm-logo__eyebrow { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.wm-logo__name { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.08em; }

.wm-nav { display: flex; gap: 8px; align-items: center; }
.wm-nav a { padding: 8px 12px; font-size: 0.92rem; color: var(--text); border-radius: 6px; }
.wm-nav a:hover { background: var(--panel); color: var(--brand); }

.wm-nav__dropdown { position: relative; }
.wm-nav__menu {
  position: absolute; top: 100%; left: 0; margin-top: 6px;
  background: var(--panel); border: 1px solid var(--border);
  padding: 8px; border-radius: 8px; min-width: 240px;
  display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  z-index: 100;
}
.wm-nav__dropdown:hover .wm-nav__menu,
.wm-nav__dropdown:focus-within .wm-nav__menu { display: flex; }

.wm-header__cta { display: flex; gap: 8px; align-items: center; }

.wm-mobile-toggle {
  display: none; background: var(--panel); border: 1px solid var(--border);
  color: var(--text); padding: 8px 12px; border-radius: 6px; font-size: 1.2rem; cursor: pointer;
}
.wm-mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 12px 24px;
  background: var(--panel); border-bottom: 1px solid var(--border);
}
.wm-mobile-menu a { padding: 10px 12px; border-radius: 6px; }
.wm-mobile-menu a:hover { background: var(--panel-2); }

@media (max-width: 980px) {
  .wm-nav, .wm-header__cta { display: none; }
  .wm-mobile-toggle { display: inline-flex; }
  .wm-mobile-menu.is-open { display: flex; }
}

/* Buttons */
.wm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s;
}
.wm-btn--brand {
  background: linear-gradient(135deg, var(--gold-light), var(--brand), var(--gold-dark));
  color: var(--brand-foreground);
  box-shadow: var(--shadow-brand);
}
.wm-btn--brand:hover { transform: translateY(-1px); color: var(--brand-foreground); filter: brightness(1.05); }
.wm-btn--ghost {
  background: var(--panel); color: var(--text);
  border-color: var(--border);
}
.wm-btn--ghost:hover { background: var(--panel-2); color: var(--text); }
.wm-cart-count {
  display: inline-block; min-width: 22px; padding: 2px 6px; margin-left: 8px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 0.75rem; font-weight: 700; text-align: center;
}

/* Sections */
.wm-main { position: relative; z-index: 1; }
.wm-section { padding: 56px 0; position: relative; z-index: 1; }
.wm-section--alt { background: var(--bg-2); }

/* Hero */
.wm-hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(22, 255, 107, 0.22), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(118, 255, 165, 0.14), transparent 60%),
    var(--bg);
}
.wm-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(135deg, #b6ffce, #16ff6b, #0a8a3a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.wm-hero__lead { max-width: 720px; font-size: 1.1rem; }
.wm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Category grid */
.wm-cat-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px;
}
.wm-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 24px;
}
.wm-cat-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--border);
  transition: all 0.2s; color: var(--text);
}
.wm-cat-card:hover {
  background: var(--panel-2); border-color: var(--brand);
  transform: translateY(-2px); color: var(--text);
}
.wm-cat-card__title { font-weight: 600; }
.wm-cat-card__cta { color: var(--brand); font-size: 0.9rem; font-weight: 600; }

/* Rich (image + description + count) variant for /product-categories/ */
.wm-cat-grid--rich {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.wm-cat-card--rich {
  flex-direction: column; align-items: stretch; padding: 0; overflow: hidden;
}
.wm-cat-card__media {
  aspect-ratio: 16 / 10; width: 100%;
  background: linear-gradient(135deg, rgba(217,70,239,0.18), rgba(34,211,238,0.14));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.wm-cat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-cat-card__monogram {
  font-size: 3rem; font-weight: 700; color: var(--brand);
  text-shadow: 0 0 24px rgba(217,70,239,0.45);
}
.wm-cat-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.wm-cat-card__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.wm-cat-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 8px;
}
.wm-cat-card__count {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(118, 255, 165, 0.1); padding: 4px 10px; border-radius: 999px;
}
.wm-cat-card__count--empty { color: var(--muted); background: var(--panel-2); }

/* Trust grid */
.wm-trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.wm-trust-grid > div {
  padding: 24px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 12px;
}

/* Product grid (used by WooCommerce) */
.wm-product-grid,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; padding: 0; margin: 24px 0 0; list-style: none;
}
.woocommerce ul.products li.product {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  transition: all 0.2s;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--brand); transform: translateY(-2px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem !important; color: var(--text); margin: 12px 0 8px !important;
}
.woocommerce ul.products li.product .price {
  color: var(--brand) !important; font-weight: 700;
}
.woocommerce ul.products li.product img {
  border-radius: 8px; margin-bottom: 0;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page button.button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: var(--shadow-brand);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { transform: translateY(-1px); color: #fff !important; }

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
}

/* Single product */
.woocommerce div.product .product_title { color: var(--text); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--brand) !important; font-size: 1.6rem !important; font-weight: 700; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--panel) !important;
  border-color: var(--border) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--text) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--panel-2) !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: transparent; color: var(--muted); }

/* Cart & checkout tables */
.woocommerce table.shop_table,
.woocommerce-checkout #order_review {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { color: var(--text) !important; border-color: var(--border) !important; }
.woocommerce table.shop_table tbody td a { color: var(--text); }
.woocommerce-checkout #payment { background: var(--panel) !important; border-radius: 12px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--border) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--panel-2) !important; color: var(--muted) !important; }
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--panel-2) !important;
}

/* Form fields — server-rendered, snappy on mobile */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wm-prose input, .wm-prose textarea, .wm-prose select {
  background: rgba(20, 16, 8, 0.92) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 1rem !important;
  width: 100%;
}
.woocommerce form .form-row label,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
.woocommerce h2, .woocommerce h3 { color: var(--text) !important; }
.woocommerce-form-coupon-toggle, .woocommerce-info, .woocommerce-message {
  background: var(--panel) !important; color: var(--text) !important;
  border-top: 3px solid var(--brand) !important;
}
.woocommerce-error {
  background: rgba(220, 38, 38, 0.18) !important;
  color: #fecaca !important;
  border-top: 3px solid #ef4444 !important;
}

/* Prose pages (about, faqs etc) */
.wm-prose { max-width: 820px; }
.wm-prose h1 { font-size: 2.4rem; margin-bottom: 0.4em; }
.wm-prose h2 { font-size: 1.6rem; margin-top: 2em; }
.wm-prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.wm-prose p, .wm-prose li { color: var(--muted); line-height: 1.8; }
.wm-prose a { color: var(--accent-cyan); text-decoration: underline; }
.wm-prose ul { padding-left: 1.2em; }

/* FAQ */
.wm-faq { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); margin-bottom: 12px; }
.wm-faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.wm-faq summary::-webkit-details-marker { display: none; }
.wm-faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; }
.wm-faq[open] summary::after { content: "−"; }
.wm-faq__body { padding: 0 20px 18px; color: var(--muted); line-height: 1.7; }

/* Footer */
.wm-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 56px; margin-top: 64px; position: relative; z-index: 1; }
.wm-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.wm-footer__about h2 { font-size: 1.3rem; margin: 8px 0 12px; }
.wm-footer h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 14px; }
.wm-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wm-footer ul a { color: var(--muted); font-size: 0.9rem; }
.wm-footer ul a:hover { color: var(--brand); }
.wm-footer__bottom { border-top: 1px solid var(--border); margin-top: 40px; padding: 18px 0; font-size: 0.8rem; color: var(--muted); }
.wm-footer__bottom .wm-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 880px) {
  .wm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .wm-footer__grid { grid-template-columns: 1fr; }
  .wm-topbar__email { display: none; }
}

/* Order on-hold instructions block */
.woocommerce-order-instructions {
  margin-top: 24px; padding: 20px; background: var(--panel);
  border: 1px solid var(--brand); border-radius: 12px;
}
.woocommerce-order-instructions h2 { color: var(--brand); margin-top: 0; }

/* ===== Manual payment picker (checkout) ================================= */
.wm-manual-desc { color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.wm-pay-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.wm-pay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 86px;
}
.wm-pay-card:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.wm-pay-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.wm-pay-card-icon { font-size: 22px; line-height: 1; }
.wm-pay-card-label { font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.wm-pay-card.is-selected,
.wm-pay-card:has(input:checked) {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(22, 255, 107, 0.18), rgba(11, 191, 78, 0.10));
  box-shadow: var(--shadow-brand);
}
.wm-pay-card.is-selected::after,
.wm-pay-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 6px; right: 8px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
}
.wm-order-instructions-foot { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ===== v4 — custom shop + checkout + category previews ================== */

.wm-shop__title { margin-bottom: 6px; }
.wm-shop__intro { max-width: 720px; margin-bottom: 18px; }
.wm-shop__count { color: var(--muted); font-size: 0.85rem; margin: 8px 0 18px; }

/* Toolbar (search + sort) */
.wm-shop-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin: 8px 0 14px;
}
.wm-shop-search { display: flex; gap: 8px; flex: 1 1 280px; }
.wm-shop-search input[type="search"] {
  flex: 1; min-width: 200px;
  background: rgba(20, 16, 8, 0.92); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 10px 12px; font-size: 0.95rem;
}
.wm-shop-sort {
  display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.85rem;
}
.wm-shop-sort select {
  background: rgba(20, 16, 8, 0.92); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 8px 10px; font-size: 0.9rem;
}

/* Pills */
.wm-shop-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.wm-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text); padding: 6px 12px; border-radius: 999px;
  font-size: 0.85rem; transition: all 0.15s;
}
.wm-pill:hover { border-color: var(--brand); color: var(--text); }
.wm-pill.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent; color: #fff;
}
.wm-pill small { opacity: 0.75; font-size: 0.78rem; }

/* Card grid */
.wm-shop-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 8px;
}
.wm-shop-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.wm-shop-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-brand); }
.wm-shop-card__media { position: relative; display: block; aspect-ratio: 1/1; background: var(--bg-2); }
.wm-shop-card__media img,
.wm-shop-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-shop-card__img--empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem;
}
.wm-shop-card__sale {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.wm-shop-card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.wm-shop-card__cat { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }
.wm-shop-card__cat a { color: var(--muted); }
.wm-shop-card__title { font-size: 1rem; line-height: 1.3; margin: 0; }
.wm-shop-card__title a { color: var(--text); }
.wm-shop-card__title a:hover { color: var(--brand); }
.wm-shop-card__rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.wm-stars {
  display: inline-block; width: 72px; height: 12px;
  background:
    linear-gradient(90deg, var(--accent-amber) var(--r, 0%), rgba(255,255,255,0.15) var(--r, 0%));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='12' viewBox='0 0 72 12'><g fill='black'><polygon points='6,0 7.6,4.2 12,4.2 8.4,7 9.8,11.4 6,8.7 2.2,11.4 3.6,7 0,4.2 4.4,4.2'/><polygon points='20.4,0 22,4.2 26.4,4.2 22.8,7 24.2,11.4 20.4,8.7 16.6,11.4 18,7 14.4,4.2 18.8,4.2'/><polygon points='34.8,0 36.4,4.2 40.8,4.2 37.2,7 38.6,11.4 34.8,8.7 31,11.4 32.4,7 28.8,4.2 33.2,4.2'/><polygon points='49.2,0 50.8,4.2 55.2,4.2 51.6,7 53,11.4 49.2,8.7 45.4,11.4 46.8,7 43.2,4.2 47.6,4.2'/><polygon points='63.6,0 65.2,4.2 69.6,4.2 66,7 67.4,11.4 63.6,8.7 59.8,11.4 61.2,7 57.6,4.2 62,4.2'/></g></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='12' viewBox='0 0 72 12'><g fill='black'><polygon points='6,0 7.6,4.2 12,4.2 8.4,7 9.8,11.4 6,8.7 2.2,11.4 3.6,7 0,4.2 4.4,4.2'/></g></svg>") no-repeat center / contain;
}
.wm-shop-card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px;
}
.wm-shop-card__price { color: var(--brand); font-weight: 700; font-size: 1rem; }
.wm-shop-card__price del { color: var(--muted); font-weight: 400; margin-right: 6px; opacity: 0.7; }
.wm-shop-card__cta { padding: 8px 12px; font-size: 0.82rem; }

/* Empty state */
.wm-shop-empty {
  background: var(--panel); border: 1px dashed var(--border);
  border-radius: 12px; padding: 32px; text-align: center; margin-top: 24px;
}
.wm-shop-empty .wm-btn { margin: 8px 6px 0; }
.wm-admin-notice {
  margin-top: 18px; padding: 14px 16px; text-align: left;
  background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 10px; color: var(--text);
}
.wm-admin-notice ul { margin: 8px 0 0 18px; padding: 0; }
.wm-admin-notice li { color: var(--muted); margin: 4px 0; }

/* Pagination */
.wm-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 24px 0 0; }
.wm-pagination span a, .wm-pagination span span {
  display: inline-flex; min-width: 36px; height: 36px; padding: 0 10px;
  align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 0.9rem; text-decoration: none;
}
.wm-pagination .current {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent; color: #fff;
}

/* ===== Category preview list ============================================ */
.wm-cat-card__title {
  font-weight: 600; color: var(--text); font-size: 1.05rem;
}
.wm-cat-card__title:hover { color: var(--brand); }
.wm-cat-card__preview {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.wm-cat-card__preview li a {
  display: block; background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; text-align: center;
  color: var(--muted); font-size: 0.72rem;
  transition: border-color 0.15s, transform 0.15s;
}
.wm-cat-card__preview li a:hover { border-color: var(--brand); transform: translateY(-1px); color: var(--text); }
.wm-cat-card__preview img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.wm-cat-card__preview-blank {
  display: block; aspect-ratio: 1/1; width: 100%;
  background: linear-gradient(135deg, rgba(217,70,239,0.12), rgba(34,211,238,0.08));
}
.wm-cat-card__preview-name {
  display: block; padding: 6px 6px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Custom checkout =================================================== */
.wm-checkout__grid {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
}
@media (max-width: 980px) {
  .wm-checkout__grid { grid-template-columns: 1fr; }
}
.wm-checkout__main { display: flex; flex-direction: column; gap: 18px; }
.wm-checkout-step {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.wm-checkout-step__head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}
.wm-checkout-step__num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wm-checkout-step__head h2 { margin: 0; font-size: 1.15rem; }
.wm-checkout-step__head p { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.wm-checkout-step__body { padding: 22px; }

/* Form layout — two columns where it makes sense */
.wm-checkout .form-row {
  display: flex; flex-direction: column; margin: 0 0 14px;
}
.wm-checkout .woocommerce-billing-fields__field-wrapper,
.wm-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wm-checkout .form-row-wide,
.wm-checkout #billing_email_field,
.wm-checkout #billing_phone_field,
.wm-checkout #billing_address_1_field,
.wm-checkout #billing_address_2_field,
.wm-checkout #shipping_address_1_field,
.wm-checkout #shipping_address_2_field { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .wm-checkout .woocommerce-billing-fields__field-wrapper,
  .wm-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}
.wm-checkout .form-row label {
  display: block; color: var(--text); font-size: 0.85rem;
  margin-bottom: 6px; font-weight: 500;
}
.wm-checkout .form-row .required { color: var(--brand); margin-left: 2px; }
.wm-checkout .form-row .optional { color: var(--muted); margin-left: 2px; font-size: 0.78rem; }
.wm-checkout .woocommerce-invalid input,
.wm-checkout .woocommerce-invalid select,
.wm-checkout .woocommerce-invalid .select2-selection {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.wm-checkout .woocommerce-invalid label { color: #fecaca !important; }

.wm-toggle-row {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; padding: 10px 14px;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px;
}
.wm-toggle-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

#order_review { margin-top: 6px; }

.wm-checkout__aside { position: sticky; top: 90px; align-self: start; }
.wm-order-mini {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.wm-order-mini h3 { margin-top: 0; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.wm-order-mini p { font-size: 0.9rem; line-height: 1.6; }
.wm-order-mini ul { padding-left: 18px; margin: 8px 0 0; }
.wm-order-mini li { color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.wm-order-mini a { color: var(--accent-cyan); text-decoration: underline; }

/* Tighten WooCommerce's order review table inside the new card */
.wm-checkout #order_review table.shop_table {
  margin: 0; border-radius: 10px;
}
.wm-checkout #order_review .order-total .amount {
  color: var(--brand); font-weight: 700; font-size: 1.1rem;
}
.wm-checkout #payment { margin-top: 16px; padding: 18px; }
.wm-checkout #payment ul.payment_methods { padding: 0; margin: 0 0 12px; }
.wm-checkout #plwm_order {
  width: 100%; padding: 14px 18px !important;
  font-size: 1rem !important; margin-top: 12px;
}

/* ============================================================
   v5 — Custom checkout & label-overlap fixes
   ============================================================ */

/* Kill WooCommerce's float-label / absolute-positioned label rules that
   collide with our column layout and overlap input text. */
.wm-checkout .form-row,
.wm-checkout .wm-field {
  position: relative;
}
.wm-checkout .form-row label,
.wm-checkout .wm-field label,
.woocommerce-page .wm-checkout .form-row label,
.woocommerce form .wm-checkout .form-row label {
  position: static !important;
  transform: none !important;
  pointer-events: auto !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.85rem !important;
  margin: 0 0 6px !important;
  display: block !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
.wm-checkout .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}
.wm-checkout .form-row input,
.wm-checkout .form-row select,
.wm-checkout .form-row textarea,
.wm-checkout .wm-field input,
.wm-checkout .wm-field select,
.wm-checkout .wm-field textarea {
  margin-top: 0 !important;
  min-height: 44px;
  width: 100%;
  background: rgba(20, 16, 8, 0.92) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 1rem !important;
  font-family: inherit;
}
.wm-checkout .wm-field textarea { min-height: 96px; resize: vertical; }
.wm-checkout select { appearance: auto; }

/* ----- Custom checkout layout (page-custom-checkout.php) ----- */
.wm-checkout-page .wm-checkout-notices { margin: 0 0 16px; }
.wm-checkout-page .woocommerce-error,
.wm-checkout-page .woocommerce-message,
.wm-checkout-page .woocommerce-info {
  list-style: none; padding: 12px 16px; border-radius: 10px; margin: 0 0 8px;
}
.wm-custom-checkout .wm-field-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .wm-custom-checkout .wm-field-grid { grid-template-columns: 1fr; }
}
.wm-custom-checkout .wm-field { margin: 0; display: flex; flex-direction: column; }
.wm-custom-checkout .wm-field--wide { grid-column: 1 / -1; }
.wm-custom-checkout .wm-field .required { color: var(--brand); margin-left: 2px; }
.wm-custom-checkout .wm-field .optional { color: var(--muted); margin-left: 2px; font-size: 0.78rem; font-weight: 400; }

.wm-pay-picker--custom { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0 0 12px; }
.wm-pay-picker--custom .wm-pay-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel-2); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.wm-pay-picker--custom .wm-pay-card:has(input:checked) {
  border-color: var(--brand); background: rgba(22, 255, 107, 0.10);
}
.wm-pay-picker--custom .wm-pay-card input { accent-color: var(--brand); margin: 0; }
.wm-pay-card-icon { font-size: 1.2rem; }

.wm-checkout-note {
  font-size: 0.85rem; color: var(--muted); line-height: 1.5;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; margin: 0;
}
.wm-checkout-note strong { color: var(--text); }

/* Order summary card */
.wm-order-lines { list-style: none; padding: 0; margin: 12px 0 16px; }
.wm-order-lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.wm-order-lines li:last-child { border-bottom: 0; }
.wm-order-lines__name { color: var(--text); }
.wm-order-lines__price { color: var(--muted); white-space: nowrap; }
.wm-order-totals { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--border); }
.wm-order-totals > div { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.wm-order-totals__grand { font-size: 1.05rem !important; color: var(--text) !important; font-weight: 700; padding-top: 6px; border-top: 1px dashed var(--border); }
.wm-order-totals__grand .amount { color: var(--brand); }
.wm-place-order { width: 100%; padding: 14px 18px; font-size: 1rem; margin-top: 14px; }
.wm-order-help { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.wm-order-help a { color: var(--accent-cyan); }

/* ============================================================
   v7 — Custom checkout v2: shipping picker, billing toggle,
   per-field errors, live payment instructions.
   ============================================================ */

.wm-checkout-global-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.wm-field.is-invalid input,
.wm-field.is-invalid select,
.wm-field.is-invalid textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18) !important;
}
.wm-field.is-invalid label { color: #fecaca !important; }
.wm-field-error {
  display: block;
  margin-top: 6px;
  color: #fca5a5;
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Shipping picker */
.wm-ship-picker {
  display: flex; flex-direction: column; gap: 10px;
}
.wm-ship-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.wm-ship-card:hover { border-color: var(--brand-2); }
.wm-ship-card:has(input:checked) {
  border-color: var(--brand);
  background: rgba(22, 255, 107, 0.10);
  transform: translateY(-1px);
}
.wm-ship-card input { accent-color: var(--brand); margin: 0; flex-shrink: 0; }
.wm-ship-card__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wm-ship-card__label { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.wm-ship-card__sub { color: var(--muted); font-size: 0.8rem; }
.wm-ship-card__price { font-weight: 700; color: var(--brand); font-size: 1.05rem; }

/* Billing toggle */
.wm-billing-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
}
.wm-billing-toggle input { accent-color: var(--brand); margin: 0; }
.wm-billing-fields[hidden] { display: none !important; }

/* Live payment instructions */
.wm-pay-instructions {
  margin: 14px 0 12px;
}
.wm-pay-instruction-panel {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  animation: aceFadeIn 0.18s ease-out;
}
.wm-pay-instruction-panel[hidden] { display: none !important; }
.wm-pay-instruction-panel h3 {
  margin: 0 0 8px; font-size: 0.95rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.wm-pay-instruction-panel p { margin: 0 0 6px; font-size: 0.88rem; line-height: 1.6; color: var(--muted); }
.wm-pay-instruction-panel p:last-child { margin-bottom: 0; }
.wm-pay-instruction-empty { color: var(--muted) !important; font-style: italic; }
@keyframes aceFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   v9 — Global WooCommerce form-row hardening + shop SEO copy
   Fixes overlapping labels on /checkout/ and /cart/ by forcing
   plain stacked labels on every Woo form, not just .wm-checkout.
   ============================================================ */

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

.woocommerce-page form .form-row label,
.woocommerce form .form-row label,
body.woocommerce-cart .form-row label,
body.woocommerce-checkout .form-row label,
.woocommerce form .form-row .woocommerce-input-wrapper > label {
  position: static !important;
  transform: none !important;
  pointer-events: auto !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.85rem !important;
  margin: 0 0 6px !important;
  display: block !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  width: auto !important;
  top: auto !important;
  left: auto !important;
}

.woocommerce-page form .form-row .woocommerce-input-wrapper,
.woocommerce form .form-row .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  margin-top: 0 !important;
  min-height: 44px !important;
  width: 100% !important;
  background: rgba(20, 16, 8, 0.92) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  box-shadow: none !important;
}
.woocommerce-page form .form-row textarea,
.woocommerce form .form-row textarea { min-height: 96px !important; resize: vertical; }

/* select2 (country/state dropdowns) — match input height */
.woocommerce form .form-row .select2-container .select2-selection--single,
.woocommerce-page form .form-row .select2-container .select2-selection--single {
  height: 44px !important;
  background: rgba(20, 16, 8, 0.92) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
}
.woocommerce form .form-row .select2-container .select2-selection__rendered,
.woocommerce-page form .form-row .select2-container .select2-selection__rendered {
  line-height: 42px !important;
  color: var(--text) !important;
  padding: 0 12px !important;
}
.woocommerce form .form-row .select2-container .select2-selection__arrow {
  height: 42px !important;
}
.select2-dropdown {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.select2-results__option--highlighted {
  background: var(--brand-2) !important;
  color: #fff !important;
}

/* Required marker styling — keep it inline, never floating */
.woocommerce form .form-row .required,
.woocommerce-page form .form-row .required {
  color: var(--brand) !important;
  text-decoration: none !important;
  margin-left: 2px;
}

/* Two-column billing/shipping fields on desktop */
@media (min-width: 720px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
  .woocommerce-billing-fields__field-wrapper .form-row-wide,
  .woocommerce-shipping-fields__field-wrapper .form-row-wide,
  .woocommerce-billing-fields__field-wrapper #billing_email_field,
  .woocommerce-billing-fields__field-wrapper #billing_phone_field,
  .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
  .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
  .woocommerce-shipping-fields__field-wrapper #shipping_address_1_field,
  .woocommerce-shipping-fields__field-wrapper #shipping_address_2_field,
  .woocommerce-billing-fields__field-wrapper #billing_country_field,
  .woocommerce-shipping-fields__field-wrapper #shipping_country_field {
    grid-column: 1 / -1;
  }
}

/* Cart "minimum order" notice — make sure it isn't hidden behind aurora */
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
  position: relative;
  z-index: 5;
}

/* Shop SEO footer block (added under the product grid) */
.wm-shop-seo-footer {
  margin: 48px auto 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  max-width: 820px;
}
.wm-shop-seo-footer h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--text);
}
.wm-shop-seo-footer h3 {
  font-size: 1.05rem;
  margin: 1.6em 0 0.4em;
  color: var(--text);
}
.wm-shop-seo-footer p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 0.9em;
}
.wm-shop-seo-footer a { color: var(--accent-cyan); text-decoration: underline; }
.wm-shop__intro--seo {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 0 22px;
}

/* =========================================================================
   v10 — Custom cart page + final overlap nuke
   ========================================================================= */

/* Force every Woo checkout/cart label to be a normal stacked block label.
   Kills any leftover floating/absolute label rules from older versions. */
.wm-checkout .form-row label,
.woocommerce-cart label,
.woocommerce-checkout label,
.wm-cart-form label {
  position: static !important;
  display: block !important;
  margin: 0 0 6px !important;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
  pointer-events: auto !important;
  opacity: 1 !important;
  transform: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Select2 dropdowns (country/state) — match dark inputs */
.woocommerce .select2-container .select2-selection--single,
.wm-checkout .select2-container .select2-selection--single {
  background: var(--panel-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  height: 44px !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered,
.wm-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--text) !important;
  line-height: 36px !important;
  padding-left: 4px !important;
}
.select2-dropdown {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.select2-results__option {
  color: var(--text) !important;
}
.select2-results__option--highlighted {
  background: var(--brand) !important;
  color: #000 !important;
}

/* ---- Custom Cart page layout ---- */
.wm-cart__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 880px) {
  .wm-cart__grid { grid-template-columns: 1fr; }
}
.wm-cart__main {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.wm-cart__head h2 { margin: 0 0 4px; font-size: 1.4rem; }
.wm-cart__head p { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; }

.wm-cart-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wm-cart-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.wm-cart-item__media img,
.wm-cart-item__media .wm-cart-item__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.wm-cart-item__body {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr auto;
  gap: 12px;
  align-items: center;
}
@media (max-width: 720px) {
  .wm-cart-item__body { grid-template-columns: 1fr 1fr; }
  .wm-cart-item__title { grid-column: 1 / -1; }
}
.wm-cart-item__title a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.wm-cart-item__title a:hover { color: var(--brand); }
.wm-cart-item__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}
.wm-cart-item__price,
.wm-cart-item__subtotal { color: var(--text); font-weight: 500; }

.wm-cart-item__qty .qty,
.wm-cart-item__qty input[type="number"] {
  width: 70px;
  min-height: 40px;
  padding: 6px 8px;
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}

.wm-cart-item__remove-btn {
  color: var(--muted) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
}
.wm-cart-item__remove-btn:hover { color: var(--brand) !important; }

.wm-cart__actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.wm-cart-coupon { flex: 1 1 260px; }
.wm-cart-coupon__row { display: flex; gap: 8px; }
.wm-cart-coupon input.input-text {
  flex: 1;
  min-height: 40px;
  padding: 6px 10px;
  background: var(--panel-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}

/* Order summary card (cart sidebar) */
.wm-cart__aside { position: sticky; top: 90px; align-self: start; }
.wm-cart-collaterals .cart_totals,
.wm-cart-collaterals {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.wm-cart-collaterals h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.wm-cart-collaterals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.wm-cart-collaterals table.shop_table th,
.wm-cart-collaterals table.shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: left;
  font-size: 0.92rem;
}
.wm-cart-collaterals .order-total .amount {
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
}
.wm-cart-collaterals .wc-proceed-to-checkout {
  margin-top: 14px;
}
.wm-cart-collaterals .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand) !important;
  color: #000 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* Empty cart */
.wm-cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.wm-cart-empty h2 { margin: 0 0 8px; }
.wm-cart-empty p { color: var(--muted); }

/* Tighten prose when used inside the SEO footer block */
.wm-shop-seo-footer.wm-prose h2 { font-size: 1.5rem; margin: 1.2em 0 0.5em; }
.wm-shop-seo-footer.wm-prose h3 { font-size: 1.1rem; margin: 1.4em 0 0.4em; }
.wm-shop-seo-footer.wm-prose p,
.wm-shop-seo-footer.wm-prose li { color: var(--muted); line-height: 1.75; }
.wm-shop-seo-footer.wm-prose ul { padding-left: 1.2em; margin: 0 0 1em; }

/* =========================================================================
   v11 — WM API cart + checkout (no Woo form-row, no Select2)
   ========================================================================= */

.wm-api-cart-page h1,
.wm-api-checkout-page h1 { margin: 4px 0 18px; }

.wm-api-cart__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) {
  .wm-api-cart__grid { grid-template-columns: 1fr; }
}

.wm-api-cart__items { display: flex; flex-direction: column; gap: 12px; }

.wm-api-cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}
@media (max-width: 720px) {
  .wm-api-cart-item {
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
      "img main remove"
      "img qty  sub";
  }
  .wm-api-cart-item__img    { grid-area: img; }
  .wm-api-cart-item__main   { grid-area: main; }
  .wm-api-cart-item__qty    { grid-area: qty; }
  .wm-api-cart-item__sub    { grid-area: sub; text-align: right; }
  .wm-api-cart-item__remove { grid-area: remove; }
}
.wm-api-cart-item__img {
  width: 96px; height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-2);
  display: block;
}
.wm-api-cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-api-cart-item__noimg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--muted); font-size: 0.8rem;
}
.wm-api-cart-item__title { margin: 0 0 4px; font-size: 1rem; }
.wm-api-cart-item__title a { color: var(--text); }
.wm-api-cart-item__title a:hover { color: var(--brand); }
.wm-api-cart-item__price { font-size: 0.85rem; color: var(--muted); }

.wm-api-cart-item__lbl {
  display: block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px;
}

.wm-api-qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  background: var(--panel-2);
}
.wm-api-qty__btn {
  width: 32px; background: transparent; color: var(--text);
  border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.wm-api-qty__btn:hover { background: var(--panel); color: var(--brand); }
.wm-api-qty input {
  width: 48px; text-align: center;
  background: transparent !important; border: 0 !important;
  color: var(--text) !important; padding: 6px 0 !important;
  font-size: 0.95rem !important;
  -moz-appearance: textfield;
}
.wm-api-qty input::-webkit-outer-spin-button,
.wm-api-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.wm-api-cart-item__sub { font-weight: 600; }
.wm-api-cart-item__sub-amt { display: block; }

.wm-api-cart-item__remove {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.wm-api-cart-item__remove:hover { color: var(--brand); border-color: var(--brand); }

.wm-api-cart__empty {
  text-align: center; padding: 60px 20px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
}

/* Summary card (used by both cart + checkout) */
.wm-api-summary {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  position: sticky; top: 90px;
}
.wm-api-summary h3 { margin: 0 0 14px; font-size: 1.1rem; }
.wm-api-summary__warn {
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 10px 12px; border-radius: 8px;
  font-size: 0.88rem; margin-bottom: 14px;
}
.wm-api-summary__lines { list-style: none; padding: 0; margin: 0 0 14px; }
.wm-api-summary__lines li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: 0.92rem;
}
.wm-api-summary__lines li strong { color: var(--text); }
.wm-api-summary__lines li.wm-api-summary__total {
  border-bottom: 0; padding-top: 12px;
  font-size: 1.05rem; color: var(--text);
}
.wm-api-summary__total strong { color: var(--brand); font-size: 1.15rem; }

.wm-api-summary__items { list-style: none; padding: 0; margin: 0 0 14px; }
.wm-api-summary__items li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; font-size: 0.9rem; color: var(--muted);
}
.wm-api-summary__items li strong { color: var(--text); white-space: nowrap; }

.wm-api-summary__ship h4,
.wm-api-summary__coupon label {
  margin: 8px 0 6px; font-size: 0.85rem; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.wm-api-summary__ship { margin: 8px 0 14px; }

.wm-api-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--panel-2);
  margin-bottom: 8px; cursor: pointer; font-size: 0.92rem;
}
.wm-api-radio:has(input:checked) {
  border-color: var(--brand);
  background: rgba(22, 255, 107, 0.08);
}
.wm-api-radio input { accent-color: var(--brand); }
.wm-api-radio em { color: var(--muted); font-style: normal; margin-left: auto; }

.wm-api-coupon-row { display: flex; gap: 8px; }
.wm-api-coupon-row input {
  flex: 1; min-height: 40px; padding: 6px 10px;
  background: var(--panel-2); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px;
}
.wm-api-coupon-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.wm-api-coupon-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; background: var(--panel-2);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.85rem; color: var(--muted);
}
.wm-api-coupon-list li strong { color: var(--text); margin-right: auto; }
.wm-api-coupon-list button {
  background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem;
}
.wm-api-coupon-list button:hover { color: var(--brand); }

.wm-api-summary__cta {
  display: block; width: 100%;
  margin-top: 14px; padding: 14px 18px !important;
  font-size: 1rem; text-align: center;
}
.wm-api-summary__cta.is-disabled { opacity: 0.5; pointer-events: none; }
.wm-api-summary__note {
  margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); text-align: center;
}
.wm-api-cart__continue { margin-top: 18px; }

/* ---- Checkout layout ---- */
.wm-api-checkout__grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start;
}
@media (max-width: 980px) {
  .wm-api-checkout__grid { grid-template-columns: 1fr; }
}
.wm-api-checkout__main { display: flex; flex-direction: column; gap: 16px; }

.wm-api-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.wm-api-card h2 {
  margin: 0 0 14px; font-size: 1.1rem;
  display: flex; align-items: center; gap: 10px;
}
.wm-api-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 0.85rem; font-weight: 700;
}
.wm-api-help { color: var(--muted); font-size: 0.88rem; margin: -8px 0 12px; }

.wm-api-card label {
  display: block; margin-bottom: 12px;
  font-size: 0.85rem; color: var(--text);
  font-weight: 500; line-height: 1.4;
}
.wm-api-card label .req { color: var(--brand); }
.wm-api-card input[type="text"],
.wm-api-card input[type="email"],
.wm-api-card input[type="tel"],
.wm-api-card input[type="number"],
.wm-api-card select,
.wm-api-card textarea {
  display: block; width: 100%;
  margin-top: 6px;
  background: rgba(20, 16, 8, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
}
.wm-api-card textarea { min-height: 90px; resize: vertical; }
.wm-api-card select { appearance: auto; }

.wm-api-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.wm-api-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) {
  .wm-api-row, .wm-api-row--3 { grid-template-columns: 1fr; }
}
.wm-api-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--muted);
}
.wm-api-check input { margin-top: 3px; accent-color: var(--brand); }

.wm-api-pay {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.wm-api-pay__card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--panel-2);
  cursor: pointer; font-size: 0.92rem; color: var(--text);
}
.wm-api-pay__card:has(input:checked) {
  border-color: var(--brand); background: rgba(22, 255, 107, 0.10);
}
.wm-api-pay__card input { accent-color: var(--brand); }
.wm-api-pay__icon { font-size: 1.2rem; }

.wm-api-errors {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border: 1px solid #ef4444;
  border-radius: 10px;
  padding: 12px 16px; margin: 0 0 16px;
}
.wm-api-errors ul { margin: 6px 0 0 18px; }

.wm-api-summary--checkout { position: sticky; top: 90px; }

/* ============================================================
   v11.2 — Slide-out cart drawer
   ============================================================ */
.wm-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(5, 0, 18, 0.65);
  z-index: 998; opacity: 0; transition: opacity .28s ease;
  backdrop-filter: blur(4px);
}
.wm-drawer-backdrop.is-open { opacity: 1; }

.wm-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(420px, 100%); z-index: 999;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -10px rgba(0,0,0,.6);
}
.wm-cart-drawer.is-open { transform: translateX(0); }
.wm-cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.wm-cart-drawer__head h2 { margin: 0; font-size: 1.1rem; }
.wm-cart-drawer__close {
  background: transparent; border: none; color: var(--text);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 10px;
  border-radius: 8px;
}
.wm-cart-drawer__close:hover { background: var(--panel); }
.wm-cart-drawer__body {
  flex: 1; overflow-y: auto; padding: 16px 20px;
}
.wm-cart-drawer__loading,
.wm-cart-drawer__empty {
  text-align: center; padding: 40px 12px; color: var(--muted);
}
.wm-cart-drawer__empty .wm-btn { margin-top: 14px; }
.wm-cart-drawer__items {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.wm-cart-drawer__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px; padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.wm-cart-drawer__thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  background: var(--panel); display: grid; place-items: center;
}
.wm-cart-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wm-cart-drawer__title {
  display: block; font-weight: 600; font-size: 0.92rem;
  color: var(--text); margin-bottom: 8px; line-height: 1.3;
}
.wm-cart-drawer__qty {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.wm-cart-drawer__qty button {
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text); width: 28px; height: 28px; border-radius: 6px;
  cursor: pointer; font-size: 0.9rem;
}
.wm-cart-drawer__qty input {
  width: 44px; height: 28px; text-align: center;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
}
.wm-cart-drawer__remove {
  margin-left: 6px; background: transparent !important; border: none !important;
  color: var(--muted) !important; width: auto !important;
  font-size: 0.78rem !important; text-decoration: underline;
}
.wm-cart-drawer__remove:hover { color: var(--brand) !important; }
.wm-cart-drawer__sub { font-weight: 600; color: var(--text); }

.wm-cart-drawer__totals {
  border-top: 1px solid var(--border); padding-top: 14px;
  margin-top: 8px;
}
.wm-cart-drawer__warn {
  background: rgba(251, 191, 36, 0.12); color: var(--accent-amber);
  border: 1px solid rgba(251, 191, 36, .35);
  padding: 10px 12px; border-radius: 8px; margin-bottom: 12px;
  font-size: 0.85rem;
}
.wm-cart-drawer__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 0.92rem; color: var(--muted);
}
.wm-cart-drawer__row strong { color: var(--text); }
.wm-cart-drawer__row--total { font-size: 1.05rem; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 4px;}
.wm-cart-drawer__actions {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-2);
}
.wm-cart-drawer__actions .wm-btn { text-align: center; }
.wm-cart-drawer__actions .is-disabled { opacity: .5; pointer-events: none; }

@media (max-width: 480px) {
  .wm-cart-drawer { width: 100%; }
}

/* Header cart button: a button now, keep look */
button.wm-cart-btn {
  cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================
   v11.2 — Payment cards: blurb + better selected state
   ============================================================ */
.wm-api-pay__card {
  align-items: flex-start; padding: 14px;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.wm-api-pay__card:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.wm-api-pay__card input { margin-top: 4px; }
.wm-api-pay__body { display: flex; flex-direction: column; gap: 2px; }
.wm-api-pay__label { font-weight: 600; color: var(--text); }
.wm-api-pay__blurb { font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

/* ============================================================
   v11.2 — Product card polish + breadcrumbs + responsive
   ============================================================ */
.wm-shop-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.wm-shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }
.wm-shop-card__media { aspect-ratio: 1 / 1; overflow: hidden; }
.wm-shop-card__img { transition: transform .35s ease; }
.wm-shop-card:hover .wm-shop-card__img { transform: scale(1.04); }

.wm-breadcrumbs {
  font-size: 0.82rem; color: var(--muted); margin: 0 0 14px;
}
.wm-breadcrumbs a { color: var(--muted); text-decoration: none; }
.wm-breadcrumbs a:hover { color: var(--brand); }
.wm-breadcrumbs__sep { margin: 0 6px; opacity: .6; }

/* Skeleton placeholder for image-loading product cards */
@keyframes wm-skel { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
.wm-skel {
  background: linear-gradient(90deg, var(--panel) 0px, var(--panel-2) 60px, var(--panel) 120px);
  background-size: 600px 100%;
  animation: wm-skel 1.4s linear infinite;
  border-radius: 8px;
}

/* Mobile responsiveness for header CTAs */
@media (max-width: 720px) {
  .wm-header__cta .wm-btn:not(.wm-cart-btn):not(.wm-btn--brand) { display: none; }
  .wm-header__cta { gap: 6px; }
}

/* Tap-target sizing on small screens */
@media (max-width: 600px) {
  .wm-btn { min-height: 44px; padding-left: 16px; padding-right: 16px; }
  .wm-api-card input, .wm-api-card select, .wm-api-card textarea { font-size: 16px; }
}

/* Sticky checkout summary collapses on mobile */
@media (max-width: 900px) {
  .wm-api-summary--checkout { position: static; }
  .wm-api-checkout__grid { grid-template-columns: 1fr !important; }
}

/* =========================================================================
 * v11.4 — Trippy hero + new homepage sections
 * ===================================================================== */

/* Trippy hero — full-bleed background image with gradient overlay */
.wm-hero--trippy {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 560px;
  padding: 96px 0 88px;
  overflow: hidden;
}
.wm-hero--trippy::after {
  /* subtle vignette */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(13,4,32,0.55) 100%);
  pointer-events: none;
}
.wm-hero--trippy .wm-hero__inner { position: relative; z-index: 1; }
.wm-hero--trippy h1 {
  text-shadow: 0 4px 30px rgba(11, 191, 78, 0.55), 0 2px 10px rgba(0,0,0,0.6);
}
.wm-hero--trippy .wm-hero__lead {
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.wm-hero__strip {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.wm-hero__strip li { white-space: nowrap; }

/* Section lead intro */
.wm-section__lead {
  max-width: 720px;
  margin: 4px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Why Whole Melts Officials — feature grid */
.wm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.wm-feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.wm-feature-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.wm-feature-card__glyph {
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--brand);
  text-shadow: 0 0 18px rgba(22, 255, 107, 0.55);
}
.wm-feature-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.wm-feature-card p  { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14.5px; }

/* How it works — numbered steps */
.wm-steps {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: acestep;
}
.wm-step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px 22px;
}
.wm-step__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(22, 255, 107, 0.45);
}
.wm-step h3 { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.wm-step p  { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

/* Mini guide cards */
.wm-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.wm-mini-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.wm-mini-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.wm-mini-card__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}
.wm-mini-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.wm-mini-card p  { margin: 0 0 14px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.wm-mini-card__cta {
  display: inline-block;
  font-weight: 600;
  color: var(--brand);
  font-size: 14px;
}

/* Brand pills */
.wm-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.wm-brand-pill {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.wm-brand-pill:hover {
  border-color: var(--brand);
  color: #fff;
  background: linear-gradient(135deg, rgba(22, 255, 107, 0.18), rgba(11, 191, 78, 0.18));
}

/* FAQ teaser */
.wm-faq-teaser {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-width: 820px;
}
.wm-faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.wm-faq-item[open] { border-color: var(--brand); }
.wm-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wm-faq-item summary::-webkit-details-marker { display: none; }
.wm-faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  line-height: 1;
}
.wm-faq-item[open] summary::after { content: "−"; }
.wm-faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
}
.wm-faq-item a { color: var(--accent-cyan); }

/* Final CTA band */
.wm-cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wm-cta-band__inner { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wm-cta-band h2 {
  margin: 6px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(11, 191, 78, 0.45);
}
.wm-cta-band__lead {
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}
.wm-cta-band .wm-hero__cta { justify-content: center; }

/* Responsive */
@media (max-width: 900px) {
  .wm-feature-grid,
  .wm-mini-cards { grid-template-columns: 1fr; }
  .wm-steps      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wm-hero--trippy { min-height: 480px; padding: 72px 0 64px; }
}
@media (max-width: 560px) {
  .wm-steps { grid-template-columns: 1fr; }
  .wm-hero--trippy { min-height: 420px; padding: 56px 0 48px; }
  .wm-cta-band { padding: 60px 0; }
}

/* ============================================================
   v11.5 — Mobile 2-col grid, mobile cart button, dual-numbered
   desktop steps, desktop polish
   ============================================================ */

/* 1) Phones: 2 products per row everywhere */
@media (max-width: 720px) {
  .wm-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wm-shop-card__body { padding: 12px; gap: 8px; }
  .wm-shop-card__title { font-size: 14px; line-height: 1.3; }
  .wm-shop-card__price { font-size: 14px; }
  .wm-shop-card__cta { padding: 8px 10px; font-size: 13px; width: 100%; }
  .wm-shop-card__cat  { font-size: 11px; }
  .wm-shop-card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 380px) {
  .wm-shop-grid { gap: 10px; }
  .wm-shop-card__body { padding: 10px; }
}

/* 2) Mobile cart button — always visible */
.wm-cart-btn--always {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.wm-cart-btn--always .wm-cart-count {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 720px) {
  .wm-cart-btn--always { padding: 8px 12px; min-height: 44px; }
  .wm-cart-btn--always .wm-cart-btn__label { display: none; }
}
@media (min-width: 981px) {
  .wm-cart-btn--always { margin-left: 4px; }
}

/* 3) "How it works" — dual numbering on desktop */
.wm-step__num-desktop { display: none; }
@media (min-width: 901px) {
  .wm-step__num-mobile  { display: none; }
  .wm-step__num-desktop { display: inline-flex; }
  .wm-step__num {
    width: auto;
    min-width: 64px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 15px;
    letter-spacing: 0.02em;
  }
}

/* 4) Desktop polish — friendlier rhythm and typography */
@media (min-width: 1024px) {
  .wm-section { padding: 72px 0; }
  .wm-container { max-width: 1200px; }
  .wm-hero--trippy h1 { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.02em; }
  .wm-hero__lead { font-size: 18px; max-width: 640px; }
  .wm-hero__strip { gap: 28px; margin-top: 28px; }
  .wm-section h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 8px; letter-spacing: -0.01em; }
  .wm-section__lead { max-width: 720px; font-size: 16.5px; }
  .wm-feature-grid, .wm-mini-cards { gap: 24px; }
  .wm-feature-card, .wm-mini-card { padding: 28px; }
  .wm-cat-grid { gap: 20px; }
  .wm-shop-grid { gap: 24px; }
  .wm-shop-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wm-brand-pills { gap: 12px; }
  .wm-brand-pill { padding: 12px 22px; font-size: 15px; }
  .wm-steps { gap: 22px; }
  .wm-step { padding: 30px 24px 26px; }
  .wm-faq-item summary { padding: 18px 20px; font-size: 16px; }
}

/* v11.7 — accessible-but-hidden pagination rel anchors */
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap}


/* ============= Whole Melts Officials — luxury black/gold homepage ============= */
:root {
  --wm-gold: #C8A24B;
  --wm-gold-soft: #B8923B;
  --wm-ivory: #EDE6D3;
  --wm-black: #050505;
}
.wm-display { font-family: "Cormorant Garamond","Playfair Display",Georgia,serif; font-weight:500; letter-spacing:.01em; }
.wm-display em { font-style: italic; color: var(--wm-gold); }
.wm-eyebrow--gold { color: var(--wm-gold); letter-spacing:.28em; text-transform:uppercase; font-size:11px; }
.wm-section--dark { background: var(--wm-black); color: var(--wm-ivory); }
.wm-section--alt-dark { background: #0c0c0c; }
.wm-lead { color: var(--wm-ivory); opacity:.85; max-width: 760px; font-size: 1.05rem; line-height:1.7; }
.wm-btn--gold { background: var(--wm-gold); color:#111; border:1px solid var(--wm-gold); font-weight:600; }
.wm-btn--gold:hover { background: var(--wm-gold-soft); border-color: var(--wm-gold-soft); color:#000; }
.wm-btn--ghost-gold { background: transparent; color: var(--wm-gold); border:1px solid var(--wm-gold); }
.wm-btn--ghost-gold:hover { background: rgba(200,162,75,.12); }

/* Hero */
.wm-hero--gold { background-color:#000; background-size:cover; background-position:center; color:var(--wm-ivory); min-height: 620px; padding: 96px 0 72px; }
.wm-hero--gold .wm-hero__inner { text-align:center; }
.wm-hero__emblem { display:block; margin: 0 auto 16px; }
.wm-hero--gold h1.wm-display { font-size: clamp(48px, 7vw, 96px); margin: 6px 0 18px; color:#fff; }
.wm-hero--gold .wm-hero__lead { margin: 0 auto 28px; max-width: 720px; font-size: 1.1rem; color: rgba(237,230,211,.9); }
.wm-hero--gold .wm-hero__cta { justify-content:center; }
.wm-hero__scroll { margin-top: 36px; color: var(--wm-gold); letter-spacing:.3em; text-transform:uppercase; font-size:11px; }

/* Marquee */
.wm-marquee { background:#0a0a0a; border-block: 1px solid rgba(200,162,75,.25); overflow:hidden; padding: 14px 0; }
.wm-marquee__track { display:inline-flex; gap: 28px; white-space:nowrap; animation: wm-marq 38s linear infinite; color: var(--wm-gold); font-family: "Cormorant Garamond",Georgia,serif; font-style: italic; font-size: 18px; letter-spacing:.18em; text-transform:uppercase; }
.wm-marquee__track span { display:inline-block; }
@keyframes wm-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About */
.wm-about { text-align:center; }
.wm-about h2,
.wm-about .wm-about__tagline { font-size: clamp(36px, 5vw, 64px); margin: 8px 0 18px; color:#fff; }
.wm-about .wm-about__tagline { font-weight:500; line-height:1.05; }
.wm-about .wm-lead { margin: 0 auto 14px; }
.wm-about .wm-hero__cta { justify-content:center; margin-top: 22px; }

/* Section headings */
.wm-section--dark h2.wm-display { color:#fff; font-size: clamp(32px, 4.5vw, 56px); margin: 6px 0 18px; }

/* Feature pair (Mini 2G + Dual Gen) */
.wm-feature-pair { display:grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
@media (max-width: 760px) { .wm-feature-pair { grid-template-columns: 1fr; } }
.wm-feature-block { border:1px solid rgba(200,162,75,.35); padding: 32px; background: linear-gradient(180deg, rgba(200,162,75,.05), rgba(200,162,75,0)); border-radius: 4px; }
.wm-feature-block__brand { color: var(--wm-gold); letter-spacing:.25em; text-transform:uppercase; font-size:11px; margin:0 0 10px; }
.wm-feature-block h3 { font-family: "Cormorant Garamond",Georgia,serif; font-size: 38px; color:#fff; margin: 0 0 14px; }
.wm-feature-block p { color: rgba(237,230,211,.8); line-height:1.7; }
.wm-feature-block__link { display:inline-block; margin-top:14px; color: var(--wm-gold); text-decoration:none; letter-spacing:.18em; text-transform:uppercase; font-size:12px; border-bottom:1px solid var(--wm-gold); padding-bottom:4px; }

/* Category gold grid */
.wm-cat-grid--gold { display:grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap:14px; margin-top: 28px; }
.wm-cat-card--gold { background:#0a0a0a; border:1px solid rgba(200,162,75,.3); color: var(--wm-ivory); padding:22px; display:flex; justify-content:space-between; align-items:center; text-decoration:none; transition:.2s; }
.wm-cat-card--gold:hover { border-color: var(--wm-gold); background: #111; }
.wm-cat-card--gold .wm-cat-card__title { font-family:"Cormorant Garamond",Georgia,serif; font-size:20px; }
.wm-cat-card--gold .wm-cat-card__cta { color: var(--wm-gold); font-size:13px; letter-spacing:.18em; text-transform:uppercase; }

/* NFC steps */
.wm-nfc { text-align:center; }
.wm-nfc__steps { list-style:none; padding:0; margin: 36px 0 24px; display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: wm-nfc; }
@media (max-width: 760px) { .wm-nfc__steps { grid-template-columns: 1fr; } }
.wm-nfc__steps li { text-align:center; padding: 24px; border:1px solid rgba(200,162,75,.3); border-radius: 4px; }
.wm-nfc__num { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border:1px solid var(--wm-gold); border-radius:50%; color: var(--wm-gold); font-family:"Cormorant Garamond",Georgia,serif; font-size:22px; margin-bottom:10px; }
.wm-nfc__steps h3 { font-family:"Cormorant Garamond",Georgia,serif; font-size:24px; color:#fff; margin: 0 0 8px; }
.wm-nfc__steps p { color: rgba(237,230,211,.8); margin: 0; }

/* Trust strip on dark */
.wm-trust-grid--gold { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width: 760px) { .wm-trust-grid--gold { grid-template-columns: 1fr; } }
.wm-trust-grid--gold > div { padding: 22px; border:1px solid rgba(200,162,75,.25); border-radius:4px; }
.wm-trust-grid--gold h3 { color: var(--wm-gold); font-family:"Cormorant Garamond",Georgia,serif; font-size:22px; margin:0 0 8px; }
.wm-trust-grid--gold p { color: rgba(237,230,211,.85); margin:0; }

/* Prose */
.wm-prose--gold { color: rgba(237,230,211,.9); }
.wm-prose--gold h2 { color:#fff; font-size: clamp(32px,4.5vw,52px); }
.wm-prose--gold h3 { color: var(--wm-gold); font-family:"Cormorant Garamond",Georgia,serif; font-size:26px; margin-top: 28px; }
.wm-prose--gold a { color: var(--wm-gold); }
.wm-prose--gold p { line-height:1.8; }

/* Newsletter */
.wm-newsletter { text-align:center; }
.wm-newsletter__form { display:flex; gap:10px; max-width:520px; margin: 22px auto 12px; }
.wm-newsletter__form input { flex:1; padding:14px 16px; background:#0a0a0a; border:1px solid rgba(200,162,75,.35); color: var(--wm-ivory); border-radius: 2px; }
.wm-newsletter__form input:focus { outline:none; border-color: var(--wm-gold); }
.wm-newsletter__legal { font-size:12px; color: rgba(237,230,211,.55); }
@media (max-width: 540px) { .wm-newsletter__form { flex-direction: column; } }

/* Empty state on dark */
.wm-shop-empty--gold { padding: 36px; border:1px dashed rgba(200,162,75,.4); border-radius:4px; text-align:center; color: var(--wm-ivory); }
.wm-shop-empty--gold h3 { color: var(--wm-gold); font-family:"Cormorant Garamond",Georgia,serif; font-size:26px; }

/* Age gate */
.wm-agegate { position: fixed; inset: 0; background:#000; z-index: 9999; display:flex; align-items:center; justify-content:center; padding: 24px; }
.wm-agegate[hidden] { display:none; }
.wm-agegate__panel { max-width: 520px; text-align:center; color: var(--wm-ivory); }
.wm-agegate__emblem { display:block; margin: 0 auto 14px; }
.wm-agegate__brand { color: var(--wm-gold); letter-spacing:.4em; font-family:"Cormorant Garamond",Georgia,serif; font-size: 22px; margin: 0 0 4px; }
.wm-agegate__brand span { letter-spacing:.5em; font-size:13px; display:block; opacity:.85; margin-top: 4px; }
.wm-agegate__panel h2,
.wm-agegate__heading { font-family:"Cormorant Garamond",Georgia,serif; font-weight:400; font-size: 28px; color:#fff; margin: 32px 0 28px; }
.wm-section--dark .wm-display.wm-display--alt { color:#fff; font-size: clamp(32px, 4.5vw, 56px); margin: 6px 0 18px; }
.wm-agegate__cta { display:flex; flex-direction:column; gap:12px; align-items:center; }
.wm-agegate__cta .wm-btn--gold { min-width: 280px; padding: 14px 22px; }
.wm-agegate__no { background:none; border:none; color: rgba(237,230,211,.7); cursor:pointer; padding: 10px; font-size:13px; letter-spacing:.18em; text-transform:uppercase; }
.wm-agegate__legal { font-size:12px; color: rgba(237,230,211,.55); margin-top: 26px; }

/* ---------- Category SEO intro/outro ---------- */
.wm-cat-intro { margin: 12px 0 24px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.wm-cat-intro__lead { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin: 0 0 12px; }
.wm-cat-intro__bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Internal-link rail ---------- */
.wm-internal-links { padding: 56px 0; border-top: 1px solid var(--border); margin-top: 40px; background: var(--bg-2); }
.wm-internal-links__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.wm-internal-links h4 { color: var(--gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.wm-internal-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.wm-internal-links a { color: var(--text); font-size: 0.9rem; }
.wm-internal-links a:hover { color: var(--gold); }

/* ---------- Reviews page ---------- */
.wm-reviews-hero { padding: 64px 0 32px; background: linear-gradient(180deg, rgba(212,175,55,0.10), transparent); border-bottom: 1px solid var(--border); }
.wm-reviews-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 8px 0 14px; color: var(--text); }
.wm-reviews-hero__lead { max-width: 720px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.wm-reviews-summary { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.wm-reviews-summary__stat { display: flex; flex-direction: column; gap: 4px; }
.wm-reviews-summary__num { font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.wm-reviews-stars { color: var(--gold); letter-spacing: 2px; }
.wm-reviews-summary__label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wm-reviews-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.wm-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.wm-review-card { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.wm-review-card:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--gold) 55%, var(--border)); box-shadow: 0 8px 24px -12px color-mix(in oklab, var(--gold) 35%, transparent); }
.wm-review-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.wm-review-card__name { margin: 0; font-weight: 700; color: var(--text); }
.wm-review-card__meta { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); }
.wm-review-card__stars { color: var(--gold); letter-spacing: 1px; font-size: 0.95rem; }
.wm-review-card__title { margin: 4px 0 0; font-size: 1.05rem; color: var(--text); }
.wm-review-card__body { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.wm-review-card__badge { font-size: 0.75rem; color: var(--gold); margin-top: auto; }

/* v11.9 — gold logo + dark input fields, kill autofill/focus blue */
.wm-logo--img { display: inline-flex; align-items: center; }
.wm-logo--img img { height: 48px; width: auto; display: block; max-width: 220px; }
@media (max-width: 768px) { .wm-logo--img img { height: 40px; } }

input:focus, textarea:focus, select:focus,
.wm-checkout input:focus, .wm-checkout select:focus, .wm-checkout textarea:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 28%, transparent) !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(20, 16, 8, 0.95) inset !important;
  caret-color: var(--text) !important;
  border-color: var(--border) !important;
  transition: background-color 9999s ease-out 0s;
}

/* === Header mobile actions wrapper (cart + menu pushed right) === */
.wm-header__mobile-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
@media (max-width: 980px) {
  /* Ensure wrapper stays right-flush even when nav/cta are hidden */
  .wm-header__mobile-actions { margin-left: auto; }
}

/* === Footer accordions (collapsed by default on mobile, open on desktop) === */
.wm-footer__col { border: none; }
.wm-footer__col > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wm-footer__col > summary::-webkit-details-marker { display: none; }
.wm-footer__col > summary > h3 {
  margin: 0;
  display: inline-block;
}
.wm-footer__col > summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted, #aaa);
  transition: transform .2s ease;
}
.wm-footer__col[open] > summary::after { content: "−"; }

/* Mobile: tap rows with separators */
@media (max-width: 719px) {
  .wm-footer__col {
    border-top: 1px solid var(--border);
    padding: 10px 0;
  }
  .wm-footer__col > summary { padding: 6px 0; }
  .wm-footer__col > ul { margin-top: 8px; }
}

/* Desktop: render as static columns, always open, hide chevron */
@media (min-width: 720px) {
  .wm-footer__col > summary {
    cursor: default;
    pointer-events: none;
  }
  .wm-footer__col > summary::after { display: none; }
  .wm-footer__col > ul { display: block !important; }
  .wm-footer__col:not([open]) > ul,
  .wm-footer__col:not([open]) > *:not(summary) { display: block !important; }
}

/* === Inline AJAX add-to-cart stepper === */
.wm-add-slot { display: inline-flex; }
.wm-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--brand, #c9a14a);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel, #1a1308);
  min-height: 40px;
}
.wm-stepper button {
  background: transparent;
  border: 0;
  color: var(--brand, #c9a14a);
  font-size: 1.2rem;
  font-weight: 700;
  width: 40px;
  cursor: pointer;
  line-height: 1;
}
.wm-stepper button:hover { background: color-mix(in oklab, var(--brand, #c9a14a) 18%, transparent); }
.wm-stepper__qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 0 6px;
  font-weight: 700;
  color: var(--text);
  border-left: 1px solid color-mix(in oklab, var(--brand, #c9a14a) 35%, transparent);
  border-right: 1px solid color-mix(in oklab, var(--brand, #c9a14a) 35%, transparent);
}
.wm-add-slot.is-busy { opacity: .6; pointer-events: none; }

/* === Card image cross-fade on hover === */
.wm-shop-card__media { position: relative; display: block; overflow: hidden; }
.wm-shop-card__img--hover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.wm-shop-card.has-hover:hover .wm-shop-card__img--hover { opacity: 1; }
.wm-shop-card.has-hover:hover .wm-shop-card__img:not(.wm-shop-card__img--hover) { opacity: 0; transition: opacity .35s ease; }

/* === Swatches === */
.wm-swatches {
  list-style: none; margin: 8px 0 6px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wm-swatch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 10px;
  border: 1px solid var(--border, #2a2a2a); border-radius: 999px;
  background: var(--bg-elev, rgba(255,255,255,.04));
  color: var(--text, #ddd); font-size: .78rem; line-height: 1;
  text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.wm-swatch:hover, .wm-swatch:focus-visible {
  border-color: var(--brand, #c9a14a);
  color: var(--brand, #c9a14a);
  outline: none;
}
.wm-swatch.is-selected {
  border-color: var(--brand, #c9a14a);
  background: color-mix(in oklab, var(--brand, #c9a14a) 15%, transparent);
  color: #fff;
}
.wm-swatch--color {
  width: 28px; padding: 0; background: var(--swatch, #888);
  position: relative;
}
.wm-swatch--color.is-selected { box-shadow: 0 0 0 2px var(--brand, #c9a14a); }
.wm-swatch--image { width: 36px; height: 36px; padding: 0; overflow: hidden; }
.wm-swatch--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-swatch--more {
  background: transparent; color: var(--muted, #aaa);
  font-weight: 600; font-size: .75rem;
}
.wm-swatch[aria-disabled="true"], .wm-swatch.is-disabled {
  opacity: .4; pointer-events: none; text-decoration: line-through;
}

/* PDP swatch group */
.wm-variation-form { margin: 16px 0 24px; }
.wm-variation-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.wm-variation-row__label { font-weight: 600; min-width: 90px; color: var(--muted, #aaa); }
.wm-variation-row__value { color: var(--text, #ddd); margin-left: 4px; }
.wm-variation-reset { background: none; border: 0; color: var(--muted, #aaa); cursor: pointer; font-size: .8rem; text-decoration: underline; padding: 0; }
.wm-variation-reset:hover { color: var(--brand, #c9a14a); }

/* Sticky chip bar */
.wm-shop-pills {
  position: sticky; top: var(--header-h, 56px); z-index: 5;
  display: flex; gap: 8px; padding: 10px 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--bg, #0c0c0c);
  margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  -webkit-overflow-scrolling: touch;
}
.wm-shop-pills::-webkit-scrollbar { display: none; }
.wm-shop-pills .wm-pill { scroll-snap-align: start; flex: 0 0 auto; }

/* ============================================================
   v1.2 — Magazine-grid front page (different visual style)
   ============================================================ */

.wm-v2-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -10px rgba(34, 229, 122, 0.6);
}
.wm-v2-pill--ghost {
  background: rgba(34, 229, 122, 0.08);
  color: var(--brand);
  border: 1px solid var(--border);
  box-shadow: none;
}

.wm-v2-display {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 18px 0 22px;
  letter-spacing: -0.02em;
}
.wm-v2-display__line { display: block; }
.wm-v2-display__line--accent {
  background: linear-gradient(135deg, #a8ffce 0%, var(--brand) 50%, var(--accent-lime) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.wm-v2-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
}
.wm-v2-lead { font-size: 1.08rem; color: var(--text); opacity: 0.86; max-width: 620px; }
.wm-v2-lead-sm { color: var(--muted); max-width: 720px; margin: 0 auto; }

.wm-v2-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.wm-v2-head--row {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  text-align: left; max-width: none; flex-wrap: wrap;
}

/* HERO -------------------------------------------------------- */
.wm-v2-hero {
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 90% 10%, rgba(34, 229, 122, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(74, 214, 197, 0.14), transparent 60%),
    var(--bg);
}
.wm-v2-hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.wm-v2-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.wm-v2-hero__meta {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--border); padding-top: 22px;
}
.wm-v2-hero__meta li { display: flex; flex-direction: column; }
.wm-v2-hero__meta strong { font-size: 1.4rem; color: var(--brand); font-weight: 800; }
.wm-v2-hero__meta span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.wm-v2-hero__visual {
  position: relative; aspect-ratio: 4 / 5; min-height: 420px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -30px rgba(34, 229, 122, 0.5);
}
.wm-v2-hero__art {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.15) brightness(0.85);
}
.wm-v2-hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,16,10,0.1) 0%, rgba(4,16,10,0.7) 100%);
}
.wm-v2-hero__chip {
  position: absolute; z-index: 2;
  background: rgba(7, 24, 15, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 14px;
  max-width: 240px;
  box-shadow: 0 12px 40px -10px rgba(0,0,0,0.7);
}
.wm-v2-hero__chip strong { display: block; color: var(--text); font-size: 0.98rem; margin: 4px 0 4px; }
.wm-v2-hero__chip small { color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.wm-v2-hero__chip-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); font-weight: 700;
}
.wm-v2-hero__chip--top    { top: 22px; right: -16px; }
.wm-v2-hero__chip--bottom { bottom: 22px; left: -16px; }

@media (max-width: 880px) {
  .wm-v2-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .wm-v2-hero__visual { min-height: 360px; }
  .wm-v2-hero__meta { grid-template-columns: repeat(2, 1fr); }
  .wm-v2-hero__chip--top    { right: 12px; }
  .wm-v2-hero__chip--bottom { left: 12px; }
}

/* TICKER ------------------------------------------------------ */
.wm-v2-ticker {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-2), var(--brand));
  color: var(--brand-foreground);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wm-v2-ticker__track {
  display: flex; gap: 28px; white-space: nowrap;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.22em;
  animation: wmTickerScroll 38s linear infinite;
}
@keyframes wmTickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* MOSAIC ------------------------------------------------------ */
.wm-v2-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.wm-v2-tile {
  position: relative;
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  transition: all 0.25s ease;
  overflow: hidden;
  min-height: 210px;
}
.wm-v2-tile:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 18px 50px -22px rgba(34, 229, 122, 0.55);
  color: var(--text);
}
.wm-v2-tile--lg { grid-column: span 3; }
.wm-v2-tile__index {
  position: absolute; top: 18px; right: 22px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--brand); opacity: 0.7;
}
.wm-v2-tile h3 { font-size: 1.25rem; margin: 0 0 10px; color: var(--text); }
.wm-v2-tile p  { color: var(--muted); margin: 0 0 14px; font-size: 0.95rem; }
.wm-v2-tile__cta { color: var(--brand); font-weight: 700; font-size: 0.9rem; margin-top: auto; }
.wm-v2-tile__sub {
  list-style: none; padding: 0; margin: 4px 0 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wm-v2-tile__sub li a {
  display: inline-block; padding: 4px 10px;
  background: rgba(34, 229, 122, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.78rem;
}
.wm-v2-tile__sub li a:hover { background: var(--brand); color: var(--brand-foreground); }

@media (max-width: 880px) {
  .wm-v2-mosaic { grid-template-columns: 1fr 1fr; }
  .wm-v2-tile, .wm-v2-tile--lg { grid-column: span 1; }
}
@media (max-width: 560px) {
  .wm-v2-mosaic { grid-template-columns: 1fr; }
}

/* EDITORIAL SPLIT -------------------------------------------- */
.wm-v2-editorial {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.wm-v2-editorial__col {
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.wm-v2-editorial__col--alt {
  background: linear-gradient(180deg, rgba(34,229,122,0.06), rgba(11,191,78,0.02));
}
.wm-v2-steps { list-style: none; counter-reset: step; padding: 0; margin: 18px 0 22px; }
.wm-v2-steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 56px;
  margin-bottom: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
}
.wm-v2-steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-foreground);
  border-radius: 50%;
  font-weight: 800; font-size: 0.9rem;
}
.wm-v2-bullets { list-style: none; padding: 0; margin: 18px 0 22px; }
.wm-v2-bullets li {
  padding: 10px 14px 10px 32px; position: relative; color: var(--text);
  border-bottom: 1px solid rgba(34, 229, 122, 0.12);
}
.wm-v2-bullets li::before {
  content: "▸"; position: absolute; left: 8px; color: var(--brand); font-weight: 800;
}

@media (max-width: 880px) {
  .wm-v2-editorial { grid-template-columns: 1fr; }
}

/* BLOG GRID -------------------------------------------------- */
.wm-v2-blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.wm-v2-blog-card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  color: var(--text);
}
.wm-v2-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 18px 50px -22px rgba(34, 229, 122, 0.55);
  color: var(--text);
}
.wm-v2-blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-ink); }
.wm-v2-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.wm-v2-blog-card:hover .wm-v2-blog-card__media img { transform: scale(1.05); }
.wm-v2-blog-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.wm-v2-blog-card__tag {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); font-weight: 700;
}
.wm-v2-blog-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; color: var(--text); }
.wm-v2-blog-card p  { font-size: 0.92rem; color: var(--muted); margin: 0; }
.wm-v2-blog-card__cta { color: var(--brand); font-weight: 700; font-size: 0.9rem; margin-top: 6px; }

/* FAQ -------------------------------------------------------- */
.wm-v2-faq {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.wm-v2-faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.wm-v2-faq details[open] { border-color: var(--brand); }
.wm-v2-faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.wm-v2-faq summary::-webkit-details-marker { display: none; }
.wm-v2-faq summary::after {
  content: "+"; color: var(--brand); font-size: 1.5rem; line-height: 1; transition: transform 0.2s;
}
.wm-v2-faq details[open] summary::after { content: "−"; }
.wm-v2-faq p { padding: 0 22px 18px; color: var(--muted); margin: 0; }
.wm-v2-faq a { color: var(--brand); }

/* TRUST ------------------------------------------------------ */
.wm-v2-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.wm-v2-trust > div {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.wm-v2-trust__icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-foreground);
  border-radius: 12px; font-size: 1.2rem; font-weight: 800;
}
.wm-v2-trust h3 { font-size: 1.02rem; margin: 0 0 6px; color: var(--text); }
.wm-v2-trust p  { color: var(--muted); font-size: 0.92rem; margin: 0; }

.wm-v2-empty {
  padding: 32px; background: var(--panel); border: 1px dashed var(--border); border-radius: 16px; text-align: center;
}

/* Replace any lingering gold-class hooks with brand styling */
.wm-eyebrow--gold,
.wm-btn--gold {
  /* already coloured by the green --brand token; keep classes harmless */
}
.wm-btn--gold {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: var(--brand-foreground) !important;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex; align-items: center;
}
.wm-btn--ghost-gold {
  background: var(--panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  display: inline-flex; align-items: center;
}
.wm-eyebrow--gold { color: var(--brand) !important; }


/* Blog hero + index thumbs */
.wm-blog-hero { margin: 18px 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.wm-blog-hero img { width: 100%; height: auto; display: block; }
.wm-blog-index-item { list-style: none; margin: 0 0 10px; }
.wm-blog-index-link { display: flex; gap: 14px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); color: var(--text); }
.wm-blog-index-link:hover { border-color: var(--brand); color: var(--text); }
.wm-blog-index-link img { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; flex: none; }
