/* BHOR shared design system: used by every page (home, build-a-box, terms, returns). */
:root {
  --bg: #FFFFFF; --bg-2: #F6F4F1; --card: #FFFFFF; --ink: #111111; --ink-2: #3B3B3B; --muted: #7A7570;
  --line: rgba(17,17,17,.10); --line-2: rgba(17,17,17,.18);
  --accent: #E8501B; --accent-ink: #FFFFFF; --glass: rgba(255,255,255,.62);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2,.8,.2,1); --r: 22px; --pad: clamp(16px, 3.2vw, 40px);
  --logo: url("img/logo-sun-ink.png");
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0D0D0D; --bg-2: #161514; --card: #181716; --ink: #F4F1EC; --ink-2: #CFCAC3; --muted: #8F8880;
  --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.2);
  --accent: #FF6A2C; --glass: rgba(20,20,20,.55);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.4);
  --logo: url("img/logo-sun-white.png");
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s, color .4s; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; }

/* type scale */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow b { color: var(--accent); font-weight: 600; }
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; }
.h-xl { font-size: clamp(44px, 8vw, 128px); }
.h-lg { font-size: clamp(36px, 5.4vw, 84px); }
.h-md { font-size: clamp(28px, 3.4vw, 48px); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); max-width: 46ch; }
.container { width: min(1360px, calc(100% - var(--pad) * 2)); margin: 0 auto; }
.section { padding: clamp(80px, 11vw, 160px) 0; }

/* logo (switches with theme) */
.mark { width: 30px; height: 30px; background: var(--logo) center / contain no-repeat; flex: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); transition: background .4s; }
.nav-in { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .26em; font-size: 15px; }
.menu { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.menu a { position: relative; color: var(--ink-2); transition: color .2s; }
.menu a:hover, .menu a.on { color: var(--ink); }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); transform-origin: left; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.ibtn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.ibtn:hover { background: var(--bg-2); }
.ibtn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; transition: transform .25s var(--ease); }
.badge:empty, .badge[data-n="0"] { display: none; }
.badge.pop { transform: scale(1.45); }
.burger { display: none; }

/* theme switch */
.theme { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); margin-right: 6px; }
.theme button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.theme button svg { width: 15px; height: 15px; }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .01em; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; will-change: transform; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--bg); } .btn-ink::before { background: var(--accent); } .btn-ink:hover { color: #fff; }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); } .btn-line::before { background: var(--ink); } .btn-line:hover { color: var(--bg); border-color: var(--ink); }
.btn-white { background: #fff; color: #111; } .btn-white::before { background: var(--accent); } .btn-white:hover { color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); } .btn-glass::before { background: #fff; } .btn-glass:hover { color: #111; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s, gap .3s var(--ease); }
.link:hover { border-color: var(--ink); gap: 12px; }

/* cursor (mouse devices only) */
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }
.c-dot, .c-ring { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .25s; }
.has-cursor .c-dot, .has-cursor .c-ring { opacity: 1; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.c-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--line-2); display: grid; place-items: center;
          transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s, opacity .25s; }
.c-ring span { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--bg); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.c-ring.label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ink); border-color: transparent; }
.c-ring.label span { opacity: 1; }
.c-ring.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--ink); }
.c-ring.down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-mask { overflow: hidden; display: block; padding-bottom: .12em; margin-bottom: -.12em; }   /* room for descenders (g, y, comma) */
.rv-mask > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.in .rv-mask > span, .rv-mask.in > span { transform: none; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 80px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.foot h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.foot-grid a { display: block; margin: 9px 0; color: var(--ink-2); transition: color .2s; } .foot-grid a:hover { color: var(--ink); }
.news { display: flex; gap: 8px; margin-top: 22px; max-width: 440px; }
.news input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); padding: 0 20px; font: inherit; font-size: 14px; }
.news input:focus { outline: none; border-color: var(--ink); }
.legal-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0; margin-top: 60px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.legal-row a:hover { color: var(--ink); }
/* big footer wordmark: sized to sit fully inside the footer, never cut off */
.wordmark { font-weight: 800; font-size: 22vw; line-height: .9; letter-spacing: -.05em; text-align: center; color: var(--ink); padding: 2vw 0 3vw; white-space: nowrap; user-select: none; }

/* stand-in for products whose photo isn't added yet: brand orange with the white sun mark */
.ph-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 18px;
           color: #fff; background: radial-gradient(circle at 50% 38%, #FF8A2A 0%, #FF5A0A 45%, #C93F05 100%); }
.ph-soon::before { content: ""; width: 42%; aspect-ratio: 1; background: url("img/logo-white-lg.png") center / contain no-repeat; opacity: .9; }
.ph-soon span { font-weight: 700; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; max-width: 90%; }
.ph-soon small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* thin bar above the menu on every page; it carries the Return & Refund link */
.announce-bar { background: var(--ink); color: var(--bg); text-align: center; font-size: 13px; padding: 9px 16px; }
.announce-bar a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 160%); opacity: 0; background: var(--ink); color: var(--bg); padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); transition: transform .45s var(--ease), opacity .3s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
  .nav-in { grid-template-columns: auto 1fr; }
  .menu { display: none; }
  .burger { display: grid; }
  .tools .hide-sm { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; }
  .news { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rv-mask > span { opacity: 1; transform: none; }
}
.announce-bar .offer-code { font: inherit; font-weight: 700; letter-spacing: .08em; color: inherit; border: 1px dashed currentColor; border-radius: 6px; padding: 1px 7px; margin: 0 2px; cursor: copy; }
@media (max-width: 640px) { .announce-bar .hide-sm { display: none; } }

/* cart drawer (opened from the bag icon on every page) */
.cd-scrim { position: fixed; inset: 0; z-index: 240; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .35s; }
.cd-scrim.on { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 250; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .5s var(--ease); box-shadow: var(--shadow); }
.cart-drawer.on { transform: none; }
.cd-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cd-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.cd-meter { padding: 0 24px; } .cd-meter:not(:empty) { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.cd-meter p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.cd-meter span { display: block; height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.cd-meter i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform .5s var(--ease); }
.cd-items { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.cd-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cd-im { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.cd-im img { width: 100%; height: 100%; object-fit: cover; }
.cd-item b { font-weight: 600; font-size: 15px; } .cd-item small { display: block; color: var(--muted); font-size: 13px; }
.cd-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 34px; }
.cd-qty button { width: 32px; height: 100%; } .cd-qty span { min-width: 20px; text-align: center; font-weight: 600; font-size: 14px; }
.cd-rm { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cd-empty { text-align: center; padding: 70px 10px; } .cd-empty b { font-size: 20px; } .cd-empty p { color: var(--ink-2); margin: 6px 0 22px; }
.cd-foot:not(:empty) { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cd-sub { display: flex; justify-content: space-between; font-size: 17px; } .cd-sub b { font-size: 19px; }
.cd-foot p { font-size: 13px; color: var(--muted); margin: 4px 0 14px; } .cd-foot .btn { width: 100%; }

/* small pop-up sheet (Notify me, Write a review) */
.sheet { border: 0; padding: 0; background: var(--bg); color: var(--ink); border-radius: 26px; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow); }
.sheet::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.sheet form { position: relative; padding: 30px; display: grid; gap: 12px; }
.sheet h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; padding-right: 40px; }
.sheet p { color: var(--ink-2); font-size: 15px; }
.sheet input, .sheet textarea, .sheet select { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); padding: 13px 16px; font: inherit; font-size: 15px; }
.sheet select { background: var(--bg); }
.sheet textarea { min-height: 110px; resize: vertical; }
.sheet input:focus, .sheet textarea:focus, .sheet select:focus { outline: none; border-color: var(--ink); }
.sheet-x { position: absolute; top: 18px; right: 18px; }

/* footer extras */
.foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
.foot-grid p { color: var(--ink-2); font-size: 14.5px; margin: 9px 0; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; margin: 0 !important; }
.socials svg { width: 18px; height: 18px; }
.pay-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pay-row .pays { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-row .pays span { border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; font-weight: 600; color: var(--ink-2); font-size: 12px; }
.pay-row + .legal-row { margin-top: 0; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* cart / wishlist switch at the top of the side panel */
.cd-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.cd-tabs button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cd-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.cd-tabs small { font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; display: inline-grid; place-items: center; }
.cd-tabs small:empty, .cd-tabs small[data-n="0"] { display: none; }
.cd-move { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 700; }
.cd-out { font-size: 12.5px; font-weight: 600; color: var(--muted); }
dialog { margin: auto; }   /* the global margin reset would otherwise pin pop-ups to the top-left corner */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .55s ease, color .55s ease, border-color .55s ease, fill .55s ease, stroke .55s ease, box-shadow .55s ease !important; }
/* small contrast fixes so text reads well in both modes */
:root:not([data-theme="dark"]) .stars, :root:not([data-theme="dark"]) .r-stars { color: #B86E00 !important; }
.badge-t.sale { background: #D9480F !important; }
/* phone menu */
.m-menu { position: fixed; inset: 0; z-index: 260; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; padding: 0 var(--pad) 30px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; }
.m-menu.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.m-top { height: 68px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.m-links { display: grid; padding: 18px 0; }
.m-links a { font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -.04em; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.m-links a.on { color: var(--accent); }
.m-theme { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.m-theme .theme { margin: 0; } .m-theme .theme button { width: auto; padding: 0 14px; gap: 6px; display: inline-flex; font-size: 13.5px; font-weight: 600; }
@media (min-width: 901px) { .m-menu { display: none; } }

/* footer in the hero's palette: night black, a rising orange sun behind the wordmark, cream text (same in both modes) */
.foot { position: relative; isolation: isolate; background: #050403; color: #F6EFE6; border-top: 0;
        --ink: #F6EFE6; --ink-2: rgba(246,239,230,.74); --muted: rgba(246,239,230,.5); --line: rgba(246,239,230,.12); --line-2: rgba(246,239,230,.24); --bg: #050403; --bg-2: #15100D; }
.foot::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -52vw; width: 84vw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
                background: radial-gradient(circle, #FF7A1A 0%, #FF5A0A 26%, rgba(255,80,10,.35) 46%, rgba(255,70,10,0) 66%); }
.foot h4 { color: #FF8A3D; }
.foot-grid a:hover, .legal-row a:hover { color: #FF8A3D; }
.foot .display .serif { color: #FFB27A; }
.foot .news input { background: rgba(246,239,230,.06); border-color: rgba(246,239,230,.2); color: #F6EFE6; }
.foot .news input::placeholder { color: rgba(246,239,230,.45); }
.foot .news input:focus { border-color: #FF5A0A; }
.foot .btn-ink { background: #FF5A0A; color: #fff; } .foot .btn-ink::before { background: #F6EFE6; } .foot .btn-ink:hover { color: #1a0a02; }
.foot .socials a { border-color: rgba(246,239,230,.25); color: #F6EFE6; } .foot .socials a:hover { background: #FF5A0A; border-color: #FF5A0A; }
.foot .pay-row .pays span { border-color: rgba(246,239,230,.22); color: rgba(246,239,230,.8); }
.foot .wordmark { position: relative; color: #F6EFE6; text-shadow: 0 0 60px rgba(255,90,10,.35); }
.cd-gift { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #2E8B57 12%, transparent); font-size: 13.5px; color: var(--ink); text-align: center; } .cd-gift b { color: #2E8B57; }
.foot-grid a, .foot-grid p { overflow-wrap: anywhere; }
/* the custom cursor lives on the browser's top layer (as a popover) so it stays above pop-up windows too */
.c-ring[popover], .c-dot[popover] { inset: auto; left: 0; top: 0; padding: 0; overflow: visible; color: inherit; }
.c-ring[popover] { background: transparent; } .c-ring.label[popover] { background: var(--ink); }
.c-dot[popover] { border: 0; }
/* older browsers without popovers: show the normal pointer over pop-up windows instead */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor:not(.cursor-top) dialog, html.has-cursor:not(.cursor-top) dialog * { cursor: auto !important; }
  html.has-cursor:not(.cursor-top) dialog :is(button, a, label, select, summary) { cursor: pointer !important; }
}
html:not(.cursor-top):has(dialog[open]) .c-ring, html:not(.cursor-top):has(dialog[open]) .c-dot { opacity: 0 !important; }/* the cursor inverts whatever is behind it, so it stays visible on white pop-ups in dark mode and on dark areas in light mode */
.c-dot { background: #fff !important; mix-blend-mode: difference; }
.c-ring:not(.label) { border-color: rgba(255,255,255,.75) !important; mix-blend-mode: difference; }
.c-ring.hover { border-color: #fff !important; }

/* ---------- festive offer (only shows while BHOR.festive is running; see festive.js) ---------- */
.announce-bar.festive-bar { background: linear-gradient(90deg, #5a0f0a, #b3261e 30%, #e8501b 55%, #b3261e 80%, #5a0f0a); color: #fff6dc; }
/* marigold strings dropping from both sides + two lit diyas in the bottom corners (see festive.js) */
.dw { position: fixed; inset: 0; z-index: 55; pointer-events: none; overflow: hidden; }
.dw-str { position: absolute; top: 0; display: block; transform: translateY(-105%); transition: transform 1.2s cubic-bezier(.2, 1.25, .4, 1) calc(var(--i) * .12s); }
.dw-str.dw-r { transition-delay: calc(var(--i) * .12s + .06s); }
.dw-str span { display: block; transform-origin: 50% 0; animation: dw-swing var(--sw) ease-in-out infinite alternate; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.dw-str svg { display: block; }
html.dw-on .dw-str { transform: translateY(0); }
@keyframes dw-swing { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
.dw-diya { position: absolute; bottom: 10px; width: 66px; display: block; opacity: 0; transform: translateY(30px) scale(.7); transition: opacity .6s, transform .8s cubic-bezier(.2, 1.3, .4, 1); }
.dw-diya.dw-l { left: 10px; } .dw-diya.dw-r { right: 10px; }
.dw-diya::before { content: ""; position: absolute; left: -30%; right: -30%; bottom: -14px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 40, .45), transparent); }
.dw-diya svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 14px rgba(255, 176, 32, .75)); }
html.dw-on .dw-diya { opacity: 1; transform: none; }
.dw-flame { transform-origin: 40px 30px; animation: dw-flicker .7s ease-in-out infinite alternate; }
.dw-halo { transform-origin: 40px 24px; animation: dw-pulse 1.8s ease-in-out infinite alternate; }
@keyframes dw-flicker { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.92, 1.08) skewX(2deg); } 100% { transform: scale(1.04, .96) skewX(-2deg); } }
@keyframes dw-pulse { from { transform: scale(.92); opacity: .85; } to { transform: scale(1.12); opacity: 1; } }
html.dw-off .dw { display: none; }
/* the small control: music and decorations on/off */
.dw-ctl { position: fixed; left: 16px; bottom: 18px; z-index: 61; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(26, 15, 8, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: left .5s cubic-bezier(.2, 1.2, .4, 1); }
html.dw-on:not(.dw-off) .dw-ctl { left: 84px; }
.dw-ctl button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #ffd36b; }
.dw-ctl button:hover { background: rgba(255, 255, 255, .1); }
.dw-ctl svg { width: 18px; height: 18px; }
.dw-ctl .x { display: none; }
.dw-ctl [aria-pressed="false"] { color: rgba(255, 246, 220, .55); }
.dw-ctl [aria-pressed="false"] .x { display: block; } .dw-ctl [aria-pressed="false"] .w { display: none; }
@media (max-width: 700px) { .dw-diya { width: 46px; bottom: 8px; } .dw-diya.dw-l { left: 6px; } .dw-diya.dw-r { right: 6px; } html.dw-on:not(.dw-off) .dw-ctl { left: 58px; } .dw-ctl { left: 10px; bottom: 12px; } .dw-ctl button { width: 30px; height: 30px; } }
@media (max-width: 900px) { body:has(.sticky-buy) .dw-diya, body:has(.sticky-buy) .dw-ctl { bottom: 80px; } }
html.dw-off .fb-in::after, html.dw-off .fb-diya { animation: none; }
@media (prefers-reduced-motion: reduce) { .dw-str span, .dw-flame, .dw-halo { animation: none; } .dw-str { transition-duration: .5s; } }
@media print { .dw, .dw-ctl { display: none; } }

/* home page festive banner */
.fest-banner { padding: clamp(28px, 4vw, 48px) 0 0; }
.fb-in { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 40px); border-radius: 26px;
  background: radial-gradient(120% 160% at 0% 0%, #ffb02033 0, transparent 45%), linear-gradient(115deg, #3d0805, #8f1d14 35%, #d9431a 75%, #f08a24); color: #fff6dc; box-shadow: 0 18px 50px -20px rgba(179, 38, 30, .6); }
.fb-in::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 30%, #fff3b0 0 1.5px, transparent 2px), radial-gradient(circle at 40% 80%, #ffd36b 0 1.5px, transparent 2px), radial-gradient(circle at 70% 20%, #fff3b0 0 1.5px, transparent 2px), radial-gradient(circle at 88% 70%, #ffd36b 0 1.5px, transparent 2px); opacity: .7; pointer-events: none; animation: fb-twinkle 2.4s ease-in-out infinite alternate; }
@keyframes fb-twinkle { to { opacity: .2; } }
.fb-diya { font-size: clamp(34px, 4.4vw, 54px); filter: drop-shadow(0 0 14px #ffb020); animation: fb-glow 1.6s ease-in-out infinite alternate; }
@keyframes fb-glow { to { filter: drop-shadow(0 0 26px #ffcf5a); transform: scale(1.06); } }
.fb-text { flex: 1; min-width: 0; }
.fb-text b { display: block; font-size: clamp(22px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.fb-text span { display: block; margin-top: 6px; font-size: clamp(14px, 1.4vw, 17px); opacity: .9; }
.fb-clock { display: flex; gap: 8px; }
.fb-clock i { font-style: normal; display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 210, 120, .35); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .95; }
.fb-clock b { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fb-btn { background: #fff6dc !important; color: #3d0805 !important; white-space: nowrap; }
@media (max-width: 860px) { .fb-in { flex-wrap: wrap; } .fb-text { flex-basis: calc(100% - 80px); } .fb-clock { order: 3; } .fb-btn { order: 4; margin-left: auto; } }
@media (max-width: 520px) { .fb-clock i { min-width: 0; flex: 1; } .fb-clock { width: 100%; } .fb-btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .fb-in::after, .fb-diya { animation: none; } }

/* WhatsApp chat button (bottom right; lifted above the Diwali diya and the phone "Add to cart" bar) */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 62; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .3s var(--ease), bottom .5s cubic-bezier(.2, 1.2, .4, 1); }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 30px; height: 30px; }
html.dw-on:not(.dw-off) .wa-fab { bottom: 96px; }
@media (max-width: 700px) { .wa-fab { right: 12px; bottom: 14px; width: 50px; height: 50px; } html.dw-on:not(.dw-off) .wa-fab { bottom: 70px; } }
@media (max-width: 900px) { body:has(.sticky-buy) .wa-fab { bottom: 84px; } }
@media print { .wa-fab { display: none; } }

/* country / currency picker in the top bar: a small pill; the real (invisible) dropdown sits on top of it */
.cur-pick { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); cursor: pointer; margin-right: 4px; }
.cur-pick:hover { border-color: var(--ink); }
.cur-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.cur-now { display: inline-flex; align-items: center; gap: 6px; pointer-events: none; }
.cur-now svg { width: 16px; height: 16px; }
.cur-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
@media (max-width: 640px) { .cur-pick { height: 32px; padding: 0 8px; font-size: 11.5px; } .cur-now svg { display: none; } }
.fx-note { font-size: 12px; opacity: .65; margin: 10px 0 0; text-align: center; }

/* log in / sign up window: a sunrise header, then a padded body with icon fields */
.auth { width: min(440px, calc(100vw - 24px)); overflow: hidden auto; }
.auth .auth-top { position: relative; padding: 34px 28px 26px; text-align: center; color: #FFF6E6;
  background: radial-gradient(120% 140% at 50% 115%, #FF8A2A 0%, #E8501B 32%, #7A1C0A 68%, #1A0805 100%); }
.auth .auth-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; background: var(--bg); border-radius: 22px 22px 0 0; }
.auth .auth-sun { width: 56px; height: 56px; margin: 0 auto 10px; display: block; filter: drop-shadow(0 0 18px rgba(255, 190, 90, .8)); }
.auth .auth-top h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; padding: 0; color: #FFF6E6; }
.auth .auth-top p { color: rgba(255, 246, 230, .82); font-size: 14px; margin-top: 4px; }
.auth .auth-x { position: absolute; top: 14px; right: 14px; color: #FFF6E6; background: rgba(255, 255, 255, .12); }
.auth .auth-x:hover { background: rgba(255, 255, 255, .22); }
.auth .auth-body { padding: 4px 26px 26px; }
.auth .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); margin: 0 0 18px; }
.auth .auth-tabs[hidden] { display: none; }
.auth .auth-tabs button { height: 42px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s; }
.auth .auth-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.auth .auth-google { display: grid; justify-items: center; gap: 14px; margin-bottom: 14px; min-height: 44px; }
.auth .auth-google[hidden] { display: none; }
.auth .auth-or { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; }
.auth .auth-or::before, .auth .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth form { padding: 0; display: grid; gap: 11px; }
.auth form[hidden] { display: none; }
.auth h4 { font-size: 19px; letter-spacing: -.02em; }
.auth .auth-sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.auth .af { position: relative; display: block; }
.auth .af > svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.auth .af input { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); padding: 0 46px 0 44px; font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.auth .af input:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.auth .af-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.auth .af-eye svg { width: 18px; height: 18px; } .auth .af-eye.on { color: var(--accent); }
.auth .auth-go { width: 100%; height: 50px; margin-top: 4px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; justify-content: center; }
.auth .auth-go::before { background: #1A0805; } .auth .auth-go:hover { color: #fff; }
.auth .auth-go[disabled] { opacity: .7; }
.auth .auth-link { justify-self: center; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.auth .auth-fine { font-size: 12px; color: var(--muted); text-align: center; margin: 0; } .auth .auth-fine a { text-decoration: underline; }
.auth .auth-msg { margin: 12px 0 0; font-size: 13.5px; color: #D93025; text-align: center; } .auth .auth-msg:empty { display: none; }
@media (max-width: 420px) { .auth .auth-body { padding: 4px 18px 22px; } .auth .auth-top { padding: 30px 20px 24px; } }
/* a small dot on the account icon once you're logged in */
.ibtn.signed-in { position: relative; } .ibtn.signed-in::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #2F9A55; box-shadow: 0 0 0 2px var(--bg); }
