:root {
  --bg: #fbf9f6;
  --tile: #f1ede6;
  --ink: #1c1917;
  --muted: #756d66;
  --line: #d9d2c8;
  --accent: #9a6236;
  --dark: #0c0908;
  --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --radius: 28px;
  --nav-h: 56px;
  --font: "IBM Plex Sans Arabic", -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 44px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); margin-top: 10px; }

h1, h2, h3 { font-weight: 700; line-height: 1.18; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(44px, 6.4vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 30em; margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font-weight: 500; font-size: 16px; transition: transform .25s var(--ease), background .25s, opacity .25s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.link-arrow { font-weight: 500; color: var(--accent); }
.link-arrow::after { content: " ‹"; display: inline-block; transition: transform .25s var(--ease); margin-inline-start: 4px; }
.link-arrow:hover::after { transform: translateX(-4px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(251, 249, 246, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.nav-inner { width: min(1200px, 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 14px; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-menu { display: none; }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; line-height: 17px; text-align: center; font-weight: 600; }

/* Banner — one component, fallback (light, product photo) or generated image */
.banner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(460px, 42vw, 680px); background: var(--tile) center / cover no-repeat; overflow: hidden; isolation: isolate; }
.banner.card { border-radius: var(--radius); min-height: clamp(420px, 38vw, 580px); }
.banner-copy { padding: clamp(32px, 6vw, 96px); position: relative; z-index: 2; }
.banner-media { align-self: stretch; display: grid; place-items: center; padding: clamp(16px, 3vw, 48px); }
.banner-fallback { width: 100%; max-height: 520px; object-fit: contain; mix-blend-mode: multiply; }
.banner.has-image { background-image: var(--banner); }
.banner.has-image .banner-fallback { display: none; }
.banner.has-image[data-tone="dark"] { color: #fff; background-color: var(--dark); }
.banner.has-image[data-tone="dark"] .lede { color: rgba(255, 255, 255, .78); }
.banner.has-image[data-tone="dark"] .eyebrow, .banner.has-image[data-tone="dark"] .link-arrow { color: #e3b88f; }
.banner.has-image[data-tone="dark"] .btn-primary { background: #fff; color: var(--ink); }
.banner.has-image[data-tone="dark"]::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 62%); }

/* Values */
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.values span + span::before { content: "·"; margin-inline: 14px; color: var(--accent); }

/* Category filter */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.chip { padding: 9px 18px; border-radius: 999px; font-size: 15px; background: var(--tile); color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { background: #e7e1d8; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 64px 0; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card-p { display: flex; flex-direction: column; }
.grid.featured .card-p:first-child { grid-column: span 2; }
.tile { background: var(--tile); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 8%; position: relative; }
.grid.featured .card-p:first-child .tile { aspect-ratio: auto; height: 100%; min-height: 380px; }
.tile img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease), opacity .3s; }
.card-p:hover .tile img { transform: scale(1.045); }
.card-info { padding: 18px 6px 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-info h3 { font-size: 20px; font-weight: 600; }
.card-info .meta { color: var(--muted); font-size: 14px; }
.price { font-weight: 500; white-space: nowrap; }
.price small { font-size: .8em; color: var(--muted); font-weight: 400; }
.swatches { display: flex; gap: 8px; padding: 0 6px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; transition: transform .2s; }
.swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s; }
.swatch[aria-pressed="true"]::after { border-color: var(--ink); }
.swatch:hover { transform: scale(1.1); }

/* Types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.type { border-top: 1px solid var(--ink); padding: 22px 0 40px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 16px; }
.type h3 { font-size: clamp(20px, 2vw, 25px); transition: color .2s; }
.type p { grid-column: 1 / -1; color: var(--muted); font-size: 15.500px; max-width: 26em; }
.type .more { font-size: 14px; color: var(--muted); white-space: nowrap; }
a.type:hover h3, a.type:hover .more { color: var(--accent); }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid rgba(0, 0, 0, .08); }
.story-body p { font-size: clamp(17px, 1.5vw, 20px); color: #424245; margin-bottom: 20px; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .1); }
.milestones dt { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; }
.milestones dd { color: var(--muted); font-size: 14px; }

/* Sizes */
.size-table { display: grid; grid-template-columns: repeat(11, minmax(60px, 1fr)); max-width: 900px; margin-inline: auto; border-block: 1px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.size-table::-webkit-scrollbar { display: none; }
.size-cell { padding: 18px 4px; text-align: center; }
.size-cell + .size-cell { border-inline-start: 1px solid var(--line); }
.size-cell b { display: block; font-size: 21px; font-weight: 600; }
.size-cell span { font-size: 13px; color: var(--muted); }

/* Dealers */
.dealers { background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(56px, 8vw, 112px) 24px; text-align: center; margin-bottom: clamp(56px, 8vw, 104px); }
.dealers .eyebrow { color: #e3b88f; }
.dealers h2 { margin-bottom: 36px; }

/* Footer */
.footer { background: var(--tile); padding: 56px 0 28px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.footer-logo { height: 64px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: end; }
.footer-links a:hover { color: var(--ink); }
.footer-base { padding-top: 20px; font-size: 12.500px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 80px); padding-block: 28px clamp(64px, 8vw, 112px); align-items: start; }
.back { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 14px; }
.back:hover { color: var(--ink); }
.pdp-gallery { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; }
.pdp-main { background: var(--tile); border-radius: var(--radius); aspect-ratio: 1; position: relative; overflow: hidden; }
.pdp-main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; animation: fadeUp .5s var(--ease); }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-gallery, .pdp-info { min-width: 0; }
.pdp-thumbs button { flex: 0 1 76px; min-width: 0; aspect-ratio: 1; background: var(--tile); border-radius: 16px; padding: 8px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.pdp-thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-info { padding-top: clamp(0px, 3vw, 40px); }
.pdp-info h1 { font-size: clamp(38px, 4.6vw, 60px); }
.pdp-info .tagline { color: var(--muted); font-size: 19px; margin-top: 8px; }
.pdp-info .price { font-size: 24px; margin-top: 20px; display: block; }
.badge { display: inline-block; background: var(--tile); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.opt { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(0, 0, 0, .1); }
.opt-label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.opt-label b { font-weight: 600; }
.opt-label span, .opt-label a { color: var(--muted); }
.opt .swatch { width: 32px; height: 32px; }
.opt .swatches { gap: 16px; padding: 4px; }
.size-opts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.size-opt { border-radius: 14px; padding: 10px 0; text-align: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; line-height: 1.25; }
.size-opt b { display: block; font-size: 17px; font-weight: 600; }
.size-opt span { font-size: 11.500px; color: var(--muted); }
.size-opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.size-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--tile); }
.pdp-buy { margin-top: 32px; display: grid; gap: 12px; }
.pdp-buy .btn { min-height: 54px; font-size: 17px; }
.pdp-note { font-size: 13.500px; color: var(--muted); text-align: center; }
.feats { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 0; }
.feats li { padding: 15px 0; border-top: 1px solid rgba(0, 0, 0, .1); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.feats li span { color: var(--muted); text-align: end; }

/* Policy pages */
.doc { max-width: 720px; padding-bottom: clamp(64px, 8vw, 112px); }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 28px 0 8px; }
.doc h2 { font-family: var(--font); font-size: 20px; font-weight: 600; line-height: 1.4; margin: 36px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: #4a433d; font-size: 16.500px; line-height: 1.9; }
.doc ul { padding-inline-start: 20px; display: grid; gap: 6px; }
.doc a:not(.back) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-policies a { text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 20px; font-size: 13px; }
.footer-legal a { color: var(--accent); }
.consent { font-size: 12.500px; color: var(--muted); text-align: center; line-height: 1.7; }
.pdp-note a, .consent a { text-decoration: underline; text-underline-offset: 2px; }

/* Checkout + order result */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: 20px clamp(64px, 8vw, 112px); }
.co-form { display: grid; gap: 14px; min-width: 0; }
.co-form h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 4px; }
.co-form h2, .co-summary h2 { font-family: var(--font); font-size: 18px; font-weight: 600; margin-top: 18px; }
.field span { color: var(--muted); font-size: 12.500px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s; }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--tile); }
.pay-opt.off { opacity: .5; cursor: not-allowed; }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.pay-opt b { display: block; font-weight: 600; }
.pay-opt small { color: var(--muted); font-size: 13.500px; }
.co-submit { min-height: 54px; font-size: 17px; margin-top: 10px; }
.form-error { background: #fbe9e7; color: #8f1d1d; border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.co-summary { background: var(--tile); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); position: sticky; top: calc(var(--nav-h) + 20px); min-width: 0; }
.co-summary h2 { margin-top: 0; }
.co-summary .line-img { background: var(--bg); }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.sum-row:last-child { border-bottom: 0; }
.sum-row.total { font-size: 18px; }
.order-page { max-width: 640px; padding-block: clamp(40px, 7vw, 88px) clamp(64px, 8vw, 112px); }
.order-page h1 { font-size: clamp(30px, 4.4vw, 46px); }
.order-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 600; margin-bottom: 24px; color: #fff; }
.order-mark.ok { background: #1faa59; }
.order-mark.no { background: #b3261e; }
.order-mark.wait { background: var(--accent); }
.order-box { background: var(--tile); border-radius: 22px; padding: 8px 22px; margin-top: 28px; }
.order-page .form-error { margin-top: 20px; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s; }
.drawer { position: fixed; z-index: 100; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform .45s var(--ease); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.drawer-head h3 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(0, 0, 0, .08); display: grid; gap: 12px; }
.empty { text-align: center; color: var(--muted); padding: 80px 0; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.line-img { background: var(--tile); border-radius: 16px; aspect-ratio: 1; position: relative; }
.line-img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; mix-blend-mode: multiply; }
.line h4 { font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.line .meta { font-size: 13.500px; color: var(--muted); }
.line-ctl { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--tile); border-radius: 999px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; font-size: 17px; line-height: 1; }
.qty button:hover { background: #e7e1d8; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; }
.remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; }
.field { display: grid; gap: 6px; font-size: 13.500px; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); border: 0; background: var(--tile); border-radius: 14px; padding: 13px 16px; width: 100%; resize: none; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); }
.btn-wa { background: #1faa59; color: #fff; }
.btn-wa:hover { background: #17964c; }

.toast { position: fixed; z-index: 120; bottom: 28px; left: 50%; transform: translate(-50%, 24px); background: rgba(29, 29, 31, .92); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.featured .card-p:first-child { grid-column: span 2; }
  .grid.featured .card-p:first-child .tile { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-menu { display: grid; }
  .nav-inner { display: grid; grid-template-columns: 40px 1fr 40px; }
  .brand { justify-self: center; }
  .cart-btn { grid-column: 3; grid-row: 1; }
  .nav-links { position: absolute; top: var(--nav-h); inset-inline: 0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); flex-direction: column; gap: 0; padding: 8px 22px 20px; font-size: 20px; font-weight: 500; border-bottom: 1px solid rgba(0, 0, 0, .08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); opacity: 1; }

  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner-media { order: -1; padding: 28px 20px 0; }
  .banner-fallback { max-height: 300px; }
  .banner-copy { padding: 28px 24px 44px; }
  /* Generated banner on phones: the photo fills the top and melts into a matching ground the copy sits on */
  .banner.has-image { background-image: none; background-color: var(--fade, var(--dark)); }
  /* Height comes from a padding box, not aspect-ratio: Safari ignores aspect-ratio on a stretched grid item, which collapsed the photo to nothing on iPhone. */
  .banner.has-image .banner-media { display: block; align-self: start; width: 100%; background: var(--banner) var(--focus, 20%) center / cover no-repeat; padding: 0; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .banner.has-image .banner-media::before { content: ""; display: block; padding-top: 100%; }
  .banner.hero.has-image .banner-media::before { padding-top: 125%; }
  .banner.has-image .banner-copy { margin-top: -36px; padding: 0 24px 40px; }
  .banner.has-image[data-tone="dark"]::after { display: none; }
  .banner.hero.has-image .banner-media { -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
  .banner.hero.has-image .banner-copy { margin-top: -96px; padding-bottom: 48px; }
  .banner.hero h1 { font-size: clamp(44px, 13vw, 60px); }
  [data-banner="hero"] { --fade: #0b0807; --focus: 6%; }
  [data-banner="craft"] { --fade: #ead9c2; --focus: 3%; }
  [data-banner="comfort"] { --fade: #0d0a08; --focus: 28%; }

  .section-head { text-align: start; }
  .values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-block: 0; font-size: 14.500px; color: var(--ink); }
  .values span { padding: 16px 0; text-align: center; border-bottom: 1px solid var(--line); }
  .values span:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .values span:nth-last-child(-n+2) { border-bottom: 0; }
  .values span + span::before { content: none; }
  .story { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .pdp-gallery { position: static; }
  .footer-links { text-align: start; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .grid { gap: 12px; row-gap: 28px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .tile { border-radius: 20px; }
  .card-info { flex-direction: column; gap: 2px; padding-top: 12px; }
  .card-info h3 { font-size: 17px; }
  .types { grid-template-columns: 1fr; }
  .type { border-top-color: var(--line); padding: 18px 0 20px; }
  .types .type:first-child { border-top-color: var(--ink); }
  .size-table { margin-inline: -16px; }
  .size-opts { grid-template-columns: repeat(4, 1fr); }
  .milestones dt { font-size: 22px; }
  .dealers h2 { font-size: 28px; }
  .dealers h2 br { display: none; }
}
