/* ==========================================================================
   The Artful Endeavour — storefront
   One festive motif (the marigold toran), one shape (the mandap arch),
   one serif. Palettes swap by season via <html data-theme="…">.
   ========================================================================== */

:root,
[data-theme="classic"] {
  --brand: #3E2417;  --brand-deep: #2A180F;
  --accent: #B8873B; --accent-2: #8E5A2B; --accent-soft: #E7D2AE;
  --ivory: #F8F2E9;  --sand: #EFE4D3;     --paper: #FFFDF9;
  --line: #E3D5C2;   --ink: #251610;      --muted: #7A6555;
  --on-dark: #F8F2E9; --on-dark-muted: #CDB7A0; --dark-line: rgba(248,242,233,.18);
  --leaf: #4F6B3A;
}
[data-theme="navratri"] {
  --brand: #6E1423;  --brand-deep: #4A0D18;
  --accent: #E8A317; --accent-2: #C2361F; --accent-soft: #F6D9A0;
  --ivory: #FBF5EA;  --sand: #F5E7CF;     --paper: #FFFCF6;
  --line: #EBD9BC;   --ink: #2B1610;      --muted: #7D5E50;
  --on-dark: #FBF1DE; --on-dark-muted: #E2BFA4; --dark-line: rgba(251,241,222,.2);
  --leaf: #3F6B2F;
}
[data-theme="diwali"] {
  --brand: #241B45;  --brand-deep: #161030;
  --accent: #E3B04B; --accent-2: #C8573A; --accent-soft: #F3DDA6;
  --ivory: #FBF6EC;  --sand: #F2E8D6;     --paper: #FFFDF8;
  --line: #E6DAC4;   --ink: #1D1630;      --muted: #6E6378;
  --on-dark: #FBF3E0; --on-dark-muted: #C9BCD9; --dark-line: rgba(251,243,224,.18);
  --leaf: #4A6B3A;
}
[data-theme="wedding"] {
  --brand: #7A1E48;  --brand-deep: #511130;
  --accent: #D9A441; --accent-2: #D9467E; --accent-soft: #F4D9A8;
  --ivory: #FCF5F0;  --sand: #F6E6DF;     --paper: #FFFCFA;
  --line: #EDD8CF;   --ink: #2A1420;      --muted: #7E5F6B;
  --on-dark: #FCEFE7; --on-dark-muted: #E6BFCD; --dark-line: rgba(252,239,231,.2);
  --leaf: #4A6B3A;
}

:root {
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --arch: 50% 50% 4px 4px / 32% 32% 4px 4px;
  --wrap: 1280px;
  --gut: clamp(16px, 4.5vw, 52px);
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.65 var(--text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--brand); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow { max-width: 760px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 500 14px var(--text); letter-spacing: .04em;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--brand); color: var(--on-dark); }
.btn-solid:hover { background: var(--brand-deep); }
.btn-accent { background: var(--accent); color: var(--brand-deep); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-line { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); }
.btn-wa { background: #1F8F4E; color: #fff; }
.btn-wa:hover { background: #18773F; }
.btn-wide { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.on-dark .btn-line { color: var(--on-dark); border-color: var(--dark-line); }
.on-dark .btn-line:hover { border-color: var(--accent); }

.textlink { color: var(--brand); border-bottom: 1px solid var(--accent); padding-bottom: 1px; font-size: 14px; }
.textlink:hover { color: var(--accent-2); }

/* ------------------------------------------------------------- announcement + toran */

.announce {
  background: var(--brand-deep); color: var(--on-dark);
  font-size: 13px; letter-spacing: .03em; text-align: center; padding: 8px var(--gut);
}
.announce a { border-bottom: 1px solid var(--accent); }

/* The toran: a string of marigolds with mango leaves between them. */
.toran {
  height: 18px; position: relative; pointer-events: none;
  background:
    radial-gradient(circle at 50% 3px, var(--accent) 5.5px, transparent 6.5px) 0 0 / 26px 18px repeat-x,
    radial-gradient(circle at 50% 3px, var(--accent-2) 2.5px, transparent 3.2px) 0 0 / 26px 18px repeat-x,
    radial-gradient(ellipse 3px 7px at 50% 9px, var(--leaf) 90%, transparent 100%) 13px 0 / 26px 18px repeat-x;
}
.toran::before {
  content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 1px; background: var(--accent);
  opacity: .5;
}

/* ------------------------------------------------------------- header */

.masthead { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--ivory) 94%, transparent); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }

.brandmark { display: flex; align-items: center; gap: 12px; flex: none; }
.brandmark img { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; }
.brandmark-name { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--brand); white-space: nowrap; }
.brandmark-name small { display: block; font-family: var(--text); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 2px; flex: 1; justify-content: center; min-width: 0; }
.nav-item { position: relative; }
.nav-item > a { display: block; font-size: 14px; padding: 26px 12px; color: var(--ink); white-space: nowrap; }
.nav-item > a::after { content: ""; display: block; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); margin-top: 3px; }
.nav-item:hover > a::after, .nav-item > a[aria-current]::after { transform: scaleX(1); }

.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 260px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(40, 20, 10, .35);
  padding: 18px 20px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s;
  display: grid; gap: 2px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { padding: 7px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; }
.mega a:hover { color: var(--brand); }
.mega .mega-all { font-family: var(--display); font-size: 18px; color: var(--brand); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }

.tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--brand); cursor: pointer; border-radius: 50%; }
.tool:hover { background: var(--sand); }
.count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent-2); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}
.count[hidden] { display: none; }
.menu-btn { display: none; }

.searchbar { border-top: 1px solid var(--line); background: var(--paper); }
.searchbar[hidden] { display: none; }
.searchbar form { display: flex; gap: 10px; padding-block: 14px; }
.searchbar input { flex: 1; font: 400 17px var(--text); padding: 12px 16px; border: 1px solid var(--line); background: var(--ivory); border-radius: var(--radius); color: var(--ink); }
.searchbar input:focus { outline: none; border-color: var(--accent); }

/* ------------------------------------------------------------- drawer (mobile menu) */

.drawer { position: fixed; inset: 0; z-index: 200; display: flex; }
.drawer[hidden] { display: none; }
.drawer-scrim { flex: 1; background: rgba(30, 12, 8, .45); }
.drawer-panel { width: min(360px, 88vw); background: var(--paper); height: 100%; overflow-y: auto; order: -1; display: flex; flex-direction: column; animation: slideIn .25s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 6px 18px 24px; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary, .drawer-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 16px; cursor: pointer; list-style: none; }
.drawer-nav > a { border-bottom: 1px solid var(--line); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font-size: 20px; color: var(--accent); }
.drawer-nav details[open] summary::after { content: "–"; }
.drawer-nav details a { display: block; padding: 9px 0 9px 14px; color: var(--muted); font-size: 15px; }
.drawer-foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ------------------------------------------------------------- flash */

.flash { padding: 13px var(--gut); font-size: 14px; text-align: center; }
.flash-ok { background: var(--brand); color: var(--on-dark); }
.flash-error { background: #F6DCD4; color: #7A2414; }

/* ------------------------------------------------------------- section shells */

.sec { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.sec-ivory { background: var(--ivory); }
.sec-sand { background: var(--sand); }
.sec-dark { background: var(--brand); color: var(--on-dark); }
.sec-festive { background: var(--brand-deep); color: var(--on-dark); overflow: hidden; }
.sec-festive::before, .sec-dark::before { content: none; }
.on-dark { color: var(--on-dark); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 42px); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.on-dark .sec-head p, .sec-dark .sec-head p, .sec-festive .sec-head p { color: var(--on-dark-muted); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--accent-2); margin: 0 0 10px; }
.sec-dark .eyebrow, .sec-festive .eyebrow { color: var(--accent); }

/* small diya-flame divider used under centred headings */
.flame { width: 72px; height: 14px; margin: 14px auto 0; background:
  radial-gradient(ellipse 4px 7px at 50% 50%, var(--accent) 90%, transparent) center / 14px 14px no-repeat,
  linear-gradient(var(--accent), var(--accent)) left center / 26px 1px no-repeat,
  linear-gradient(var(--accent), var(--accent)) right center / 26px 1px no-repeat; }

/* ------------------------------------------------------------- hero slider */

.hero { position: relative; background: var(--brand-deep); color: var(--on-dark); overflow: hidden; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.slide-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 84px); min-height: min(78vh, 680px); }
.slide.tone-light { background: var(--sand); color: var(--ink); }
.slide.tone-dark { background: var(--brand); }
.slide.tone-festive { background:
  radial-gradient(120% 90% at 85% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
  var(--brand-deep); }
.slide-eyebrow { font-family: var(--display); font-style: italic; font-size: clamp(18px, 2vw, 22px); color: var(--accent); margin: 0 0 14px; }
.slide h1, .slide h2 { font-size: clamp(2.5rem, 5.8vw, 4.9rem); line-height: 1.02; max-width: 13ch; margin: 0 0 20px; font-weight: 400; }
.slide p.slide-sub { font-size: clamp(16px, 1.6vw, 18px); color: var(--on-dark-muted); max-width: 44ch; margin: 0 0 30px; }
.slide.tone-light p.slide-sub { color: var(--muted); }
.slide-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-line, .sec-dark .btn-line, .sec-festive .btn-line { color: var(--on-dark); border-color: var(--dark-line); }
.hero .btn-line:hover, .sec-dark .btn-line:hover, .sec-festive .btn-line:hover { border-color: var(--accent); }
.slide.tone-light .btn-line { color: var(--brand); border-color: var(--line); }
.slide-art { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; max-width: 460px; justify-self: center; }
.slide-art .arch { position: absolute; inset: 0; border-radius: var(--arch); overflow: hidden; background: color-mix(in srgb, var(--accent) 18%, var(--brand-deep)); }
.slide-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.slide-art::before { /* a second, offset arch outline — the mandap frame */
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); border-radius: var(--arch);
}
.slide-art .toran { position: absolute; left: 10%; right: 10%; top: 9%; z-index: 2; }

/* the ornament drawn when a banner has no photo yet */
.ornament { position: absolute; inset: 0; display: grid; place-items: center; }
.ornament svg { width: 62%; height: auto; color: var(--accent); opacity: .9; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 26px; height: 3px; border: 0; padding: 0; background: var(--dark-line); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--accent); }

/* ------------------------------------------------------------- category circles */

.rail { display: flex; gap: clamp(16px, 2.6vw, 34px); overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; flex: none; }
.circle { width: clamp(118px, 13vw, 160px); text-align: center; }
.circle-img {
  aspect-ratio: 1; border-radius: 50%; position: relative; padding: 7px; margin-bottom: 14px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent), var(--accent-2), var(--accent));
}
.circle-img > span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: var(--sand); border: 3px solid var(--ivory);
  font-family: var(--display); font-size: 44px; color: var(--brand);
}
.circle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.circle:hover .circle-img img { transform: scale(1.06); }
.circle h3 { font-size: 19px; line-height: 1.2; }
.circle p { margin: 4px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.rail-wrap { position: relative; }
.rail-arrows { display: flex; gap: 8px; }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--brand); }
.arrow:hover { border-color: var(--brand); }
.on-dark .arrow, .sec-dark .arrow, .sec-festive .arrow { background: transparent; border-color: var(--dark-line); color: var(--on-dark); }

/* ------------------------------------------------------------- product cards */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(14px, 2vw, 26px); }
.rail .card { width: clamp(200px, 23vw, 286px); }
.card { position: relative; }
.card-img { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--radius); margin-bottom: 14px; }
.sec-dark .card-img, .sec-festive .card-img { background: color-mix(in srgb, var(--on-dark) 10%, var(--brand)); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.card-img .alt { opacity: 0; }
.card:hover .card-img .alt { opacity: 1; }
.card:hover .card-img img:first-child { transform: scale(1.04); }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--accent); }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--accent); color: var(--brand-deep); font-size: 11px; font-weight: 500; letter-spacing: .06em; padding: 4px 10px; border-radius: 2px; }
.heart {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--brand); cursor: pointer; display: grid; place-items: center;
}
.heart[aria-pressed="true"] svg { fill: var(--accent-2); stroke: var(--accent-2); }
.quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .22s;
}
.card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
.quick .btn { width: 100%; background: var(--paper); color: var(--brand); padding: 11px; }
.quick .btn:hover { background: var(--brand); color: var(--on-dark); }
.card-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.sec-dark .card-meta, .sec-festive .card-meta { color: var(--on-dark-muted); }
.card-name { font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.card-price { margin: 0; display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.now { color: var(--brand); font-weight: 500; }
.sec-dark .now, .sec-festive .now { color: var(--accent); }
.was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.ask { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--accent-2); }
.sec-dark .ask, .sec-festive .ask { color: var(--accent); }
.from { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------- occasion tiles */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--brand); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,8,4,.78), rgba(20,8,4,.05) 60%); }
.tile.no-img { background:
  radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 35%, transparent) 0 22%, transparent 23%),
  repeating-conic-gradient(from 0deg at 50% 30%, color-mix(in srgb, var(--accent) 16%, transparent) 0 8deg, transparent 8deg 20deg),
  var(--brand); }
.tile.no-img:nth-child(2n) { background-color: var(--brand-deep); }
.tile-words { padding: 22px; }
.tile h3 { font-size: 24px; color: var(--on-dark); }
.tile p { margin: 6px 0 0; font-size: 13px; color: var(--on-dark-muted); }

/* ------------------------------------------------------------- feature split */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature.right .feature-art { order: 2; }
.feature-art { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); position: relative; }
.sec-dark .feature-art { background: color-mix(in srgb, var(--on-dark) 8%, var(--brand)); }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.feature p { color: var(--muted); max-width: 46ch; margin: 0 0 26px; font-size: 17px; }
.sec-dark .feature p { color: var(--on-dark-muted); }

/* ------------------------------------------------------------- USP strip */

.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.usp > div { padding: 6px 26px; border-left: 1px solid var(--line); }
.usp > div:first-child { border-left: 0; padding-left: 0; }
.usp-mark { width: 30px; height: 30px; margin-bottom: 14px; color: var(--accent-2); }
.usp h3 { font-size: 21px; margin-bottom: 6px; }
.usp p { margin: 0; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------- testimonials */

.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.quote { scroll-snap-align: start; border: 1px solid var(--dark-line); padding: 34px 30px; border-radius: var(--radius); }
.quote blockquote { margin: 0 0 18px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-style: italic; }
.quote figcaption { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }

/* ------------------------------------------------------------- CTA band */

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; }

/* ------------------------------------------------------------- instagram */

.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta a { aspect-ratio: 1; overflow: hidden; background: var(--sand); border-radius: 2px; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta a:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------- listing pages */

.page-top { padding-block: clamp(28px, 4vw, 52px) clamp(18px, 2.4vw, 28px); background:
  linear-gradient(to bottom, var(--sand), var(--ivory)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--brand); }
.page-title { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--brand); font-weight: 400; }
.lede { font-size: 17px; color: var(--muted); max-width: 60ch; margin: 12px 0 0; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: 14px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); transition: all .16s; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.toolbar-count { font-size: 14px; color: var(--muted); }
.toolbar-set { display: flex; gap: 8px; flex-wrap: wrap; }
.select { font: 400 14px var(--text); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 9px 30px 9px 12px; border-radius: var(--radius); cursor: pointer; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.pager .on { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }

.empty { text-align: center; padding: 64px 0; color: var(--muted); }
.empty h2 { color: var(--brand); font-size: 30px; margin-bottom: 10px; }
.empty .btn { margin: 18px 5px 0; }

/* ------------------------------------------------------------- product page */

.pdp { padding-block: 20px clamp(40px, 6vw, 80px); }
.pdp-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--sand); }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main figure { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--line); background: var(--sand); cursor: pointer; border-radius: 2px; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.gallery-dots span.on { background: var(--brand); }

.pdp-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; }
.pdp-name { font-size: clamp(2.2rem, 4.2vw, 3.3rem); color: var(--brand); font-weight: 400; margin-bottom: 8px; }
.pdp-code { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.pdp-price { display: flex; gap: 12px; align-items: baseline; margin: 0 0 20px; }
.pdp-price .now { font-family: var(--display); font-size: 34px; font-weight: 500; }
.pdp-price .ask { font-size: 24px; }
.pdp-price .save { font-size: 12px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--brand); padding: 3px 9px; border-radius: 2px; }
.pdp-lede { font-size: 17px; color: var(--muted); margin: 0 0 26px; }

.opt-head { font-size: 13px; color: var(--muted); margin: 0 0 10px; display: flex; justify-content: space-between; }
.opts { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; }
.opt { text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 11px 16px; cursor: pointer; border-radius: var(--radius); display: grid; gap: 1px; min-width: 120px; }
.opt:hover { border-color: var(--accent); }
.opt[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--sand); }
.opt-label { font-size: 14px; }
.opt-price { font-size: 13px; color: var(--accent-2); }
.opt-note { font-size: 11px; color: var(--muted); }

.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 10px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.qty button { width: 40px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--brand); }
.qty input { width: 52px; border: 0; text-align: center; font: 500 15px var(--text); background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-note { font-size: 13px; color: var(--muted); margin: 8px 0 26px; }

.assure { list-style: none; margin: 0 0 28px; padding: 18px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.assure li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.assure svg { color: var(--accent-2); }

.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 17px 0; font-family: var(--display); font-size: 21px; color: var(--brand); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--accent-2); font-family: var(--text); }
.acc[open] summary::after { content: "–"; }
.acc-body { padding-bottom: 20px; color: #4A3328; }
.specs { margin: 0; }
.specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.buybar { display: none; }

/* ------------------------------------------------------------- bag */

.bag { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(26px, 4vw, 56px); align-items: start; padding-block: 10px 80px; }
.bag-lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font-size: 20px; margin-bottom: 3px; }
.line-meta { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.line-acts { display: flex; gap: 14px; align-items: center; }
.line .qty button { width: 34px; }
.line .qty input { width: 42px; }
.remove { border: 0; background: none; font-size: 13px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.line-price { text-align: right; font-size: 15px; white-space: nowrap; }
.summary { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.summary h2 { font-size: 26px; color: var(--brand); margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 500; }
.sum-note { font-size: 13px; color: var(--muted); background: var(--sand); padding: 11px 13px; border-radius: var(--radius); margin: 12px 0 18px; }

/* ------------------------------------------------------------- forms */

.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select {
  font: 400 15px var(--text); padding: 12px 14px; color: var(--ink);
  border: 1px solid var(--line); background: var(--ivory); border-radius: var(--radius); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

/* ------------------------------------------------------------- thank you */

.thanks { text-align: center; padding-block: clamp(48px, 8vw, 100px); }
.thanks-mark { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--brand); color: var(--accent); }
.thanks h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--brand); font-weight: 400; margin-bottom: 12px; }
.ref { display: inline-block; font-family: var(--display); font-size: 26px; color: var(--brand); border: 1px dashed var(--accent); padding: 8px 22px; border-radius: var(--radius); margin: 8px 0 22px; letter-spacing: .04em; }
.thanks-list { text-align: left; max-width: 520px; margin: 28px auto 0; border-top: 1px solid var(--line); }
.thanks-list div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ------------------------------------------------------------- content pages */

.prose { font-size: 17px; line-height: 1.8; color: #45302A; }
.prose h2 { font-size: 30px; color: var(--brand); margin: 38px 0 12px; }
.prose h3 { font-size: 23px; color: var(--brand); margin: 28px 0 8px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent-2); }
.prose a { color: var(--brand); border-bottom: 1px solid var(--accent); }
.page-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: 24px 80px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); position: sticky; top: 96px; }
.side-card h2 { font-size: 26px; color: var(--brand); margin-bottom: 6px; }
.side-card > p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.contact-cards { display: grid; gap: 10px; margin: 26px 0; }
.contact-cards a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-cards a:hover { border-color: var(--accent); }
.contact-cards strong { display: block; font-weight: 500; }
.contact-cards span { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------- share page */

.linkpage { min-height: 100vh; background: radial-gradient(100% 60% at 50% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%), var(--brand-deep); color: var(--on-dark); padding: 0 20px 120px; }
.linkpage-in { max-width: 460px; margin-inline: auto; text-align: center; padding-top: 50px; }
.linkpage-logo { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; padding: 4px; background: conic-gradient(var(--accent), var(--accent-2), var(--accent)); }
.linkpage-logo > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--brand); font-family: var(--display); font-size: 42px; color: var(--accent); }
.linkpage h1 { font-size: 34px; font-weight: 400; margin-bottom: 6px; }
.linkpage-sub { color: var(--accent); margin: 0 0 4px; font-size: 14px; }
.linkpage-place { color: var(--on-dark-muted); font-size: 13px; margin: 0 0 32px; }
.linkstack { display: grid; gap: 11px; }
.linkstack a { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 17px 20px; display: grid; gap: 2px; transition: all .18s; background: rgba(255,255,255,.03); }
.linkstack a:hover { border-color: var(--accent); background: rgba(255,255,255,.07); }
.linkstack strong { font-weight: 500; font-size: 16px; }
.linkstack span { font-size: 12px; color: var(--on-dark-muted); }

/* ------------------------------------------------------------- footer */

.foot { background: var(--brand-deep); color: var(--on-dark); }
.foot .toran { background-color: var(--ivory); }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 56px); padding-block: clamp(44px, 6vw, 72px) 40px; }
.foot-name { font-family: var(--display); font-size: 30px; margin: 0 0 12px; }
.foot-line { color: var(--on-dark-muted); font-size: 14px; max-width: 40ch; margin: 0 0 18px; }
.foot-head { font-family: var(--display); font-size: 19px; color: var(--accent); margin: 0 0 12px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 14px; color: var(--on-dark-muted); }
.foot-col a:hover { color: var(--on-dark); }
.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--dark-line); padding-block: 18px 22px; font-size: 12px; color: var(--on-dark-muted); }
.foot-base p { margin: 0; }

/* ------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 250; transform: translate(-50%, 20px);
  background: var(--brand-deep); color: var(--on-dark); padding: 13px 18px; border-radius: var(--radius);
  display: flex; gap: 16px; align-items: center; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--accent); border-bottom: 1px solid currentColor; white-space: nowrap; }

/* ------------------------------------------------------------- mobile bottom nav */

.tabbar { display: none; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #1F8F4E; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.wa-float:hover { background: #18773F; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1240px) {
  .nav-item > a { padding-inline: 8px; font-size: 13.5px; }
  .brandmark-name small { display: none; }
}
@media (max-width: 1100px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .tool.hide-m { display: none; }
}

@media (max-width: 960px) {
  .masthead-in { min-height: 64px; gap: 6px; }
  .brandmark { margin-inline: auto; }
  .brandmark-name { font-size: 21px; text-align: center; }
  .brandmark-name small { display: none; }
  .brandmark img { width: 38px; height: 38px; }
  .tools { margin-left: 0; }
  .tool.hide-m { display: none; }
  .slide-in { grid-template-columns: 1fr; text-align: left; min-height: 0; padding-bottom: 64px; }
  .slide-art { order: -1; max-width: 300px; justify-self: center; }
  .feature, .pdp-in, .bag, .page-grid { grid-template-columns: 1fr; }
  .feature.right .feature-art { order: 0; }
  .gallery, .summary, .side-card { position: static; }
  .usp { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .usp > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .insta { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .announce { font-size: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card-name { font-size: 17px; }
  .card-meta { font-size: 10px; }
  .quick { display: none; }
  .heart { width: 34px; height: 34px; }
  .rail .card { width: 46vw; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile h3 { font-size: 19px; }
  .tile-words { padding: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .specs > div { grid-template-columns: 112px 1fr; }
  .line { grid-template-columns: 76px 1fr; }
  .line-price { grid-column: 2; text-align: left; }
  .rail-arrows { display: none; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .foot-in { grid-template-columns: 1fr; }
  .wa-float { display: none; }

  /* bottom tab bar: the main way around on a phone */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--paper); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button {
    display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: 10.5px;
    letter-spacing: .03em; color: var(--muted); border: 0; background: none; cursor: pointer; position: relative;
  }
  .tabbar [aria-current="page"] { color: var(--brand); }
  .tabbar .wa { color: #1F8F4E; }
  .tabbar .count { top: 3px; right: calc(50% - 22px); }

  /* product page: action bar sits above the tab bar */
  .is-product .buybar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 0; right: 0;
    bottom: calc(57px + env(safe-area-inset-bottom)); z-index: 94; padding: 10px 12px;
    background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--line);
  }
  .is-product .buybar .btn { padding: 13px 16px; }
  .is-product { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); width: calc(100% - 24px); justify-content: space-between; }
  .is-links .tabbar { display: none; }
  .is-links { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .masthead, .announce, .toran, .foot, .tabbar, .wa-float, .buybar { display: none !important; }
}

/* centred text blocks keep their lists tidy */
.wrap.narrow[style*="center"] .prose ul { display: inline-block; text-align: left; margin: 0 auto; }
