@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600&display=swap');

/* Matches the existing inwappliances.com look */
:root {
  --ink: #1C1A17;
  --ink-2: #222222;
  --ink-3: #2E2E2E;
  --black: #000;
  --paper: #FAF7F1;
  --card: #FFFFFF;
  --line: #E7E0D3;
  --muted: #6B6F73;
  --brown: #5C564D;
  --cream: #FAF7F1;
  --slate: #3D5A78;      /* the "W" and bar in the logo */
  --navy: #0A2540;
  --gold: #B6884F;
  --tan: #8A6F4D;        /* logo tagline */
  --accent: #3D5A78;
  --accent-dark: #0A2540;
  --accent-soft: #EAF0F6;
  --ok: #2F7D4F;
  --ok-soft: #E3F1E8;
  --display: Manrope, Inter, 'Helvetica Neue', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --product: Poppins, Inter, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .07);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.6 var(--sans); }

/* Condition colors (cards, item page) */
.cond-new { background: #fff !important; color: var(--navy) !important; border: 1.5px solid var(--slate); }
.cond-openbox { background: #fff !important; color: var(--ink) !important; border: 1.5px solid #CFC8BC; }
.cond-dent { background: var(--slate) !important; color: #fff !important; border: 1.5px solid var(--slate); }
.cond-used { background: #C9A15E !important; color: #fff !important; border: 1.5px solid #B6884F; }
.cond-refurb { background: #2F7D4F !important; color: #fff !important; border: 1.5px solid #2F7D4F; }
.cond-parts { background: #8A8F94 !important; color: #fff !important; border: 1.5px solid #8A8F94; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h3 { font-family: var(--display); font-weight: 700; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); font-weight: 600; }

/* Header: white, centered logo, nav underneath, dark announcement bar */
.site-header { background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .bar-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 20px 6px; max-width: var(--wrap); margin: 0 auto; }
.logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.logo svg { height: 76px; width: auto; }
.head-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.phone-btn { border: 1px solid var(--ink); padding: 8px 18px; text-decoration: none; font-family: var(--product); font-size: 14px; border-radius: 4px; white-space: nowrap; }
.phone-btn:hover { background: var(--ink); color: #fff; }
.nav { display: flex; gap: 26px; justify-content: center; padding: 6px 20px 14px; }
.nav a { text-decoration: none; font-family: var(--product); font-size: 15px; color: var(--ink); }
.nav a:hover, .nav a.active { text-decoration: underline; text-underline-offset: 6px; }
.announce { background: var(--ink-2); color: #fff; font-size: 13px; text-align: center; padding: 10px 16px; font-weight: 500; }
.announce span + span::before { content: '·'; margin: 0 12px; color: #999; }
.announce a { color: #fff; font-weight: 700; text-decoration: none; }
.menu-btn { visibility: hidden; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; justify-self: start; }
@media (max-width: 760px) {
  .menu-btn { visibility: visible; }
  .site-header .bar-top { padding: 10px 14px; }
  .site-header .bar-top { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 6px; padding-left: 10px; padding-right: 10px; }
  .logo { min-width: 0; }
  .logo svg { height: 56px; max-width: 100%; }
  .head-right { gap: 8px; }
  .phone-btn { padding: 6px 8px; font-size: 12.5px; }
  .nav { display: none; flex-direction: column; gap: 0; padding: 0 20px 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .announce span:nth-child(n+2) { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius); padding: 14px 30px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, transform .05s; font-family: var(--sans); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-dark { background: var(--black); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: #fff; padding: 64px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); max-width: 16ch; margin: 14px auto 18px; color: #1A1A1A; }
.hero p { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 0 auto; font-weight: 500; }
.hero p b { color: var(--ink); }
.hero .actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
/* Phones: Browse full width, Text + Call side by side */
@media (max-width: 560px) {
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { justify-content: center; text-align: center; }
  .hero .actions .btn:first-child { grid-column: 1 / -1; }
}
.trust { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 14px; }
.trust b { color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 800; display: block; }

/* Sections */
section { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 6px 0 0; }
.section-head a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat svg { width: 30px; height: 30px; color: var(--slate); }
.cat span { font-family: var(--product); font-weight: 500; }
.cat small { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { font-family: var(--serif); color: var(--gold); font-size: 28px; }
.step h3 { font-size: 19px; margin-top: 8px; }
.step p { color: var(--muted); margin: 0; }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review p { margin: 8px 0 12px; }
.review { display: flex; flex-direction: column; }
.review p { flex: 1; }
.review .who { display: flex; gap: 10px; align-items: center; }
.review .who b { display: block; font-size: 15px; }
.review .who small { color: var(--muted); font-size: 13px; }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 36px; }
.visit-logo svg { height: 72px; width: auto; margin-bottom: 18px; }

.visit { background: #fff; border-top: 1px solid var(--line); }
.visit .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.visit h2 { font-size: clamp(26px, 3.2vw, 34px); }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.visit dt { color: var(--tan); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; padding-top: 4px; font-weight: 600; }
.visit dd { margin: 0; font-size: 17px; }
@media (max-width: 760px) { .visit .grid { grid-template-columns: 1fr; } }

/* Product cards: same-size white photo box showing the whole appliance, tags under the photo */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 16px; }
.card { text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.card .img { aspect-ratio: 4 / 5; background: #fff; position: relative; display: grid; place-items: center; color: #B9B2A8; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .img img { transform: scale(1.03); }
.card .img svg { width: 56px; height: 56px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.card .tag { font-size: 11px; font-weight: 600; padding: 3px 8px; line-height: 1.4; border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.card .tag.hold { background: #000; border-color: #000; color: #fff; }
.card .body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
/* Phones: two cards per row */
@media (max-width: 560px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card h3 { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card .meta { font-size: 11px; letter-spacing: .05em; }
  .card .tag { font-size: 10.5px; padding: 2px 6px; }
}
.card .meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.card h3 { font-family: var(--product); font-size: 15px; font-weight: 400; margin: 0; line-height: 1.4; }
.price { font-family: var(--product); font-size: 15px; margin-top: 6px; }
.price s { font-size: 13px; color: var(--muted); margin-left: 6px; }

/* Shop */
.page-title { padding-top: 40px; padding-bottom: 8px; }
.page-title h1 { font-size: clamp(30px, 4.5vw, 46px); }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-top: 16px; padding-bottom: 64px; align-items: start; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 170px; }
.filters h4 { margin: 16px 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tan); }
.filters h4:first-child { margin-top: 0; }
.field { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field:focus { outline: 2px solid var(--slate); outline-offset: -1px; border-color: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.pill.on { background: #000; border-color: #000; color: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); }
.toolbar select { width: auto; }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; padding: 8px 14px; }
}

/* Item */
.item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 24px 0 64px; align-items: start; }
/* Keep the photo on screen: never taller than the window, whole photo visible. */
.gallery { position: sticky; top: 170px; }
.gallery .main { aspect-ratio: 4 / 3 !important; max-height: min(62vh, 520px); width: 100%; background: #fff !important; border: 1px solid var(--line); }
.gallery .main img { object-fit: contain !important; }
.gallery .thumbs button { flex: 0 0 64px !important; height: 64px !important; }
@media (max-width: 860px) {
  .item { grid-template-columns: minmax(0, 1fr) !important; }
  .gallery { position: static; }
  .gallery .main { max-height: 52vh; }
  .buybox h1 { overflow-wrap: anywhere; }
}
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.gallery .main { aspect-ratio: 1; background: #EFEBE4; overflow: hidden; display: grid; place-items: center; color: #B9B2A8; position: relative; }
.gallery .main > svg { width: 28%; height: auto; }
/* Pinned to the box so the whole photo always fits inside it, never cropped */
.gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery .thumbs button { flex: 0 0 72px; height: 72px; border: 2px solid var(--line); overflow: hidden; padding: 0; cursor: pointer; background: #fff; }
.gallery .thumbs button.on { border-color: #000; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox h1 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; }
.buybox .price { font-family: var(--display); font-weight: 800; font-size: 32px; margin: 4px 0 14px; }
.buybox .price s { font-family: var(--sans); font-weight: 400; font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge { background: var(--accent-soft); color: var(--navy); font-size: 13px; padding: 5px 10px; border-radius: 999px; font-weight: 600; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.dark { background: #000; color: #fff; }
.badge.sale { background: #000; color: #fff; text-transform: uppercase; letter-spacing: .06em; border-radius: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin-bottom: 8px; }
.choice:has(input:checked) { border-color: #000; background: #FAF9F7; }
.choice input { margin-top: 4px; accent-color: #000; }
.choice b { display: block; }
.choice small { color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th { text-align: left; color: var(--muted); font-weight: 400; padding: 8px 0; width: 40%; border-bottom: 1px solid var(--line); }
.specs td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.features { padding-left: 20px; margin: 0; }
.features li { margin: 4px 0; }
.notice { padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); color: var(--navy); margin-bottom: 12px; font-size: 15px; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.fine { font-size: 13px; color: var(--muted); }
.two-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
@media (max-width: 860px) { .item { grid-template-columns: 1fr; gap: 24px; } }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--brown); padding: 48px 0 28px; font-size: 14px; }
.site-footer .cols-f { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 6px 0 10px; }
.site-footer a { color: var(--brown); text-decoration: none; display: block; padding: 2px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer svg { height: 48px; width: auto; }
.site-footer .copy { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .site-footer .cols-f { grid-template-columns: 1fr 1fr; } }
/* Small "new arrivals & deals" signup, tucked above the copyright line. */
.deals-signup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.deals-signup input { font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; width: 200px; max-width: 100%; }
.deals-signup .btn { padding: 6px 12px; font-size: 13px; }
.deals-signup .deals-msg { color: var(--ok); }
.site-footer .deals-signup + .copy { margin-top: 14px; }

/* Klarna pay-over-time line (item page + cart). */
.klarna { font-size: 13.5px; line-height: 1.45; color: var(--ink); margin: -4px 0 12px; }
.klarna-badge { display: inline-block; background: #FFB3C7; color: #17120F; font-weight: 700; font-size: 11.5px; border-radius: 4px; padding: 1px 6px; margin-right: 4px; vertical-align: 1px; }
.klarna a { color: var(--ink); }
.sum-line.total + .klarna { margin: 10px 0 4px; }

/* Shop filters on a phone: swipeable category chips, a sticky Filters / Sort bar, and a bottom sheet. */
.chipbar, .sheet-head, .sheet-foot, .sheet-only { display: none; }
.shop > * { min-width: 0; } /* lets the chip row scroll instead of stretching the page */
@media (max-width: 860px) {
  .shop .toolbar { display: none; }
  .sheet-only { display: block; }
  .filters .sheet-only h4 { margin-top: 18px; }
  .chipbar { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: var(--hdr, 64px); z-index: 15; background: #fff;
    margin: 0 -20px 12px; padding: 10px 20px; border-bottom: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chipbar::-webkit-scrollbar { display: none; }
  .chipbar .chips { display: contents; }
  .chipbar .pill { flex: 0 0 auto; padding: 8px 15px; font-size: 14px; white-space: nowrap; }
  .chipbar .filter-pill { font-weight: 700; border-color: var(--ink); }
  .chipbar .filter-pill::before { content: '☰ '; font-weight: 400; }
  .filters .cat-block { display: none; }
  .filters { display: block !important; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 86vh; overflow-y: auto;
    border-radius: 16px 16px 0 0; border: 0; padding: 0 20px 0; transform: translateY(105%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  .filters.open { transform: translateY(0); visibility: visible; transition: transform .22s ease; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); z-index: 1; }
  .sheet-head b { font-size: 18px; }
  .sheet-x { background: none; border: 0; font-size: 20px; line-height: 1; padding: 6px; cursor: pointer; color: var(--ink); }
  .sheet-foot { display: block; position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; border-top: 1px solid var(--line); margin-top: 6px; }
  .filters .pill { padding: 7px 13px; font-size: 14px; }
  .sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
  body.sheet-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .filters { transition: none; } }

/* "Don't see what you need?" notify-me form under the shop results. */
.notify-box { margin: 36px 0 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.notify-box h3 { margin: 0 0 4px; font-size: 19px; }
.notify-box p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.notify-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.notify-fields .field { margin: 0; }
.notify-fields .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .notify-fields { grid-template-columns: 1.1fr .9fr 1.3fr 1.2fr auto; } .notify-fields .btn { grid-column: auto; } }
@media (max-width: 480px) { .notify-fields { grid-template-columns: 1fr; } }
.notify-msg:not(:empty) { margin-top: 10px; font-size: 14px; }
.signup-row { display: flex; gap: 8px; max-width: 720px; }
.signup-row .field { margin: 0; flex: 1; min-width: 0; }
@media (max-width: 640px) { .signup-row { flex-direction: column; } }

/* "Do we deliver to you?" ZIP check (item page + delivery page). */
.zipcheck { margin: 0 0 14px; font-size: 13.5px; }
.zipcheck label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--brown); }
.zipcheck .zip-row { display: inline-flex; gap: 6px; }
.zipcheck input { font: inherit; width: 96px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; }
.zipcheck .btn { padding: 6px 12px; font-size: 13px; }
.zipcheck .zip-msg:not(:empty) { margin-top: 6px; }
.zip-yes { color: var(--ok); font-weight: 600; }
.zip-no { color: var(--ink); font-weight: 600; }
/* Delivery page: ZIP check centered under the intro. */
.page-hero .zipcheck { margin: 20px auto 0; font-size: 15px; }
.page-hero .zipcheck label { justify-content: center; color: var(--ink); font-weight: 600; }
.page-hero .zip-msg { text-align: center; }

/* Listing badges: under the photos on a computer, under the price on a phone. */
.badges-desktop { margin: 16px 0 0; }
.badges-phone { display: none; }
@media (max-width: 860px) { .badges-desktop { display: none; } .badges-phone { display: flex; } }


/* Cart link in header */
.cart-link { position: relative; display: inline-flex; padding: 6px; color: var(--ink); }
.cart-n { position: absolute; top: -2px; right: -4px; background: var(--slate); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.cart-n[hidden] { display: none; }

/* Content pages (Contact, Delivery, FAQ, Warranty) */
.page-hero { background: #fff; padding: 52px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 12px auto 12px; max-width: 18ch; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 58ch; margin: 0 auto; font-weight: 500; }
.shop-hero { padding: 44px 0 30px; }
.shop-hero h1 { margin-bottom: 10px; }
.hero-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 20px; }
.hero-perks span { background: #F4F1EB; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.prose { max-width: 780px; margin: 0 auto; padding: 44px 20px 64px; }
.prose h2 { font-size: 28px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3D3A35; font-size: 17px; }
.prose ul { padding-left: 22px; }
.callout { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.callout b.big { font-family: var(--display); font-size: 26px; font-weight: 800; display: block; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0; }
.info-grid .callout { margin: 0; }
details.q { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
details.q summary { cursor: pointer; padding: 16px 18px; font-family: var(--display); font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.q summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
details.q[open] summary::after { content: '–'; }
details.q div { padding: 0 18px 16px; color: #3D3A35; }
.prose h2.faq-h { font-family: var(--display); font-size: 22px; margin: 34px 0 12px; }
.prose h2.faq-h:first-child { margin-top: 0; }

/* Cart page */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.cart-row .ph { width: 96px; height: 96px; background: #fff center/contain no-repeat; border: 1px solid var(--line); display: grid; place-items: center; color: #B9B2A8; }
.cart-row .ph svg { width: 40px; height: 40px; }
.cart-row h3 { font-family: var(--product); font-weight: 500; font-size: 15px; margin: 0 0 2px; }
.cart-row .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; margin-top: 6px; }
.cart-row .gone { color: #B42318; font-size: 13px; }
.summary-box { position: sticky; top: 170px; }
.sum-line { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; }
.meter { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 4px; }
.meter i { display: block; height: 100%; background: var(--ok); border-radius: 999px; transition: width .3s; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } .summary-box { position: static; } }

.skeleton { background: linear-gradient(90deg, #ece7e0, #f5f1ec, #ece7e0); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* Stock-number search hit on the shop page */
.sku-hit { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px 16px; border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-soft); text-decoration: none; color: var(--ink); }
.sku-hit img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #fff; flex: none; }
.sku-hit span:not(.go) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sku-hit small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.sku-hit b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sku-hit em { font-style: normal; font-weight: 700; }
.sku-hit .go { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Staff preview banner on item pages (?preview=1) */
.preview-bar { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; background: #FFF4E5; border: 2px dashed #B45309; color: #7A3E00; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.preview-bar b { letter-spacing: .1em; }
.preview-bar span { margin-left: auto; font-size: 13px; opacity: .85; }

/* Cart: protection plan picker, promo code row */
.plan-pick { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.plan-pick .field { padding: 7px 10px; font-size: 14px; }
.promo-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.promo-row .field { flex: 1; min-width: 0; padding: 8px 10px; text-transform: uppercase; }
.promo-on { flex: 1; font-size: 14px; background: #EEF7F0; border: 1px solid #B7DEC0; border-radius: 6px; padding: 8px 10px; }
.link-btn { background: none; border: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }
.warranty-note { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }

/* ---- Warranty page ---------------------------------------------------- */
.w-hero { padding-bottom: 34px; }
.w-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.w-chips span { background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.w-h2 { font-size: clamp(26px, 3.4vw, 34px); text-align: center; margin: 0 0 28px; }
.w-fine { color: var(--muted); font-size: 14px; }

/* Calculator */
.w-calc-sec { background: var(--paper); padding: 44px 0; }
.w-calc { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; max-width: 980px; margin: 0 auto; }
.w-calc-in { padding: 30px; }
.w-calc-in h2 { font-size: 28px; margin: 0; }
.w-sub { color: var(--muted); margin: 6px 0 22px; }
.w-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.w-money { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 12px; padding: 0 16px; background: #fff; max-width: 320px; }
.w-money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.w-money span { font-size: 30px; font-weight: 800; color: var(--muted); font-family: var(--display); }
.w-money input { border: 0; outline: 0; font: 800 34px var(--display); width: 100%; padding: 10px 8px; color: var(--ink); background: transparent; min-width: 0; }
.w-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.w-quick button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: var(--ink); }
.w-quick button:hover { border-color: var(--ink); }
.w-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.w-terms button { position: relative; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 6px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); transition: border-color .15s, background .15s; }
.w-terms button b { font: 800 18px var(--display); }
.w-terms button span { font-size: 13px; color: var(--muted); font-weight: 600; }
.w-terms button i { position: absolute; top: -9px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 2px 7px; border-radius: 999px; }
.w-terms button:first-child i { background: var(--ok); }
.w-terms button:hover { border-color: #9AA5B1; }
.w-terms button.on { border-color: var(--accent); background: var(--accent-soft); }
.w-terms button.on span { color: var(--accent); }
.w-result { background: #fff; color: var(--ink); padding: 30px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); border-top: 5px solid var(--accent); }
.w-res-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.w-res-price { font: 800 54px/1.05 var(--display); margin: 8px 0 16px; color: var(--accent-dark); }
.w-res-price small { display: block; font: 500 15px var(--sans); color: var(--muted); margin-top: 6px; }
.w-res-list { list-style: none; padding: 0; margin: 0 0 20px; }
.w-res-list li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.w-res-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.w-result .btn-primary { background: var(--accent); color: #fff; }
.w-result .btn-primary:hover { background: var(--accent-dark); }
.w-result .w-fine { color: var(--muted); }
.w-cps { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.w-cps:hover { color: var(--accent-dark); }
.w-empty { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.w-empty b { font-size: 18px; }
.w-empty span { opacity: .75; font-size: 14px; }
.w-shield { font-size: 40px; }

/* Timeline */
.w-timeline { display: grid; grid-template-columns: 1fr 2fr 2fr; gap: 0; max-width: 1040px; margin: 0 auto; }
.w-seg { padding: 0 18px 0 0; }
.w-seg-bar { height: 10px; border-radius: 0; margin-bottom: 16px; }
.w-seg.inw .w-seg-bar { background: var(--ok); border-radius: 999px 0 0 999px; }
.w-seg.cps .w-seg-bar { background: var(--accent); }
.w-seg.ext .w-seg-bar { background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 22px); border-radius: 0 999px 999px 0; }
.w-seg-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.w-seg h3 { font-size: 20px; margin: 6px 0 6px; }
.w-seg p { color: #3D3A35; margin: 0; font-size: 15px; }

/* Covered / not covered */
.w-detail { padding-top: 0; }
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; }
.w-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.w-card h3 { margin: 0 0 12px; font-size: 20px; }
.w-list { list-style: none; padding: 0; margin: 0; }
.w-list li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.w-list li:first-child { border-top: 0; }
.w-list li::before { position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.w-list.ok li::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.w-list.no li::before { content: "✕"; background: #FBEAEA; color: #B42318; }

/* Claim steps */
.w-claim { background: var(--paper); }
.w-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.w-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.w-step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.w-step h3 { font-size: 18px; margin: 12px 0 6px; }
.w-step p { margin: 0; color: #3D3A35; font-size: 15px; }
.w-claim .w-fine { text-align: center; max-width: 680px; margin: 22px auto 0; }

@media (max-width: 860px) {
  .w-calc { grid-template-columns: 1fr; }
  .w-timeline { grid-template-columns: 1fr; gap: 22px; }
  .w-seg { padding: 0 0 0 18px; position: relative; }
  .w-seg-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; height: auto; margin: 0; border-radius: 999px !important; }
  .w-seg.ext .w-seg-bar { background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 16px); }
  .w-two, .w-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .w-calc-in, .w-result { padding: 22px 18px; }
  .w-terms { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .w-res-price { font-size: 44px; }
}
.w-timeline.two { grid-template-columns: 1fr 2fr; }
@media (max-width: 860px) { .w-timeline.two { grid-template-columns: 1fr; } }
.w-timeline.two .w-seg.cps .w-seg-bar { border-radius: 0 999px 999px 0; }
