/* Zenxoart · site styles. Colours come from the logo. */
:root {
  --bg: #F6EFE4;
  --bg-deep: #EFE4D3;
  --surface: #FFFBF5;
  --ink: #1F1D1B;
  --ink-2: #3A3632;
  --muted: #6E655B;
  --line: #E4D8C6;
  --teal: #2F6F86;
  --teal-soft: #DCE9EE;
  --mustard: #E9A93A;
  --coral: #E26F55;
  --green: #3E7D3E;
  --green-soft: #E9E2C9;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31, 29, 27, .05), 0 10px 30px rgba(31, 29, 27, .07);
  --font: "Urbanist", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.fine { font-size: .85rem; color: var(--muted); }
.center { justify-content: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ic { flex: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(31, 29, 27, .06); }
.btn-block { width: 100%; }
.link { color: var(--teal); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.icon-btn:hover { background: rgba(31, 29, 27, .06); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(246, 239, 228, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin: 0; }
.brand-star { color: var(--mustard); font-size: 1.2rem; }
.brand-name { font-weight: 800; letter-spacing: .22em; font-size: 1.05rem; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(31, 29, 27, .07); color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 2px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: .8em; }
.eyebrow .star { color: var(--mustard); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-art { position: relative; justify-self: center; width: min(460px, 100%); }
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--bg-deep); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-hero { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.float-star { position: absolute; top: 8%; right: -4%; font-size: 64px; color: var(--mustard); text-shadow: 0 8px 20px rgba(233, 169, 58, .35); animation: bob 5s ease-in-out infinite; }
.hero-tag { position: absolute; left: -6%; bottom: 10%; background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; text-decoration: none; min-width: 170px; }
.hero-tag .muted { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(8deg); } }

/* Sections */
.section { padding: 56px 0; }
.section-tint { background: var(--bg-deep); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2, .section-head h1 { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; background: var(--surface); }
.chip.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.bundle-note { background: var(--surface); border: 1.5px dashed var(--mustard); border-radius: 14px; padding: 10px 16px; font-weight: 600; display: inline-block; }

/* Product cards */
.grid.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.card { text-decoration: none; display: block; }
.arch-card { aspect-ratio: 5 / 6; border-radius: 200px 200px 18px 18px; }
.arch-card img { transition: transform .5s ease; }
.card:hover .arch-card img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.badge-out { left: auto; right: 12px; background: var(--ink); color: var(--surface); }
.card-body { padding: 12px 4px 0; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price s, .offer-price s { color: var(--muted); font-size: .9em; }
.price-lg strong { font-size: 1.6rem; }

/* Materials */
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mat { border-radius: 28px; padding: 34px 32px; position: relative; overflow: hidden; }
.mat::after { content: "✦"; position: absolute; right: 26px; top: 22px; font-size: 40px; opacity: .9; }
.mat-pla { background: var(--green-soft); }
.mat-pla::after, .mat-pla h3, .mat-pla .mat-ic { color: var(--green); }
.mat-petg { background: var(--teal-soft); }
.mat-petg::after, .mat-petg h3, .mat-petg .mat-ic { color: var(--teal); }
.mat-kicker { text-transform: uppercase; letter-spacing: .2em; font-weight: 800; margin: 0; font-size: .85rem; }
.mat h3 { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.mat-sub { font-weight: 600; color: var(--ink-2); }
.mat-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.mat-list li { display: flex; gap: 14px; align-items: center; }
.mat-list strong { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }
.mat-list span:not(.mat-ic) { color: var(--ink-2); font-size: .95rem; }
.mat-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; }
.which { margin-top: 22px; background: var(--surface); border-radius: 22px; padding: 22px 26px; }
.which h3 { margin-bottom: 12px; }
.which-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pill { display: inline-block; font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin-right: 6px; color: #fff; }
.pill-pla { background: var(--green); }
.pill-petg { background: var(--teal); }

/* Steps, care */
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border-radius: 22px; padding: 24px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--ink); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--green); margin-top: 3px; }
.ticks.small { font-size: .92rem; color: var(--ink-2); margin-top: 22px; }
.ticks.small .ic { color: var(--muted); }
.made { background: var(--ink); color: var(--surface); border-radius: 28px; padding: 34px; position: relative; overflow: hidden; }
.made p { color: #D9D0C3; }
.made .btn-ghost { color: var(--surface); border-color: var(--surface); }
.made .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.made-star { position: absolute; right: -10px; bottom: -40px; font-size: 180px; color: var(--mustard); opacity: .18; line-height: 1; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 24px; margin-top: 20px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.footer a { display: block; text-decoration: none; padding: 3px 0; font-weight: 600; }
.footer a:hover { color: var(--teal); }
.footer .fine { margin-top: 28px; }

/* Drawer (cart) */
.drawer-backdrop, .sheet-backdrop { position: fixed; inset: 0; background: rgba(31, 29, 27, .35); z-index: 60; opacity: 0; transition: opacity .25s ease; }
.drawer-backdrop.show, .sheet-backdrop.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, .12); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.drawer-foot { padding: 16px 18px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.save { color: var(--green); font-weight: 600; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumbs { position: relative; width: 64px; height: 64px; }
.cart-thumbs img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; position: absolute; background: var(--bg-deep); border: 2px solid var(--surface); }
.cart-thumbs img:nth-child(2) { left: 6px; top: 6px; }
.cart-thumbs img:nth-child(3) { left: 12px; top: 12px; }
.cart-name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.cart-sub { font-size: .82rem; color: var(--muted); }
.tag { display: inline-block; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin: 4px 0; }
.cart-price { text-align: right; font-weight: 700; }
.cart-price s { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.mini-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 6px; }
.mini-stepper button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1.05rem; }
.mini-stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.remove { border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 4px 0; display: block; margin-left: auto; }

.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 12px 20px; border-radius: 999px; z-index: 80; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 40px); text-align: center; }

/* Product page */
.product-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; background: var(--bg-deep); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; border: 0; padding: 0; background: none; cursor: zoom-in; aspect-ratio: 7 / 8; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; width: 72px; flex: none; cursor: pointer; background: var(--bg-deep); }
.thumb.on { border-color: var(--ink); }
.desc { color: var(--ink-2); }
.notice { background: var(--surface); border-radius: 14px; padding: 14px 16px; border-left: 4px solid var(--coral); }

.offers { display: grid; gap: 14px; margin: 22px 0 18px; }
.offer { position: relative; border: 2px solid var(--line); border-radius: 18px; background: #F5F1EA; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.offer-head { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 18px; cursor: pointer; }
.offer input { position: absolute; opacity: 0; pointer-events: none; }
.offer.on { border-color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #B9AE9F; display: grid; place-items: center; }
.offer.on .radio { border-color: var(--ink); }
.offer.on .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.offer-main { display: grid; gap: 4px; justify-items: start; }
.offer-title { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.offer-sub { color: var(--muted); font-size: .92rem; }
.save-pill { background: var(--coral); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 8px; letter-spacing: .03em; }
.offer-pick { border: 0; background: none; padding: 0; color: var(--teal); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; }
.offer-thumbs { display: flex; gap: 4px; }
.offer-thumbs img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--bg-deep); }
.offer-price { text-align: right; display: grid; }
.offer-price strong { font-size: 1.25rem; }
.offer-badge { position: absolute; top: -12px; right: 16px; background: var(--ink); color: var(--surface); font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 8px 8px 8px 2px; letter-spacing: .03em; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sticky-buy { display: none; }

/* Bundle picker sheet */
.sheet { position: fixed; left: 50%; bottom: 0; width: min(760px, 100%); max-height: 88vh; background: var(--surface); z-index: 61; border-radius: 26px 26px 0 0; display: flex; flex-direction: column; transform: translate(-50%, 100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .15); }
.sheet.open { transform: translate(-50%, 0); }
.sheet-head { display: flex; justify-content: space-between; align-items: start; padding: 18px 20px 8px; }
.sheet-head h2 { font-size: 1.3rem; margin: 0; }
.slots { display: flex; gap: 10px; padding: 6px 20px 14px; border-bottom: 1px solid var(--line); }
.slot { width: 68px; height: 68px; border-radius: 14px; border: 2px dashed #CFC3B2; position: relative; display: grid; place-items: center; color: var(--muted); font-weight: 800; background: var(--bg); padding: 0; cursor: pointer; }
.slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.slot.filled { border-style: solid; border-color: var(--ink); }
.slot .x { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
.slot.locked { cursor: default; }
.sheet-body { overflow-y: auto; padding: 16px 20px; flex: 1; }
.grid.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; align-content: start; }
.pick { border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); padding: 8px; text-align: left; cursor: pointer; display: grid; gap: 6px; }
.pick:hover { border-color: var(--ink); }
.pick img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--bg-deep); }
.pick span { font-weight: 700; font-size: .88rem; line-height: 1.25; }
.pick em { font-style: normal; color: var(--muted); font-size: .85rem; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 18, 16, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 12px; }
.lightbox .icon-btn { position: absolute; top: 14px; right: 14px; color: #fff; }

/* Forms */
.order-form { background: var(--surface); border-radius: 22px; padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.label { font-weight: 700; font-size: .92rem; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), textarea, select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s ease; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 111, 134, .18); }
textarea { resize: vertical; }
.form-error { background: #FBE7E2; color: #9B2F1A; padding: 10px 14px; border-radius: 12px; margin: 0; font-weight: 600; font-size: .92rem; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.choice em { font-style: normal; color: var(--muted); font-size: .88rem; }
.choice input:checked + span { border: 2px solid var(--ink); padding: 11.5px 13.5px; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); }
.bkash-box { background: #FCEAF1; border-radius: 14px; padding: 14px; margin-top: 10px; }
.bkash-box p { margin: 0 0 8px; font-size: .92rem; }

/* Checkout */
.checkout-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.summary { background: var(--surface); border-radius: 22px; padding: 22px; position: sticky; top: 88px; }
.summary .cart-line { grid-template-columns: 56px 1fr auto; }
.summary-totals { display: grid; gap: 8px; margin-top: 14px; }
.summary-totals .total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 1.15rem; }

/* Custom print */
.custom-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.custom-left, .custom-right { display: grid; gap: 18px; }
.drop { border: 2px dashed #C9BBA6; border-radius: 26px; background: var(--surface); padding: 44px 24px; text-align: center; display: grid; justify-items: center; gap: 8px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.drop:hover, .drop.over { border-color: var(--teal); background: #F6FAFB; }
.drop-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.formats { display: flex; gap: 6px; margin-top: 4px; }
.formats b { font-size: .72rem; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--bg-deep); color: var(--ink-2); }
.help ul { padding-left: 20px; display: grid; gap: 6px; }
.progress { width: min(280px, 100%); height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .2s ease; }
.viewer { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #FFFDF8, #EADFCD); aspect-ratio: 4 / 3; }
.viewer canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.viewer-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: .78rem; color: var(--muted); background: rgba(255, 251, 245, .8); padding: 3px 10px; border-radius: 999px; }
.help { background: var(--surface); border-radius: 18px; padding: 14px 18px; }
.help summary { font-weight: 700; cursor: pointer; }
.help ol { padding-left: 20px; }
.quote-card { background: var(--surface); border-radius: 22px; padding: 22px; }
.quote-empty { text-align: center; padding: 30px 10px; }
.star-big { font-size: 46px; color: var(--mustard); margin: 0; line-height: 1; }
.file-name { font-weight: 700; word-break: break-all; margin-bottom: 4px; }
.badge-line { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-deep); }
.badge-line.exact { background: #E3EFE0; color: var(--green); }
.stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; margin: 16px 0 6px; }
.stat { background: var(--bg); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.stat span { display: inline-flex; gap: 5px; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat strong { font-size: 1.25rem; }
.stat-price { background: var(--ink); color: var(--surface); }
.stat-price span { color: #CFC5B7; }
.stat-price strong { font-size: 1.5rem; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--surface); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; display: grid; justify-items: center; gap: 4px; width: 64px; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.swatch em { font-style: normal; font-size: .72rem; text-align: center; color: var(--muted); line-height: 1.2; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; width: max-content; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.stepper input { width: 64px !important; text-align: center; border: 0 !important; box-shadow: none !important; padding: 8px 0 !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Success, tracking */
.center-page { text-align: center; padding: 70px 0; display: grid; justify-items: center; }
.center-page .muted, .center-page p { max-width: 34em; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; background: #E3EFE0; color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.track-form { margin-top: 10px; }
.track-card { margin-top: 20px; background: var(--surface); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.status { font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: var(--bg-deep); }
.status-delivered { background: #E3EFE0; color: var(--green); }
.status-cancelled { background: #FBE7E2; color: #9B2F1A; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 6px 0 14px 30px; color: var(--muted); font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 24px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--green); }
.timeline li.done:not(:last-child)::after { background: var(--green); }
.timeline li.now::before { box-shadow: 0 0 0 5px rgba(62, 125, 62, .2); }

/* Bundle slots + picker (Headgear-style deal box) */
.deal-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.deal-divider::before, .deal-divider::after { content: ""; flex: 1; height: 1.5px; background: var(--ink); opacity: .35; }
.offer-sub { color: var(--muted); font-size: .9rem; }
.offer-slots { padding: 0 18px 16px; display: grid; gap: 10px; }
.slot-row { display: flex; align-items: center; gap: 12px; }
.slot-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--bg-deep); flex: none; }
.slot-name { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.3; display: grid; }
.slot-name em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .85rem; }
.slot-tag { font-size: .75rem; color: var(--muted); font-weight: 700; }
.slot-plus { width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; cursor: pointer; flex: none; }
.slot-plus::before { content: ""; }
.slot-select { background: var(--ink); color: var(--surface); border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: .88rem; cursor: pointer; }
.slot-change { border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: .82rem; cursor: pointer; }
.slot-x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .9rem; padding: 6px; }
.slot-hint { margin: 0; font-size: .82rem; color: var(--muted); }
.slot-add { margin-top: 4px; }
.offer-free { display: flex; align-items: center; gap: 10px; padding: 11px 18px; background: #D9D2C7; color: var(--ink-2); font-weight: 700; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; border-radius: 0 0 15px 15px; }
.offer.on .offer-free { background: var(--ink); color: var(--surface); }
.offer-free .ic { background: var(--coral); color: #fff; border-radius: 8px; padding: 4px; width: 28px; height: 28px; }

.picker-backdrop { position: fixed; inset: 0; background: rgba(31, 29, 27, .45); z-index: 60; opacity: 0; transition: opacity .25s ease; }
.picker-backdrop.show { opacity: 1; }
.picker { position: fixed; z-index: 61; top: 50%; left: 50%; width: min(560px, calc(100% - 32px)); max-height: 84vh; background: var(--surface); border-radius: 22px; display: flex; flex-direction: column; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .2s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.picker.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.picker-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 8px; }
.picker-head h2 { font-size: 1.15rem; margin: 0; }
.picker-tools { display: flex; gap: 8px; padding: 0 18px 12px; border-bottom: 1px solid var(--line); }
.picker-search { flex: 1; position: relative; }
.picker-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.picker-search input { padding-left: 40px !important; }
.picker-tools select { width: auto; max-width: 46%; }
.picker-list { overflow-y: auto; padding: 8px 18px calc(16px + var(--safe-b)); display: grid; gap: 4px; }
.pick-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pick-row:last-child { border-bottom: 0; }
.pick-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg-deep); border: 1px solid var(--line); flex: none; }
.pick-info { flex: 1; display: grid; gap: 2px; min-width: 0; }
.pick-info strong { font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.pick-info span { font-weight: 700; font-size: .9rem; }
.pick-info s { color: var(--muted); font-weight: 500; margin-left: 4px; }
.pick-choose { background: var(--ink); color: var(--surface); border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 800; cursor: pointer; flex: none; }
.pick-choose.chosen { background: var(--green); }
.pick-empty { padding: 24px 0; text-align: center; }

/* Phase 1.5 · social proof, urgency, nudges */
.badge-low { left: auto; right: 12px; background: var(--coral); color: #fff; }
.stars { color: #D8CDBD; letter-spacing: 1px; font-size: .95rem; white-space: nowrap; }
.stars .on { color: var(--mustard); }
.stars-lg { font-size: 1.3rem; }
.card-rating { margin: 0 0 2px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin: -4px 0 10px; color: var(--ink-2); font-size: .95rem; }
.rating-line span { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.low-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #A3402B; background: #FBE7E2; padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
.low-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 111, 85, .5); } 50% { box-shadow: 0 0 0 6px rgba(226, 111, 85, 0); } }

.reviews-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.review { background: var(--surface); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.review-photo { border: 0; padding: 0; background: var(--bg-deep); cursor: zoom-in; aspect-ratio: 1; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.review-body p { margin: 0; color: var(--ink-2); }
.review-who { font-size: .9rem; }
.verified { color: var(--green); font-weight: 700; font-size: .8rem; white-space: nowrap; }
.review-product { font-size: .88rem; color: var(--teal); font-weight: 600; text-decoration: none; }

.review-form { margin-top: 18px; }
.reward { background: #FFF3DA; border: 1.5px dashed var(--mustard); border-radius: 12px; padding: 10px 14px; font-weight: 600; margin: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; color: #D8CDBD; cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--mustard); }
.star-input input:focus-visible + label { outline: 3px solid var(--teal); border-radius: 4px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ok-notice { border-left-color: var(--green); }

.free-bar { padding: 12px 18px; background: #FFF3DA; border-bottom: 1px solid var(--line); }
.free-bar p { margin: 0 0 6px; font-weight: 700; font-size: .92rem; }
.free-bar.done { background: #E3EFE0; color: var(--green); }
.free-track { display: block; height: 6px; border-radius: 3px; background: rgba(31, 29, 27, .1); overflow: hidden; }
.free-track span { display: block; height: 100%; width: 0; background: var(--mustard); border-radius: 3px; transition: width .4s ease; }
.free-bar.done .free-track span { background: var(--green); }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; text-decoration: none; font-weight: 800; padding: 12px 16px 12px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); transition: transform .15s ease; }
.wa-float:hover { transform: translateY(-2px); }

/* Keychain designer */
.kc { padding: 24px 0 120px; }
.kc-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }
.kc-stage { position: sticky; top: 84px; display: grid; gap: 10px; }
.kc-view { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFFDF8, #EADFCD); }
.kc-view canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.kc-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-weight: 600; }
.kc-warn { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FFF3DA; font-weight: 600; font-size: .92rem; }
.kc-warn.bad { background: #FBE7E2; color: #9B2F1A; }
.kc-facts { display: flex; gap: 8px; flex-wrap: wrap; }
.kc-facts span { background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.kc-panel .bundle-note { margin-bottom: 8px; }
.kc-sec { background: var(--surface); border-radius: 22px; padding: 18px; margin-top: 14px; display: grid; gap: 12px; }
.kc-h { font-size: 1rem; margin: 0; letter-spacing: 0; }
.kc-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.kc-cats:empty { display: none; }
.kc-templates { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.kc-tpl { position: relative; border: 2px solid var(--line); background: var(--bg); border-radius: 16px; padding: 14px 8px 10px; display: grid; gap: 8px; justify-items: center; cursor: pointer; scroll-snap-align: start; }
.kc-tpl.on { border-color: var(--ink); background: var(--surface); }
.kc-tpl.off { opacity: .5; }
.kc-mini { min-width: 80px; max-width: 112px; min-height: 52px; padding: 8px 12px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kc-blank .kc-mini { background: transparent; border: 2px dashed #C9BBA6; border-radius: 14px; color: var(--muted); font-size: 1.4rem; box-shadow: none; }
.kc-tname { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.kc-pop { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--surface); font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.kc-text { font-size: 1.3rem !important; font-weight: 700; padding: 14px 16px !important; }
.kc-opt { display: grid; gap: 6px; }
.kc-opt .chips, .kc-panel .chips { margin: 0; gap: 6px; }
.kc-panel .chip { cursor: pointer; font-size: .92rem; padding: 7px 14px; }
.kc-panel .chip:disabled, .kc-sw:disabled { cursor: not-allowed; }
.kc-opt .lock { display: none; font-style: normal; font-size: .8rem; }
.kc-opt.locked .lock { display: inline; }
.kc-opt.locked .chips, .kc-opt.locked .swatches, .kc-opt.locked input[type=range] { opacity: .45; }
.kc-sw { border: 0; background: none; padding: 3px; border-radius: 50%; cursor: pointer; }
.kc-sw span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.kc-sw.on { box-shadow: 0 0 0 2px var(--ink); }
input[type=range] { width: 100%; accent-color: var(--ink); }
.link-btn { border: 0; background: none; color: var(--teal); font-weight: 700; padding: 0; cursor: pointer; justify-self: start; text-decoration: underline; text-underline-offset: 3px; }
.chip-check { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; }
.kc-admin { border: 2px dashed var(--mustard); }
.kc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .06); padding: 10px 0 calc(10px + var(--safe-b)); }
.kc-bar-in { display: flex; align-items: center; gap: 14px; }
.kc-bar .stepper button { width: 36px; height: 40px; }
.kc-bar .stepper input { width: 52px !important; }
.kc-price { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.kc-price strong { font-size: 1.35rem; }
.kc-price span { font-size: .82rem; color: var(--muted); }
.kc-price span b { color: var(--green); }
.kc-price em { font-style: normal; font-size: .78rem; color: var(--coral); font-weight: 700; }
.kc-price em:empty { display: none; }
main.kc ~ .wa-float { bottom: calc(92px + var(--safe-b)); }
.kc-form { display: grid; gap: 14px; }
.kc-cta { padding: 10px 0 30px; }
.kc-cta-in { background: var(--ink); color: var(--surface); border-radius: 30px; padding: 34px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.kc-cta .lead { color: #D9D0C3; }
.kc-cta .eyebrow { color: #CFC5B7; }
.kc-cta .btn { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.kc-cta-art { display: grid; gap: 12px; justify-items: center; }
.kc-chip { font-weight: 800; font-size: 1.3rem; padding: 12px 26px; border-radius: 999px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15), 0 10px 24px rgba(0, 0, 0, .25); }
.kc-chip:nth-child(1) { transform: rotate(-6deg); }
.kc-chip:nth-child(2) { transform: rotate(4deg) translateX(20px); }
.kc-chip:nth-child(3) { transform: rotate(-3deg) translateX(-14px); }

/* Mobile */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 10px 20px 18px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .top-actions { margin-left: auto; }
  .hero { padding-top: 16px; }
  .hero-in, .product-in, .checkout-in, .custom-in, .two-col, .materials { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { width: min(340px, 86%); order: -1; }
  .hero-tag { left: -8%; bottom: 6%; min-width: 150px; }
  .float-star { font-size: 48px; right: -6%; }
  .grid.products { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .steps, .which-row { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-in > div:first-child { grid-column: 1 / -1; }
  .gallery, .summary { position: static; }
  .gallery-main { margin-inline: -20px; border-radius: 0; }
  .product-page { padding-bottom: 110px; }
  .buy-row { display: none; }
  .sticky-buy { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); padding: 10px 16px calc(10px + var(--safe-b)); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .06); }
  .sticky-buy img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
  .sticky-text { flex: 1; min-width: 0; display: grid; }
  .sticky-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; right: 14px; }
  .sticky-buy ~ .wa-float { bottom: calc(84px + var(--safe-b)); }
  .two-fields { grid-template-columns: 1fr; }
  .kc-in, .kc-cta-in { grid-template-columns: 1fr; }
  .kc-stage { position: sticky; top: 68px; z-index: 5; background: var(--bg); padding-bottom: 6px; }
  .kc-view { aspect-ratio: 16 / 10; border-radius: 20px; }
  .kc-cta-in { padding: 26px 22px; }
  .kc-cta-art { grid-auto-flow: column; justify-content: start; overflow: hidden; }
  .kc-chip { font-size: 1rem; padding: 10px 18px; }
  .kc-bar-in { gap: 10px; }
  .stat-price { grid-column: 1 / -1; }
  .mat { padding: 26px 22px; }
  .choice { grid-template-columns: 1fr; }
  .offer-head { padding: 16px 14px; gap: 10px; grid-template-columns: 24px 1fr auto; }
  .offer-slots { padding: 0 14px 14px !important; }
  .picker { top: auto !important; bottom: 0; left: 0 !important; width: 100% !important; max-height: 92vh !important; border-radius: 22px 22px 0 0 !important; transform: translateY(100%) !important; }
  .picker.open { transform: none !important; }
  .pick-row img { width: 56px !important; height: 56px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.buy-row { margin-top: 18px; }
