/* ==========================================================
   Vidiyal Mattress — storefront styles
   Brand colours sampled from the Vidiyal logo
   ========================================================== */
:root {
  --maroon: #890C00;
  --maroon-700: #6E0A00;
  --maroon-50: #FBEFEC;
  --indigo: #2F2483;
  --indigo-700: #231B66;
  --indigo-50: #EEEDF8;
  --gold: #F0CA22;
  --gold-soft: #FFF3C4;
  --cream: #FBF7F1;
  --sand: #F3EBE0;
  --ink: #231A16;
  --body: #3D322D;
  --muted: #76675F;
  --line: #E9DFD3;
  --white: #FFFFFF;
  --green: #1F7A45;
  --red: #B42318;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(35, 26, 22, .06), 0 8px 24px rgba(35, 26, 22, .06);
  --shadow-lg: 0 20px 50px rgba(35, 26, 22, .12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-ui); font-size: 16px; line-height: 1.6;
  color: var(--body); background: var(--cream); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem var(--font-ui); cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(137, 12, 0, .25); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-700); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E4BC10; color: var(--ink); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.announce { background: var(--indigo); color: #fff; font-size: .85rem; text-align: center; padding: 7px 0; letter-spacing: .01em; }
.site-header { background: var(--maroon); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 16px rgba(0,0,0,.12); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.brand { display: block; line-height: 0; }
.brand img { height: 76px; width: auto; display: block; }
.main-nav { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.main-nav > a, .main-nav .has-drop > a {
  color: rgba(255,255,255,.88); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .96rem;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.drop a:hover { background: var(--cream); }
.drop i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.nav-mobile-only { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-search { display: flex; align-items: center; background: rgba(255,255,255,.12); border-radius: 999px; padding: 2px 4px 2px 14px; }
.header-search input { background: transparent; border: 0; color: #fff; width: 170px; font: inherit; font-size: .92rem; outline: none; padding: 6px 0; }
.header-search input::placeholder { color: rgba(255,255,255,.7); }
.header-search button { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: flex; }
.icon-btn { color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.cart-count {
  position: absolute; top: 2px; right: 0; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Alerts / badges ---------- */
.alert { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-size: .95rem; border: 1px solid; }
.alert-success { background: #ECF8F0; border-color: #BFE3CC; color: #14532D; }
.alert-error { background: #FDECEA; border-color: #F5C2BC; color: #7A1A12; }
.alert-info { background: var(--indigo-50); border-color: #CFCBEE; color: var(--indigo-700); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-grey { background: #EEE9E4; color: #5B4E47; }
.badge-blue { background: #E4ECFB; color: #1E3A8A; }
.badge-amber { background: #FEF3C7; color: #8A5A00; }
.badge-indigo { background: var(--indigo-50); color: var(--indigo); }
.badge-green { background: #DCF3E4; color: #14532D; }
.badge-red { background: #FDE2DF; color: #8B1C12; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--maroon) 0, var(--maroon) 34%, var(--cream) 34%); padding-bottom: 40px; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); margin-top: 28px; position: relative;
}
.hero-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 14px; }
.eyebrow .sun { width: 22px; height: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--maroon); }
.hero-copy .lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 26px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: .86rem; color: var(--muted); }
.hero-media { position: relative; min-height: 460px; background: var(--sand); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: .86rem; display: flex; align-items: center; gap: 10px; color: var(--ink);
}
.hero-chip strong { display: block; font-size: .95rem; }
.hero-chip .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-chip.c1 { left: 18px; bottom: 22px; }
.hero-chip.c2 { right: 18px; top: 22px; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }
.section-alt { background: #fff; }
.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 20px 16px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { flex: none; color: var(--maroon); }
.trust-item b { display: block; color: var(--ink); font-size: .96rem; }
.trust-item span { font-size: .84rem; color: var(--muted); }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tint); color: var(--ink);
  display: flex; flex-direction: column; transition: .25s; border: 1px solid rgba(0,0,0,.04);
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.collection-card .cc-img { aspect-ratio: 4/3; overflow: hidden; }
.collection-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.collection-card:hover .cc-img img { transform: scale(1.05); }
.collection-card .cc-body { padding: 18px 20px 20px; }
.collection-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-bottom: 4px; color: var(--accent); }
.collection-card p { font-size: .9rem; color: var(--body); margin: 0 0 12px; }
.collection-card .cc-more { font-weight: 600; font-size: .88rem; color: var(--accent); }

/* Product grid & cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.pc-media { position: relative; aspect-ratio: 1; background: var(--tint); overflow: hidden; display: block; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.product-card:hover .pc-media img { transform: scale(1.04); }
.pc-warranty { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--ink); font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-collection { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pc-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 4px 0 2px; }
.pc-body h3 a { color: var(--ink); }
.pc-sub { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-price { font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.pc-price small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.pc-price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.pc-enquire { color: var(--indigo); font-size: .95rem; }
.pc-link { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); flex: none; transition: .2s; }
.product-card:hover .pc-link { background: var(--maroon); color: #fff; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--maroon-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23890C00' stroke-width='3' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.why-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.why-card h3 { font-size: 1.08rem; }
.why-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Business band */
.biz-band { background: var(--indigo); color: #E8E6F7; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.biz-band h2 { color: #fff; }
.biz-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(240,202,34,.35), transparent 70%); }
.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.biz-list div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; }
.biz-list b { color: #fff; display: block; font-size: .98rem; }
.biz-list span { font-size: .84rem; opacity: .8; }

/* Quiz */
.quiz { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quiz-step { margin-bottom: 22px; }
.quiz-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 999px; cursor: pointer; font: 500 .95rem var(--font-ui); color: var(--ink); transition: .15s; }
.chip:hover { border-color: var(--maroon); }
.chip.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.quiz-result { margin-top: 26px; }

/* Testimonial-free brand statement */
.statement { text-align: center; padding: clamp(50px, 8vw, 100px) 0; background: var(--maroon); color: #FBE9E5; position: relative; overflow: hidden; }
.statement h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 820px; margin: 0 auto .4em; }
.statement h2 em { color: var(--gold); }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(135deg, var(--maroon) 0%, #A31705 100%); color: #FBE9E5; padding: 44px 0 50px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .2em; }
.page-hero p { margin: 0; max-width: 640px; opacity: .92; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--cream); border-radius: 26px 26px 0 0; }
.crumbs { font-size: .85rem; margin-bottom: 10px; opacity: .85; }
.crumbs a { color: #fff; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 30px 0 70px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); position: sticky; top: 100px; }
.filters h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.filters a.f { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.filters a.f:hover { background: var(--cream); }
.filters a.f.on { background: var(--maroon-50); color: var(--maroon); font-weight: 600; }
.filters a.f small { color: var(--muted); }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-top select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.collection-banner { border-radius: var(--radius); padding: 22px 24px; background: var(--tint); margin-bottom: 20px; }
.collection-banner h2 { color: var(--accent); margin-bottom: 4px; font-size: 1.8rem; }
.collection-banner p { margin: 0; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 30px 0 50px; align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { border-radius: 22px; overflow: hidden; background: var(--tint); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; background: var(--tint); aspect-ratio: 1; }
.thumbs button.on { border-color: var(--maroon); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .pc-collection { font-size: .78rem; }
.pdp-info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 6px 0 2px; }
.pdp-sub { font-size: 1.08rem; color: var(--muted); margin-bottom: 8px; }
.pdp-tagline { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.price-now { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.price-mrp { color: var(--muted); font-size: .95rem; }
.price-mrp s { margin-right: 6px; }
.price-off { color: var(--green); font-weight: 600; }
.price-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.opt-group { margin-bottom: 18px; }
.opt-group label.opt-title { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.opt-group label.opt-title span { font-weight: 400; color: var(--muted); font-size: .88rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; cursor: pointer; font: 500 .92rem var(--font-ui); color: var(--ink); transition: .15s; text-align: left; line-height: 1.25; }
.opt small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; }
.opt:hover { border-color: var(--ink); }
.opt.on { border-color: var(--maroon); background: var(--maroon-50); color: var(--maroon); box-shadow: inset 0 0 0 1px var(--maroon); }
.opt.on small { color: var(--maroon); }
.size-summary { background: var(--indigo-50); color: var(--indigo-700); border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin-bottom: 16px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 44px; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 40px; text-align: center; border: 0; font: 600 1rem var(--font-ui); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.pdp-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.pdp-perks div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .82rem; text-align: center; color: var(--muted); }
.pdp-perks b { display: block; color: var(--ink); font-size: .92rem; }
.tabs { margin-top: 10px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.benefits li { display: flex; gap: 10px; font-size: .95rem; }
.benefits li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--maroon)); margin-top: 9px; }
.detail-block { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); margin-bottom: 22px; }
.price-table-wrap { overflow-x: auto; }
table.price-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.price-table th, .price-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.price-table th { background: var(--cream); font-weight: 600; color: var(--ink); position: sticky; top: 0; }
.price-table td.num, .price-table th.num { text-align: right; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(137,12,0,.08); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.auth-wrap { max-width: 460px; margin: 40px auto 70px; }
.auth-wrap h1 { font-size: 2rem; }
.auth-switch { text-align: center; margin-top: 18px; font-size: .95rem; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; padding: 30px 0 70px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 14px; align-items: center; }
.cart-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.cart-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 0; }
.cart-item .ci-var { font-size: .87rem; color: var(--muted); }
.cart-item .ci-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--red); }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; position: sticky; top: 100px; }
.summary h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .96rem; }
.sum-total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 12px; justify-content: center; }
.mini-items { max-height: 280px; overflow: auto; margin-bottom: 10px; }
.mini-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.mini-item img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.mini-item .mi-name { font-weight: 600; color: var(--ink); }

/* ---------- Account / tracking ---------- */
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 30px 0 70px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.account-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.account-nav a.on, .account-nav a:hover { background: var(--maroon-50); color: var(--maroon); }
table.list { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.list th, .list td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .93rem; }
.list th { background: var(--sand); color: var(--ink); font-weight: 600; font-size: .85rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); margin: 26px 0 10px; position: relative; }
.tl-step { text-align: center; position: relative; font-size: .82rem; color: var(--muted); }
.tl-step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.tl-step:first-child::before { display: none; }
.tl-step .tl-dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 8px; position: relative; z-index: 1; display: grid; place-items: center; }
.tl-step.done .tl-dot { background: var(--maroon); border-color: var(--maroon); }
.tl-step.done .tl-dot::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.tl-step.done::before { background: var(--maroon); }
.tl-step.done { color: var(--ink); font-weight: 600; }
.tl-step.current .tl-dot { box-shadow: 0 0 0 6px rgba(137,12,0,.15); }
.history { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.history li { padding: 0 0 16px 18px; position: relative; }
.history li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--maroon); }
.history time { font-size: .8rem; color: var(--muted); }
.dispatch-box { background: var(--indigo-50); border-radius: 16px; padding: 16px 18px; margin: 16px 0; color: var(--indigo-700); }
.dispatch-box b { color: var(--indigo); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #1E1512; color: #CDBFB8; margin-top: 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 56px 0 36px; }
.footer-brand img { height: 90px; width: auto; border-radius: 10px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #CDBFB8; display: block; padding: 3px 0; font-size: .93rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: .93rem; }
.site-footer p a { display: inline; }
.site-footer .addr { line-height: 1.5; }
.site-footer .gst { font-size: .82rem; opacity: .7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); padding: 0; }
.socials a:hover { background: var(--maroon); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; opacity: .75; }
.footer-wave { height: 6px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--indigo)); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,168,85,.4); z-index: 40; transition: .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 100; box-shadow: var(--shadow-lg); font-size: .95rem; display: flex; gap: 12px; align-items: center; }
.toast a { color: var(--gold); font-weight: 600; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-search { display: none; }
  .collections, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 30% 0 0; background: var(--maroon); flex-direction: column; align-items: stretch; padding: 90px 18px 20px;
    margin: 0; transform: translateX(-100%); transition: .25s; z-index: 60; box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav > a, .main-nav .has-drop > a { padding: 12px 14px; font-size: 1.05rem; display: block; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 0 12px; }
  .drop a { color: rgba(255,255,255,.8); }
  .drop a:hover { background: rgba(255,255,255,.1); }
  .nav-mobile-only { display: block; }
  body.nav-open .nav-toggle { position: relative; z-index: 70; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { height: 60px; }
  .hero-inner, .split, .biz-band, .pdp, .cart-layout, .shop-layout, .account-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 320px; order: -1; }
  .gallery, .filters, .summary { position: static; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .header-row { gap: 8px; min-height: 72px; }
  .hero-logo { height: 84px; }
  .brand img { height: 56px; }
  .collections, .why-grid, .biz-list, .benefits, .cards-2 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 12px; }
  .pc-body h3 { font-size: 1.1rem; }
  .pc-price { font-size: .95rem; }
  .pc-link { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 80px; }
  .cart-item .ci-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .tl-step:nth-child(4)::before { display: none; }
  .pdp-perks { grid-template-columns: 1fr 1fr 1fr; }
  .hero-stats { gap: 18px; }
  .hero-chip.c2 { display: none; }
}
.crumbs-dark { color: var(--muted); opacity: 1; }
.crumbs-dark a { color: var(--maroon); }

/* ---------- Correction #1: Big Shoulders captions + logo in hero ---------- */
:root { --font-caption: 'Big Shoulders Display', 'Oswald', 'Arial Narrow', sans-serif; }
.caption-font, .eyebrow { font-family: var(--font-caption); }
.eyebrow { font-size: 1rem; letter-spacing: .12em; font-weight: 700; }
.hero-logo { height: 120px; max-width: 100%; width: auto; align-self: flex-start; object-fit: contain; border-radius: 12px; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(137,12,0,.18); }
.hero-copy h1.caption-font { font-weight: 800; font-size: clamp(3rem, 6.4vw, 5.2rem); line-height: .95; letter-spacing: .01em; text-transform: uppercase; margin-bottom: .35em; }
.hero-copy h1.caption-font em { font-style: normal; color: var(--maroon); display: block; }
.statement h2 { font-family: var(--font-caption); font-weight: 700; letter-spacing: .01em; }
.statement h2 em { font-style: normal; }

/* ---------- Offers ---------- */
.offer-bar { background: linear-gradient(90deg, var(--gold), #FFE27A); color: var(--ink); }
.offer-bar .container { display: flex; gap: 10px 24px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 10px 0; font-size: .95rem; }
.offer-bar b { font-family: var(--font-caption); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.offer-bar a { color: var(--maroon); font-weight: 600; }
.pc-offer { position: absolute; right: 12px; top: 12px; background: var(--maroon); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.offer-tag { display: inline-flex; gap: 6px; align-items: center; background: var(--gold-soft); color: #6B5200; border: 1px dashed #D9B400; padding: 6px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; margin-bottom: 10px; }
.offers-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.offer-card { border-radius: 20px; padding: 22px; background: var(--maroon); color: #FBE9E5; position: relative; overflow: hidden; }
.offer-card.monthly { background: var(--indigo); }
.offer-card .pct { font-family: var(--font-caption); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--gold); }
.offer-card h3 { color: #fff; margin: 6px 0 4px; }
.offer-card small { opacity: .85; }
.offer-card .kind { font-family: var(--font-caption); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--gold); }

/* ---------- Warranty page ---------- */
.warranty-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; padding: 30px 0 70px; }
.w-status { border-radius: 18px; padding: 20px; margin-bottom: 16px; border: 1px solid var(--line); background: #fff; }
.w-status.ok { border-color: #BFE3CC; background: #ECF8F0; }
.w-status.exp { border-color: #F5C2BC; background: #FDECEA; }
.w-status h3 { margin-bottom: 6px; }
.kv-list { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; font-size: .95rem; margin: 0; }
.kv-list dt { color: var(--muted); } .kv-list dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 920px) { .warranty-hero { grid-template-columns: 1fr; } }
@media print {
  .announce, .offer-bar, .site-header, .site-footer, .wa-float, .page-hero, .warranty-hero form, .warranty-hero > div:last-child, .toast { display: none !important; }
  body { background: #fff; }
  .warranty-hero { display: block; padding: 0; }
  #certificate { border: 2px solid #890C00; }
  #certificate .btn { display: none; }
}
