/* ===== reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Palette: Loro Piana whisper — quiet luxury, italian heritage */
:root {
  --bg: #F4EFE5;            /* ecru — page background */
  --bg-soft: #ECE5D6;       /* slightly deeper ecru for sections (story / faq / payment / factory-note) */
  --surface: #FFFFFF;       /* cards / form fields — kept white for elevation */
  --ink: #1A1814;           /* primary text + buttons */
  --ink-soft: #5C574C;      /* body copy */
  --muted: #8A8273;         /* stone — meta text */
  --line: #DDD6C5;          /* dividers, borders */
  --accent: #B89968;        /* champagne — eyebrows, accents, price tag, hover */
  --accent-dark: #9E7F4C;   /* deeper champagne for hover/active */
  --max: 1320px;
  --radius: 2px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== header ===== */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.brand {
  display: inline-block;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.brand-line {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.brand-rule {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 2px;
  background: var(--accent);
  margin: 8px 0;
}
.brand-tag {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a { color: var(--ink-soft); transition: color .2s ease; }
.nav a:hover, .nav a.active { color: var(--ink); }

.cart-link { display: inline-flex; align-items: center; gap: 8px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.cart-count.is-empty { background: var(--line); color: var(--ink-soft); }

/* ===== hero ===== */
.hero {
  padding: 80px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.hero-text { max-width: 540px; }
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(42px, 5.4vw, 68px);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-price-hint {
  display: inline-flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  line-height: 1.35;
}
.hero-price-hint strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "lnum", "tnum";
  letter-spacing: 0.005em;
  color: var(--ink);
}
.hero-price-hint span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-media {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Trustpilot slot =====
   Hidden until JS sees CONFIG.trustpilot.businessUnitId set, then activated. */
.tp-slot { display: none; margin: 0; }
.tp-slot.is-active { display: block; }
.tp-slot.tp-product-inline { margin: 4px 0 24px; }
.tp-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.tp-strip .tp-slot { margin: 0 auto; max-width: 480px; }

/* ===== trust strip ===== */
.trust-strip {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust-strip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}
.trust-strip .trust-icon { color: var(--accent); font-size: 14px; }

/* ===== pull quote ===== */
.pull-quote {
  padding: 88px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pull-quote p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
}
.pull-quote p::before {
  content: "✦";
  display: block;
  font-style: normal;
  color: var(--accent);
  margin-bottom: 22px;
  font-size: 18px;
}

/* ===== process / made by hand ===== */
.process {
  padding: 96px 0;
}
.process-grid {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 44px;
}
.process-grid li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.process-grid h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 500;
}
.process-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* ===== breadcrumbs ===== */
.breadcrumbs {
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { margin: 0 8px; color: var(--line); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ===== why grid ===== */
.why { padding: 96px 0; border-top: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.why-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.why-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin-bottom: 8px;
}
.why-card p { color: var(--ink-soft); font-size: 15px; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.faq-inner { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 640px;
}

/* ===== product includes section heading ===== */
.includes-title {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

/* ===== buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  border-radius: var(--radius);
  font-family: inherit;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: #000; border-color: #000; color: var(--bg); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn.is-disabled { opacity: 0.4; pointer-events: none; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}
.link-btn:hover { color: var(--ink); }

/* ===== sections ===== */
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--ink-soft);
  margin-bottom: 48px;
  font-size: 16px;
}

.shop { padding: 96px 0; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.product-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.15);
  border-color: #d8d1c4;
}
.product-card-media {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  min-height: 1px;
}
.product-card-media::after {
  content: "Photo coming soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  aspect-ratio: 2 / 1;
}
.product-card-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease;
  position: relative;
  z-index: 1;
}
.product-card-media img.placeholder {
  opacity: 0;
  aspect-ratio: 2 / 1;
}
.product-card:hover .product-card-media img { transform: scale(1.02); }
.product-card-body {
  padding: 32px 40px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.product-card-body > .product-card-title { width: 100%; }
.product-card-title {
  font-size: 30px;
  margin-bottom: 4px;
}
.product-card-tagline {
  color: var(--ink-soft);
  font-size: 15px;
  flex: 1 1 auto;
}
.product-card-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "lnum", "tnum";
  white-space: nowrap;
  color: var(--ink);
}

/* ===== story ===== */
.story {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.story-inner { max-width: 760px; }
.story p { color: var(--ink-soft); font-size: 17px; margin-bottom: 16px; }
.story p:last-of-type { margin-bottom: 0; }
.story strong { color: var(--ink); font-weight: 500; }

.factory-card {
  margin: 36px 0 0;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 40px;
}
.factory-card > div { margin: 0; }
.factory-card dt {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.factory-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.factory-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.factory-note {
  margin: 0 0 28px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
}
.factory-note-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.factory-note p { color: var(--ink); font-size: 13px; line-height: 1.6; margin: 0; }

/* ===== product detail ===== */
.product-detail { padding: 64px 0 96px; }
.product-detail-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}
.product-media {
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  min-height: 1px;
}
.product-media img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.product-media img.placeholder { opacity: 0; aspect-ratio: 2 / 1; }

.product-title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.product-tagline { color: var(--ink-soft); font-size: 17px; margin-bottom: 20px; }
.product-price {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.6vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "lnum", "tnum";
  color: var(--ink);
  margin-bottom: 6px;
}
.price-included {
  font-family: "Inter", sans-serif;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.product-description { color: var(--ink-soft); margin-bottom: 24px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  list-style: none;
  padding: 20px 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row li {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
}

.product-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}
.product-includes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.qty-row label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}
.qty-control button {
  width: 40px;
  height: 44px;
  background: none;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.qty-control input {
  width: 48px;
  height: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control.small button { width: 32px; height: 36px; }
.qty-control.small input { width: 38px; height: 36px; font-size: 14px; }

.shipping-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ===== cart ===== */
.cart-section { padding: 64px 0 96px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.cart-items { display: flex; flex-direction: column; gap: 24px; }

.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cart-line-media {
  width: 100px;
  height: 120px;
  background: var(--bg-soft);
  overflow: hidden;
}
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-media img.placeholder { opacity: 0; }
.cart-line-body h3 { font-size: 20px; margin-bottom: 2px; }
.cart-line-price { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.cart-line-qty { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cart-line-total { font-weight: 500; font-size: 16px; min-width: 110px; text-align: right; }

.muted { color: var(--muted); font-size: 14px; }

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.summary-title { font-size: 22px; margin-bottom: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.summary-row.muted { color: var(--muted); font-size: 13px; }
.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
}

.payment-til {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.payment-til span { letter-spacing: 0.12em; }

.fine-print {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
}
.empty a { text-decoration: underline; color: var(--ink); }

/* ===== footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  gap: 32px;
}
.footer-col p { margin: 2px 0; }
.footer-col-right { text-align: right; }
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px !important;
}
.footer-whatsapp {
  display: inline-block;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 8px;
}
.whatsapp-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== floating WhatsApp help button ===== */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  height: 56px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 24px -6px rgba(0,0,0,0.35),
    0 0 0 0 rgba(37, 211, 102, 0.55);
  z-index: 50;
  animation: wa-pulse 2.4s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wa-fab svg { flex-shrink: 0; }
.wa-fab-label { white-space: nowrap; }
.wa-fab:hover {
  transform: translateY(-2px) scale(1.03);
  background: #1fbf5a;
  animation: none;
  box-shadow: 0 14px 30px -6px rgba(0,0,0,0.4);
}

@keyframes wa-pulse {
  0% {
    box-shadow:
      0 10px 24px -6px rgba(0,0,0,0.35),
      0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow:
      0 10px 24px -6px rgba(0,0,0,0.35),
      0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 10px 24px -6px rgba(0,0,0,0.35),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
}

/* ===== product gallery (detail page) ===== */
.product-gallery { display: flex; flex-direction: column; gap: 20px; }

/* additional photos stacked below main image, same column width */
.product-extra-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-extra-images:empty { display: none; }
.product-extra-images figure {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-extra-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== checkout page ===== */
.checkout-section { padding: 48px 0 96px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.checkout-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
}
.checkout-form.is-disabled { opacity: 0.5; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.checkout-step { border: 0; padding: 0; margin: 0 0 36px; }
.checkout-step legend {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink);
}
.step-help {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: block; }
.field > span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field em {
  font-style: normal;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus {
  outline: 0;
  border-color: var(--ink);
  background: #fff;
}
.field.span-2 { grid-column: 1 / -1; }

/* Payment method cards */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  align-items: stretch;
}
.payment-method {
  position: relative;
  display: flex;
}
.payment-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  min-height: 72px;
  margin-bottom: 4px;
}
.payment-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
}
.payment-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.payment-logo[src*="easypaisa"] { max-height: 42px; max-width: 200px; }
.payment-logo[src*="jazzcash"]  { max-height: 72px; max-width: 130px; }
.payment-number {
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: var(--radius);
}
.qr.placeholder { opacity: 0.15; }
.account-name { font-size: 12px; align-self: flex-start; }

/* "How to pay" instructions inside payment cards */
.payment-instructions {
  width: 100%;
  margin-top: 6px;
  text-align: left;
}
.payment-pay-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 500;
}
.payment-instructions ol {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.payment-instructions li::marker {
  color: var(--accent);
  font-weight: 600;
}
.payment-instructions li + li { margin-top: 6px; }
.payment-instructions strong {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.payment-instructions em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* Order recap (right sidebar on checkout) */
.order-recap {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.recap-items {
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recap-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.recap-line:last-child { border-bottom: 0; padding-bottom: 0; }
.recap-line-media {
  width: 56px;
  height: 68px;
  background: var(--bg-soft);
  overflow: hidden;
}
.recap-line-media img { width: 100%; height: 100%; object-fit: cover; }
.recap-line-media img.placeholder { opacity: 0; }
.recap-line-name { font-size: 14px; font-weight: 500; }
.recap-line-total { font-size: 14px; font-weight: 500; }
.back-to-cart { display: inline-block; margin-top: 14px; }

/* ===== thank-you page ===== */
.thanks-section {
  padding: 120px 0;
  text-align: center;
}
.thanks-inner { max-width: 620px; margin: 0 auto; }
.thanks-lead { color: var(--ink-soft); font-size: 17px; margin: 16px 0 12px; }
.thanks-help { color: var(--ink-soft); font-size: 15px; margin-bottom: 36px; }
.thanks-help a { color: var(--ink); text-decoration: underline; }

.not-found-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SEO footer block (keyword-rich internal links) ===== */
.seo-links {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seo-links h2 {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 18px;
}
.seo-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.seo-links li a {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.seo-links li a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--surface);
}

/* ===== responsive ===== */

/* tablet ≤ 1024px */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .factory-card { grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
  .hero-grid { gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* tablet / large phone ≤ 860px */
@media (max-width: 860px) {
  .container { padding: 0 20px; }

  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { max-width: 100%; order: 2; }
  .hero-media { order: 1; }
  .hero-cta-row { gap: 20px; }
  .hero-price-hint { padding-left: 16px; }

  .trust-strip { padding: 18px 0; }
  .trust-strip ul { justify-content: flex-start; gap: 14px 20px; }
  .trust-strip li { font-size: 12px; }

  .pull-quote { padding: 64px 0; }
  .process { padding: 64px 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 32px; }
  .shop { padding: 56px 0; }
  .story { padding: 56px 0; }
  .why { padding: 56px 0; }
  .faq { padding: 56px 0; }
  .product-detail { padding: 24px 0 48px; }
  .product-detail-inner { grid-template-columns: 1fr; gap: 28px; }
  .product-extra { padding: 0 0 48px; }
  .product-extra-images { gap: 20px; }

  .product-card-body { padding: 22px 22px 26px; }
  .product-card-title { font-size: 26px; }

  .cart-layout { grid-template-columns: 1fr; gap: 28px; }
  .cart-summary { position: static; }
  .cart-line {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  .cart-line-media { width: 80px; height: 100px; }
  .cart-line-qty { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-line-total { grid-column: 2; text-align: left; }

  .nav { gap: 18px; font-size: 12px; }
  .nav a:not(.cart-link) { display: none; }

  .checkout-section { padding: 32px 0 64px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .order-recap { position: static; padding: 22px; }
  .checkout-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .qr { width: 180px; height: 180px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-col-right { text-align: left; }

  .factory-card { padding: 22px 24px; }

  .thanks-section { padding: 64px 0; }
}

/* small phone ≤ 560px */
@media (max-width: 560px) {
  :root { --max: 100%; }
  .container { padding: 0 16px; }

  .site-header { position: static; }
  .header-inner { padding: 16px 16px; }
  .brand-line { font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }
  .brand-rule { max-width: 160px; height: 2px; margin: 6px 0; }
  .brand-tag { font-size: 9px; letter-spacing: 0.24em; }
  .nav { gap: 14px; font-size: 11px; }
  .cart-count { min-width: 20px; height: 20px; font-size: 10px; }

  .hero { padding: 36px 0 48px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-price-hint { border-left: 0; padding-left: 0; flex-direction: row; align-items: baseline; gap: 12px; }

  .pull-quote { padding: 48px 0; }
  .pull-quote p { font-size: clamp(20px, 6vw, 26px); }
  .process-grid { grid-template-columns: 1fr; gap: 22px; }
  .trust-strip ul { flex-direction: column; align-items: flex-start; gap: 10px; }

  .section-title { font-size: clamp(26px, 7vw, 34px) !important; }
  .section-sub { margin-bottom: 28px; }

  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 22px; }

  .factory-card { grid-template-columns: 1fr; gap: 16px; padding: 20px 22px; }

  .faq-item summary { font-size: 17px; padding: 14px 0; }
  .faq-item p { font-size: 14px; }

  .product-card-body {
    padding: 18px 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-card-title { font-size: 23px; }
  .product-card-tagline { font-size: 14px; }
  .product-card-price { font-size: 18px; }

  .product-title { font-size: clamp(26px, 7vw, 32px); }
  .product-price { font-size: 22px; }
  .product-tagline { font-size: 15px; }
  .product-description { font-size: 15px; }

  .trust-row { padding: 14px 0; gap: 10px 16px; }
  .trust-row li { font-size: 12px; }

  .factory-note { padding: 12px 14px; }
  .factory-note p { font-size: 12px; }

  .btn { padding: 14px 22px; font-size: 12px; }

  .qty-row { gap: 14px; }
  .qty-control button { width: 36px; height: 42px; }
  .qty-control input { width: 42px; height: 42px; }

  .checkout-form { padding: 18px; }
  .checkout-step { margin-bottom: 28px; }
  .checkout-step legend { font-size: 19px; }
  .qr { width: 160px; height: 160px; }

  .cart-summary { padding: 22px; }
  .summary-title { font-size: 20px; }

  .wa-fab {
    right: 16px;
    bottom: 16px;
    height: 50px;
    padding: 0;
    width: 50px;
    justify-content: center;
  }
  .wa-fab svg { width: 20px; height: 20px; }
  .wa-fab-label { display: none; }

  .breadcrumbs { font-size: 12px; padding-top: 16px; }

  .footer-inner { font-size: 12px; }
  .site-footer { padding: 28px 0; }
}
