/*
Theme Name:  MattressCenter
Theme URI:   https://mattresscenter.com
Description: Custom WooCommerce theme for mattresscenter.com — decision helper, live price calculator, intent-based navigation.
Author:      MPRO / Ciuziniu centras, MB
Version:     1.6.5
Text Domain: mattresscenter
Requires PHP: 8.0
*/

/* ── Design tokens — Premium British/Scandinavian ────*/
:root {
  --bg:          #faf7f2;
  --surface:     #ffffff;
  --surface-2:   #f5f1ea;
  --border:      #e4ddd3;
  --text:        #1c1714;
  --muted:       #6b5e52;
  --accent:      #1c1714;
  --accent-hover:#2e2420;
  --accent-2:    #9d7c3c;
  --gold:        #9d7c3c;
  --gold-light:  #f5ede0;
  --gold-border: #d4b88a;
  --warn:        #8b3a2a;
  --radius:      8px;
  --shadow:      0 4px 24px rgba(28,23,20,0.08);
  --shadow-sm:   0 1px 6px rgba(28,23,20,0.06);
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'DM Serif Display', Georgia, serif;
}

/* ── Reset + base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }
button, .button { cursor: pointer; }

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--text); font-weight: 400; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--muted); max-width: 62ch; line-height: 1.75; }

/* ── Layout helpers ──────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1240px; margin: 0 auto;
}
.site-logo {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--text);
  letter-spacing: 0.01em;
}
.site-logo span { color: var(--gold); }
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.current { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.cart-icon { position: relative; font-size: 18px; color: var(--text); }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--text); color: #fff;
  font-size: 9px; font-weight: 700;
  border-radius: 50%; width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
}

/* ── Trust strip ─────────────────────────────────── */
.trust-strip {
  background: var(--text); color: rgba(255,255,255,0.72);
  text-align: center; font-size: 12px; padding: 9px 24px;
  letter-spacing: 0.04em;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-strip span { display: flex; align-items: center; gap: 6px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; border: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(28,23,20,0.18); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b8903d; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

/* ── Category intent nav ─────────────────────────── */
.category-nav {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.category-nav ul {
  display: flex; gap: 0; list-style: none;
  max-width: 1240px; margin: 0 auto;
  overflow-x: auto; scrollbar-width: none;
}
.category-nav a {
  display: block; padding: 16px 22px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: all .2s;
}
.category-nav a:hover, .category-nav a.active {
  color: var(--text); border-color: var(--text);
}

/* ── Filter sidebar ──────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.filter-sidebar { position: sticky; top: 72px; height: fit-content; }
.filter-group { margin-bottom: 28px; }
.filter-group h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700;
}
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.filter-option input[type=checkbox] { accent-color: var(--text); width: 14px; height: 14px; }
.filter-option label { font-size: 14px; color: var(--muted); cursor: pointer; }
.filter-option label:hover { color: var(--text); }
.filter-range { display: flex; gap: 8px; align-items: center; }
.filter-range input {
  width: 80px; padding: 6px 10px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; background: var(--surface);
}

/* ── Product grid ────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }

/* WooCommerce outputs ul.products.columns-3 — override to 3-col grid */
ul.products,
.mc-products-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.products li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.products-count { font-size: 13px; color: var(--muted); margin-bottom: 20px; letter-spacing: 0.02em; }

/* ── Product card ────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--warn); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase;
}
.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card__name { font-weight: 600; font-size: 15px; color: var(--text); line-height: 1.3; }
.product-card__desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Firmness indicator ──────────────────────────── */
.firmness-bar { display: flex; gap: 6px; align-items: center; }
.firmness-bar__label { font-size: 11px; color: var(--muted); width: 70px; flex-shrink: 0; letter-spacing: 0.03em; }
.firmness-bar__track { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.firmness-bar__fill { height: 100%; background: var(--text); border-radius: 2px; }

/* ── Material tags ───────────────────────────────── */
.material-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.material-tag {
  font-size: 11px; padding: 3px 9px; border-radius: 2px;
  background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-border);
  font-weight: 600; letter-spacing: 0.03em;
}

/* ── Size selector + live price ─────────────────── */
.size-selector { margin-top: auto; }
.size-selector__label {
  font-size: 11px; color: var(--muted); margin-bottom: 8px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip {
  padding: 6px 11px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; cursor: pointer;
  background: var(--surface); color: var(--muted);
  transition: all .15s; user-select: none; font-weight: 500;
}
.size-chip:hover { border-color: var(--text); color: var(--text); }
.size-chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.size-chip.custom-size { border-style: dashed; color: var(--muted); font-size: 12px; }
.size-chip.custom-size:hover, .size-chip.custom-size.active {
  background: var(--gold); color: #fff; border-color: var(--gold); border-style: solid;
}

/* ── Price display ───────────────────────────────── */
.product-price-block { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price-main {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 400; color: var(--text);
  transition: all .2s;
}
.price-main.price-loading { opacity: .3; }
.price-from { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.price-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }

/* ── Add to cart ─────────────────────────────────── */
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.add-to-cart-btn {
  flex: 1; padding: 12px 18px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.add-to-cart-btn:not(:disabled):hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28,23,20,0.18);
}
.add-to-cart-btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
.add-to-cart-btn.added { background: #2a4a2e; }

/* ── Filter-activation card states ──────────────── */
/* Exact size match from URL filter */
.product-card.mc-filter-match {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(181,120,48,0.18);
}
/* Custom size supported, but not an exact grid match */
.product-card.mc-filter-custom {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(181,120,48,0.12);
}
/* Quote button variant for custom/non-standard sizes */
.add-to-cart-btn.btn--quote {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.add-to-cart-btn.btn--quote:not(:disabled):hover {
  background: var(--accent);
  color: #fff;
}
/* Product not available in the filtered size */
.product-card.mc-filter-no-match {
  opacity: 0.38;
  pointer-events: none;
}
/* Size pill badge appended to card title when filter is active */
.mc-size-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.6;
}
/* Custom dim "Other..." toggle button */
.mc-custom-dim-toggle {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 4px;
  transition: border-color .15s, color .15s;
}
.mc-custom-dim-toggle:hover { border-color: var(--accent); color: var(--accent); }
/* Custom dimension input inside dropdown */
.mc-custom-dim-form {
  padding: 10px 12px 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.mc-custom-dim-form label {
  font-size: 11px; color: var(--muted); display: block; margin-bottom: 6px;
}
.mc-custom-dim-input {
  width: 100%; padding: 6px 8px; font-size: 13px;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 2px;
}
.btn-xs { padding: 5px 12px; font-size: 11px; }

.wishlist-btn {
  width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: all .2s; color: var(--muted);
}
.wishlist-btn:hover { border-color: var(--text); color: var(--text); }

/* ── Custom size form ────────────────────────────── */
.custom-size-form {
  display: none; margin-top: 12px;
  background: var(--surface-2); border-radius: var(--radius); padding: 14px;
  border: 1px solid var(--border);
}
.custom-size-form.visible { display: block; }
.custom-size-form__row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.custom-size-form__field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 80px; }
.custom-size-form__field label { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.custom-size-form__field input {
  padding: 8px 10px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; width: 100%;
  background: var(--surface); transition: border-color .2s;
}
.custom-size-form__field input:focus { border-color: var(--text); outline: none; }

/* ── Homepage sections ───────────────────────────── */
.hero { padding: 80px 0; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold); }
.hero__title { margin-bottom: 20px; }
.hero__desc { margin-bottom: 32px; font-size: 1.05rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__image { border-radius: 2px; overflow: hidden; }

/* ── Trust stats bar ─────────────────────────────── */
.trust-stats { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-stats__inner { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.trust-stat { text-align: center; }
.trust-stat__number { font-family: var(--font-head); font-size: 2rem; color: var(--text); }
.trust-stat__label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; margin-top: 2px; }

/* ── Intent cards ────────────────────────────────── */
.intent-cards { padding: 64px 0; }
.intent-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .2s, transform .2s;
}
.intent-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.intent-card__icon { font-size: 1.8rem; }
.intent-card__title { font-size: 1.15rem; font-weight: 600; }
.intent-card__desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.intent-card__link {
  margin-top: auto; font-size: 12px; font-weight: 700; color: var(--text);
  letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px;
}

/* ── Section labels ──────────────────────────────── */
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-title { margin-bottom: 10px; }
.section-desc { margin-bottom: 40px; color: var(--muted); }

/* ── How it works ────────────────────────────────── */
.how-it-works { padding: 80px 0; background: var(--surface-2); }
.how-step { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.how-step__num { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); line-height: 1; }
.how-step__title { font-size: 1rem; font-weight: 700; color: var(--text); }
.how-step__desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Testimonials ────────────────────────────────── */
.testimonials { padding: 80px 0; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--text); }
.testimonial-location { font-size: 12px; color: var(--muted); }

/* ── CTA section ─────────────────────────────────── */
.cta-section { background: var(--text); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.6); margin: 0 auto 32px; }
.cta-section .btn-primary { background: var(--gold); color: #fff; }
.cta-section .btn-primary:hover { background: #b8903d; }

/* ── Footer ──────────────────────────────────────── */
.site-footer { background: #13100e; color: rgba(255,255,255,0.45); margin-top: 80px; }
.footer-trust {
  background: var(--surface-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 24px 0;
}
.footer-trust .container { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.footer-trust-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.footer-trust-item strong { color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 56px 0 40px; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 260px; line-height: 1.7; }
.footer-brand .site-logo { color: rgba(255,255,255,0.85); }
.footer-col h4 {
  color: rgba(255,255,255,0.88); font-size: 11px; margin-bottom: 18px;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
/* ── Footer enhancements ──────────────────────────── */
.footer-ambassador-strip {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-ambassador-strip .container {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-ambassador-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--accent-2); flex-shrink: 0;
}
.footer-ambassador-strip blockquote {
  font-size: 14px; color: rgba(255,255,255,0.55); font-style: italic;
  margin: 0; line-height: 1.55; max-width: 600px;
}
.footer-ambassador-strip cite {
  font-style: normal; font-size: 12px; color: rgba(255,255,255,0.35);
  display: block; margin-top: 4px;
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5);
  transition: background .2s, color .2s;
}
.footer-social-link:hover { background: var(--accent-2); color: #fff; }
.footer-chat-cta {
  margin-top: 20px; padding: 14px; background: rgba(255,255,255,0.04);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
}
.footer-chat-cta p { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.5; }
.footer-partner {
  font-size: 12px; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.footer-partner a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.footer-partner a:hover { color: var(--accent-2); }
.footer-logo-link { text-decoration: none; }


/* ── WooCommerce overrides ───────────────────────── */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--accent) !important; color: #fff !important;
  border-radius: var(--radius) !important;
  font-size: 12px !important; font-weight: 700 !important;
  letter-spacing: 0.06em !important; text-transform: uppercase !important;
  border: none !important; padding: 14px 28px !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--accent-hover) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--text) !important; }

/* ── Utility ─────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 200px 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .filter-toggle { display: inline-flex !important; align-items: center; gap: 6px; }
  .filter-sidebar { display: none; }
  .filter-sidebar.open { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-stats__inner { gap: 32px; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip { gap: 14px; justify-content: flex-start; font-size: 11px; }
  .hero { padding: 48px 0; }
  .hero__inner { gap: 28px; }
  h1 { font-size: 2rem; }
  .price-main { font-size: 1.4rem; }
}
/* ═══════════════════════════════════════════════════════════════════
   BEST-VERSION ADDITIONS v1.2
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero price signal ───────────────────────────────────────────── */
.hero__price-signal {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 20px 0; font-size: 14px;
}
.price-signal__from { color: var(--muted); }
.price-signal__amount { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); }
.price-signal__sep { color: var(--border); }
.price-signal__trial, .price-signal__delivery { font-weight: 600; color: var(--text); }

/* ── Hero trust micro ────────────────────────────────────────────── */
.hero__trust-micro {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px;
}
.hero__trust-micro span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ── Hero visual ─────────────────────────────────────────────────── */
.hero__visual { position: relative; }
.hero__image-frame {
  border-radius: 8px; overflow: hidden;
  background: var(--surface-2); aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.hero__image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ── Hero placeholder bed (until real photo) ─────────────────────── */
.hero__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 16px; padding: 40px;
}
.hero__placeholder-bed { position: relative; width: 220px; height: 140px; }
.hero__placeholder-frame {
  position: absolute; bottom: 0; left: 0; right: 0; height: 30px;
  background: var(--text); border-radius: 4px 4px 2px 2px; opacity: 0.15;
}
.hero__placeholder-mattress {
  position: absolute; bottom: 28px; left: 10px; right: 10px; height: 55px;
  background: linear-gradient(135deg, #d4c9ba 0%, #e8dfd4 100%);
  border-radius: 6px; border: 1px solid var(--border);
}
.hero__placeholder-pillow {
  position: absolute; top: 18px; left: 18px; width: 72px; height: 36px;
  background: #fff; border-radius: 40px; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero__placeholder-pillow--2 { left: auto; right: 18px; }
.hero__placeholder-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Floating badge ──────────────────────────────────────────────── */
.hero__badge-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; box-shadow: var(--shadow-sm);
  font-size: 12px;
}
.hero__badge-float strong { font-size: 15px; font-family: var(--font-head); display: block; line-height: 1.2; }
.hero__badge-float span { color: var(--muted); }
.hero__badge-float--top { top: -16px; right: -8px; }
.hero__badge-float--bottom { bottom: -16px; left: -8px; }
.badge-float__icon { font-size: 20px; }

/* ── Section header row ──────────────────────────────────────────── */
.section-header { margin-bottom: 40px; }
.section-header--row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }

/* ── Firmness guide ──────────────────────────────────────────────── */
.firmness-guide { padding: 80px 0; background: var(--surface-2); }
.firmness-guide__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.firmness-guide__scale {
  display: flex; align-items: stretch; gap: 16px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.firmness-level { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.firmness-level__photo {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2);
}
.firmness-level__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.firmness-level:hover .firmness-level__photo img { transform: scale(1.05); }
.firmness-level--active .firmness-level__photo { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.firmness-level__num {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(15,23,42,0.82); color: #fff; font-family: var(--font-head);
  font-size: 1rem; line-height: 1; padding: 5px 9px; border-radius: 6px;
}
.firmness-level__name { font-size: 13px; font-weight: 700; color: var(--text); text-align: center; }
.firmness-level__who { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.3; }
.how-step__icon { font-size: 1.8rem; margin-bottom: 4px; }

/* ── Quiz CTA section ────────────────────────────────────────────── */
.quiz-cta { background: var(--text); padding: 80px 0; }
.quiz-cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.quiz-cta h2 { color: #fff; margin: 8px 0 12px; }
.quiz-cta p { color: rgba(255,255,255,0.65); max-width: 52ch; }
.quiz-cta__meta { font-size: 12px; color: rgba(255,255,255,0.5); align-self: center; }
.quiz-cta__stats { display: flex; flex-direction: column; gap: 24px; }
.quiz-stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.quiz-stat__num { font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1; }
.quiz-stat__label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── Why Matrest ─────────────────────────────────────────────────── */
.why-matrest { padding: 80px 0; }
.why-matrest__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.why-matrest__image-side {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 40px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
}
.why-matrest__factory-visual { text-align: center; margin-bottom: 28px; }
.why-matrest__factory-icon { font-size: 32px; margin-bottom: 8px; }
.why-matrest__factory-year { font-size: 88px; font-weight: 800; line-height: 1; color: var(--text); font-family: var(--font-heading); }
.why-matrest__factory-label { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: 0.02em; }
.why-matrest__factory-loc { font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.why-matrest__cert-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cert-badge {
  background: var(--surface); border: 1.5px solid var(--gold-border);
  color: var(--gold); border-radius: 6px; padding: 12px 16px;
  font-size: 13px; font-weight: 700; text-align: center; line-height: 1.4;
}
.cert-badge small { color: var(--muted); font-weight: 400; font-size: 11px; display: block; }
.why-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.why-point { display: flex; gap: 14px; align-items: flex-start; }
.why-point__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.why-point__title { display: block; font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.why-point__desc { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 56ch; }

/* ── Testimonial meta ────────────────────────────────────────────── */
.testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-location { font-size: 12px; color: var(--muted); }

/* ── Guide grid ──────────────────────────────────────────────────── */
.sleep-guide-preview { padding: 80px 0; background: var(--surface-2); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.guide-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
  color: var(--text);
}
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.guide-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.guide-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { padding: 20px; flex: 1; }
.guide-card__cat { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.guide-card__title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.guide-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; }
.guide-empty { text-align: center; padding: 40px; color: var(--muted); }

/* ── Intent card price ───────────────────────────────────────────── */
.intent-card__price {
  font-family: var(--font-head); font-size: 1.3rem; color: var(--text);
  margin-top: auto; padding-top: 8px;
}

/* ── Featured products section ───────────────────────────────────── */
.featured-products { padding: 80px 0; }

/* ── Responsive additions ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__badge-float { display: none; }
  .firmness-guide__inner { grid-template-columns: 1fr; }
  .quiz-cta__inner { grid-template-columns: 1fr; }
  .quiz-cta__stats { flex-direction: row; }
  .why-matrest__inner { grid-template-columns: 1fr; }
  .why-matrest__image-side { min-height: auto; padding: 24px; }
}
@media (max-width: 600px) {
  .firmness-guide__scale { gap: 6px; padding: 20px; }
  .firmness-level__who { display: none; }
  .quiz-cta__stats { flex-direction: column; }
}
/* ── Sleeping Ambassador section ─────────────────────────────── */
.ambassador-section { padding: 80px 0; background: var(--surface); }
.ambassador__inner {
  display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center;
}
.ambassador__photo-frame {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); aspect-ratio: 3/4;
  border: 1px solid var(--border);
}
.ambassador__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.ambassador__photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--border));
}
.ambassador__initials {
  font-family: var(--font-head); font-size: 4rem; color: var(--muted); font-weight: 400;
}
.ambassador__credentials { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ambassador__credential {
  font-size: 13px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.ambassador__quote {
  font-family: var(--font-head); font-size: 1.15rem; color: var(--text);
  line-height: 1.65; margin: 20px 0; padding-left: 20px;
  border-left: 3px solid var(--gold); font-style: normal;
}
.ambassador__name {
  display: flex; flex-direction: column; gap: 2px; margin-top: 20px;
}
.ambassador__name strong { font-size: 16px; color: var(--text); font-weight: 700; }
.ambassador__name span { font-size: 13px; color: var(--gold); letter-spacing: 0.03em; }

@media (max-width: 900px) {
  .ambassador__inner { grid-template-columns: 1fr; gap: 32px; }
  .ambassador__photo-frame { max-width: 280px; }
}
/* Ambassador social + proof additions */
.ambassador__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; transition: all .2s;
}
.ambassador__social-link:hover { background: var(--text); color: #fff; }
.ambassador__social-link--text { width: auto; padding: 0 10px; font-size: 12px; }
.ambassador__proof { display: flex; gap: 28px; flex-wrap: wrap; }
.ambassador__proof-item { display: flex; flex-direction: column; gap: 2px; }
.ambassador__proof-num { font-family: var(--font-head); font-size: 1.8rem; color: var(--text); line-height: 1; }
.ambassador__proof-label { font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
/* ══════════════════════════════════════════════════════════════════
   WOW LAYER — Animations, Microinteractions, Delight
   ══════════════════════════════════════════════════════════════════ */

/* Hero entrance animation */
.hero__content { animation: heroEnter 0.8s ease forwards; }
.hero__visual  { animation: heroEnter 0.8s 0.2s ease both; }
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Trust strip shimmer */
.trust-strip::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 4s ease-in-out infinite;
}
.trust-strip { position: relative; overflow: hidden; }
@keyframes shimmer { 0%,100% { left: -100%; } 50% { left: 120%; } }

/* Price flip — slot machine feel */
@keyframes priceFlip {
  0%   { transform: translateY(0);     opacity: 1; }
  30%  { transform: translateY(-12px); opacity: 0; }
  60%  { transform: translateY(12px);  opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}

/* Hero badge gentle float */
@keyframes badgePulse {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-6px) scale(1.02); }
}

/* Social proof ticker REMOVED 2026-06-11 (fabricated messages - EU Omnibus) */

/* Size chip active — scale pop */
.size-chip.active { animation: chipPop 0.2s ease; }
@keyframes chipPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Sticky CTA bar */
.sticky-cta-bar {
  position: fixed; bottom: -80px; left: 0; right: 0; z-index: 200;
  background: var(--text); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 24px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(28,23,20,0.15);
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sticky-cta-bar--visible { bottom: 0; }
.sticky-cta__text { font-size: 14px; color: rgba(255,255,255,0.75); }
.sticky-cta__btn { background: var(--gold) !important; flex-shrink: 0; }
.sticky-cta__btn:hover { background: #b8903d !important; }
.sticky-cta__close {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  margin-left: auto;
}
.sticky-cta__close:hover { color: #fff; }

/* Product card image zoom on hover */
.product-card__image { overflow: hidden; }
.product-card__image img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card__image img { transform: scale(1.06); }

/* Intent card — arrow slide on hover */
.intent-card__link::after { content: ''; transition: transform 0.2s ease; }
.intent-card:hover .intent-card__link { color: var(--gold); }

/* Hero placeholder — breathing animation */
.hero__placeholder-mattress {
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.97); }
}

/* Section reveal stagger — applied via JS, but CSS defines the base */
[data-reveal] { will-change: opacity, transform; }

/* Mobile: disable heavy animations */
@media (max-width: 600px) {
  .sticky-cta__text { display: none; }
  .hero__content, .hero__visual { animation-duration: 0.4s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ── Mobile nav + Burger + WhatsApp ─────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(320px, 88vw); height: 100vh;
  background: var(--surface); z-index: 999; display: flex; flex-direction: column;
  transition: right 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -8px 0 40px rgba(28,23,20,0.15);
  border-left: 1px solid var(--border);
}
.mobile-nav.open { right: 0; }
.mobile-nav__overlay {
  position: fixed; inset: 0; background: rgba(28,23,20,0.45);
  z-index: 998; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav__overlay.open { display: block; opacity: 1; }
.mobile-nav__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.mobile-nav__close {
  background: none; border: none; font-size: 18px; cursor: pointer;
  color: var(--muted); padding: 4px 8px;
}
.mobile-nav__links { display: flex; flex-direction: column; padding: 16px 0; flex: 1; overflow-y: auto; }
.mobile-nav__links a {
  padding: 14px 24px; font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); text-decoration: none; transition: background 0.15s;
}
.mobile-nav__links a:hover { background: var(--surface-2); }
.mobile-nav__links a.mobile-nav__cta {
  margin: 16px; border: none; background: var(--text); color: #fff;
  border-radius: var(--radius); padding: 14px 20px; text-align: center; font-weight: 700; letter-spacing: 0.05em;
}
.mobile-nav__footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-nav__footer a { font-size: 14px; color: var(--text); text-decoration: none; font-weight: 500; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 20px; z-index: 300;
  background: #25d366; color: #fff; border-radius: 50px;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none; font-size: 13px; font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 6px 24px rgba(37,211,102,0.5); color: #fff; }
.whatsapp-float svg { flex-shrink: 0; }

/* Show burger on mobile */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .main-nav { display: none; }
  .header-inner { padding: 14px 16px; }
}
@media (max-width: 600px) {
  .whatsapp-float { bottom: 74px; }
}
/* ── Single product page ─────────────────────────────────────────── */
.product-breadcrumb { background:var(--surface-2); border-bottom:1px solid var(--border); padding:10px 0; }
.product-breadcrumb .woocommerce-breadcrumb { font-size:13px; color:var(--muted); max-width:1240px; margin:0 auto; padding:0 24px; }
.product-breadcrumb .woocommerce-breadcrumb a { color:var(--muted); }
.single-product-section { padding:40px 0 80px; }
.single-product__grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.single-product__main-img { width:100%; border-radius:var(--radius); border:1px solid var(--border); display:block; }
.single-product__thumbs { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.product-thumb { width:72px; height:72px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--border); cursor:pointer; transition:border-color .2s; }
.product-thumb:hover { border-color:var(--text); }
.product-trust-badges { display:flex; gap:8px; flex-wrap:wrap; margin-top:20px; }
.trust-badge { font-size:12px; color:var(--muted); font-weight:500; background:var(--surface-2); padding:5px 12px; border-radius:20px; border:1px solid var(--border); }
.product-category-tag { font-size:11px; font-weight:700; color:var(--gold); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:10px; }
.product-title { font-family:var(--font-head); font-size:clamp(1.5rem,3vw,2.2rem); font-weight:400; margin-bottom:14px; line-height:1.2; }
.product-short-desc { font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:20px; max-width:52ch; }
.product-firmness-row { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.product-meta-label { font-size:11px; font-weight:700; color:var(--muted); letter-spacing:0.08em; text-transform:uppercase; width:64px; flex-shrink:0; }
.product-price-section { padding:20px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin:20px 0; }
.product-price-section .price-main { font-family:var(--font-head); font-size:2rem; font-weight:400; color:var(--text); }
.product-size-selector { margin:20px 0; }
.product-cta-trust { margin-top:12px; font-size:12px; color:var(--muted); display:flex; gap:16px; flex-wrap:wrap; }
.product-ambassador-note { margin-top:28px; padding:16px 20px; background:var(--surface-2); border-radius:var(--radius); border-left:3px solid var(--gold); }
.product-full-description { margin-top:56px; padding-top:40px; border-top:1px solid var(--border); }
.product-full-description h2 { font-family:var(--font-head); font-size:1.4rem; margin-bottom:24px; }
.product-desc-content { color:var(--muted); font-size:15px; line-height:1.75; max-width:68ch; }
.product-desc-content h3 { font-family:var(--font-head); font-size:1.1rem; color:var(--text); margin:20px 0 8px; }
.product-desc-content ul { padding-left:20px; }
.product-desc-content li { margin-bottom:6px; }

/* WC add-to-cart on single product */
.woocommerce div.product form.cart { margin-top:4px; }
.woocommerce div.product form.cart .button {
  width:100%; background:var(--text)!important; color:#fff!important;
  font-size:13px!important; font-weight:700!important; letter-spacing:0.06em!important;
  text-transform:uppercase!important; border-radius:var(--radius)!important;
  padding:16px 24px!important; cursor:pointer!important;
  transition:background .2s, transform .2s!important;
}
.woocommerce div.product form.cart .button:hover {
  background:var(--accent-hover)!important;
  transform:translateY(-1px)!important;
}
.woocommerce div.product p.price { display:none; } /* hidden — we show our own */

@media (max-width:900px) {
  .single-product__grid { grid-template-columns:1fr; gap:32px; }
  .single-product__main-img { max-height:340px; object-fit:contain; }
}
/* ── Sleep ROI Calculator ────────────────────────────────────────── */
.sleep-roi { padding: 80px 0; background: var(--surface-2); }
.sleep-roi__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.roi-calc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 28px; box-shadow: var(--shadow);
}
.roi-calc__title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 20px; letter-spacing: 0.03em; text-transform: uppercase; font-size: 11px; }
.roi-calc__row { margin-bottom: 16px; }
.roi-calc__row label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.roi-calc__row input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: var(--font-body); }
.roi-calc__row input:focus { border-color: var(--text); outline: none; }
.roi-calc__result {
  background: var(--text); color: #fff; border-radius: var(--radius);
  padding: 20px; text-align: center; margin: 16px 0;
}
.roi-result__per-night { font-family: var(--font-head); font-size: 2.8rem; color: var(--gold); line-height: 1; }
.roi-result__label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 6px; }
.roi-calc__compare { font-size: 13px; color: var(--muted); text-align: center; }

/* ── WhatsApp Order Flow ─────────────────────────────────────────── */
.whatsapp-order { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--border); }
.whatsapp-order__inner { display: grid; grid-template-columns: 80px 1fr auto; gap: 40px; align-items: center; }
.whatsapp-order__icon { font-size: 3.5rem; text-align: center; }
.whatsapp-order__stats { display: flex; gap: 32px; margin-top: 16px; }
.whatsapp-order__stats div { display: flex; flex-direction: column; gap: 2px; }
.whatsapp-order__stats strong { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.whatsapp-order__stats span { font-size: 13px; color: var(--muted); }
.btn-whatsapp-order {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 15px;
  padding: 16px 28px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap;
}
.btn-whatsapp-order:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 28px rgba(37,211,102,0.45); color: #fff; }

@media (max-width: 900px) {
  .sleep-roi__inner { grid-template-columns: 1fr; }
  .whatsapp-order__inner { grid-template-columns: 1fr; text-align: center; }
  .whatsapp-order__icon { display: none; }
  .whatsapp-order__stats { justify-content: center; }
}
/* Fix WooCommerce default link/description colors in loops */
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--text) !important; font-weight: 700; font-size: 15px; }
.woocommerce ul.products li.product .woocommerce-loop-category__title { color: var(--text) !important; font-weight: 700; }
.woocommerce ul.products li.product a { color: var(--text) !important; text-decoration: none; }
.woocommerce ul.products li.product a:hover { color: var(--gold) !important; }
.woocommerce ul.products li.product .price { color: var(--text) !important; font-family: var(--font-head); }
.woocommerce span.onsale { background: var(--warn) !important; border-radius: 2px; }
/* Product category description */
.woocommerce .term-description { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
/* Remove default WC styles that clash */
.woocommerce a.added_to_cart { color: var(--gold) !important; }
/* ══════════════════════════════════════════════════════════════════
   DESIGN v2.0 — 2026 Editorial Premium Upgrade
   Bolder. More human. Less "ecommerce template".
   ══════════════════════════════════════════════════════════════════ */

/* ── Override typography for real impact ────────────────────────── */
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -0.025em; line-height: 1.05 !important; font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.02em; line-height: 1.1 !important; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ── New hero — full-bleed editorial ─────────────────────────────── */
.hero {
  padding: 0;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}
/* Hero container override: bypass max-width for full-bleed */
.hero .container {
  max-width: none;
  padding: 0;
  width: 100%;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
.hero__content {
  padding: clamp(60px, 8vw, 100px) clamp(32px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  background: var(--bg);
  animation: heroEnter 0.9s ease both;
}
.hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  animation: heroEnter 0.9s 0.15s ease both;
}
.hero__image-frame {
  width: 100%; height: 100%; border-radius: 0; border: none;
  position: absolute; inset: 0;
}
.hero__image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero__badge-float--top { top: 24px; right: 24px; }
.hero__badge-float--bottom { bottom: 24px; left: 24px; }

/* Hero headline sizing */
.hero__eyebrow {
  font-size: 11px; letter-spacing: 0.18em; margin-bottom: 24px;
}
.hero__eyebrow::before { width: 32px; }
.hero__title { margin-bottom: 24px; line-height: 1.05; }
.hero__desc { font-size: 1.1rem; line-height: 1.65; margin-bottom: 28px; max-width: 48ch; }

/* Price signal v2 — more bold */
.hero__price-signal {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 24px 0;
}
.price-signal__amount { font-family: var(--font-head); font-size: 2.2rem; color: var(--text); letter-spacing: -0.02em; }

/* ── Ambassador v2 — full bleed, editorial, UNMISSABLE ─────────────── */
.ambassador-section {
  padding: 0;
  min-height: 70vh;
  background: var(--text);
}
.ambassador__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  gap: 0;
}
.ambassador__photo {
  position: relative;
  overflow: hidden;
}
.ambassador__photo-frame {
  width: 100%; height: 100%; border-radius: 0; border: none;
  position: absolute; inset: 0; aspect-ratio: auto;
}
.ambassador__photo-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  display: block; filter: none;
}
.ambassador__photo-placeholder {
  width: 100%; height: 100%; min-height: 70vh;
  background: linear-gradient(160deg, #2a1f1a 0%, #1a1410 100%);
  display: flex; align-items: center; justify-content: center;
}
.ambassador__initials {
  font-family: var(--font-head); font-size: 8rem; color: rgba(157,124,60,0.3); font-weight: 400;
}
.ambassador__text {
  padding: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  background: var(--text);
}
.ambassador__text .section-eyebrow { color: var(--gold); margin-bottom: 20px; }
.ambassador__text h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0; }
.ambassador__quote {
  font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85); line-height: 1.6;
  margin: 28px 0; padding: 0; border-left: none;
  font-style: italic; font-weight: 400;
}
.ambassador__name strong { color: #fff; font-size: 17px; }
.ambassador__name span { color: var(--gold); }
.ambassador__credentials { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ambassador__credential { color: rgba(255,255,255,0.6); font-size: 13px; }
.ambassador__social-link { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }
.ambassador__social-link:hover { background: #fff; color: var(--text); }
.ambassador__proof { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.ambassador__proof-num { color: var(--gold); }
.ambassador__proof-label { color: rgba(255,255,255,0.5); }
.ambassador__text .btn-primary { background: var(--gold); color: #fff; margin-top: 24px; align-self: flex-start; }
.ambassador__text .btn-primary:hover { background: #b8903d; }
.ambassador__text .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; margin-top: 24px; align-self: flex-start; }
.ambassador__text .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Section headers v2 — more editorial ─────────────────────────── */
.section-eyebrow {
  font-size: 10px; letter-spacing: 0.2em;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--gold); }

/* ── Intent cards v2 — bigger type, bolder ───────────────────────── */
.intent-card { border-radius: 2px; }
.intent-card__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; }
.intent-card__price { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); font-weight: 400; }

/* ── Featured products section — more editorial ──────────────────── */
.featured-products { padding: 100px 0; }
.section-header--row h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* ── Testimonials v2 ─────────────────────────────────────────────── */
.testimonials { background: var(--text); padding: 100px 0; }
.testimonials .section-header h2 { color: #fff; }
.testimonials .section-eyebrow { color: var(--gold); }
.testimonial-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.testimonial-text { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.testimonial-author { color: #fff; }
.testimonial-location { color: rgba(255,255,255,0.45); }

/* ── Footer v2 — move trust bar to after content ─────────────────── */
.footer-trust { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.footer-trust-item { color: rgba(255,255,255,0.5); }
.footer-trust-item strong { color: rgba(255,255,255,0.8); }

/* ── Responsive v2 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 50vw; max-height: 60vh; }
  .ambassador__inner { grid-template-columns: 1fr; }
  .ambassador__photo { min-height: 60vw; }
  .ambassador__photo-placeholder { min-height: 60vw; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 40px 20px 32px; }
  .hero__visual { min-height: 56vw; }
  h1 { font-size: 2.4rem; }
}
/* ── Ambassador photo fix — fill full height ─────────────────────── */
.ambassador__photo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.ambassador__photo-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  aspect-ratio: unset !important;
}
.ambassador__photo-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
.ambassador__inner {
  min-height: 70vh;
  align-items: stretch;
}
.ambassador__text {
  min-height: 600px;
}
/* ── Ambassador badge in hero with real photo ───────────────────── */
.hero__badge--ambassador {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
}
.badge-ambassador__photo {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

/* ── Complete Sleep Setup section ───────────────────────────────── */
.complete-setup { padding: 80px 0; background: var(--surface-2); }
.complete-setup__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.complete-setup__image { position: relative; }
.complete-setup__image img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.complete-setup__image-caption {
  font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center;
  letter-spacing: 0.03em;
}
.setup-features { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.setup-feature { display: flex; gap: 14px; align-items: flex-start; }
.setup-feature__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.setup-feature strong { display: block; font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.setup-feature p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; max-width: none; }

@media (max-width: 900px) {
  .complete-setup__inner { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════════════════════════════════
   MOBILE-FIRST CRITICAL OVERRIDES
   Designed for 375px screen — desktop is the enhancement
   ══════════════════════════════════════════════════════════════════ */

/* ── Base mobile resets ─────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Typography — comfortable on small screen */
  h1 { font-size: 2rem !important; line-height: 1.1 !important; letter-spacing: -0.02em; }
  h2 { font-size: 1.6rem !important; line-height: 1.15 !important; }
  h3 { font-size: 1.15rem !important; }

  /* Container padding */
  .container { padding: 0 16px !important; }

  /* ── Hero mobile ── */
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero__content {
    padding: 28px 20px 24px !important;
    order: 1;
  }
  .hero__visual {
    order: 2;
    min-height: 56vw !important;
    max-height: 260px !important;
    position: relative;
    width: 100%;
  }
  .hero__image-frame {
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    aspect-ratio: unset !important;
  }
  .hero__badge-float { display: none !important; }

  /* Price signal compact on mobile */
  .hero__price-signal {
    gap: 8px !important; font-size: 13px;
    border: none !important; padding: 8px 0 !important; margin: 12px 0 !important;
  }
  .price-signal__amount { font-size: 1.6rem !important; }
  .price-signal__sep { display: none; }
  .price-signal__trial, .price-signal__delivery { display: none; }

  .hero__actions { gap: 10px !important; flex-direction: column; }
  .hero__actions .btn { width: 100% !important; justify-content: center; padding: 14px 20px !important; }
  .hero__trust-micro { gap: 8px !important; font-size: 11px !important; }
  .hero__desc { font-size: 15px !important; margin-bottom: 16px !important; }

  /* ── Trust strip mobile ── */
  .trust-strip {
    gap: 0 !important;
    flex-direction: column !important;
    padding: 8px 16px !important;
    font-size: 11px !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
  .trust-strip span { padding: 3px 0; }

  /* ── Trust stats mobile ── */
  .trust-stats { padding: 20px 0 !important; }
  .trust-stats__inner { gap: 16px !important; justify-content: space-between; padding: 0 16px; }
  .trust-stat__number { font-size: 1.5rem !important; }
  .trust-stat__label { font-size: 10px !important; }

  /* ── Ambassador mobile — photo ABOVE text ── */
  .ambassador-section { min-height: auto !important; }
  .ambassador__inner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .ambassador__photo {
    min-height: 70vw !important;
    max-height: 80vw !important;
    order: 1 !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .ambassador__photo-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
  }
  .ambassador__photo-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
  .ambassador__text {
    order: 2 !important;
    padding: 28px 20px !important;
    min-height: auto !important;
  }
  .ambassador__text h2 { font-size: 1.5rem !important; margin-bottom: 12px; }
  .ambassador__quote { font-size: 15px !important; margin: 16px 0 !important; }
  .ambassador__proof { flex-direction: row !important; gap: 20px !important; }
  .ambassador__proof-num { font-size: 1.4rem !important; }
  .ambassador__text .btn-primary,
  .ambassador__text .btn-outline { align-self: stretch !important; text-align: center !important; margin-top: 16px !important; }

  /* ── Intent cards mobile — 2×2 grid ── */
  .intent-cards { padding: 36px 0 !important; }
  .intent-cards .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .intent-card { padding: 16px !important; }
  .intent-card__icon { font-size: 1.4rem !important; }
  .intent-card__title { font-size: 14px !important; }
  .intent-card__desc { display: none; }
  .intent-card__price { font-size: 1.1rem !important; padding-top: 4px !important; }
  .intent-card__link { font-size: 11px !important; }

  /* ── Products section mobile ── */
  .featured-products { padding: 36px 0 !important; }
  .products-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  ul.products { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .product-card__body { padding: 12px !important; gap: 6px !important; }
  .product-card__name { font-size: 13px !important; }
  .product-card__desc { display: none; }
  .price-main { font-size: 1.2rem !important; }
  .size-chips { gap: 4px !important; }
  .size-chip { padding: 4px 7px !important; font-size: 11px !important; }
  .add-to-cart-btn { font-size: 11px !important; padding: 9px 12px !important; }

  /* ── Section padding reduction ── */
  .how-it-works, .firmness-guide, .testimonials,
  .why-matrest, .sleep-guide-preview, .intent-cards,
  .sleep-roi, .whatsapp-order, .complete-setup { padding: 40px 0 !important; }
  .quiz-cta, .cta-section { padding: 48px 0 !important; }

  /* ── Grid to single column ── */
  .firmness-guide__inner,
  .sleep-roi__inner,
  .why-matrest__inner,
  .complete-setup__inner,
  .single-product__grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  .firmness-guide__scale { padding: 16px !important; }
  .firmness-level__who { display: none !important; }

  /* ── Quiz CTA mobile ── */
  .quiz-cta__inner { grid-template-columns: 1fr !important; }
  .quiz-cta__stats { flex-direction: row !important; gap: 16px !important; flex-wrap: wrap; }
  .quiz-stat__num { font-size: 1.4rem !important; }

  /* ── ROI calculator ── */
  .roi-calc-card { padding: 20px !important; }
  .roi-result__per-night { font-size: 2.2rem !important; }

  /* ── WhatsApp order section ── */
  .whatsapp-order__inner { grid-template-columns: 1fr !important; gap: 20px !important; text-align: center !important; }
  .whatsapp-order__icon { font-size: 2.5rem !important; }
  .whatsapp-order__stats { justify-content: center !important; flex-wrap: wrap !important; gap: 16px !important; }
  .btn-whatsapp-order { width: 100%; justify-content: center !important; }

  /* ── How it works ── */
  .grid-3 { grid-template-columns: 1fr !important; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; padding: 32px 0 24px !important; }
  .footer-trust .container { flex-direction: column; gap: 12px !important; align-items: flex-start !important; }
  .footer-bottom { flex-direction: column !important; gap: 8px !important; font-size: 11px !important; }
  .footer-ambassador-strip .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-ambassador-avatar { width: 40px; height: 40px; }
  .footer-partner { flex-wrap: wrap; }

  /* ── Sticky CTA ── */
  .sticky-cta-bar { padding: 12px 16px !important; }
  .sticky-cta__text { display: none; }

  /* ── Single product mobile ── */
  .single-product-section { padding: 16px 0 40px !important; }
  .product-trust-badges { flex-wrap: wrap !important; gap: 6px !important; }
  .trust-badge { font-size: 11px !important; padding: 4px 8px !important; }
}

/* ── Extra-small phones (≤480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Footer: fully stacked on very small screens */
  .footer-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  /* Trust strip: show max 3 items, hide phone number to save space */
  /* Product cards: single column on very narrow phones */
  .mc-products-grid .products,
  ul.products { grid-template-columns: 1fr !important; gap: 10px !important; }
  /* Hero actions: always stacked */
  .hero__actions { flex-direction: column !important; }
  .hero__actions .btn { width: 100% !important; }
  /* Category nav pills: smaller */
  .mc-cat-nav a { padding: 10px 12px !important; font-size: 12px !important; }
}

/* ═══════════════════════════════════════════════════════
   CUSTOM SIZE CALCULATOR PAGE
═══════════════════════════════════════════════════════ */
.page-custom-size .custom-size-hero {
  background: var(--surface-alt, var(--surface));
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.custom-size-hero__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.custom-size-hero__copy h1 { font-size: clamp(2rem,4vw,3rem); }
.custom-size-hero__badge {
  display: flex; flex-direction: column; align-items: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  width: 120px; height: 120px; justify-content: center;
  flex-shrink: 0;
}
.custom-size-hero__badge .stat-number { font-size: 2.4rem; font-weight: 800; line-height: 1; }

.custom-calc-section { padding: 56px 0 80px; }
.custom-calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.custom-calc-panel { background: var(--surface); border-radius: calc(var(--radius) * 1.5); padding: 36px; }
.custom-calc-panel h2 { font-size: 1.3rem; margin-bottom: 28px; }
.calc-field-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.calc-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.calc-input {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; font-size: 1.1rem; background: var(--bg);
  color: var(--text); transition: border-color .2s; width: 100%;
}
.calc-input:focus { outline: none; border-color: var(--accent); }
.calc-hint { font-size: 11px; color: var(--muted); }
.calc-field__separator { font-size: 1.6rem; font-weight: 700; padding-bottom: 18px; color: var(--muted); flex-shrink: 0; }
.calc-section-title { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin: 20px 0 12px; }
.calc-material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.calc-material-chip {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; gap: 2px; text-align: left;
}
.calc-material-chip.active { border-color: var(--accent); background: rgba(157,124,60,0.06); }
.calc-material-chip:hover { border-color: var(--accent-2,var(--accent)); }
.chip-name { font-size: 13px; font-weight: 600; color: var(--text); }
.chip-from { font-size: 11px; color: var(--muted); }
.calc-firmness-row { display: flex; gap: 8px; justify-content: space-between; }
.firmness-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--bg); cursor: pointer; gap: 4px; font-size: 13px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.firmness-btn.active { border-color: var(--accent); background: rgba(157,124,60,0.06); }

.custom-calc-result {
  position: sticky; top: 100px;
  background: var(--surface); border-radius: calc(var(--radius) * 1.5);
  padding: 36px; display: flex; flex-direction: column; gap: 20px;
}
.result-price-box {
  text-align: center; padding: 28px; background: var(--bg);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.result-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.result-price { font-size: clamp(2.4rem,5vw,3.2rem); font-weight: 800; font-family: var(--font-head); }
.result-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.result-size-summary {
  background: rgba(157,124,60,0.08); border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; font-weight: 600; text-align: center;
  border: 1px solid rgba(157,124,60,0.2);
}
.result-includes { border-top: 1px solid var(--border); padding-top: 16px; }
.result-includes-title { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.result-includes ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.result-includes li { font-size: 13px; color: var(--muted); }
.result-lead-time { font-size: 13px; color: var(--muted); text-align: center; }
.result-ambassador { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.result-ambassador__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.result-ambassador p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════
   SLEEP QUIZ PAGE
═══════════════════════════════════════════════════════ */
.quiz-container { background: var(--surface); border-radius: 20px; padding: 40px; position: relative; min-height: 340px; margin-bottom: 32px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-size: clamp(1.2rem,3vw,1.6rem); margin-bottom: 24px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.quiz-option {
  padding: 18px 16px; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--bg); cursor: pointer; text-align: center; transition: all .2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
}
.quiz-option:hover, .quiz-option.selected { border-color: var(--accent); background: rgba(157,124,60,0.06); }
.quiz-option__icon { font-size: 1.8rem; line-height: 1; }
.quiz-progress { height: 4px; background: var(--border); border-radius: 2px; margin-top: 32px; overflow: hidden; }
.quiz-progress__bar { height: 100%; background: var(--accent); transition: width .4s; border-radius: 2px; }
.quiz-progress-label { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════
   FAQ ACCORDION (shared)
═══════════════════════════════════════════════════════ */
.faq-accordion { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; padding: 18px 20px; text-align: left; background: var(--bg);
  font-weight: 600; font-size: 15px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; transition: background .2s;
}
.faq-question:hover { background: var(--surface); }
.faq-toggle { font-size: 1.4rem; font-weight: 300; flex-shrink: 0; }
.faq-answer { padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; background: var(--bg); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: custom calc + quiz
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .custom-calc-grid { grid-template-columns: 1fr; }
  .custom-calc-result { position: static; }
}

/* ═══════════════════════════════════════════════════════
   SHOP PAGE — mobile-first rebuild v2.0
═══════════════════════════════════════════════════════ */

/* Category nav */
.mc-cat-nav { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 60px; z-index: 50; }
.mc-cat-nav .container { padding-top: 0; padding-bottom: 0; }
.mc-cat-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.mc-cat-nav ul::-webkit-scrollbar { display: none; }
.mc-cat-nav a {
  display: block; padding: 14px 20px; font-size: 14px; font-weight: 500;
  color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; text-decoration: none;
}
.mc-cat-nav a:hover { color: var(--text); }
.mc-cat-nav a.active { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.mc-cat-count { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 3px; }

/* Filter bar */
.mc-filter-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 0; position: sticky; top: 108px; z-index: 40; }

.mc-filter-inner {
  display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 2px;
}
.mc-filter-inner::-webkit-scrollbar { display: none; }
.mc-filter-spacer { flex: 1; min-width: 0; }

/* Filter chip buttons */
.mc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1.5px solid var(--border); border-radius: 99px;
  background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text);
  cursor: pointer; white-space: nowrap; transition: all .15s; line-height: 1;
}
.mc-chip:hover { border-color: var(--accent); color: var(--accent); }
.mc-chip--active { border-color: var(--accent); background: var(--accent); color: #fff; }
.mc-chip--active:hover { background: var(--accent-hover); }
.mc-chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.3);
  font-size: 11px; font-weight: 700;
}
.mc-chip--active .mc-chip-count { background: rgba(255,255,255,.35); }
.mc-chip-arrow { flex-shrink: 0; opacity: .6; transition: transform .2s; }
.mc-chip-wrap--open .mc-chip-arrow { transform: rotate(180deg); }

/* Chip panel (dropdown) */
.mc-filter-chip-wrap { position: relative; }
.mc-chip-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 200;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px; min-width: 180px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .15s, transform .15s;
}
.mc-chip-wrap--open .mc-chip-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mc-chip-panel--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 240px; }

.mc-filter-opt {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-radius: 6px; font-size: 13px; color: var(--text); text-decoration: none;
  transition: background .12s; cursor: pointer;
}
.mc-filter-opt:hover { background: var(--surface-2); }
.mc-filter-opt.is-active { background: var(--gold-light); color: var(--accent); font-weight: 600; }
.mc-opt-check { width: 14px; font-size: 11px; color: var(--accent); flex-shrink: 0; }
.mc-opt-count { margin-left: auto; color: var(--muted); font-size: 11px; }
.mc-size-opt { justify-content: center; text-align: center; border: 1px solid var(--border); border-radius: 6px; }
.mc-size-opt.is-active { border-color: var(--accent); }
.mc-custom-size-link { grid-column: 1/-1; justify-content: center; color: var(--accent); font-weight: 600; border: 1px dashed var(--gold-border); }

/* Price panel */
.mc-chip-panel--price { min-width: 220px; }
.mc-chip-panel--price label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.mc-chip-panel--price input[type=number] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }

/* Clear all */
.mc-clear-all {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
  color: var(--muted); text-decoration: none; white-space: nowrap; padding: 7px 12px;
  border-radius: 99px; border: 1px solid var(--border); transition: all .15s;
}
.mc-clear-all:hover { color: var(--warn); border-color: var(--warn); }

/* Active filter pills */
.mc-active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mc-active-pill {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
  background: var(--gold-light); color: var(--text); border: 1px solid var(--gold-border);
  border-radius: 99px; padding: 4px 10px; text-decoration: none; transition: background .12s;
}
.mc-active-pill:hover { background: #f0e6d3; }

/* Mobile filter button — hidden on desktop */
.mc-mobile-filter-btn { display: none; flex-shrink: 0; }
.mc-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 99px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; margin-left: 2px;
}

/* Sort row */
.mc-sort-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 12px; flex-wrap: wrap; gap: 8px;
}
.mc-result-count { font-size: 13px; color: var(--muted); }
.mc-result-count p { margin: 0; }

/* Product grid */
.mc-products-grid .products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Hide subcategory tiles — must not occupy grid space */
.mc-products-grid li.product-category,
.mc-products-grid .product-category {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* Pagination */
.mc-pagination { margin-top: 40px; display: flex; justify-content: center; }
.mc-pagination .page-numbers { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.mc-pagination .page-numbers a,
.mc-pagination .page-numbers span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 14px; text-decoration: none; color: var(--text);
  transition: all .15s;
}
.mc-pagination .page-numbers a:hover { border-color: var(--accent); color: var(--accent); }
.mc-pagination .page-numbers .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* No results */
.mc-no-results { text-align: center; padding: 60px 20px; }
.mc-no-results p { color: var(--muted); margin-bottom: 20px; }

/* Custom size CTA */
.mc-custom-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; background: var(--surface-2); border-radius: 12px; padding: 28px 24px;
}
.mc-custom-cta h3 { margin-bottom: 6px; font-size: 1.2rem; }
.mc-custom-cta p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── MOBILE FILTER DRAWER ──────────────────────────── */
.mc-filter-drawer {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mc-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(28,23,20,.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .28s;
}
.mc-drawer--open .mc-drawer-backdrop { opacity: 1; }
.mc-drawer-panel {
  position: relative; background: var(--surface); border-radius: 16px 16px 0 0;
  max-height: 88vh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mc-drawer--open .mc-drawer-panel { transform: translateY(0); }
.mc-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mc-drawer-header h2 { margin: 0; font-size: 1.1rem; }
.mc-drawer-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: none; font-size: 1.3rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: var(--muted);
}
.mc-drawer-body { overflow-y: auto; padding: 0 20px; flex: 1; }
.mc-drawer-section { padding: 20px 0; border-bottom: 1px solid var(--border); }
.mc-drawer-section h3 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mc-drawer-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-drawer-opts--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc-drawer-opt {
  padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none;
  transition: all .12s; text-align: center;
}
.mc-drawer-opt:hover { border-color: var(--accent); }
.mc-drawer-opt.is-active { border-color: var(--accent); background: var(--gold-light); color: var(--accent); }
.mc-size-chip { font-size: 13px; padding: 9px 8px; }
.mc-drawer-footer { padding: 16px 20px; border-top: 1px solid var(--border); flex-shrink: 0; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 767px) {
  /* Show mobile filter button, hide desktop chips */
  .mc-filter-chip-wrap:not(:last-child) { display: none; }
  .mc-filter-spacer { display: none; }
  .mc-clear-all:not(.mc-mobile-filter-btn) { display: none; }
  .mc-mobile-filter-btn { display: inline-flex; }
  .mc-filter-inner { justify-content: space-between; gap: 8px; }
  /* Sort on mobile */
  .mc-sort-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Product grid 2 col mobile */
  .mc-products-grid .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Looser category nav */
  .mc-cat-nav a { padding: 12px 14px; font-size: 13px; }
  /* Smaller custom CTA */
  .mc-custom-cta { flex-direction: column; padding: 20px; }
}

@media (min-width: 768px) {
  /* Drawer never shows on desktop */
  .mc-filter-drawer { display: none !important; }
  /* 3 col grid on tablet */
  .mc-products-grid .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
  /* 4 col grid on desktop */
  .mc-products-grid .products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* Larger chips */
  .mc-chip { padding: 8px 16px; font-size: 14px; }
}

/* WooCommerce overrides for grid */
.mc-products-grid .products li.product { margin: 0 !important; float: none !important; width: 100% !important; }
/* Neutralise WC clearfix ::before/::after — they become grid items otherwise */
.mc-products-grid .products::before,
.mc-products-grid .products::after { display: none !important; content: none !important; }
/* Product li wrapper — no extra chrome */
.mc-products-grid li.mc-product-item { margin: 0 !important; padding: 0 !important; border: none !important; background: none !important; list-style: none !important; }
.mc-shop-page .woocommerce-ordering select { border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 10px; font-size: 13px; background: var(--surface); color: var(--text); }
/* Hide WC subcategory tiles inside product grid */
.mc-products-grid .product-category { display: none !important; }
@media (max-width: 600px) {
  .custom-size-hero__badge { display: none; }
  .calc-material-grid { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .custom-calc-panel, .custom-calc-result, .quiz-container { padding: 24px 18px; }
}
/* Viewing badge REMOVED 2026-06-11 (Math.random fabrication - EU Omnibus) */

/* ── Scroll-to-top button ──────────────────────────────── */
.scroll-top-btn {
  position: fixed; bottom: 140px; right: 20px; z-index: 200;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--border); font-size: 1.4rem;
  cursor: pointer; transition: opacity .3s, transform .3s, background .2s;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  display: flex; align-items: center; justify-content: center;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 600px) { .scroll-top-btn { bottom: 128px; } }

/* ── Mobile product card position fix ─────────────────── */
[data-product-id] { position: relative; }

/* ═══════════════════════════════════════════════════════
   PRODUCT BRAND BADGES
═══════════════════════════════════════════════════════ */

/* Product card brand badge */
.product-card__brand {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  text-decoration: none; margin-bottom: 4px;
  transition: color .2s;
}
.product-card__brand:hover { color: var(--accent); }

/* Single product brand badge */
.product-brand-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  text-decoration: none; margin-bottom: 8px;
  padding: 4px 10px; border: 1px solid rgba(157,124,60,0.3);
  border-radius: 20px; background: rgba(157,124,60,0.06);
  transition: background .2s, border-color .2s;
}
.product-brand-badge::before {
  content: '';
  display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold);
}
.product-brand-badge:hover {
  background: rgba(157,124,60,0.12);
  border-color: var(--gold);
}

/* Brand archive page (noindex — still visually presentable) */
.tax-product_brand .woocommerce-products-header {
  padding: 40px 0 24px;
  text-align: center;
}
.tax-product_brand .brand-archive-notice {
  font-size: 13px; color: var(--muted);
  text-align: center; margin-bottom: 32px;
}
/* Brand archive header */
.brand-archive-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 48px 0 32px; text-align: center;
}
.brand-archive-header h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 12px; }
.brand-archive-desc { font-size: 15px; color: var(--muted); max-width: 600px; margin: 0 auto 12px; }
.brand-archive-notice { font-size: 13px; color: var(--muted); }
.brand-archive-notice a { color: var(--accent); }
.mc-shop-header{padding:24px 0 4px}
.mc-shop-title{font-family:var(--font-head,inherit);font-size:clamp(1.6rem,3vw,2.2rem);margin:0;color:var(--text,#1a1a1a)}
