/* Dukia Shop (shop.dukia.ai): Dukia blue, black and white. Plain CSS: no build step. */
:root {
    --blue: #0EA5E9;
    --blue-dark: #0284C7;
    --blue-soft: #E0F2FE;
    --blue-glow: rgba(14, 165, 233, .35);
    --black: #0F172A;
    /* Dukia AI is orange, as the Ask AI button in the app. */
    --ai: #F4511E;
    --ai-dark: #D8400F;
    --ai-soft: #FFF1EC;
    --ai-line: #FFD2C2;
    --ai-glow: rgba(244, 81, 30, .32);
    --ink: #0F172A;
    --ink-2: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --ok: #10B981;
    --on-blue: #FFFFFF; /* text on --blue: dark when a store's colour is light */
    --warn: #B45309;
    --radius: 16px;
    --header: 64px;
    --side: 264px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px rgba(15, 23, 42, .06);
    --shadow-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 16px 36px rgba(15, 23, 42, .12);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Before Vue starts: plain links (for search engines), hidden once the app is ready. */
.boot { display: flex; flex-direction: column; gap: 6px; padding: 90px 24px; color: var(--muted); font-size: 14px; }
#shop-app.ready .boot { display: none; }
/* Until the app starts: a quiet loader, not the plain list (it stays for search engines and without JavaScript). */
.boot-loading { display: none; }
.js #shop-app:not(.ready) .boot { display: none; }
.js #shop-app:not(.ready) .boot-loading { display: flex; min-height: 70vh; align-items: center; justify-content: center; }
.boot-loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e2e8f0; border-top-color: var(--blue, #0EA5E9); animation: boot-spin .8s linear infinite; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
#shop-app.ready .boot-loading { display: none; }

/* ── Header: black, the Dukia wordmark, Dukia AI in the middle ── */
.top { position: sticky; top: 0; z-index: 30; height: var(--header); display: flex; align-items: center; gap: 16px; padding: 0 22px; background: var(--black); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
/* A thin line in Dukia's two colours under the header. */
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--ai)); opacity: .9; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
/* The logo file has a small tagline under "dukia.ai"; only the wordmark is shown, large enough to read. */
.brand-logo { display: block; height: 30px; overflow: hidden; }
.brand-logo img { height: 52px; width: auto; margin-top: -7px; }
.brand-shop { color: #fff; font-weight: 600; font-size: 15px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .25); letter-spacing: .2px; }
.top-ask { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .15s, border-color .15s, box-shadow .15s; }
.top-ask:focus-within { background: #fff; border-color: var(--ai); box-shadow: 0 0 0 4px rgba(244, 81, 30, .25); }
.top-ask .spark { color: var(--ai); flex: 0 0 auto; }
.top-ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.top-ask input::placeholder { color: #94A3B8; }
.top-ask:focus-within input { color: var(--ink); }
.top-ask button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ai); color: #fff; font-weight: 700; flex: 0 0 auto; transition: background .15s; }
.top-ask button:hover { background: var(--ai-dark); }
.top-ask button:disabled { background: rgba(255, 255, 255, .15); cursor: default; }
.top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.sell-link { font-size: 14px; font-weight: 500; color: #E2E8F0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; padding: 8px 14px; transition: all .15s; }
.sell-link:hover { color: var(--black); background: #fff; border-color: #fff; }
.cart-button, .menu-button { position: relative; border: 0; background: var(--blue); color: var(--on-blue); border-radius: 10px; height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; transition: background .15s; }
.cart-button:hover { background: var(--blue-dark); }
.menu-button { display: none; background: rgba(255, 255, 255, .08); width: 40px; padding: 0; justify-content: center; }
.menu-button:hover { background: rgba(255, 255, 255, .16); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ai); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--black); }

/* ── App shell: sidebar + main ── */
.spa .shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); grid-template-rows: var(--header) auto; min-height: 100vh; }
.spa .top { grid-column: 1 / -1; }
.side { position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow-y: auto; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px 24px; display: flex; flex-direction: column; gap: 6px; }
.new-chat { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 14px; background: var(--ai); color: #fff; font-weight: 600; box-shadow: 0 8px 20px -8px var(--ai-glow); transition: background .15s, transform .1s; }
.new-chat:hover { background: var(--ai-dark); }
.new-chat:active { transform: scale(.98); }
.side-section { display: flex; flex-direction: column; padding-top: 10px; }
.side-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 8px 10px 6px; font-weight: 600; }
.side-section a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: background .12s, color .12s; }
.side-section a:hover { background: var(--bg); color: var(--ink); }
.side-section a.active { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.side-section .ico { width: 18px; text-align: center; color: var(--muted); }
.side-section a.ai-link .ico { color: var(--ai); }
.side-section a.ai-link.active { background: var(--ai-soft); color: var(--ai-dark); }
.side-section a.ai-link.active .ico { color: var(--ai); }
.side-section a.active .ico { color: var(--blue-dark); }
.side-section .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-section .label small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.side-section .count { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 8px; }
.side-section .recent { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font-size: 13px; }
.avatar { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.side-foot { margin-top: auto; padding: 16px 10px 0; font-size: 12px; color: var(--muted); }
.side-backdrop { display: none; }
.main { min-width: 0; padding-bottom: 40px; }

/* ── Hero and the ask box ── */
.hero { text-align: center; padding: 56px 20px 10px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--ai-dark); background: var(--ai-soft); font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { margin: 0; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -1.2px; font-weight: 800; }
.hero h1 span { color: var(--ink-2); font-weight: 600; font-size: .78em; letter-spacing: -.6px; }
.hero h1 em { font-style: normal; color: var(--ai); }
.ask-wrap { max-width: 820px; margin: 0 auto; padding: 18px 20px 8px; }
.ask { position: relative; background: #fff; border: 1.5px solid var(--ai-line); border-radius: 22px; padding: 14px 16px 10px; box-shadow: 0 12px 40px -14px var(--ai-glow), 0 2px 8px rgba(15, 23, 42, .05); transition: border-color .2s, box-shadow .2s; }
.ask:focus-within { border-color: var(--ai); box-shadow: 0 14px 44px -12px var(--ai-glow), 0 0 0 4px rgba(244, 81, 30, .12); }
.ask textarea { width: 100%; border: 0; outline: 0; resize: none; font: inherit; font-size: 16px; color: var(--ink); background: transparent; min-height: 50px; }
.ask-bar { display: flex; align-items: center; justify-content: space-between; }
.ask-hint { font-size: 12px; color: var(--muted); }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--black); color: #fff; display: grid; place-items: center; transition: background .15s, transform .1s; }
.send:hover { background: var(--ai); }
.send:active { transform: scale(.94); }
.send:disabled { background: #CBD5E1; cursor: default; }
.send.small { width: 32px; height: 32px; flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--ai); color: var(--ai-dark); background: var(--ai-soft); }
.ask-wrap.docked { position: sticky; bottom: 0; background: linear-gradient(to top, var(--bg) 72%, rgba(248, 250, 252, 0)); padding-top: 26px; padding-bottom: 16px; z-index: 10; }
.ask-wrap.docked textarea { min-height: 26px; }

/* ── Conversation ── */
.chat { max-width: 980px; margin: 0 auto; padding: 26px 20px 8px; display: flex; flex-direction: column; gap: 18px; }
.msg { display: flex; flex-direction: column; gap: 10px; animation: rise .25s ease-out; }
.msg.user { align-items: flex-end; }
.bubble { max-width: 660px; padding: 11px 15px; border-radius: 18px; word-break: break-word; }
.msg.user .bubble { background: var(--black); color: #fff; border-bottom-right-radius: 5px; white-space: pre-wrap; }
.msg.ai .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: var(--shadow); }
.who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ai-dark); }
.dot-ai { width: 20px; height: 20px; border-radius: 50%; background: var(--ai); color: #fff; display: grid; place-items: center; font-size: 11px; }
.msg.ai .bubble { border-left: 3px solid var(--ai); }
.msg .row, .similar .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.replies { display: flex; flex-wrap: wrap; gap: 8px; }
.typing span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--ai); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ── Product cards ── */
.browse { max-width: 1240px; margin: 0 auto; padding: 32px 20px 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -.4px; }
.see-all { color: var(--blue-dark); font-weight: 600; font-size: 14px; }
.ask-mini { border: 1px solid var(--ai-line); background: var(--ai-soft); color: var(--ai-dark); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.ask-mini:hover { background: var(--ai-line); }
.ai-outline { border: 1px solid var(--ai-line); background: var(--ai-soft); color: var(--ai-dark); border-radius: 12px; padding: 10px 16px; font-weight: 600; transition: all .15s; }
.ai-outline:hover { background: var(--ai); border-color: var(--ai); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; cursor: pointer; border: 1px solid transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #E0F2FE; }
.card .photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #FFFFFF, #F1F5F9); display: grid; place-items: center; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: transform .35s; }
.card:hover .photo img { transform: scale(1.05); }
.no-photo { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.no-photo.big { width: 120px; height: 120px; font-size: 40px; border-radius: 28px; }
.badge-low { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--warn); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; box-shadow: var(--shadow); }
.card .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 500; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card .price { font-weight: 800; font-size: 17px; }
.card .seller { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .add { margin-top: 8px; border: 1px solid var(--black); background: #fff; color: var(--black); border-radius: 10px; padding: 8px; font-weight: 600; font-size: 14px; transition: all .15s; }
.card .add:hover { background: var(--black); color: #fff; }
.card .add.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.card.skeleton { cursor: default; }
.card.skeleton .photo, .card.skeleton .line { background: linear-gradient(90deg, #EEF2F7 25%, #F8FAFC 50%, #EEF2F7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.card.skeleton .line { height: 12px; border-radius: 6px; margin: 4px 0; }
.line.w80 { width: 80%; } .line.w60 { width: 60%; } .line.w40 { width: 40%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.more { text-align: center; margin-top: 22px; }
.more-grid { margin-top: 16px; }
.list-end { height: 1px; }
.outline { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 18px; font-weight: 600; transition: all .15s; }
.outline:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ── Quick view ── */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); animation: rise .2s ease-out; }
.modal .close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.modal h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.4px; margin: 6px 0 8px; }
.cat-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue-dark); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.modal-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.modal-actions .link { color: var(--blue-dark); font-weight: 600; font-size: 14px; }
.similar { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.similar h3 { margin: 0 0 12px; font-size: 16px; }

/* ── Product page and quick view details ── */
.crumbs { max-width: 1200px; margin: 0 auto; padding: 18px 20px 0; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--blue-dark); }
.crumbs span { margin: 0 6px; }
.product-page { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
.gallery-main { background: linear-gradient(180deg, #FFFFFF, #F1F5F9); border-radius: 20px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 12px; background: #fff; padding: 0; width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.details h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.5px; margin: 6px 0 10px; }
.price-big { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.price-big .muted { font-size: 16px; font-weight: 500; }
.seller-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); }
.seller-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock-line { color: var(--ok); font-size: 14px; font-weight: 600; margin-top: 4px; }
.buy-row { display: flex; gap: 12px; margin: 22px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 46px; border: 0; background: transparent; font-size: 20px; color: var(--ink-2); }
.qty button:hover { color: var(--blue-dark); }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; font-weight: 700; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.small { width: max-content; margin-top: 6px; }
.qty.small button { width: 30px; height: 32px; font-size: 16px; }
.qty.small input { width: 38px; }
.primary { flex: 1; border: 0; border-radius: 12px; background: var(--blue); color: var(--on-blue); font-weight: 700; font-size: 16px; padding: 12px 20px; transition: background .15s, transform .1s; box-shadow: 0 8px 20px -10px var(--blue-glow); }
.primary:hover { background: var(--blue-dark); }
.primary:active { transform: scale(.99); }
.primary:disabled { background: #7DD3FC; cursor: default; }
.description { white-space: pre-wrap; color: var(--ink-2); }
.ask-about { background: var(--ai-soft); border: 1px solid var(--ai-line); border-radius: 14px; padding: 14px; margin: 22px 0 10px; }
.ask-about b { color: var(--ai-dark); }
.ask-about form { display: flex; gap: 8px; margin-top: 8px; }
.ask-about input { flex: 1; border: 1px solid var(--ai-line); border-radius: 10px; padding: 8px 12px; font: inherit; outline: 0; background: #fff; }
.ask-about input:focus { border-color: var(--ai); }
.ask-about .send { background: var(--ai); }
.ask-about .send:hover { background: var(--ai-dark); }

/* ── Cart drawer ── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 41; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(15, 23, 42, .18); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: var(--header); background: var(--black); color: #fff; }
.drawer-head h2 { margin: 0; font-size: 18px; }
.drawer-head .icon-button { background: rgba(255, 255, 255, .1); color: #fff; }
.icon-button { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 10px; font-size: 22px; line-height: 1; color: var(--ink-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; }
.seller-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.seller-group h3 { font-size: 13px; margin: 0 0 8px; color: var(--ink-2); font-weight: 700; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; }
.line .thumb { width: 56px; height: 56px; border-radius: 10px; background: #F1F5F9; overflow: hidden; display: grid; place-items: center; }
.line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.line .thumb .no-photo { width: 40px; height: 40px; font-size: 14px; border-radius: 10px; }
.line .title { font-size: 14px; font-weight: 500; line-height: 1.3; }
.line .sub { font-size: 13px; color: var(--muted); }
.line .end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.line .remove { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 0; }
.line .remove:hover { color: #DC2626; }
.totals { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; padding: 14px 0 4px; }
.checkout { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.checkout label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.checkout input, .checkout textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; outline: 0; transition: border-color .15s, box-shadow .15s; }
.checkout input:focus, .checkout textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); }
.notice { background: var(--blue-soft); color: #075985; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.error { color: #DC2626; font-size: 13px; }
.done { text-align: center; padding: 30px 6px; }
.done h3 { margin: 0 0 6px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #D1FAE5; color: var(--ok); font-size: 34px; display: grid; place-items: center; margin: 0 auto 14px; }
.done .tick.soft { background: var(--blue-soft); color: var(--blue-dark); font-size: 28px; }

/* ── Footer, toast and transitions ── */
.foot { max-width: 1200px; margin: 0 auto; padding: 30px 20px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.foot a:hover { color: var(--blue-dark); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--black); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 60; box-shadow: var(--shadow-lg); }
.fade-enter-active, .fade-leave-active { transition: opacity .2s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }
.slide-enter-active, .slide-leave-active { transition: transform .25s ease, opacity .25s; }
.slide-enter-from, .slide-leave-to { transform: translateX(40px); opacity: 0; }
.pop-enter-active { transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.pop-enter-from { transform: scale(.5); opacity: 0; }
.rise-enter-active { transition: opacity .3s, transform .3s; }
.rise-enter-from { opacity: 0; transform: translateY(10px); }
.rise-leave-active { display: none; }

@media (max-width: 1023px) {
    .spa .shell { grid-template-columns: minmax(0, 1fr); }
    .menu-button { display: flex; }
    .top-ask { display: none; }
    .side { position: fixed; top: var(--header); left: 0; bottom: 0; height: auto; width: min(300px, 86vw); z-index: 35; transform: translateX(-100%); transition: transform .25s ease, box-shadow .25s; }
    .side.open { transform: none; box-shadow: 10px 0 40px rgba(15, 23, 42, .15); }
    .side-backdrop { display: block; position: fixed; inset: var(--header) 0 0 0; background: rgba(15, 23, 42, .4); z-index: 34; }
}
@media (max-width: 860px) {
    .product-page, .modal-grid { grid-template-columns: 1fr; gap: 20px; }
    .modal { padding: 18px; }
}
@media (max-width: 560px) {
    .top { padding: 0 12px; gap: 10px; }
    .brand-logo { height: 24px; }
    .brand-logo img { height: 42px; margin-top: -6px; }
    .brand-shop { font-size: 13px; padding-left: 8px; }
    .sell-link, .cart-label { display: none; }
    .cart-button { padding: 0 11px; }
    .hero { padding-top: 34px; }
    .ask-wrap, .browse, .chat { padding-left: 12px; padding-right: 12px; }
    .grid, .msg .row, .similar .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card .info { padding: 10px; }
    .card .price { font-size: 15px; }
    .bubble { max-width: 92%; }
    .modal-backdrop { padding: 0; align-items: end; }
    .modal { border-radius: 22px 22px 0 0; max-height: 92vh; }
}

/* ── Checkout (cart drawer, step 2) ── */
.drawer { transition: width .2s ease; }
.drawer.wide { width: min(560px, 100%); }
.drawer-head { gap: 10px; }
.drawer-head h2 { flex: 1; }
.drawer-head .back { font-size: 18px; }
.steps-mini { display: flex; gap: 4px; font-size: 11px; font-weight: 600; }
.steps-mini span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #94A3B8; }
.steps-mini span.on { background: var(--blue); color: var(--on-blue); }
.avatar.sm { width: 20px; height: 20px; font-size: 10px; border-radius: 6px; display: inline-grid; margin-right: 6px; vertical-align: -4px; }
.seller-group h3 small { color: var(--muted); font-weight: 500; }
.sum-box { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 3px 0; }
.sum-row.muted, .sum-row .muted { color: var(--muted); font-size: 13px; }
.sum-row.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.primary.block { display: block; width: 100%; }
.center { text-align: center; }
.small { font-size: 12px; }
.checkout { gap: 0; margin-top: 4px; }
.ck-section { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.ck-section h4 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.ck-section h4 .n { width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: #fff; font-size: 12px; display: grid; place-items: center; }
.ck-section.summary { background: var(--bg); }
.sum-seller { border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.choice-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s; font-weight: 400 !important; color: var(--ink) !important; }
.choice input { display: none; }
.choice .ic { font-size: 22px; }
.choice small { color: var(--muted); font-size: 12px; }
.choice.on { border-color: var(--blue); background: var(--blue-soft); }
.locate { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--blue); background: var(--blue-soft); color: var(--blue-dark); border-radius: 12px; padding: 11px; font-weight: 600; font-size: 14px; }
.locate:hover { background: #BAE6FD; }
.locate:disabled { opacity: .7; }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ck-find { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 8px; }
.ck-find.solo { grid-template-columns: 1fr; }
.ck-find .locate { white-space: nowrap; padding: 11px 14px; }
.ck-search { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; }
.ck-search:focus { outline: none; border-color: var(--blue); }
/* Google's suggestions list sits on top of the cart drawer. */
.pac-container { z-index: 100; border-radius: 10px; margin-top: 4px; font-family: inherit; }
.map { height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #EEF2F7; z-index: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px !important; cursor: pointer; font-weight: 500 !important; color: var(--ink-2) !important; flex-direction: row !important; }
.pill input { display: none; }
.pill.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark) !important; }
.mt8 { margin-top: 2px; }
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; cursor: pointer; font-size: 13px !important; flex-direction: row !important; justify-content: center; color: var(--ink) !important; }
.pay input { display: none; }
.pay.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark) !important; }
.placed-list { background: var(--bg); border-radius: 12px; padding: 8px 12px; margin: 12px 0; text-align: left; }
.placed-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.ck-place { background: var(--blue-soft, #E0F2FE); border-radius: 10px; padding: 8px 12px; font-size: 13px; margin: 8px 0 0; }
@media (max-width: 560px) {
    .pay-grid { grid-template-columns: 1fr 1fr; }
    .choice-2 { grid-template-columns: 1fr 1fr; }
    .steps-mini { display: none; }
}

/* ── A seller's own store (/s/{id}-{name}) ── */
.store-brand { gap: 10px; min-width: 0; }
.store-logo { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--black); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; overflow: hidden; }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-logo.big { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; background: var(--black); color: #fff; box-shadow: var(--shadow); }
.store-name { display: flex; flex-direction: column; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.15; min-width: 0; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-name small { font-weight: 500; font-size: 11px; color: rgba(255, 255, 255, .6); }
.store-hero { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; margin-bottom: 12px; }
.hero h1.store-title { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.8px; }
.store-meta { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.store-about { max-width: 620px; margin: 0 auto 18px; color: var(--ink-2); font-size: 15px; }
.hero h1.store-ask { font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.4px; font-weight: 700; }
.hero h1.store-ask span { font-size: 1em; }
.side-shop-link { display: inline-block; margin-top: 8px; color: var(--blue-dark); font-weight: 600; }
.visit-store { margin-left: auto; color: var(--blue-dark); font-weight: 600; font-size: 13px; }
@media (max-width: 640px) { .store-name { max-width: 150px; } .store-hero { gap: 12px; } .store-logo.big { width: 52px; height: 52px; font-size: 22px; } }
/* Long store names wrap instead of widening the page. */
.top .store-brand { flex: 1 1 auto; }
.store-hero > div { min-width: 0; }
.hero h1.store-title { overflow-wrap: anywhere; }
@media (max-width: 640px) { .store-hero { justify-content: flex-start; } .hero h1.store-title { font-size: 24px; } }

/* The page as search engines read it (and visitors without JavaScript), before the app starts. */
.boot { max-width: 960px; margin: 0 auto; color: var(--ink-2); }
.boot h1 { font-size: 28px; color: var(--ink); margin: 0 0 6px; }
.boot h2 { font-size: 18px; color: var(--ink); margin: 18px 0 6px; }
.boot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.boot a { color: var(--blue-dark); }
.boot-products img { display: inline-block; width: 40px; height: 40px; object-fit: cover; border-radius: 8px; vertical-align: middle; margin-right: 8px; }
.card a.name { color: inherit; }

/* A store's own details (My Business → Shop page): the tagline under its name, and its footer. */
.store-tagline { margin: 2px 0 0; color: var(--blue-dark); font-weight: 600; font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════
   The 2026 look: glass, soft light and the shop's own colour (--blue is the
   store's colour on a store page, Dukia blue elsewhere). Laid over the rules
   above, so the layout and behaviour stay the same.
   ══════════════════════════════════════════════════════════════════════ */
:root {
    --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    --tint: color-mix(in srgb, var(--blue) 14%, transparent);
    --tint-2: color-mix(in srgb, var(--blue) 26%, transparent);
    --grad: linear-gradient(135deg, color-mix(in srgb, var(--blue) 78%, #fff) 0%, var(--blue) 45%, var(--blue-dark) 100%);
    --glass: rgba(255, 255, 255, .72);
    --glass-line: rgba(15, 23, 42, .07);
    --radius: 20px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 24px 48px -18px rgba(15, 23, 42, .22);
}
body {
    background:
        radial-gradient(900px 520px at 85% -10%, var(--tint), transparent 60%),
        radial-gradient(700px 480px at -5% 20%, color-mix(in srgb, var(--ai) 7%, transparent), transparent 60%),
        #F5F7FB;
    background-attachment: fixed;
}
h1, h2, h3, .card .price, .price-big, .store-name, .sf-grid h3 { font-family: var(--display); }

/* Header: dark glass in the shop's colour, a glowing line under it. */
.top {
    background: color-mix(in srgb, var(--black) 96%, transparent);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.top::after { height: 1px; bottom: 0; background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--ai) 70%, transparent); opacity: 1; box-shadow: 0 0 18px 1px var(--blue-glow); }
.store-logo { border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 6px 18px -6px var(--blue-glow); }
.cart-button { background: var(--grad); border-radius: 12px; box-shadow: 0 8px 22px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.cart-button:hover { background: var(--grad); filter: brightness(1.08); }
.top-ask { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }

/* Side menu: frosted. */
.side { background: rgba(255, 255, 255, .66); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-right: 1px solid var(--glass-line); }
.new-chat { border-radius: 14px; background: linear-gradient(135deg, var(--ai), #FF7A45); box-shadow: 0 10px 26px -10px var(--ai-glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.new-chat:hover { background: linear-gradient(135deg, var(--ai-dark), var(--ai)); }
.side-section a { border-radius: 12px; }
.side-section a:hover { background: rgba(15, 23, 42, .04); }
.side-section a.active { background: linear-gradient(90deg, var(--tint-2), var(--tint)); color: var(--blue-dark); box-shadow: inset 3px 0 0 var(--blue); }
.side-section .count { background: rgba(15, 23, 42, .05); font-weight: 600; }
.side-section h4 { letter-spacing: 1.2px; font-size: 10.5px; }

/* Hero: soft light in the shop's colour behind it. */
.hero { position: relative; padding-top: 64px; }
.hero::before {
    content: ''; position: absolute; inset: -40px 0 auto; height: 420px; z-index: -1; pointer-events: none;
    background:
        radial-gradient(420px 220px at 30% 40%, var(--tint-2), transparent 70%),
        radial-gradient(360px 200px at 70% 30%, color-mix(in srgb, var(--ai) 14%, transparent), transparent 70%);
    filter: blur(10px); animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translateX(-3%) scale(1); } to { transform: translateX(3%) scale(1.06); } }
.hero h1 { letter-spacing: -1.6px; }
.hero h1.store-title { background: linear-gradient(120deg, var(--ink) 30%, var(--blue-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(30px, 4vw, 46px); }
.store-logo.big {
    width: 76px; height: 76px; border-radius: 24px; background: #fff; color: var(--blue-dark);
    box-shadow: 0 0 0 1px var(--glass-line), 0 0 0 6px var(--tint), 0 18px 40px -16px var(--blue-glow);
}
.store-tagline { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 14px; }
.store-about { font-size: 16px; color: var(--ink-2); }
.hero h1 em { background: linear-gradient(135deg, var(--ai), #FF9A5A); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The ask box: a glowing edge. */
.ask {
    border: 1.5px solid transparent; border-radius: 26px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--blue), var(--ai)) border-box;
    box-shadow: 0 24px 60px -28px var(--blue-glow), 0 12px 30px -20px var(--ai-glow);
}
.ask:focus-within { border-color: transparent; box-shadow: 0 28px 70px -26px var(--blue-glow), 0 0 0 5px var(--tint); }
.send { background: var(--grad); color: var(--on-blue); box-shadow: 0 8px 18px -8px var(--blue-glow); }
.send:hover { background: var(--grad); filter: brightness(1.1); }
.chip { background: var(--glass); backdrop-filter: blur(8px); border-color: var(--glass-line); font-weight: 500; }
.chip:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--tint); }

/* Sections and product cards. */
.section-head h2 { font-size: 24px; letter-spacing: -.6px; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: var(--grad); }
.see-all { padding: 6px 12px; border-radius: 999px; background: var(--tint); }
.grid { gap: 18px; }
.card { border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--blue) 35%, transparent); box-shadow: 0 30px 50px -28px var(--blue-glow), var(--shadow-lg); }
.card .photo { background: radial-gradient(circle at 50% 35%, #fff, #EEF2F7); }
.badge-low { background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); border: 1px solid rgba(180, 83, 9, .15); }
.card .info { padding: 14px 16px 16px; }
.card .price { font-size: 18px; letter-spacing: -.3px; }
.card .add { border-radius: 12px; border: 1.5px solid var(--glass-line); background: rgba(15, 23, 42, .03); color: var(--ink); }
.card .add:hover, .card:hover .add { background: var(--grad); border-color: transparent; color: var(--on-blue); box-shadow: 0 10px 22px -12px var(--blue-glow); }
.card .add.added { background: var(--ok); color: #fff; }
.primary { background: var(--grad); border-radius: 14px; box-shadow: 0 14px 30px -14px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.primary:hover { background: var(--grad); filter: brightness(1.08); }
.modal, .drawer { border: 1px solid var(--glass-line); }
.modal { border-radius: 28px; }
.drawer-head { background: color-mix(in srgb, var(--black) 92%, transparent); }

/* ── The store's footer: deep colour from the shop, the whole width under the menu ── */
.spa .store-foot { grid-column: 1 / -1; }
.store-foot {
    position: relative; z-index: 1; overflow: hidden; margin-top: 30px; color: rgba(255, 255, 255, .74); font-size: 15px;
    background:
        radial-gradient(700px 320px at 10% 0%, color-mix(in srgb, var(--blue) 38%, transparent), transparent 70%),
        radial-gradient(600px 300px at 95% 100%, color-mix(in srgb, var(--ai) 18%, transparent), transparent 70%),
        linear-gradient(160deg, var(--black) 20%, color-mix(in srgb, var(--black) 72%, #000));
}
.store-foot::before { /* a faint grid, for depth */
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.store-foot > * { position: relative; }
.store-foot a { color: rgba(255, 255, 255, .74); transition: color .15s; }
.store-foot a:hover { color: #fff; }
.store-foot b { color: #fff; font-weight: 600; }

/* The promises: glass tiles with glowing icons. */
.sf-promise-in { max-width: 1320px; margin: 0 auto; padding: 34px 28px 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sf-p { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); transition: transform .2s, background .2s; }
.sf-p:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); }
.sf-p svg { flex: 0 0 auto; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--grad); fill: none; stroke: var(--on-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 10px 24px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.sf-p b { display: block; font-family: var(--display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; line-height: 1.25; }
.sf-p small { display: block; margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.sf-p small a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }

/* The columns. */
.sf-grid { max-width: 1320px; margin: 0 auto; padding: 40px 28px 34px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.sf-grid h3 { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.1px; margin: 4px 0 18px; padding-bottom: 12px; position: relative; }
.sf-grid h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px var(--blue-glow); }
.sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; min-width: 0; }
.sf-col > a:not(.sf-wa):not(.sf-social):hover { transform: translateX(3px); }
.sf-col > a { transition: color .15s, transform .15s; }
.sf-logo { display: inline-block; margin-bottom: 14px; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.sf-logo img { display: block; max-height: 64px; max-width: 200px; object-fit: contain; }
.sf-name { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px; }
.sf-tagline { margin: 0 0 16px; color: color-mix(in srgb, var(--blue) 45%, #fff); font-weight: 600; }
.sf-line { margin: 0 0 9px; overflow-wrap: anywhere; line-height: 1.6; }
.sf-more { margin-left: 4px; font-weight: 700; color: #fff !important; white-space: nowrap; }
.sf-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sf-icons a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .2s, transform .2s, box-shadow .2s; }
.sf-icons a:hover { background: var(--grad); color: var(--on-blue); border-color: transparent; transform: translateY(-3px); box-shadow: 0 12px 24px -10px var(--blue-glow); }
.sf-social { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.sf-social .social-icon { flex: 0 0 auto; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.sf-social:hover .social-icon { background: var(--grad); color: var(--on-blue); }
.sf-social span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sf-social b { font-size: 14.5px; }
.sf-social small { color: rgba(255, 255, 255, .55); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-phone { font-size: 15px; }
.sf-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; background: linear-gradient(135deg, #25D366, #12B76A); color: #fff !important; border-radius: 14px; padding: 11px 18px; font-weight: 700; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .7); transition: transform .2s, filter .2s; }
.sf-wa:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sf-wa .social-icon { width: 18px; height: 18px; }

.sf-bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
.sf-bottom-in { max-width: 1320px; margin: 0 auto; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.sf-bottom a { white-space: nowrap; color: rgba(255, 255, 255, .6); }

@media (max-width: 1100px) { .sf-promise-in { grid-template-columns: repeat(2, 1fr); } .sf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .sf-promise-in { grid-template-columns: 1fr; gap: 10px; padding: 24px 16px 4px; }
    .sf-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px 16px 24px; }
    .sf-bottom-in { flex-direction: column; align-items: flex-start; padding: 16px; }
    .hero::before { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } .card, .sf-p, .sf-icons a { transition: none; } }

/* A store in its own colour: the top bar is that colour, so its buttons there are glass, not the colour again. */
.themed .cart-button { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.themed .cart-button:hover { background: rgba(255, 255, 255, .26); filter: none; }
.themed .top::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); box-shadow: none; }
.themed .store-foot { background:
        radial-gradient(700px 320px at 10% 0%, color-mix(in srgb, var(--blue) 45%, transparent), transparent 70%),
        linear-gradient(160deg, var(--black) 20%, color-mix(in srgb, var(--black) 72%, #000)); }

/* The store header, centred: logo, name, line, location and products, description. */
.store-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; max-width: 760px; margin: 0 auto 26px; }
.store-hero > div { min-width: 0; }
.store-hero .store-logo.big { width: 92px; height: 92px; border-radius: 26px; margin-bottom: 18px; }
.store-hero .store-logo.big img { object-fit: contain; padding: 6px; background: #fff; }
.hero .store-hero h1.store-title { margin: 0; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -1.4px; text-wrap: balance; overflow-wrap: anywhere; }
.store-hero .store-tagline { margin: 12px 0 0; }
.store-hero .store-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.store-meta-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--glass-line); color: var(--ink-2); font-size: 13.5px; font-weight: 500; backdrop-filter: blur(6px); }
.store-meta-item svg { color: var(--blue-dark); flex: 0 0 auto; }
.store-hero .store-about { margin: 18px auto 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero h1.store-ask { margin-top: 6px; }
@media (max-width: 640px) {
    .store-hero { margin-bottom: 18px; }
    .store-hero .store-logo.big { width: 76px; height: 76px; border-radius: 22px; margin-bottom: 14px; }
    .hero .store-hero h1.store-title { font-size: 28px; letter-spacing: -.8px; }
    .store-hero .store-about { font-size: 15px; }
}
/* The store's name in the top bar: room for long names on wider screens, "…" when it still does not fit. */
@media (min-width: 900px) { .store-name { max-width: 420px; } }
.store-name { text-overflow: ellipsis; }

/* The shop's own look (My Business → Online shop → Look): a line across the top, a cover photo, the logo's shape. */
.store-announce { background: var(--blue); color: var(--on-blue); text-align: center; font-size: 13px; font-weight: 600; padding: 7px 14px; line-height: 1.35; }
.store-cover { height: clamp(130px, 22vw, 240px); margin: -8px 0 18px; border-radius: 18px; background: var(--blue-soft) center / cover no-repeat; box-shadow: var(--shadow); }
.shape-circle .store-logo { border-radius: 50%; }
.shape-square .store-logo { border-radius: 4px; }
@media (max-width: 640px) { .store-cover { border-radius: 14px; margin-bottom: 14px; } }

/* ══════════════════════════════════════════════════════════════════════
   The new Dukia look (as the business app's new design, menu2 / ui-new.css):
   a light top bar, a light menu of rounded pills (the open page a solid pill
   in the shop's colour), calm cards. Laid over everything above; each store
   keeps its own colour (--blue).
   ══════════════════════════════════════════════════════════════════════ */
:root {
    --nd-bg: #F5F7FA;
    --nd-menu: #F2F4F7;
    --nd-ink: #1A1A1A;
    --nd-mute: #6E6E73;
    --nd-line: #E6EAF0;
}
body { background: var(--nd-bg); }

/* Top bar: white, a thin line under it */
.top, .themed .top { background: #fff; color: var(--nd-ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-bottom: 1px solid var(--nd-line); }
.top::after, .themed .top::after { display: none; }
.menu-button { background: var(--nd-menu); color: var(--nd-ink); border-radius: 999px; }
.menu-button:hover { background: #E7EBF0; }
.brand-shop { color: var(--nd-ink); border-left-color: var(--nd-line); }
.store-name { color: var(--nd-ink); }
.store-name small { color: var(--nd-mute); }
.store-logo { box-shadow: 0 0 0 1px var(--nd-line); }
.sell-link { color: var(--nd-ink); border-color: var(--nd-line); border-radius: 999px; }
.sell-link:hover { background: var(--nd-menu); color: var(--nd-ink); }
.top-ask { background: var(--nd-menu); border: 1px solid var(--nd-line); }
.top-ask input { color: var(--nd-ink); }
.top-ask input::placeholder { color: var(--nd-mute); }
.top-ask button:disabled { background: #D9DEE5; }
.cart-button, .themed .cart-button { background: var(--blue); color: var(--on-blue); border-radius: 999px; box-shadow: 0 8px 20px -12px var(--blue-glow); }
.cart-button:hover, .themed .cart-button:hover { background: var(--blue-dark); filter: none; }

/* Menu: light, pills, icons */
.side { background: var(--nd-menu); backdrop-filter: none; -webkit-backdrop-filter: none; border-right: 1px solid var(--nd-line); padding: 18px 12px 24px; }
.new-chat { border-radius: 999px; padding: 11px 16px; }
.side-section { padding-top: 6px; }
.side-section h4 { margin: 16px 14px 6px; font-size: 11px; letter-spacing: .09em; color: var(--nd-mute); }
.side-section a { gap: 12px; padding: 9px 14px; border-radius: 999px; color: var(--nd-ink); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
.side-section a .ico { width: auto; flex: 0 0 auto; color: var(--nd-ink); transition: color .2s; }
.side-section a:hover { background: #fff; color: var(--nd-ink); box-shadow: 0 2px 8px -4px rgba(26, 26, 26, .14); }
.side-section a:hover .ico { color: var(--blue); }
.side-section a.active, .side-section a.ai-link.active { background: var(--blue); color: var(--on-blue); font-weight: 600; box-shadow: 0 8px 20px -12px var(--blue-glow); }
.side-section a.active .ico, .side-section a.ai-link.active .ico { color: var(--on-blue); }
.side-section a.ai-link .ico { color: var(--ai); }
.side-section a.recent { display: flex; font-size: 13px; color: var(--nd-mute); font-weight: 400; }
.side-section a.recent .ico { color: var(--nd-mute); }
.side-section .label small { color: var(--nd-mute); }
.side-section .count { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--nd-ink); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; line-height: 1; }
.side-section a.active .count { background: #fff; color: var(--blue-dark); }
.side-section .avatar { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--nd-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 1px var(--nd-line); flex: 0 0 auto; }
.side-find { position: relative; display: block; margin: 0 6px 6px; }
.side-find svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--nd-mute); }
.side-find input { width: 100%; padding: 8px 12px 8px 34px; border-radius: 12px; border: 1px solid transparent; background: #fff; color: var(--nd-ink); font: inherit; font-size: 13px; outline: none; box-shadow: 0 1px 2px rgba(17, 17, 20, .05); }
.side-find input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--tint); }
.side-foot { color: var(--nd-mute); padding: 16px 14px 0; }

/* Cards and lists: calmer */
.card { border-radius: 18px; border: 1px solid var(--nd-line); box-shadow: 0 1px 2px rgba(17, 17, 20, .04), 0 8px 24px -16px rgba(17, 17, 20, .18); }
.card:hover { box-shadow: 0 1px 2px rgba(17, 17, 20, .04), 0 18px 36px -18px rgba(17, 17, 20, .28); }
.section-head h2 { color: var(--nd-ink); letter-spacing: -.01em; }
.see-all { color: var(--blue-dark); font-weight: 600; }
.chip { border-radius: 999px; }
.outline { border-radius: 999px; }

/* Speaking and photos in the ask box */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ask-bar { gap: 6px; }
.ask-hint, .ask-status { margin-right: auto; min-width: 0; }
.ask-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ai-dark); }
.ask-status .spin { width: 14px; height: 14px; }
.ask-status.rec i { width: 9px; height: 9px; border-radius: 50%; background: #EF4444; animation: rec-blink 1s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .25; } }
.ask-tool { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--nd-line); background: var(--nd-menu); color: var(--nd-ink); display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.ask-tool:hover:not(:disabled) { background: #fff; color: var(--ai); }
.ask-tool:disabled { opacity: .45; cursor: default; }
.ask-tool.mic.on { background: #EF4444; border-color: #EF4444; color: #fff; animation: mic-pulse 1.4s ease-out infinite; }
@keyframes mic-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); } 100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); } }
.bubble-photo { display: block; max-width: 220px; max-height: 220px; border-radius: 14px; margin-bottom: 6px; object-fit: cover; }
@media (max-width: 640px) { .ask-hint { display: none; } }

/* Bottom right, as Ask AI in the business app: the orange mic and the green "Ask AI" */
.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 14px; }
.fab-mic { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #FF9A3D, #F4511E); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(244, 81, 30, .4); transition: transform .15s; }
.fab-mic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(244, 81, 30, .55); animation: fab-ring 2.4s ease-out infinite; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.fab-mic:hover { transform: translateY(-2px) scale(1.05); }
.fab-mic.on { background: #EF4444; }
.fab-ask { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 0; border-radius: 30px; background: linear-gradient(135deg, #FF9A3D, #F4511E); color: #fff; font: inherit; font-weight: 700; font-size: 15px; box-shadow: 0 10px 26px -6px rgba(244, 81, 30, .55); transition: transform .15s; }
.fab-ask::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(244, 81, 30, .5); animation: fab-ring 2.6s ease-out infinite; pointer-events: none; }
.fab-ask:hover { transform: translateY(-2px); }
.fab-status { position: fixed; right: 22px; bottom: 84px; z-index: 40; max-width: 280px; padding: 9px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--nd-line); color: var(--nd-ink); font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px -14px rgba(17, 17, 20, .4); }
.fab-status.rec { color: #DC2626; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 39; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--nd-line); background: #fff; color: var(--nd-ink); display: grid; place-items: center; box-shadow: 0 10px 26px -12px rgba(17, 17, 20, .4); transition: bottom .2s, transform .15s; }
.to-top:hover { transform: translateY(-2px); color: var(--blue-dark); }
.to-top.high { bottom: 86px; right: 25px; }
@media (max-width: 640px) {
    .fabs { right: 14px; bottom: 14px; gap: 10px; }
    .fab-ask { padding: 11px 15px; font-size: 14px; }
    .fab-status { right: 14px; bottom: 72px; }
    .to-top { right: 14px; bottom: 14px; }
    .to-top.high { bottom: 74px; right: 17px; }
}
@media (prefers-reduced-motion: reduce) { .fab-ask::after, .ask-tool.mic.on { animation: none; } }

/* Product pictures with rounded corners everywhere in the shop */
/* The picture itself, rounded, filling its square: no frame or padding around it. */
.card .photo { background: none !important; margin: 10px 10px 0; border-radius: 14px; }
.card .photo img { padding: 0 !important; object-fit: cover; border-radius: 14px; mix-blend-mode: normal; }
.gallery-main { background: none !important; }
.gallery-main img { padding: 0 !important; object-fit: cover; border-radius: 16px; mix-blend-mode: normal; }
.line .thumb { background: none; }
.line .thumb img { object-fit: cover; border-radius: 10px; }
.gallery-main { border-radius: 16px; overflow: hidden; }
.gallery-thumbs img, .gallery-thumbs button, .line img, .line .thumb, .drawer img { border-radius: 10px; }

/* Menu: the menu button on every screen; on big screens it folds the menu away and back. */
.menu-button { display: flex; }
@media (min-width: 1024px) {
    .spa .shell { transition: grid-template-columns .25s ease; }
    .spa .shell.side-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
    .shell.side-collapsed .side { visibility: hidden; padding-left: 0; padding-right: 0; border-right: 0; overflow: hidden; }
}
/* The menu's scrollbar: thin, and only while the pointer is over the menu. */
.side { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.side:hover, .side:focus-within { scrollbar-color: rgba(15, 23, 42, .22) transparent; }
.side::-webkit-scrollbar { width: 6px; }
.side::-webkit-scrollbar-track { background: transparent; }
.side::-webkit-scrollbar-thumb { background: transparent; border-radius: 999px; }
.side:hover::-webkit-scrollbar-thumb, .side:focus-within::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, .22); }
.side-no-extra { display: block; margin-bottom: 4px; color: var(--nd-ink, #1a1a1a); font-weight: 600; }
