/* Al Majed storefront — built on Al Majed's live store system (global.almajed4oud.com). */
:root {
  --tan: #b59c7e; --tan-dark: #8f7658; --tan-light: #dbc2a4; --tan-wash: #f4ece1;
  --bg: #fcf8f2; --paper: #ffffff; --ink: #231f1e; --heading: #51463a; --mute: #766552; --soft: #908272;
  --line: #ece3d6; --sale: #e05a5a; --ok: #3f7d4e; --wa: #25d366;
  --tile-blue: #e1e6f4; --tile-pink: #f3e3e6; --tile-olive: #f1f2e3; --tile-sand: #f0e9e5;
  --r: 16px; --r-lg: 24px; --shadow: 0 6px 24px rgba(81, 70, 58, .08);
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --wrap: 1280px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--tan-dark); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px;
  border-radius: 999px; background: var(--tan); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .2s; white-space: nowrap; }
.btn:hover { background: var(--tan-dark); }
.btn-ghost { background: transparent; color: var(--heading); box-shadow: inset 0 0 0 1.5px var(--tan-light); }
.btn-ghost:hover { background: var(--tan-wash); }
.btn-dark { background: var(--heading); }
.btn-dark:hover { background: var(--ink); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #1fb457; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--tan-dark); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Header */
.utility { background: var(--tan); color: #fff; font-size: 13px; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.utility b { font-weight: 600; }
.utility .agent { display: flex; align-items: center; gap: 8px; opacity: .95; }
.remal-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.remal-link:hover { opacity: .8; }
.header { background: var(--paper); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.header .row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { color: var(--ink); display: flex; flex-shrink: 0; }
.logo-svg { height: 42px; width: auto; }
.search { position: relative; flex: 1; max-width: 640px; }
.search input { width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--bg); padding: 0 46px 0 16px; box-shadow: 0 2px 10px rgba(81,70,58,.06); }
.search input:focus { outline: 2px solid var(--tan-light); }
.search svg { position: absolute; inset-inline-start: 14px; top: 13px; width: 20px; height: 20px; color: var(--soft); pointer-events: none; }
.suggest { position: absolute; top: 52px; inset-inline: 0; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; display: none; z-index: 50; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.suggest a:hover, .suggest a.on { background: var(--bg); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--tile-sand); border-radius: 8px; }
.suggest span { flex: 1; font-size: 14px; }
.suggest small { color: var(--mute); }
.icons { display: flex; gap: 6px; margin-inline-start: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--heading); }
.icon-btn:hover { background: var(--bg); }
.icon-btn svg { width: 24px; height: 24px; }
.badge { position: absolute; top: 3px; inset-inline-end: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.badge:empty, .badge[data-n="0"] { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; display: flex; gap: 4px; height: 50px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav li { position: relative; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--heading); white-space: nowrap; }
.nav a:hover, .nav a.on { background: var(--tan-wash); color: var(--ink); }
.nav .hl { color: var(--sale); }
.menu-btn { display: none; }

/* Mobile drawer menu */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(35,31,30,.45); opacity: 0; transition: opacity .25s; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 92vw); background: var(--paper);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; color: var(--heading); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }
.menu-list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu-list h3 { font-size: 13px; color: var(--mute); font-weight: 600; margin: 18px 0 4px; }

/* Cart drawer items */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line .ph { width: 76px; height: 76px; border-radius: 12px; background: var(--tile-sand); }
.line .ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.line h4 { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.line small { color: var(--mute); display: block; }
.line .price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.line .rm { color: var(--soft); font-size: 13px; margin-top: 6px; }
.line .rm:hover { color: var(--sale); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); margin-top: 8px; }
.qty button { width: 34px; height: 34px; font-size: 18px; color: var(--heading); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.totals { display: grid; gap: 6px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 48px 12px; color: var(--mute); display: grid; gap: 14px; justify-items: center; }
.empty svg { width: 56px; height: 56px; color: var(--tan-light); }
.empty h3 { color: var(--heading); font-size: 18px; }

/* Sections */
main { min-height: 50vh; }
.section { padding-block: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.h2 { font-size: 28px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.lead { color: var(--mute); font-size: 15.5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--soft); padding-top: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-inline-end: 8px; color: var(--tan-light); }

/* Hero */
.hero { padding-top: 24px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; aspect-ratio: 1280 / 480; min-height: 340px; overflow: hidden; border-radius: var(--r-lg); background: var(--tan-wash); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(35,31,30,.62), rgba(35,31,30,.12) 60%, transparent); }
.slide .copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 40px clamp(24px, 6vw, 72px); max-width: 620px; color: #fff; }
.slide h1, .slide h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; font-weight: 700; }
.slide p { font-size: clamp(15px, 1.4vw, 18px); opacity: .92; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; background: var(--tan-light); transition: width .2s; }
.dots button.on { width: 24px; background: var(--tan); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.trust div { background: var(--paper); border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: center; }
.trust svg { width: 30px; height: 30px; color: var(--tan); flex-shrink: 0; }
.trust b { display: block; font-size: 14.5px; color: var(--heading); }
.trust small { color: var(--mute); font-size: 13px; line-height: 1.5; display: block; }

/* Category chips + cards */
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.type { display: grid; justify-items: center; gap: 10px; text-align: center; font-weight: 600; color: var(--heading); font-size: 14.5px; }
.type .ph { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--tile-sand); overflow: hidden; transition: transform .25s; }
.type:nth-child(4n+1) .ph { background: var(--tile-blue); } .type:nth-child(4n+2) .ph { background: var(--tile-pink); } .type:nth-child(4n+3) .ph { background: var(--tile-olive); }
.type img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 16%; }
.type:hover .ph { transform: translateY(-3px); }
.collections { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.collection { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--tan-wash); }
.collection img { width: 100%; height: 100%; object-fit: contain; padding: 14% 14% 30%; mix-blend-mode: multiply; transition: transform .4s; }
.collection:hover img { transform: scale(1.04); }
.collection .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 16px; display: grid; gap: 2px; }
.collection b { font-size: 18px; color: var(--heading); }
.collection small { color: var(--mute); font-size: 13px; line-height: 1.5; }
.collection:nth-child(5n+1) { background: var(--tile-blue); } .collection:nth-child(5n+2) { background: var(--tile-pink); } .collection:nth-child(5n+3) { background: var(--tile-olive); } .collection:nth-child(5n+4) { background: var(--tile-sand); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 999px; background: var(--paper); color: var(--heading); font-weight: 500; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover, .chip.on { background: var(--tan); color: #fff; box-shadow: none; }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.card .ph { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--tile-blue); display: block; }
.card .ph[data-tile="pink"], .tile-pink { background: var(--tile-pink); }
.card .ph[data-tile="olive"], .tile-olive { background: var(--tile-olive); }
.card .ph[data-tile="sand"], .tile-sand { background: var(--tile-sand); }
.card .ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10%; transition: transform .4s; }
.card:hover .ph img { transform: scale(1.04); }
.flag { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; color: var(--heading); }
.flag.sale { background: var(--sale); color: #fff; }
.flag.out { background: var(--heading); color: #fff; }
.fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; color: var(--heading); z-index: 2; }
.fav svg { width: 19px; height: 19px; }
.fav.on svg { fill: var(--sale); color: var(--sale); }
.card h3 { font-size: 15px; font-weight: 600; line-height: 1.45; }
.card .sub { color: var(--mute); font-size: 13px; margin-top: 1px; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.price { font-weight: 700; font-size: 17px; color: var(--ink); }
.was { color: var(--soft); text-decoration: line-through; font-size: 13.5px; font-weight: 400; margin-inline-start: 6px; }
.price.sale { color: var(--sale); }
.add { width: 40px; height: 40px; border-radius: 50%; background: var(--tan); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .15s; }
.add:hover { background: var(--tan-dark); }
.add:active { transform: scale(.94); }
.add svg { width: 20px; height: 20px; }
.add[disabled] { background: var(--line); color: var(--soft); }

/* Heritage */
.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.heritage .ph { min-height: 380px; background: var(--tan-wash); }
.heritage .ph img { width: 100%; height: 100%; object-fit: cover; }
.heritage .copy { padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; align-content: center; }
.heritage .big { font-size: 56px; font-weight: 700; color: var(--tan); line-height: 1; }
.heritage p { color: var(--mute); font-size: 16px; line-height: 1.9; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps div { background: var(--paper); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; counter-increment: s; }
.steps div::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--tan-wash); color: var(--tan-dark); font-weight: 700; display: grid; place-items: center; }
.steps b { font-size: 16px; color: var(--heading); }
.steps p { color: var(--mute); font-size: 14px; }

/* Catalog */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-block: 18px 56px; }
.filters { position: sticky; top: 150px; background: var(--paper); border-radius: var(--r); padding: 6px 18px; max-height: calc(100vh - 170px); overflow-y: auto; }
.filters details { border-bottom: 1px solid var(--line); }
.filters details:last-of-type { border: 0; }
.filters summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; color: var(--tan); font-size: 18px; line-height: 1; }
.filters details[open] summary::after { content: "−"; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0 5px; font-size: 14.5px; cursor: pointer; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--tan); }
.filters .opts { padding-bottom: 12px; }
.range { display: flex; gap: 8px; align-items: center; padding-bottom: 14px; }
.range input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 10px; background: var(--bg); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar h1 { font-size: 26px; color: var(--heading); line-height: 1.35; }
.toolbar small { color: var(--mute); font-weight: 400; font-size: 14px; margin-inline-start: 6px; }
.toolbar select { height: 42px; border-radius: 999px; border: 0; background: var(--paper); padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line); }
.filter-btn { display: none; }
.more { display: flex; justify-content: center; margin-top: 32px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); padding-block: 18px 40px; align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 150px; }
.stage { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--tile-blue); overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 76px; height: 76px; border-radius: 12px; background: var(--tile-sand); overflow: hidden; box-shadow: inset 0 0 0 2px transparent; }
.thumbs button.on { box-shadow: inset 0 0 0 2px var(--tan); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.info { display: grid; gap: 20px; }
.info .kicker { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 3px 12px; border-radius: 999px; background: var(--tan-wash); color: var(--tan-dark); font-size: 13px; font-weight: 600; }
.info h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.35; color: var(--heading); }
.info .en { color: var(--soft); font-size: 14px; letter-spacing: .04em; }
.sku { color: var(--soft); font-size: 13px; }
.big-price { font-size: 28px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.label { font-weight: 600; color: var(--heading); margin-bottom: 10px; font-size: 14.5px; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size { min-width: 92px; padding: 10px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; line-height: 1.4; }
.size b { display: block; font-weight: 600; }
.size small { color: var(--mute); font-size: 12.5px; }
.size.on { box-shadow: inset 0 0 0 2px var(--tan); background: var(--tan-wash); }
.size.out { opacity: .55; }
.buy { display: flex; gap: 12px; align-items: center; }
.buy .qty { margin: 0; height: 50px; }
.buy .qty button { height: 50px; width: 42px; }
.buy .btn { flex: 1; height: 50px; font-size: 15.5px; }
.stock { font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.low { color: #b7791f; } .stock.none { color: var(--sale); }
.alert-box { background: var(--paper); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.alert-box form { display: flex; gap: 8px; }
.alert-box input { flex: 1; height: 46px; border-radius: 999px; border: 1px solid var(--line); padding: 0 16px; background: var(--bg); }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.assure div { background: var(--paper); border-radius: 12px; padding: 12px; font-size: 13px; color: var(--heading); display: flex; gap: 8px; align-items: center; line-height: 1.45; }
.assure svg { width: 22px; height: 22px; color: var(--tan); flex-shrink: 0; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.notes div { background: var(--paper); border-radius: var(--r); padding: 16px 14px; text-align: center; display: grid; gap: 4px; }
.notes i { font-style: normal; color: var(--tan-dark); font-size: 13px; font-weight: 600; }
.notes p { font-size: 14px; line-height: 1.7; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14.5px; background: var(--paper); border-radius: var(--r); padding: 16px 18px; }
.specs dt { color: var(--mute); }
.specs dd { font-weight: 500; }
.desc { color: var(--mute); line-height: 1.95; font-size: 15.5px; }
.sticky-buy { display: none; }

/* Forms / checkout */
.page-head { padding-block: 22px 8px; }
.page-head h1 { font-size: 28px; color: var(--heading); }
.co { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; padding-block: 18px 56px; }
.box { background: var(--paper); border-radius: var(--r); padding: 22px; }
.box + .box { margin-top: 16px; }
.box h2 { font-size: 18px; color: var(--heading); margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.field label small { color: var(--soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--tan-light); border-color: var(--tan); }
.field .err { color: var(--sale); font-size: 13px; display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--sale); }
.field.bad .err { display: block; }
.pay { display: grid; gap: 10px; }
.pay label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.pay label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--tan); background: var(--tan-wash); }
.pay input { accent-color: var(--tan); width: 18px; height: 18px; margin-top: 4px; }
.pay b { display: block; color: var(--heading); }
.pay small { color: var(--mute); }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px; }
.coupon .btn { height: 44px; }
.notice { padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #9b2c2c; font-size: 14px; }
.notice.ok { background: #e9f5ec; color: var(--ok); }
.notice.info { background: var(--tan-wash); color: var(--heading); }
.summary .line { grid-template-columns: 56px 1fr auto; }
.summary .line .ph { width: 56px; height: 56px; }
.co aside { position: sticky; top: 150px; }

/* Confirmation / track */
.conf { max-width: 760px; margin-inline: auto; padding-block: 40px 64px; display: grid; gap: 18px; }
.conf .tick { width: 64px; height: 64px; border-radius: 50%; background: #e9f5ec; color: var(--ok); display: grid; place-items: center; }
.conf .tick svg { width: 32px; height: 32px; }
.conf h1 { font-size: 28px; color: var(--heading); line-height: 1.4; }
.order-no { font-size: 22px; font-weight: 700; color: var(--tan-dark); letter-spacing: .02em; }
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.track-steps div { text-align: center; font-size: 13px; color: var(--soft); display: grid; gap: 8px; justify-items: center; }
.track-steps div::before { content: ""; height: 6px; width: 100%; border-radius: 3px; background: var(--line); }
.track-steps .on { color: var(--heading); font-weight: 600; }
.track-steps .on::before { background: var(--tan); }

/* Content pages */
.prose { max-width: 820px; padding-block: 12px 64px; display: grid; gap: 14px; }
.prose h2 { font-size: 21px; color: var(--heading); margin-top: 18px; }
.prose p, .prose li { color: var(--mute); line-height: 1.95; font-size: 15.5px; }
.prose ul { padding-inline-start: 20px; display: grid; gap: 4px; }
.faq { background: var(--paper); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tan); font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq > div { padding: 0 20px 18px; display: grid; gap: 8px; }

/* Footer */
.footer { background: var(--tan); color: #fff; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer .brand { color: #fff; }
.footer .logo-svg { height: 46px; }
.footer p { opacity: .9; font-size: 14px; line-height: 1.9; margin-top: 14px; }
.footer h4 { font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.footer ul a { opacity: .9; }
.footer ul a:hover { opacity: 1; text-decoration: underline; }
.footer .base { border-top: 1px solid rgba(255,255,255,.25); padding-block: 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; opacity: .9; }
.wa-float { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.wa-float svg { width: 30px; height: 30px; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .25s; z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(3, 1fr); }
  .types { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 90; max-height: 82vh; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); transition: transform .3s; box-shadow: 0 -10px 40px rgba(0,0,0,.15); padding-bottom: 90px; }
  .filters.open { transform: none; }
  .filter-btn { display: inline-flex; }
  .filters .apply { position: sticky; bottom: -90px; background: var(--paper); padding: 12px 0; }
  .pdp, .co { grid-template-columns: 1fr; }
  .gallery, .co aside { position: static; }
  .heritage { grid-template-columns: 1fr; }
  .heritage .ph { min-height: 240px; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .utility .agent { display: none; }
  .utility .wrap { justify-content: center; text-align: center; }
  .header .row { height: 64px; gap: 8px; }
  .logo-svg { height: 34px; }
  .header .search { display: none; }
  .header.searching .search { display: block; position: absolute; inset-inline: 12px; top: 9px; }
  .menu-btn { display: grid; }
  .nav { display: none; }
  .m-search { display: grid; }
  .section { padding-block: 32px; }
  .h2 { font-size: 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 15.5px; }
  .add { width: 36px; height: 36px; }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .type { font-size: 13px; }
  .slide { aspect-ratio: auto; min-height: 420px; }
  .slide::after { background: linear-gradient(to top, rgba(35,31,30,.72), rgba(35,31,30,.1) 70%); }
  .slide .copy { justify-content: flex-end; padding: 24px; }
  .trust { grid-template-columns: 1fr; gap: 8px; }
  .trust div { padding: 12px; }
  .steps { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .sticky-buy { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; }
  .sticky-buy .btn { flex: 1; }
  .has-sticky .wa-float { bottom: 84px; }
  .has-sticky { padding-bottom: 72px; }
  .track-steps { grid-template-columns: 1fr; text-align: start; }
  .track-steps div { grid-template-columns: 6px 1fr; justify-items: start; align-items: center; text-align: start; }
  .track-steps div::before { height: 22px; width: 6px; }
}
@media (min-width: 761px) { .m-search { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
