/* ==========================================================================
   Ethereal by Iqra — storefront ("Ribbon")
   Mobile first: an app-like shell with a bottom tab bar, Instagram-style
   story bubbles, sticker tags and a tilted photo-collage hero. Desktop
   widens the same pieces. Colours come from Admin → Colours & fonts.
   ========================================================================== */

:root {
    --r-card: 20px;
    --r-big: 28px;
    --tabbar-h: 66px;
    --head-h: 60px;
    --ring: conic-gradient(from 200deg, var(--primary), var(--accent), var(--primary));
}

body { background: var(--page); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 650; letter-spacing: -0.02em; }
.display { font-family: var(--f-display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.02; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap-text { max-width: 760px; }
.page-pad { padding-block: var(--s-5) var(--s-9); }
.flash-wrap { padding-top: var(--s-3); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink); color: var(--page); }
.skip-link:focus { left: 12px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: var(--t-sm); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--primary); }
.link-btn:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (min-width: 761px) { .only-sm { display: none !important; } }

.btn { border-radius: var(--r-pill); font-weight: 700; }
.btn-primary { box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-accent { color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--page); border-color: var(--ink); }
.btn-ink:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn-wa:hover { background: #198f48; }

/* Sticker tags: the little tilted labels used on cards and the hero. */
.sticker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transform: rotate(-5deg);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}
.sticker-cherry { background: var(--primary); color: var(--on-primary); }
.sticker-ink { background: var(--ink); color: var(--page); }

/* ------------------------------------------------------------ ticker ---- */

.announce { overflow: hidden; background: var(--ink); color: var(--page); font-size: 12px; font-weight: 600; }
.announce-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.announce-track span { display: inline-flex; align-items: center; gap: 14px; padding: 8px 14px; white-space: nowrap; }
.announce-track span::after { content: '✦'; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

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

.masthead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.masthead.is-scrolled { border-bottom-color: var(--line); }
.masthead-bar { display: flex; align-items: center; gap: var(--s-4); height: var(--head-h); }
.wordmark { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; line-height: 1; white-space: nowrap; }
.wordmark-script { font-family: var(--f-script); font-size: 36px; font-weight: 400; color: var(--ink); transform: translateY(3px); }
.wordmark-by { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.wordmark img { max-height: 40px; width: auto; }
.masthead-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.icon-btn { width: 42px; height: 42px; }
.icon-btn svg { stroke-width: 1.7; }
.bag-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--primary); color: var(--on-primary); font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: var(--s-5); }
.primary-nav > a, .mega-trigger > a { display: block; padding: 8px 14px; border-radius: var(--r-pill); font-size: var(--t-sm); font-weight: 650; text-decoration: none; color: var(--ink-2); }
.primary-nav > a:hover, .mega-trigger > a:hover { background: var(--soft); color: var(--ink); }
.primary-nav .is-current { background: var(--ink); color: var(--page) !important; }
.primary-nav .nav-custom { color: var(--primary); }
.mega-trigger { position: static; }
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: var(--s-6) 0 var(--s-7); background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(42, 23, 32, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
}
.mega-trigger:hover .mega, .mega-trigger:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 220px; gap: var(--s-7); }
.mega-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: var(--s-4); }
.mega-cat { display: grid; gap: 8px; font-size: var(--t-sm); font-weight: 700; text-decoration: none; }
.mega-cat-img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--soft); padding: 3px; background-image: var(--ring); }
.mega-cat-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--surface); }
.mega-cat span:last-child { text-align: center; }
.mega-side { display: grid; align-content: start; gap: 10px; padding-left: var(--s-5); border-left: 1px solid var(--line); }
.mega-side a { font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); text-decoration: none; }
.mega-side a:hover { color: var(--primary); }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); }
.search-form { display: flex; align-items: center; gap: var(--s-3); height: 64px; }
.search-form svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--t-lg); color: var(--ink); }
.search-form input:focus { outline: none; }

@media (max-width: 960px) { .primary-nav { display: none; } }
@media (min-width: 961px) { .masthead-menu { display: none; } :root { --head-h: 72px; } .wordmark-script { font-size: 42px; } }

/* Drawer + sheets */
.drawer-scrim, .sheet-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(42, 23, 32, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.drawer-scrim.is-open, .sheet-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(88vw, 380px); padding: var(--s-4) var(--s-5) var(--s-7); overflow-y: auto; background: var(--page); border-radius: 0 var(--r-big) var(--r-big) 0; transform: translateX(-104%); transition: transform 0.3s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.drawer-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-2); margin-bottom: var(--s-6); }
.drawer-cats a { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.25; }
.drawer-cat-img { display: block; width: 72px; aspect-ratio: 1; border-radius: 50%; padding: 3px; background: var(--ring); }
.drawer-cat-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--page); }
.drawer-links { display: grid; gap: 6px; }
.drawer-links a { padding: 14px 16px; border-radius: 14px; background: var(--surface); font-weight: 650; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.drawer-links a.is-custom { background: var(--primary); color: var(--on-primary); box-shadow: none; }

/* -------------------------------------------------- bottom tab bar ------ */

.tabbar { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
    .tabbar {
        position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 70;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
        height: 58px; padding: 0 6px; border-radius: 22px;
        background: color-mix(in srgb, var(--surface) 92%, transparent);
        backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
        box-shadow: 0 0 0 1px var(--line), 0 14px 30px -12px rgba(42, 23, 32, 0.35);
    }
    .tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: var(--ink-3); text-decoration: none; }
    .tabbar a.is-active { color: var(--primary); }
    .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .tabbar .tab-custom span.tab-bow { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -26px; border-radius: 18px; background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--primary) 90%, transparent); transform: rotate(-6deg); }
    .tabbar .tab-custom span.tab-bow svg { transform: rotate(6deg); width: 26px; height: 26px; }
    .tabbar .tab-custom { color: var(--ink); }
    .tabbar .tab-count { position: absolute; top: -4px; left: 50%; margin-left: 4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 9.5px; line-height: 16px; text-align: center; }
    body.has-buybar .tabbar { display: none; }
    body.has-buybar { padding-bottom: 92px; }
}

/* ----------------------------------------------------- page headings --- */

.page-head { padding: var(--s-6) 0 var(--s-4); }
.page-head-tight { padding: var(--s-4) 0 0; }
.page-title { font-size: clamp(2.1rem, 7vw, 3.6rem); margin: var(--s-2) 0 var(--s-2); }
.page-sub { max-width: 60ch; color: var(--ink-3); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

.band { padding-top: var(--s-7); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.sec-title { font-size: clamp(1.7rem, 5.5vw, 2.6rem); margin: 0; }
.sec-sub { margin: 4px 0 0; color: var(--ink-3); font-size: var(--t-sm); }
.sec-link { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--soft); font-size: 12.5px; font-weight: 800; text-decoration: none; color: var(--ink); }
.sec-link::after { content: '›'; font-size: 16px; line-height: 0; }
.sec-link:hover { background: var(--primary); color: var(--on-primary); }

/* ------------------------------------------------------ story bubbles -- */

.bubbles { display: flex; gap: 14px; overflow-x: auto; padding: var(--s-4) 16px var(--s-2); scrollbar-width: none; scroll-snap-type: x proximity; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { flex: none; display: grid; justify-items: center; gap: 6px; width: 74px; text-decoration: none; scroll-snap-align: start; }
.bubble-ring { display: block; width: 70px; height: 70px; padding: 3px; border-radius: 50%; background: var(--ring); transition: transform 0.2s var(--ease); }
.bubble:hover .bubble-ring, .bubble:active .bubble-ring { transform: scale(1.06) rotate(-4deg); }
.bubble-ring img, .bubble-ring .bubble-icon { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--page); object-fit: cover; background: var(--soft); }
.bubble-icon { display: grid; place-items: center; background: var(--primary) !important; color: var(--on-primary); }
.bubble-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bubble-label { max-width: 74px; font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (min-width: 761px) { .bubbles { justify-content: center; padding-top: var(--s-5); gap: 22px; } .bubble { width: 92px; } .bubble-ring { width: 86px; height: 86px; } .bubble-label { max-width: 92px; font-size: 12.5px; } }

/* ------------------------------------------------- collage hero -------- */

.hero { padding: var(--s-3) 0 var(--s-5); }
.hero-card {
    position: relative; display: grid; gap: var(--s-6); align-items: center;
    padding: var(--s-6) var(--s-5) var(--s-7); border-radius: var(--r-big); overflow: hidden;
    background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), var(--soft);
}
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3); padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 12px; font-weight: 800; color: var(--primary); }
.hero-title { font-size: clamp(2.6rem, 11vw, 5.4rem); margin: 0 0 var(--s-3); max-width: 11ch; }
.hero-sub { font-size: var(--t-md); color: var(--ink-2); max-width: 40ch; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-height: 50px; padding-inline: 22px; }

.collage { position: relative; height: 330px; margin: 0 auto; width: min(100%, 360px); }
.polaroid { position: absolute; margin: 0; padding: 6px 6px 26px; border-radius: 14px; background: #fff; box-shadow: 0 18px 30px -16px rgba(42, 23, 32, 0.45); }
.polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 9px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--f-script); font-size: 20px; color: var(--ink-2); line-height: 1; }
.polaroid-1 { width: 56%; left: 22%; top: 8px; z-index: 3; transform: rotate(-3deg); }
.polaroid-2 { width: 44%; left: 0; top: 70px; z-index: 2; transform: rotate(-11deg); }
.polaroid-3 { width: 44%; right: 0; top: 52px; z-index: 1; transform: rotate(9deg); }
.hero-badge { position: absolute; right: 2%; bottom: -6px; z-index: 4; width: 96px; height: 96px; }
.hero-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-badge text { font-size: 10.6px; font-weight: 800; letter-spacing: 0.16em; fill: var(--ink); text-transform: uppercase; }
.hero-badge-core { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.hero-badge-core svg { animation: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-sticker { position: absolute; left: 4%; bottom: 18px; z-index: 4; }

@media (min-width: 900px) {
    .hero-card { grid-template-columns: 1.05fr 0.95fr; min-height: 560px; padding: var(--s-8) var(--s-8); }
    .collage { height: 470px; width: 100%; max-width: 480px; }
    .polaroid-1 { top: 10px; }
    .polaroid-2 { top: 110px; }
    .polaroid-3 { top: 80px; }
    .hero-badge { width: 120px; height: 120px; }
}

/* --------------------------------------------------- marquee strip ----- */

.marquee-wrap { overflow: hidden; padding-block: 10px; margin-top: var(--s-4); }
.marquee { overflow: hidden; background: var(--primary); color: var(--on-primary); transform: rotate(-1.2deg); margin-inline: -12px; box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.5); }
.marquee-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 18px; padding: 13px 18px; font-family: var(--f-display); font-size: 18px; font-weight: 600; white-space: nowrap; }
.marquee-track span::after { content: '✦'; color: var(--accent); font-size: 14px; }

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

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) 12px; }
.products-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 761px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); } .products-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card-p { position: relative; min-width: 0; }
.card-p-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--soft); }
.card-p-media > a:not(.card-p-add) { display: block; height: 100%; }
.card-p-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.card-p-img-2 { opacity: 0; }
@media (hover: hover) { .card-p-media.has-second:hover .card-p-img-2 { opacity: 1; } .card-p:hover .card-p-img { transform: scale(1.04); } }
.card-p-flags { position: absolute; left: 8px; top: 10px; z-index: 2; display: grid; justify-items: start; gap: 6px; pointer-events: none; }
.card-p-save, .card-p-add {
    position: absolute; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px;
    border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
    box-shadow: 0 4px 12px -4px rgba(42, 23, 32, 0.35); transition: transform 0.15s var(--ease), background 0.15s;
}
.card-p-save { right: 8px; top: 8px; }
.card-p-add { right: 8px; bottom: 8px; background: var(--ink); color: var(--page); text-decoration: none; }
.card-p-add:hover { background: var(--primary); }
.card-p-save:active, .card-p-add:active { transform: scale(0.9); }
.card-p-save svg, .card-p-add svg, .pdp-save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-p-save.is-on svg, .pdp-save.is-on svg { fill: var(--primary); stroke: var(--primary); }
.card-p-add form { display: contents; }
.card-p-body { padding: 10px 2px 0; }
.card-p-name { margin: 0 0 4px; font-family: var(--f-body); font-size: 13.5px; font-weight: 700; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-p-name a { text-decoration: none; }
.card-p-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-p-fabric { display: none; }
.card-p-price { display: flex; align-items: baseline; gap: 4px; }
.card-p-from { font-size: 11px; font-weight: 700; color: var(--ink-3); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0; font-size: 14px; }
.price-now { font-weight: 800; }
.price-was { color: var(--ink-3); font-size: 0.86em; }
.price-off { color: var(--primary); font-size: 0.86em; font-weight: 800; }
.price-lg { font-size: 26px; }
.price-lg .price-now { font-family: var(--f-display); font-weight: 700; }
.price-lg .price-off { font-size: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); transform: rotate(-4deg); display: inline-block; }

/* Rails */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; scroll-padding-inline: 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 761px) { .rail { grid-auto-columns: 30%; gap: var(--s-5); padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); } }
@media (min-width: 1080px) { .rail { grid-auto-columns: 22%; } }

/* ------------------------------------------------- custom gift CTA ----- */

.cta-card {
    position: relative; overflow: hidden; display: grid; gap: var(--s-5);
    padding: var(--s-7) var(--s-5); border-radius: var(--r-big); background: var(--primary); color: var(--on-primary);
}
.cta-card::before { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 55%, transparent); filter: blur(2px); }
.cta-title { position: relative; font-size: clamp(2.1rem, 8vw, 3.6rem); margin: 0; max-width: 14ch; }
.cta-sub { position: relative; margin: 0; max-width: 46ch; opacity: 0.88; }
.cta-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.cta-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, #fff 14%, transparent); font-weight: 650; font-size: var(--t-sm); counter-increment: step; }
.cta-steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; }
.cta-card .btn { position: relative; justify-self: start; background: var(--accent); color: var(--ink); border-color: var(--accent); min-height: 52px; padding-inline: 26px; box-shadow: none; }
.cta-card .btn:hover { filter: brightness(1.05); }
.cta-bow { position: absolute; right: 18px; bottom: 16px; width: 90px; opacity: 0.18; }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr 1fr; align-items: center; padding: var(--s-8); } .cta-card .cta-steps { grid-row: span 3; } }

/* ------------------------------------------------------- bento grid ---- */

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bento-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--soft); text-decoration: none; color: #fff; }
.bento-tile:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.bento-tile:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 9; }
.bento-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-tile:hover img { transform: scale(1.05); }
.bento-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30, 10, 20, 0.72)); }
.bento-name { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; font-family: var(--f-display); font-size: 19px; font-weight: 650; line-height: 1.1; }
.bento-name i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--ink); font-style: normal; font-family: var(--f-body); font-size: 16px; }
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: var(--s-4); }
    .bento-tile, .bento-tile:last-child:nth-child(even) { aspect-ratio: auto; grid-column: auto; }
    .bento-tile:first-child { grid-column: span 2; grid-row: span 2; }
    .bento-tile:nth-child(6):last-child { grid-column: 1 / -1; }
    .bento-name { font-size: 22px; }
}

/* ------------------------------------------------------ impact band ---- */

.impact { display: grid; gap: var(--s-5); padding: var(--s-7) var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.impact-stat { margin: 0; font-family: var(--f-display); font-size: clamp(5rem, 22vw, 9rem); font-weight: 750; line-height: 0.85; color: var(--primary); letter-spacing: -0.04em; }
.impact-stat small { display: block; margin-top: 10px; font-family: var(--f-body); font-size: var(--t-sm); font-weight: 800; letter-spacing: 0; color: var(--ink); }
.impact-title { margin: 0 0 var(--s-2); font-size: clamp(1.8rem, 6vw, 2.8rem); }
.impact-sub { margin: 0 0 var(--s-4); color: var(--primary); font-weight: 700; }
.impact p:not(.impact-stat):not(.impact-sub) { color: var(--ink-2); max-width: 58ch; }
.impact-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
@media (min-width: 900px) { .impact { grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: var(--s-8); padding: var(--s-8); } }

/* ------------------------------------------------------------- quote --- */

.quote { padding: var(--s-7) var(--s-4); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--f-display); font-size: clamp(1.5rem, 5.5vw, 2.4rem); font-weight: 500; line-height: 1.2; }
.quote blockquote::before { content: '“'; display: block; font-size: 4em; line-height: 0.6; color: var(--primary); }
.quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: var(--t-sm); font-weight: 700; color: var(--ink-3); }

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

.footer { margin-top: var(--s-8); background: var(--ink); color: var(--page); border-radius: var(--r-big) var(--r-big) 0 0; }
.footer a { color: inherit; text-decoration: none; opacity: 0.8; }
.footer a:hover { opacity: 1; color: var(--accent); }
.footer-news { display: grid; gap: var(--s-4); padding-block: var(--s-7) var(--s-6); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-news-title { margin: 0; font-size: clamp(1.9rem, 6vw, 3rem); }
.footer-news p { margin: 6px 0 0; opacity: 0.7; font-size: var(--t-sm); }
.footer-news-form { display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); }
.footer-news-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; background: none; color: inherit; font: inherit; }
.footer-news-form input::placeholder { color: inherit; opacity: 0.6; }
.footer-news-form input:focus { outline: none; }
.footer-news-form button { padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); font-weight: 800; cursor: pointer; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-4); padding-block: var(--s-6); }
.footer-grid nav { display: grid; align-content: start; gap: 9px; font-size: var(--t-sm); }
.footer-grid h3 { margin: 0 0 4px; font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.5; }
.footer-brand { grid-column: 1 / -1; }
.footer-wordmark { font-family: var(--f-script); font-size: 46px; line-height: 1; opacity: 1 !important; }
.footer-brand p { margin: 6px 0 var(--s-4); opacity: 0.7; font-size: var(--t-sm); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); opacity: 1; }
.footer-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px var(--s-4); padding-block: var(--s-4) var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; opacity: 0.6; }
.footer-base p { margin: 0; }
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr 1fr; align-items: center; } .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* -------------------------------------------------------------- shop ---- */

.shop { padding-bottom: var(--s-8); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px var(--s-3); padding: 2px 16px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 9px 16px; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.chips a:hover { color: var(--primary); }
.chips a.is-active { background: var(--ink); color: var(--page); box-shadow: none; }
.toolbar { position: sticky; top: var(--head-h); z-index: 20; display: flex; align-items: center; gap: var(--s-3); padding: 10px 0; margin-bottom: var(--s-4); background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(10px); }
.toolbar .btn { background: var(--surface); }
.toolbar .btn svg { width: 16px; height: 16px; }
.toolbar-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 10px; }
.toolbar-total { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.toolbar-sort { margin-left: auto; }
.toolbar-sort .select { min-height: 36px; width: auto; padding: 4px 34px 4px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--s-4); }
.filter-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: var(--r-pill); background: var(--soft); font-size: 12px; font-weight: 700; text-decoration: none; }
.filter-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.filter-clear { font-size: 12px; font-weight: 600; color: var(--ink-3); }

.sheet { position: fixed; z-index: 100; display: flex; flex-direction: column; background: var(--page); transition: transform 0.3s var(--ease); inset: auto 0 0 0; max-height: 88vh; border-radius: var(--r-big) var(--r-big) 0 0; transform: translateY(104%); }
.sheet.is-open { transform: none; }
@media (min-width: 761px) { .sheet { inset: 0 0 0 auto; width: 420px; max-height: none; border-radius: var(--r-big) 0 0 var(--r-big); transform: translateX(104%); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: var(--t-xl); }
.sheet-body { flex: 1; overflow-y: auto; padding: var(--s-5); display: flex; flex-direction: column; }
.sheet-group { margin: 0 0 var(--s-5); padding: 0 0 var(--s-5); border: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-group legend { width: 100%; margin-bottom: var(--s-3); font-size: var(--t-sm); font-weight: 800; }
.sheet-group > a { padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; text-decoration: none; }
.sheet-group > a.is-active { background: var(--ink); color: var(--page); box-shadow: none; }
.sheet-group .check { width: 100%; }
.sheet-group .select { width: 100%; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; width: 100%; }
.sheet-foot { position: sticky; bottom: calc(var(--s-5) * -1); display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-3); margin-top: auto; padding: var(--s-4) 0 var(--s-5); background: var(--page); }

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

.pdp { padding-top: var(--s-3); }
.pdp-grid { display: grid; gap: var(--s-5); margin-top: var(--s-3); }
.pdp-gallery { margin-inline: -16px; }
.pdp-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; padding-inline: 16px; }
.pdp-shots::-webkit-scrollbar { display: none; }
.pdp-shot { flex: 0 0 88%; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-big); overflow: hidden; background: var(--soft); scroll-snap-align: center; }
.pdp-gallery:not(.has-many) .pdp-shot { flex-basis: 100%; }
.pdp-shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.pdp-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width 0.2s; }
.pdp-dots span.is-active { width: 20px; background: var(--primary); }

.pdp-cat { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); background: var(--soft); font-size: 12px; font-weight: 800; color: var(--primary); text-decoration: none; }
.pdp-title { font-size: clamp(2rem, 7vw, 3rem); margin: var(--s-3) 0 var(--s-3); }
.pdp-tax { margin: 6px 0 var(--s-4); font-size: 12px; color: var(--ink-3); }
.pdp-lede { color: var(--ink-2); font-size: 15.5px; }
.pdp-fabric { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2); }
.pdp-swatch { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.pdp-form { margin-top: var(--s-5); }
.sizes { margin: 0 0 var(--s-5); padding: 0; border: 0; }
.sizes-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-3); }
.sizes-head legend { float: left; font-size: var(--t-sm); font-weight: 800; }
.sizes-head a { font-size: 12px; font-weight: 700; color: var(--primary); }
.sizes-list { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.variant-btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1.5px var(--line-2); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background 0.15s, box-shadow 0.15s, color 0.15s; }
.variant-btn:hover:not(:disabled) { box-shadow: 0 0 0 1.5px var(--ink); }
.variant-btn.is-active { background: var(--ink); color: var(--page); box-shadow: 0 0 0 1.5px var(--ink); }
.variant-btn.is-out { color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.sizes-hint { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sizes-hint.is-error { color: var(--bad); }

.pdp-buy { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.pdp-add { min-height: 54px; font-size: 15.5px; }
.pdp-save { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1.5px var(--line-2); cursor: pointer; }
.pdp-save svg { width: 22px; height: 22px; }
.pdp-stock { margin: var(--s-3) 0 0; font-size: 13px; font-weight: 800; color: var(--primary); }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1.5px var(--line-2); }
.qty button { width: 38px; height: 100%; border: 0; background: none; font-size: 18px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.qty-value { width: 28px; border: 0; background: none; text-align: center; font: inherit; font-weight: 800; }
.qty-value:focus { outline: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 32px; }

/* Phones: the add-to-bag row floats at the bottom, like an app. */
@media (max-width: 760px) {
    .pdp-buy { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 70; padding: 8px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), 0 16px 34px -14px rgba(42, 23, 32, 0.4); }
    .pdp-buy .qty, .pdp-buy .pdp-save { height: 50px; }
    .pdp-buy .pdp-save { width: 50px; }
    .pdp-add { min-height: 50px; }
}

.pdp-custom { display: flex; align-items: center; gap: 12px; margin-top: var(--s-4); padding: 14px 16px; border-radius: 18px; background: var(--ink); color: var(--page); text-decoration: none; }
.pdp-custom strong { color: var(--accent); }
.pdp-custom svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pdp-custom span::after { content: ' ›'; }
.pdp-ask { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: var(--t-sm); text-decoration: none; }
.pdp-ask svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #1fa855; stroke-width: 1.7; stroke-linejoin: round; }
.pdp-perks { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pdp-perks li { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--soft-2); font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.3; }
.pdp-perks svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pdp-details { margin-top: var(--s-5); }
.pdp-details details { margin-bottom: 8px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.pdp-details summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-weight: 800; font-size: var(--t-sm); cursor: pointer; list-style: none; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; color: var(--primary); }
.pdp-details details[open] summary::after { content: '–'; }
.pdp-details .prose { padding: 0 18px 16px; font-size: 14px; }
.pdp-sku { margin: var(--s-3) 0 0; font-size: 12px; color: var(--ink-3); }

@media (min-width: 961px) {
    .pdp-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
    .pdp-gallery { margin: 0; }
    .pdp-shots { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: visible; }
    .pdp-shot { aspect-ratio: 4 / 5; }
    .pdp-shot:first-child { grid-column: 1 / -1; }
    .pdp-gallery.is-even .pdp-shot:first-child { grid-column: auto; }
    .pdp-dots { display: none; }
    .pdp-panel { position: sticky; top: calc(var(--head-h) + 20px); }
}

/* ------------------------------------------------------ bag & summary -- */

.split { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 961px) { .split { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s-7); } }
.bag { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bag-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 10px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); position: relative; }
.bag-thumb { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--soft); }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-name { margin: 2px 0 2px; font-family: var(--f-body); font-size: 14.5px; font-weight: 800; letter-spacing: 0; padding-right: 70px; }
.bag-name a { text-decoration: none; }
.bag-meta { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-3); }
.bag-warn { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--primary); }
.bag-actions { display: flex; align-items: center; gap: var(--s-4); }
.bag-line { position: absolute; right: 14px; top: 12px; margin: 0; font-weight: 800; }
.summary { position: sticky; top: calc(var(--head-h) + 16px); padding: var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.summary-title { margin: 0 0 var(--s-3); font-size: var(--t-xl); }
.summary .btn-block { margin-top: var(--s-4); min-height: 54px; }
.summary-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.summary-items { list-style: none; margin: 0 0 var(--s-3); padding: 0 0 var(--s-3); border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 600; }
.summary-thumb { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--soft); }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.summary-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }
.summary-name small { display: block; color: var(--ink-3); font-weight: 500; }
.coupon { display: flex; gap: 8px; margin-top: var(--s-4); }
.coupon .input { min-height: 46px; border-radius: var(--r-pill); }
.coupon-applied { display: flex; justify-content: space-between; gap: var(--s-3); width: 100%; padding: 10px 14px; border-radius: 14px; background: var(--ok-tint); font-size: 13px; }
@media (max-width: 960px) { .summary { position: static; } }

/* ------------------------------------------------------------ checkout -- */

.steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; font-size: 12px; font-weight: 700; color: var(--ink-3); counter-reset: step; }
.steps li { display: flex; align-items: center; gap: 6px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 11px; }
.steps li + li::after { order: -1; content: ''; width: 18px; height: 2px; border-radius: 1px; background: var(--line-2); margin-right: 4px; }
.steps .is-done::before { background: var(--ink-3); color: #fff; box-shadow: none; }
.steps .is-current { color: var(--ink); }
.steps .is-current::before { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.steps a { text-decoration: none; }
.co-sections { display: grid; gap: var(--s-4); }
.co-section { padding: var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.co-heading { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4); font-size: var(--t-xl); }
.co-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-family: var(--f-body); font-size: 13px; font-weight: 800; transform: rotate(-6deg); }
.co-grid { gap: 0 var(--s-3); }
@media (max-width: 760px) { .co-grid.grid-3 { grid-template-columns: 1fr 1fr; } .co-grid.grid-3 .field:first-child { grid-column: 1 / -1; } .co-grid.grid-2 { grid-template-columns: 1fr; } }
.pin-status { margin: -4px 0 var(--s-2); font-size: 12px; color: var(--ink-3); }
.pin-status.is-ok { color: var(--ok); }
.pin-status.is-bad { color: var(--bad); font-weight: 700; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: 18px; box-shadow: 0 0 0 1.5px var(--line-2); cursor: pointer; transition: box-shadow 0.15s, background 0.15s; }
.pay-option:has(input:checked) { background: var(--soft-2); box-shadow: 0 0 0 2px var(--primary); }
.pay-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.pay-option-body { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.pay-option-body strong { font-size: 15px; color: var(--ink); }
.pay-option-tag { font-size: 11.5px; font-weight: 800; color: var(--ok); white-space: nowrap; }

/* --------------------------------------------------- order received ---- */

.confirm { max-width: 640px; }
.confirm-head { text-align: center; margin-bottom: var(--s-6); }
.confirm-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: var(--primary); color: var(--on-primary); transform: rotate(-8deg); }
.confirm-mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(8deg); }
.confirm-title { font-size: clamp(2.2rem, 8vw, 3.4rem); margin: var(--s-5) 0 var(--s-3); }
.confirm-sub { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.confirm-card { padding: var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.confirm-card-head { margin-bottom: var(--s-3); }
.confirm-address { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.confirm-address h2 { font-family: var(--f-body); font-size: 12px; font-weight: 800; color: var(--ink-3); margin-bottom: 6px; letter-spacing: 0; }
.confirm-address p { margin: 0; font-size: var(--t-sm); }
.confirm-actions { display: grid; gap: 10px; margin-top: var(--s-5); }
@media (min-width: 600px) { .confirm-actions { display: flex; justify-content: center; } }

/* ------------------------------------------------------------- auth ---- */

.auth { display: grid; min-height: calc(100vh - var(--head-h) - 34px); }
.auth-art { display: none; }
.auth-main { display: grid; place-items: start center; padding: var(--s-5) 16px var(--s-8); }
.auth-box { width: min(100%, 440px); padding: var(--s-6) var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(42, 23, 32, 0.35); }
.auth-title { font-size: clamp(2rem, 7vw, 2.6rem); margin: 0 0 6px; }
.auth-sub { color: var(--ink-3); margin-bottom: var(--s-4); font-size: 14.5px; }
.auth-form { margin-top: var(--s-4); }
.auth-note { font-size: var(--t-sm); color: var(--ink-3); }
.auth-remember { margin: var(--s-2) 0 var(--s-4); }
.auth-small-link { font-size: 12px; font-weight: 700; color: var(--primary); }
.field-label-row { margin-bottom: 6px; }
.field-label-row label { margin: 0; font-size: var(--t-sm); font-weight: 600; }
.auth-pair { gap: 0 var(--s-3); }
@media (max-width: 760px) { .auth-pair { grid-template-columns: 1fr; } }
.auth-hint { margin: -6px 0 var(--s-4); }
.auth-legal { margin: var(--s-3) 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }
.auth-switch { margin: var(--s-5) 0 var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); text-align: center; font-size: var(--t-sm); }
.auth-switch a { font-weight: 800; color: var(--primary); }
.auth-foot { margin: 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.auth-resend { display: flex; justify-content: center; gap: 6px; margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-3); }
.otp-input { text-align: center; font-size: 1.8rem; font-weight: 800; letter-spacing: 0.5em; padding-left: calc(14px + 0.5em); }
.input-prefix { display: flex; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--soft-2); font-size: var(--t-sm); font-weight: 700; }
.input-prefix .input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-pill); background: var(--soft); }
.segmented a { padding: 9px; border-radius: var(--r-pill); text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.segmented a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
@media (min-width: 961px) {
    .auth { grid-template-columns: 1fr 1fr; }
    .auth-art { position: relative; display: grid; align-content: center; justify-items: center; gap: var(--s-4); padding: var(--s-8); margin: var(--s-4) 0 var(--s-4) var(--s-4); border-radius: var(--r-big); background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 60%), var(--soft); text-align: center; }
    .auth-art-frame { width: min(70%, 300px); aspect-ratio: 4 / 5; padding: 8px 8px 30px; border-radius: 16px; background: #fff; transform: rotate(-4deg); box-shadow: 0 24px 40px -22px rgba(42, 23, 32, 0.5); }
    .auth-art-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
    .auth-art-line { margin: var(--s-4) 0 0; font-size: 2.4rem; max-width: 14ch; }
    .auth-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
    .auth-perks li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 12.5px; font-weight: 700; }
    .auth-main { place-items: center; }
}

/* ------------------------------------------------------------ account -- */

.account { display: grid; gap: var(--s-4); padding-block: var(--s-4) var(--s-9); }
.account-side { min-width: 0; }
.account-hello { display: none; }
.account-avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--primary); color: var(--on-primary); font-weight: 800; transform: rotate(-6deg); }
.account-menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.account-menu::-webkit-scrollbar { display: none; }
.account-menu form { flex: none; }
.account-menu a, .account-menu button { flex: none; display: block; padding: 9px 16px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; cursor: pointer; white-space: nowrap; }
.account-menu a.is-active { background: var(--ink); color: var(--page); box-shadow: none; }
.account-head { margin-bottom: var(--s-4); }
.account-title { font-size: clamp(2rem, 7vw, 3rem); margin: 0 0 4px; }
@media (min-width: 961px) {
    .account { grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-7); padding-top: var(--s-6); }
    .account-side { position: sticky; top: calc(var(--head-h) + 20px); align-self: start; }
    .account-hello { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-4); }
    .account-hello strong { display: block; font-size: 14px; }
    .account-hello small { display: block; font-size: 12px; color: var(--ink-3); word-break: break-all; }
    .account-menu { display: grid; gap: 6px; overflow: visible; }
    .account-menu a, .account-menu button { width: 100%; text-align: left; border-radius: 14px; padding: 12px 16px; }
}
.panel { padding: var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); margin-bottom: var(--s-4); }
.panel h2 { font-size: var(--t-xl); margin-bottom: var(--s-4); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.panel-head h2 { margin: 0; }
.panel-label { margin: 0 0 6px; font-family: var(--f-body); font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: 0; }
.panel-text { margin: 0; font-size: var(--t-sm); line-height: 1.6; }
.grid > .panel { margin-bottom: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 var(--s-4); }
.kpis a { display: flex; flex-direction: column-reverse; padding: var(--s-4); border-radius: var(--r-card); background: var(--soft); text-decoration: none; }
.kpis dt { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.kpis dd { margin: 0 0 2px; font-family: var(--f-display); font-size: 30px; font-weight: 700; }
.order-list { display: grid; gap: 10px; }
.order-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 14px; padding: 14px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.panel .order-card { box-shadow: none; background: var(--soft-2); }
.order-card-thumbs { display: flex; }
.order-thumb { display: block; width: 44px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 2px var(--surface); }
.order-card-thumbs .order-thumb + .order-thumb { margin-left: -14px; }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-more { align-self: center; margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.order-card-number { font-weight: 800; text-decoration: none; }
.order-card-info p { margin: 0; font-size: 12px; color: var(--ink-3); }
.order-card .badge { grid-column: 2; justify-self: start; }
.order-card-total { grid-column: 3; grid-row: 1; font-size: 14px; }
.order-card-actions { grid-column: 1 / -1; display: flex; gap: 6px; }
.order-detail { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 961px) { .order-detail { grid-template-columns: minmax(0, 1fr) 330px; } }
.order-items { list-style: none; margin: 0; padding: 0; }
.order-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.order-items li:last-child { border-bottom: 0; }
.order-items .order-thumb { width: 52px; }
.order-items p { margin: 2px 0 0; font-size: 12px; }
.order-tracking { margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-sm); }
.address-grid { align-items: start; }
.address-default { margin: var(--s-3) 0 var(--s-4); }

/* --------------------------------------------------------- custom gifts -- */

.cg-hero { padding: var(--s-6) var(--s-5); border-radius: var(--r-big); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 55%), var(--soft); text-align: center; }
.cg-hero .page-title { margin-inline: auto; max-width: 14ch; }
.cg-hero .page-sub { margin: 0 auto var(--s-5); }
.cg-steps { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; counter-reset: step; text-align: left; }
.cg-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); font-size: 13.5px; font-weight: 650; counter-increment: step; }
.cg-steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-weight: 800; transform: rotate(-6deg); }
@media (min-width: 900px) { .cg-steps { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; } }

.cg-layout { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 1000px) { .cg-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start; } .cg-aside { position: sticky; top: calc(var(--head-h) + 20px); } }
.cg-form { padding: var(--s-5); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cg-form h2 { font-size: var(--t-2xl); margin-bottom: var(--s-2); }
.cg-group { margin: 0 0 var(--s-5); padding: 0; border: 0; }
.cg-group legend, .cg-label { display: block; margin-bottom: 10px; font-size: var(--t-sm); font-weight: 800; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips label { position: relative; cursor: pointer; }
.choice-chips input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--soft-2); box-shadow: 0 0 0 1.5px transparent; font-size: 13.5px; font-weight: 700; transition: background 0.15s, box-shadow 0.15s, transform 0.15s; }
.choice-chips label:hover span { box-shadow: 0 0 0 1.5px var(--line-2); }
.choice-chips input:checked + span { background: var(--ink); color: var(--page); transform: rotate(-2deg); }
.choice-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dropzone { display: grid; place-items: center; gap: 6px; padding: var(--s-5); border: 2px dashed var(--line-2); border-radius: 18px; background: var(--soft-2); text-align: center; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.dropzone strong { color: var(--primary); font-size: 14px; }
.dropzone input { max-width: 100%; font-size: 12px; }
.cg-picked { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-5); padding: 10px; border-radius: 18px; background: var(--soft); }
.cg-picked img { width: 58px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.cg-picked p { margin: 0; font-size: 13px; }
.cg-picked strong { display: block; font-size: 14px; }
.cg-submit { min-height: 56px; font-size: 16px; }
.cg-aside h2 { font-size: var(--t-2xl); margin-bottom: 4px; }
.cg-aside .products { gap: var(--s-4) 10px; }
.cg-inspo-link { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--primary); position: relative; z-index: 2; }

.cg-thanks { max-width: 620px; text-align: center; }
.cg-ref { display: inline-block; margin: var(--s-3) 0 var(--s-5); padding: 8px 16px; border-radius: var(--r-pill); background: var(--accent); font-weight: 800; transform: rotate(-3deg); }
.cg-summary { text-align: left; margin-top: var(--s-5); }
.cg-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.cg-summary dt { color: var(--ink-3); font-weight: 600; }
.cg-summary dd { margin: 0; font-weight: 600; }

/* -------------------------------------------------------- contact etc -- */

.contact { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-7); } }
.contact-ways { display: grid; gap: 10px; }
.contact-way { display: grid; gap: 2px; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; }
.contact-way:hover { box-shadow: 0 0 0 1.5px var(--primary); }
.contact-way-label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.contact-way strong { font-size: 15px; word-break: break-word; }
.contact-way-main { background: #1fa855; color: #fff; box-shadow: none; }
.contact-way-main .contact-way-label, .contact-way-main span:last-child { color: inherit !important; opacity: 0.85; }
.contact-track { margin: var(--s-2) 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.contact-extra { font-size: var(--t-sm); }
.contact-form { margin: 0; }
.prose-lg { font-size: 1.04rem; }
.track-result { margin-top: var(--s-4); }
.track-result h2 { margin: 0; }
.error-page { text-align: center; }
.error-code { margin: 0; font-family: var(--f-display); font-size: clamp(6rem, 26vw, 11rem); font-weight: 750; line-height: 0.9; color: var(--primary); transform: rotate(-4deg); }
.error-page .page-sub { margin: 0 auto var(--s-5); }
.error-actions { justify-content: center; }
.error-help { margin-top: var(--s-5); font-size: var(--t-sm); color: var(--ink-3); }

/* ------------------------------------------------------- WhatsApp float -- */

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: var(--r-pill); background: #1fa855; color: #fff; font-size: var(--t-sm); font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5); }
.wa-float:hover { background: #198f48; }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* ------------------------------------------------ PIN code popup -------- */

.pin-pop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.pin-pop[hidden] { display: none; }
.pin-pop-scrim { position: absolute; inset: 0; background: rgba(42, 23, 32, 0.45); }
.pin-pop-card { position: relative; width: min(100%, 400px); padding: var(--s-6); border-radius: var(--r-big); background: var(--surface); text-align: center; box-shadow: var(--shadow-2); }
.pin-pop-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.pin-pop-close svg { width: 18px; height: 18px; margin: auto; }
.pin-pop-icon svg { width: 40px; height: 40px; margin: 0 auto var(--s-3); }
.pin-pop-row { display: flex; gap: 8px; margin: var(--s-4) 0 var(--s-2); }
.pin-pop-status { min-height: 1.4em; font-size: var(--t-sm); }
.pin-strip { position: fixed; left: 16px; bottom: 16px; z-index: 55; display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-2); font-size: 12px; }
.pin-strip[hidden] { display: none; }
.pin-strip button { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: inherit; }
@media (max-width: 760px) { .pin-strip { bottom: calc(var(--tabbar-h) + 20px); } }

.empty { background: var(--surface); border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-big); }
.empty h3 { font-family: var(--f-display); font-weight: 650; font-size: var(--t-2xl); }
.prose h2, .prose h3 { font-family: var(--f-display); }
.input, .select, .textarea { border-radius: 14px; }
.cg-aside .products-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

html, body { overflow-x: clip; }
