/* ============================================================
   SW Lingerie — swlingerie.shop
   Senior-first design system
   Palette: warm cream #fcfcf8 / deep brown #2a160d
   ============================================================ */

:root {
  --cream: #fcfcf8;
  --cream-2: #f4f1e8;
  --cream-3: #ece7da;
  --ink: #2a160d;
  --ink-soft: #5b4636;
  --ink-mute: #7a675a;
  --line: #ddd5c6;
  --accent: #94472f;         /* warm terracotta rose */
  --accent-dark: #7a3822;
  --accent-soft: #f3e3da;
  --gold: #a9803f;
  --success: #2e6b3e;
  --error: #b3261e;
  --focus: #c1461f;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --tap: 52px;               /* minimum comfortable tap target */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18px base — comfortable for senior eyes */
  scroll-behavior: smooth;
}
html.text-large { font-size: 125%; }
html.text-xlarge { font-size: 137.5%; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

a { color: var(--accent-dark); }
p a, li a, .text-link { text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* Visible, generous focus state for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Layout wrappers ---------- */
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

/* ---------- Announcement + header ---------- */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.95rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.topbar a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.topbar .phone { font-weight: 700; letter-spacing: 0.02em; }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand .brand-name {
  font-family: var(--serif);
  font-size: 1.9rem; font-weight: 700; letter-spacing: 0.01em; display: block;
}
.brand .brand-name em { font-style: normal; color: var(--accent); }
.brand .brand-tag {
  font-size: 0.85rem; color: var(--ink-mute); letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none; display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.main-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 8px 16px; text-decoration: none; color: var(--ink);
  font-size: 1.08rem; font-weight: 600; border-radius: 8px;
}
.main-nav a:hover { background: var(--cream-2); color: var(--accent-dark); }
.main-nav a[aria-current="page"] { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 6px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.text-size-control {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  background: #fff;
}
.text-size-control button {
  border: 0; background: transparent; color: var(--ink);
  min-width: 44px; min-height: 44px; border-radius: 999px;
  font-weight: 700; cursor: pointer; font-family: var(--sans);
}
.text-size-control button:hover { background: var(--cream-2); }
.text-size-control button.active { background: var(--ink); color: var(--cream); }

.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: var(--tap); padding: 8px 20px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  border-radius: 999px; font-weight: 700; font-size: 1.05rem;
}
.cart-link:hover { background: var(--accent-dark); color: var(--cream); }
.cart-count {
  background: var(--cream); color: var(--ink);
  min-width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--cream-2);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  align-items: center; max-width: 1220px; margin: 0 auto;
  padding: 64px 28px;
}
.hero-copy .eyebrow {
  font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-dark); font-weight: 700; margin-bottom: 18px;
}
.hero-copy h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 22px; }
.hero-copy p.lede { font-size: 1.3rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 34px; }
.hero-image { border-radius: var(--radius); overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 14px 34px;
  font-family: var(--sans); font-size: 1.12rem; font-weight: 700;
  border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 2px solid var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--cream); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-block { width: 100%; }
.btn-lg { min-height: 62px; font-size: 1.25rem; padding: 16px 44px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2 { color: var(--cream); }

.split-heading {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; border-bottom: 1px solid var(--line);
  padding-bottom: 20px; margin-bottom: 48px; flex-wrap: wrap;
}
.split-heading .sh-left { font-size: 1rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.split-heading .sh-right { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }

/* ---------- Value props ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value-item { padding: 34px 28px; border-left: 1px solid var(--line); }
.value-item:first-child { border-left: 0; padding-left: 0; }
.value-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.value-item p { color: var(--ink-soft); font-size: 1.02rem; }
.value-icon { width: 42px; height: 42px; margin-bottom: 16px; color: var(--accent-dark); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
}
.product-card { text-decoration: none; color: var(--ink); display: block; }
.product-card .p-img {
  border-radius: var(--radius); overflow: hidden; background: var(--cream-3);
  aspect-ratio: 3/4; position: relative;
}
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .p-img img { transform: scale(1.03); }
.p-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--cream); color: var(--ink);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.p-badge.badge-bestseller { background: var(--ink); color: var(--cream); }
.product-card .p-info { padding: 18px 4px 0; }
.product-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.product-card .p-desc { color: var(--ink-soft); font-size: 1rem; margin-bottom: 10px; }
.p-price { font-size: 1.25rem; font-weight: 800; }
.p-price .compare { color: var(--ink-mute); font-weight: 400; text-decoration: line-through; margin-left: 10px; font-size: 1.05rem; }
.p-rating { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 4px; }
.p-rating span.count { color: var(--ink-mute); letter-spacing: 0; font-size: 0.95rem; }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.pd-image { border-radius: var(--radius); overflow: hidden; background: var(--cream-3); }
.pd-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.pd-info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 6px 0 14px; }
.pd-cat { font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.pd-price { font-size: 1.9rem; font-weight: 800; margin: 14px 0 6px; }
.pd-price .compare { color: var(--ink-mute); font-weight: 400; text-decoration: line-through; font-size: 1.3rem; margin-left: 12px; }
.pd-desc { color: var(--ink-soft); font-size: 1.12rem; margin: 18px 0 26px; }
.pd-features { list-style: none; margin: 0 0 30px; }
.pd-features li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.pd-features li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); border: 2px solid var(--accent);
}
.option-label { font-weight: 800; font-size: 1.1rem; margin: 22px 0 10px; display: block; }
.size-row { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  min-width: 58px; min-height: var(--tap); padding: 8px 16px;
  border: 2px solid var(--line); background: #fff; border-radius: 8px;
  font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--ink);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.selected { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty-control button {
  width: 52px; height: 52px; border: 0; background: transparent;
  font-size: 1.5rem; font-weight: 700; cursor: pointer; color: var(--ink);
}
.qty-control button:hover { background: var(--cream-2); }
.qty-control input {
  width: 60px; text-align: center; border: 0; font-size: 1.2rem; font-weight: 700;
  font-family: var(--sans); color: var(--ink); background: transparent;
}
.assurance-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.assurance-row div { font-size: 0.98rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.assurance-row svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testi {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
}
.testi .stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 14px; }
.testi p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 18px; }
.testi cite { font-style: normal; font-weight: 700; }
.testi .cite-detail { color: var(--ink-mute); font-size: 0.95rem; }

/* ---------- Newsletter ---------- */
.newsletter-box { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.newsletter-box p { color: var(--ink-soft); margin-bottom: 28px; font-size: 1.1rem; }
.nl-form { display: flex; gap: 12px; }
.nl-form input {
  flex: 1; min-height: 58px; padding: 12px 20px; font-size: 1.1rem;
  border: 2px solid var(--ink); border-radius: 999px; font-family: var(--sans);
  background: #fff; color: var(--ink);
}
.form-msg { margin-top: 14px; font-weight: 700; min-height: 1.6em; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--error); }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-item img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; }
.cart-item h3 { font-size: 1.35rem; margin-bottom: 4px; }
.cart-item .meta { color: var(--ink-mute); font-size: 0.98rem; margin-bottom: 10px; }
.cart-item .unit { color: var(--ink-soft); font-size: 1rem; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.cart-item .line-total { font-size: 1.25rem; font-weight: 800; }
.remove-btn {
  background: none; border: 0; color: var(--accent-dark); text-decoration: underline;
  text-underline-offset: 3px; font-size: 1rem; cursor: pointer; font-family: var(--sans);
  min-height: 44px; padding: 6px 8px;
}
.summary-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: sticky; top: 110px;
}
.summary-card h2 { font-size: 1.7rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 1.08rem; }
.summary-row.total { border-top: 2px solid var(--ink); margin-top: 12px; padding-top: 18px; font-size: 1.35rem; font-weight: 800; }
.summary-note { font-size: 0.95rem; color: var(--ink-mute); margin: 12px 0 22px; }
.empty-cart { text-align: center; padding: 80px 0; }
.empty-cart h2 { font-size: 2.2rem; margin-bottom: 16px; }
.empty-cart p { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 30px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.checkout-step { margin-bottom: 44px; }
.step-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; flex-shrink: 0;
}
.step-head h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 7px; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; font-size: 1.08rem;
  border: 2px solid var(--line); border-radius: 8px; background: #fff;
  font-family: var(--sans); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 1px; }
.field .hint { font-size: 0.92rem; color: var(--ink-mute); margin-top: 5px; }
.field .error-text { color: var(--error); font-size: 0.95rem; font-weight: 600; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field.invalid .error-text { display: block; }

.pay-methods { display: grid; gap: 14px; margin-bottom: 24px; }
.pay-method {
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 20px 22px; cursor: pointer; display: flex; align-items: center; gap: 18px;
  min-height: 72px;
}
.pay-method:hover { border-color: var(--ink); }
.pay-method.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-method input[type="radio"] { width: 26px; height: 26px; accent-color: var(--ink); flex-shrink: 0; }
.pay-method .pm-name { font-weight: 800; font-size: 1.12rem; }
.pay-method .pm-desc { color: var(--ink-mute); font-size: 0.96rem; }
.pay-logos { display: flex; gap: 8px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.pay-logos img, .pay-logos svg { height: 30px; width: auto; display: block; }

.card-panel { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.secure-note { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.98rem; margin-top: 18px; }
.secure-note svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }

.order-lines { margin-bottom: 8px; }
.order-line {
  display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.order-line img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; }
.order-line .ol-name { font-weight: 700; font-size: 1.02rem; }
.order-line .ol-meta { color: var(--ink-mute); font-size: 0.92rem; }
.order-line .ol-price { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------- Confirmation ---------- */
.confirm-box { text-align: center; padding: 60px 0 30px; }
.confirm-icon {
  width: 96px; height: 96px; border-radius: 50%; background: var(--success);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.confirm-icon svg { width: 48px; height: 48px; }
.confirm-box h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 14px; }
.confirm-box .order-num {
  display: inline-block; background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 26px; font-size: 1.25rem; font-weight: 800;
  letter-spacing: 0.04em; margin: 12px 0 24px;
}
.confirm-details { max-width: 720px; margin: 40px auto; text-align: left; }

/* ---------- Content pages (legal) ---------- */
.page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.page-hero .sub { color: var(--ink-soft); font-size: 1.15rem; margin-top: 12px; max-width: 60ch; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin: 42px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; font-family: var(--sans); font-weight: 800; }
.prose p, .prose li { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 26px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.updated-note { font-size: 0.95rem; color: var(--ink-mute); margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  font-family: var(--sans); font-size: 1.25rem; font-weight: 700; color: var(--ink);
  padding: 26px 60px 26px 4px; cursor: pointer; position: relative; min-height: var(--tap);
}
.faq-q::after {
  content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 2rem; font-weight: 400; color: var(--accent-dark);
}
.faq-q[aria-expanded="true"]::after { content: "−"; }
.faq-a { padding: 0 4px 26px; color: var(--ink-soft); font-size: 1.08rem; max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info-item h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.contact-info-item p, .contact-info-item a { font-size: 1.15rem; }
.contact-form-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px;
  padding: 72px 0 48px;
}
.site-footer h3 {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: #cbb8a6; margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 4px; }
.site-footer a {
  color: var(--cream); text-decoration: none; font-size: 1.05rem;
  display: inline-flex; align-items: center; min-height: 44px;
}
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--cream); }
.footer-brand p { color: #cbb8a6; margin: 14px 0 22px; font-size: 1.02rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid #4a3423; padding: 26px 0 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.95rem; color: #cbb8a6;
}
.footer-pay { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-pay span.pay-chip {
  border: 1px solid #4a3423; border-radius: 6px; padding: 5px 12px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: var(--cream);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: var(--cream); padding: 18px 30px; border-radius: 999px;
  font-size: 1.08rem; font-weight: 700; z-index: 500; transition: transform .35s ease;
  box-shadow: 0 10px 40px rgba(42,22,13,.3); max-width: 90vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast a { color: #f0c9a8; text-decoration: underline; }

/* ---------- Processing overlay ---------- */
.processing-overlay {
  position: fixed; inset: 0; background: rgba(42,22,13,.72);
  display: none; align-items: center; justify-content: center; z-index: 600;
}
.processing-overlay.show { display: flex; }
.processing-card {
  background: var(--cream); border-radius: 16px; padding: 48px 56px; text-align: center;
  max-width: 440px; margin: 0 20px;
}
.spinner {
  width: 64px; height: 64px; border: 6px solid var(--cream-3);
  border-top-color: var(--accent); border-radius: 50%;
  margin: 0 auto 24px; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.processing-card p { color: var(--ink-soft); }

/* ---------- Marquee ---------- */
.marquee-band { background: var(--ink); color: var(--cream); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.08em; }
.marquee-track span::after { content: "·"; margin-left: 60px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 28px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .value-item { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pd-layout, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .summary-card { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item img { width: 90px; height: 112px; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .topbar .wrap { justify-content: center; text-align: center; }
}
