/*
 * site.css — the public site of fotofoto.my.id (shop, account, help). Clean, bright and professional, with a
 * little fun: warm white paper, ink-blue type, a coral → peach accent, sunny / sky / mint as playful extras, and
 * photobooth props (tilted polaroids, film-strip edges, sticker badges). Font: Plus Jakarta Sans, self-hosted
 * (assets/fonts, OFL; the CSP allows only this site's own files). No inline styles anywhere: the CSP forbids them.
 */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #fffdf9; --bg-alt: #fff6ee; --surface: #ffffff; --surface-2: #f6f3ef;
    --ink: #1c2233; --ink-2: #3b4256; --muted: #6b7184;
    --line: rgba(28, 34, 51, .1); --line-2: rgba(28, 34, 51, .18);
    --accent: #ff4f6d; --accent-2: #ff8a5c; --accent-ink: #ffffff; --accent-text: #e2304f;
    --sun: #ffcf3d; --sky: #3aa8ff; --mint: #22c3a3; --grape: #8b6cff;
    --success: #12805c; --danger: #c62842;
    --radius: 18px; --radius-sm: 12px;
    --shadow: 0 24px 50px -28px rgba(28, 34, 51, .45);
    --shadow-sm: 0 8px 22px -14px rgba(28, 34, 51, .4);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; color-scheme: light; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.icon { flex: none; vertical-align: -3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- buttons, chips, badges ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font: inherit; font-weight: 700; line-height: 1.2;
    cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 10px 24px -14px var(--accent); }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--accent); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { box-shadow: 0 14px 28px -16px var(--ink); }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; box-shadow: none; font-weight: 600; }
.btn-google:hover { background: #f8f9fa; box-shadow: var(--shadow-sm); }
.btn-google svg { width: 18px; height: 18px; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-text); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-text); background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 10px 0 0 var(--sky), 20px 0 0 var(--mint); margin-right: 20px; }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 600px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
    color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { text-decoration: none; border-color: var(--ink-2); color: var(--ink); }
.chip.active, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { font-size: .78rem; opacity: .65; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.badge-success { background: #dcf7ec; color: var(--success); }
.badge-info { background: #e3f1ff; color: #1767b3; }
.badge-warn { background: #fff3cd; color: #8a5a00; }
.badge-danger { background: #ffe1e6; color: var(--danger); }
.sticker { display: inline-block; padding: 6px 12px; border-radius: 10px; font-weight: 800; font-size: .82rem; background: var(--sun); color: var(--ink);
    transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }

/* ---- alerts, flashes, notice ---- */
.notice-bar { background: var(--ink); color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; }
.flash-wrap { padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; font-weight: 500; }
.alert-success { background: #e9faf3; border-color: #a8e8cf; color: #0b5e43; }
.alert-error { background: #fff0f2; border-color: #ffc0cb; color: #9b1530; }
.alert-info { background: #eef6ff; border-color: #bcdcff; color: #13508c; }

/* ---- forms ---- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field small { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 253, 249, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.03em; font-size: 1.3rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word small { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 1px; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.site-nav ul a:hover { text-decoration: none; background: var(--surface-2); color: var(--ink); }
.site-nav ul a.active { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent-text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line-2); background: #fff; }
.nav-icon:hover { text-decoration: none; border-color: var(--ink-2); }
.nav-icon.active { border-color: var(--accent); color: var(--accent-text); }
.nav-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.nav-avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--sky), var(--grape)); color: #fff; font-weight: 800; }
.nav-avatar:hover { text-decoration: none; }
.switches { display: flex; gap: 6px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch a { padding: 5px 10px; font-size: .76rem; font-weight: 800; color: var(--muted); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.lang-switch a:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.nav-quick { display: none; gap: 8px; margin-left: auto; }
@media (max-width: 920px) {
    .nav-toggle { display: block; }
    .nav-quick { display: flex; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 22px; flex-direction: column; align-items: stretch; gap: 14px; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .site-nav .nav-actions .nav-icon { display: none; }
    .nav-actions { justify-content: space-between; flex-wrap: wrap; }
}

/* ---- sections ---- */
.section { padding: 80px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 560px; }
.page-hero { padding: 56px 0 20px; }
.page-hero h1 { margin-bottom: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

/* ---- home hero ---- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px;
    background: radial-gradient(900px 420px at 85% 10%, #ffe3d6 0, transparent 60%), radial-gradient(700px 380px at 0% 100%, #e3f3ff 0, transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); isolation: isolate; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--accent-text); }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em; border-radius: 99px; background: var(--sun); z-index: -1; transform: rotate(-1.2deg); }
.hero .lead { font-size: 1.2rem; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--mint); }
.hero-art { position: relative; height: 470px; }
.polaroid { position: absolute; background: #fff; padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(28, 34, 51, .55); transition: transform .3s; }
.polaroid img { border-radius: 2px; }
.polaroid.p1 { width: 44%; left: 4%; top: 6%; transform: rotate(-7deg); }
.polaroid.p2 { width: 23%; left: 44%; top: 0; transform: rotate(4deg); z-index: 2; }
.polaroid.p3 { width: 46%; right: 0; top: 30%; transform: rotate(6deg); z-index: 1; }
.polaroid.p4 { width: 38%; left: 20%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.hero-art:hover .polaroid.p1 { transform: rotate(-9deg) translateY(-6px); }
.hero-art:hover .polaroid.p3 { transform: rotate(8deg) translateY(-6px); }
.hero-art .sticker { position: absolute; z-index: 4; right: 8%; top: 4%; font-size: .95rem; padding: 8px 14px; }
.confetti { position: absolute; width: 14px; height: 14px; border-radius: 50%; z-index: 0; }
.confetti.c1 { background: var(--sun); left: 0; bottom: 18%; }
.confetti.c2 { background: var(--sky); right: 3%; bottom: 8%; width: 10px; height: 10px; }
.confetti.c3 { background: var(--mint); left: 40%; top: -2%; width: 9px; height: 9px; }
.confetti.c4 { background: var(--grape); right: 40%; bottom: -2%; width: 12px; height: 12px; border-radius: 3px; transform: rotate(20deg); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .hero { padding-top: 36px; } .hero-art { height: 300px; } }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.stat { padding: 22px 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.1; }
.stat:nth-child(1) strong { color: var(--sun); }
.stat:nth-child(2) strong { color: #7cc8ff; }
.stat:nth-child(3) strong { color: #6be3c9; }
.stat:nth-child(4) strong { color: #ffb3c1; }
.stat span { color: rgba(255, 255, 255, .75); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); } }

/* ---- product cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.product-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.product-cover { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-cover .sticker { position: absolute; left: 14px; top: 14px; }
.product-body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1.2rem; margin: 0; }
.product-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.price-note { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.soon-card { display: grid; place-items: center; text-align: center; padding: 34px; border: 2px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); min-height: 240px; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(28, 34, 51, .025) 14px 28px); }
.soon-card strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* ---- category cards (home) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); aspect-ratio: 3 / 4; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s; }
.cat-card:hover { text-decoration: none; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card span { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: .92rem; display: flex; justify-content: space-between; gap: 6px; box-shadow: var(--shadow-sm); }
.cat-card span small { color: var(--muted); font-weight: 700; }

/* ---- steps / features ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); transform: rotate(-6deg); box-shadow: var(--shadow-sm); }
.step:nth-child(2)::before { background: var(--sky); transform: rotate(5deg); }
.step:nth-child(3)::before { background: var(--mint); transform: rotate(-3deg); }
.step h3 { margin-top: 6px; }
.step p { margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ffe8ec; color: var(--accent-text); }
.feature:nth-child(4n+2) .ic { background: #e2f2ff; color: #1767b3; }
.feature:nth-child(4n+3) .ic { background: #dcf8f1; color: #0b7f68; }
.feature:nth-child(4n+4) .ic { background: #fff4cc; color: #8a5a00; }
.feature h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 46px; color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2) 55%, var(--sun)); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .95; max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--ink); }
.cta-band::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .18); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 32px; } }

/* ---- footer ---- */
.site-footer { margin-top: 40px; background: #161b29; color: rgba(255, 255, 255, .78); padding-top: 54px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-film { height: 16px; background: radial-gradient(circle at 10px 8px, #161b29 4px, transparent 4.5px) 0 0 / 22px 16px repeat-x, #262d40; margin-top: -54px; margin-bottom: 46px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid .brand { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); margin: 6px 0 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 20px 30px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: var(--shadow); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---- lightbox (site.js) ---- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(18, 22, 34, .92); }
.lb-open { display: flex; }
.lb-fig { margin: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 72px; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px #000; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.lb-btn { position: absolute; z-index: 1; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; font-size: 1.6rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }
@media (max-width: 600px) { .lb-fig { padding: 56px 12px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---- prose pages (privacy, terms, help) ---- */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.error-page { text-align: center; }
.error-page h1 { font-size: 5rem; color: var(--accent-text); }

/* ---- reveal ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }
.only-mobile { display: none; }
@media (max-width: 920px) { .only-mobile { display: block; } }
.center-row { justify-content: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
a.feature { color: var(--ink); transition: transform .15s, box-shadow .15s; }
a.feature:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* sale price (lib/catalog.php catalog_price_html()) */
.price-wrap { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-old { color: var(--muted); font-weight: 600; font-size: .92rem; }
.price.price-sale { color: var(--accent-text); }
.sale-badge { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; transform: rotate(-3deg); }
.price-big .price { font-size: 2.2rem; }
.price-big .price-old { font-size: 1.1rem; }
.price-big .sale-badge { font-size: .95rem; padding: 4px 10px; }
.sale-until { display: block; width: 100%; font-size: .85rem; color: var(--accent-text); font-weight: 700; }
.price-note { display: block; width: 100%; font-size: .8rem; color: var(--muted); font-weight: 500; }
.sale-flag { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: .82rem; box-shadow: var(--shadow-sm); }
