:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

/* Customer reviews */
.review-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(440px,1.18fr);gap:clamp(28px,5vw,72px);align-items:start}.review-intro{position:sticky;top:110px}.review-intro h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:.98;margin:.35rem 0 1rem}.review-intro>p{color:var(--muted,#63738b);font-size:1.05rem;line-height:1.7;max-width:540px}.review-store-chip{display:flex;align-items:center;gap:14px;margin-top:30px;padding:16px;border:1px solid var(--border,#dbe7f2);border-radius:18px;background:var(--surface,#fff)}.review-store-chip>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--surface-2,#eef5fc);color:var(--primary,var(--blue,#1769e0));font-weight:900}.review-store-chip div{display:grid;gap:3px}.review-store-chip small,.review-window-note,.review-photo-current{color:var(--muted,#63738b)}.review-form{display:grid;gap:22px;padding:clamp(22px,4vw,38px)}.review-form fieldset{border:0;padding:0;margin:0}.review-form legend,.review-form .field>span{display:block;margin-bottom:11px;color:var(--ink,var(--navy,#10223f));font-weight:800}.review-form legend small,.review-form .field>span small{color:var(--muted,#63738b);font-weight:500}.review-stars>div{display:flex;gap:8px}.review-stars input{position:absolute;opacity:0;pointer-events:none}.review-stars label{display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--border,#dbe7f2);border-radius:15px;background:var(--surface-2,#eef5fc);color:#9fb0c5;font-size:1.8rem;cursor:pointer;transition:.16s ease}.review-stars input:checked~input+label{color:#9fb0c5}.review-stars>div:has(input:checked) label:has(~ input:checked),.review-stars input:checked+label{border-color:#f4b63f;background:#fff7dc;color:#e89b17}.review-tags>div{display:flex;flex-wrap:wrap;gap:9px}.review-tags input{position:absolute;opacity:0}.review-tags span{display:block;padding:10px 14px;border:1px solid var(--border,#dbe7f2);border-radius:999px;background:var(--surface-2,#eef5fc);color:var(--muted,#63738b);font-weight:700;cursor:pointer}.review-tags input:checked+span{border-color:var(--primary,var(--blue,#1769e0));background:#eaf3ff;color:var(--primary,var(--blue,#1769e0))}.review-form textarea,.review-photo input{width:100%}.review-photo{padding:16px;border:1px dashed var(--border,#dbe7f2);border-radius:16px}.review-photo>small{display:block;margin-top:8px;color:var(--muted,#63738b)}.review-window-note{text-align:center;font-size:.85rem}.completed-review-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}.completed-review-card h2{margin:.25rem 0}.completed-review-card p{color:var(--muted,#63738b);margin:.35rem 0 0}.review-summary-stars{display:block;color:#f4b63f;font-size:1.45rem;letter-spacing:2px}.field-error{color:var(--danger,#c94545);font-weight:700}
@media(max-width:760px){.review-layout{grid-template-columns:1fr}.review-intro{position:static}.review-intro h1{font-size:2.7rem}.review-form{padding:20px}.review-stars>div{justify-content:space-between}.review-stars label{width:min(54px,16vw);height:min(54px,16vw)}.completed-review-card{align-items:flex-start;flex-direction:column}.completed-review-card .button{width:100%}}

/* Public product detail */
.storefront-product-detail-shell{display:grid;gap:20px}.storefront-product-detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.storefront-product-detail-topbar a,.storefront-product-detail-topbar button{border:0;background:transparent;color:var(--primary,#287ceb);font-weight:800}.storefront-product-detail-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:28px}.storefront-product-detail-image{position:relative;display:grid;min-height:420px;overflow:hidden;place-items:center;border-radius:28px;background:var(--surface-2,#eef5fc)}.storefront-product-detail-image img{width:100%;height:100%;object-fit:cover}.storefront-product-detail-image>span{color:var(--primary,#287ceb);font-size:4rem;font-weight:900}.storefront-product-detail-image>b{position:absolute;top:16px;left:16px;padding:7px 11px;border-radius:999px;background:#fff;color:#145fc4;font-size:.75rem}.storefront-product-detail-copy{padding:26px;border:1px solid var(--border,#dbe7f2);border-radius:24px;background:var(--surface,#fff)}.storefront-product-detail-copy>p:first-child{margin:0;color:var(--primary,#287ceb);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.storefront-product-detail-copy h1{font-size:clamp(2rem,5vw,3.35rem)}.storefront-product-detail-copy>span{display:block;margin-top:8px;color:var(--muted,#667891)}.storefront-product-detail-copy>strong{display:block;margin-top:18px;color:var(--primary,#287ceb);font-size:1.8rem}.storefront-product-description{color:var(--ink,#10233f);line-height:1.65}.storefront-product-facts{margin:20px 0 0}.storefront-product-facts div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-top:1px solid var(--border,#dbe7f2)}.storefront-product-facts dt{color:var(--muted,#667891)}.storefront-product-facts dd{margin:0;font-weight:800}.storefront-product-action-card,.storefront-product-reviews{padding:22px;border:1px solid var(--border,#dbe7f2);border-radius:22px;background:var(--surface,#fff)}.storefront-product-action-card form{display:grid;grid-template-columns:minmax(180px,1fr) 120px auto;align-items:end;gap:12px}.storefront-product-action-card label{display:grid;gap:7px;font-weight:800}.storefront-product-action-card select,.storefront-product-action-card input{min-height:48px;padding:10px 12px;border:1px solid var(--border,#dbe7f2);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#10233f)}.storefront-product-unavailable{margin:0;color:var(--muted,#667891);text-align:center}.storefront-product-reviews>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.storefront-product-reviews>header p{margin:0;color:var(--primary,#287ceb);font-size:.7rem;font-weight:900;letter-spacing:.12em}.storefront-product-reviews>header h2{margin:5px 0 0}.storefront-product-reviews>header a{color:var(--primary,#287ceb);font-weight:800}.storefront-product-reviews article{padding:16px 0;border-top:1px solid var(--border,#dbe7f2)}.storefront-product-reviews article>div{display:flex;justify-content:space-between;gap:12px}.storefront-product-reviews article span{color:#e89b17}.storefront-product-reviews article p,.storefront-product-no-reviews{color:var(--muted,#667891);line-height:1.6}.storefront-product-copy h3 a{color:inherit}.storefront-product-card>.storefront-product-image{display:flex}
@media(max-width:760px){.storefront-product-detail-hero{grid-template-columns:1fr}.storefront-product-detail-image{min-height:280px}.storefront-product-action-card form{grid-template-columns:1fr}.storefront-product-action-card .button{width:100%}}

* { box-sizing: border-box; }
body { display: flex; min-height: 100vh; margin: 0; flex-direction: column; background: #f8fafc; color: #0f172a; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1 { margin: .25rem 0 0; font-size: clamp(1.9rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -.025em; }

.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e2e8f0; background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { color: #1d4ed8; font-size: 1.25rem; font-weight: 800; }
.header-note, .subtitle { color: #64748b; }
.header-note { font-size: .875rem; }
.main-content { width: 100%; flex: 1 0 auto; padding-block: 2rem; }
.page-stack, .form-stack { display: grid; gap: 1.5rem; }
.page-heading, .detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.eyebrow { margin: 0; color: #2563eb; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.subtitle { margin: .5rem 0 0; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: .55rem; padding: .7rem 1rem; font-size: .875rem; font-weight: 700; }
.button:focus-visible, .link-action:focus-visible, .back-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.button-primary { background: #2563eb; color: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / .12); }
.button-primary:hover { background: #1d4ed8; }
.button-secondary { color: #475569; background: transparent; }
.button-secondary:hover { background: #f1f5f9; color: #0f172a; }

.alert { border: 1px solid; border-radius: .55rem; padding: .8rem 1rem; font-size: .875rem; font-weight: 600; }
.alert-success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.card, .table-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; box-shadow: 0 1px 3px rgb(15 23 42 / .08); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 44rem; border-collapse: collapse; }
th { padding: .8rem 1.25rem; background: #f8fafc; color: #475569; font-size: .75rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
td { padding: 1rem 1.25rem; border-top: 1px solid #f1f5f9; color: #334155; font-size: .875rem; }
tbody tr:hover { background: #f8fafc; }
.text-right { text-align: right; }
.product-name { color: #0f172a; font-weight: 700; }
.product-name:hover, .link-action:hover, .back-link:hover { color: #1d4ed8; }
.product-description { max-width: 28rem; margin: .25rem 0 0; overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.table-actions { display: flex; justify-content: flex-end; gap: .9rem; }
.table-actions form { margin: 0; }
.link-action { border: 0; padding: 0; background: transparent; color: #2563eb; font-size: .875rem; font-weight: 700; }
.link-danger { color: #dc2626; }
.link-danger:hover { color: #991b1b; }
.empty-state { padding-block: 3rem; color: #64748b; text-align: center; }

.form-page { width: min(100%, 42rem); margin-inline: auto; }
.section-heading { margin-bottom: 1.5rem; }
.form-card, .detail-card { padding: 1.5rem; }
.field { display: grid; gap: .45rem; }
.field label { color: #334155; font-size: .875rem; font-weight: 700; }
.input { display: block; width: 100%; border: 1px solid #cbd5e1; border-radius: .55rem; padding: .7rem .8rem; background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgb(15 23 42 / .05); }
.input:focus { border-color: #3b82f6; outline: 3px solid #dbeafe; }
.field-error { margin: 0; color: #dc2626; font-size: .875rem; }
.login-error { margin: -.2rem 0 0; border-radius: .55rem; padding: .7rem .8rem; background: #fef2f2; color: #b91c1c; font-size: .82rem; font-weight: 700; line-height: 1.45; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field-grid > .field { align-self: start; align-content: start; }
.form-actions { display: flex; justify-content: flex-end; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0; }
.back-link { display: inline-block; margin-bottom: 1.25rem; color: #2563eb; font-size: .875rem; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.detail-grid dt { color: #64748b; font-size: .875rem; }
.detail-grid dd { margin: .3rem 0 0; font-size: 1.1rem; font-weight: 700; }
.detail-description { grid-column: 1 / -1; }
.detail-description dd { color: #334155; font-size: 1rem; font-weight: 400; white-space: pre-line; }

@media (max-width: 640px) {
    .header-note { display: none; }
    .page-heading, .detail-heading { align-items: stretch; flex-direction: column; }
    .field-grid, .detail-grid { grid-template-columns: 1fr; }
    .detail-description { grid-column: auto; }
}

/* MyQRDeals marketplace */
:root { --navy: #10223f; --blue: #1769e0; --sky: #eaf3ff; --mint: #22a06b; --orange: #ff8a3d; }
body { background: #fff; }
h2 { margin: .2rem 0 0; font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.025em; }
h3 { margin: 0; }
.main-content { padding: 0; }
.site-header { position: sticky; z-index: 20; top: 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); }
.brand-mark { display: block; width: 2.15rem; height: 2.15rem; border-radius: .55rem; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; color: #42526b; font-size: .88rem; font-weight: 700; }
.nav-links a:hover { color: var(--blue); }
.nav-links form { margin: 0; }
.nav-button { border: 0; padding: 0; background: transparent; color: #42526b; font-weight: 700; }
.nav-login { border: 1px solid #cbd5e1; border-radius: .55rem; padding: .55rem .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.alert-wrap { padding-top: 1rem; }
.hero { overflow: hidden; background: linear-gradient(125deg, #10223f 0%, #12355f 62%, #155694 100%); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: center; min-height: 35rem; padding-block: 4rem; }
.hero h1 { max-width: 44rem; margin: .7rem 0 1.1rem; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .96; }
.hero h1 span { color: #64b5ff; }
.hero-copy { max-width: 37rem; color: #d7e6f7; font-size: 1.15rem; line-height: 1.7; }
.eyebrow-light { color: #8dc7ff; }
.search-bar { display: flex; max-width: 39rem; margin-top: 2rem; padding: .42rem; border-radius: .8rem; background: #fff; box-shadow: 0 18px 50px rgb(0 0 0 / .18); }
.search-bar input { min-width: 0; flex: 1; border: 0; padding: .8rem 1rem; outline: 0; }
.search-bar button { border: 0; border-radius: .55rem; padding: .85rem 1.1rem; background: var(--orange); color: #fff; font-weight: 800; }
.hero-note { color: #9db4cf; font-size: .8rem; }
.phone-card { width: min(100%, 22rem); justify-self: center; padding: 1rem; border: 8px solid #fff; border-radius: 2rem; background: #f7f9fc; color: var(--navy); box-shadow: 0 25px 60px rgb(0 0 0 / .25); transform: rotate(2deg); }
.phone-top { display: flex; justify-content: space-between; padding: .4rem .3rem 1rem; font-size: .75rem; font-weight: 800; }
.mini-banner { display: grid; gap: .35rem; padding: 1.25rem; border-radius: 1rem; background: linear-gradient(135deg, #ff854b, #ffb44a); color: #fff; }
.mini-banner small { font-size: .62rem; letter-spacing: .1em; }
.mini-banner strong { font-size: 1.25rem; }
.phone-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin: 1rem 0; }
.phone-categories span { padding: .65rem .2rem; border-radius: .55rem; background: #eaf3ff; color: #2764a4; font-size: .68rem; text-align: center; }
.mini-merchant { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .8rem; border: 1px solid #e6ebf1; border-radius: .8rem; background: #fff; }
.merchant-avatar { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .6rem; background: #d9e9ff; color: #1257ad; font-weight: 800; }
.mini-merchant small { display: block; margin-top: .2rem; color: #718096; }
.mini-merchant b { color: var(--blue); font-size: .75rem; }
.utility-strip { border-bottom: 1px solid #e7ecf2; background: #fff; }
.utility-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.utility-item { display: flex; gap: .8rem; align-items: center; padding: 1.2rem; border-right: 1px solid #edf1f5; }
.utility-item > span { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .65rem; background: var(--sky); color: var(--blue); font-weight: 900; }
.utility-item strong, .utility-item small { display: block; }
.utility-item strong { font-size: .83rem; }
.utility-item small { margin-top: .15rem; color: #8a96a6; font-size: .68rem; }
.section { padding-block: 4.5rem; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-title > p { color: #758399; }
.section-title.compact { margin-block: 3rem 1.25rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-card { display: grid; gap: .35rem; padding: 1.3rem; border: 1px solid #e4e9f0; border-radius: .9rem; background: #fff; transition: .18s ease; }
.category-card:hover, .category-card.is-selected { border-color: #7cb4fa; box-shadow: 0 10px 30px rgb(29 78 216 / .1); transform: translateY(-2px); }
.category-icon { display: grid; width: 2.8rem; height: 2.8rem; margin-bottom: .5rem; place-items: center; border-radius: .75rem; background: var(--sky); color: var(--blue); font-weight: 900; }
.category-card small { color: #8491a2; }
.soft-section { background: #f5f8fc; }
.vendor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.vendor-card { overflow: hidden; border: 1px solid #e1e7ef; border-radius: 1rem; background: #fff; box-shadow: 0 6px 22px rgb(15 35 65 / .06); }
.vendor-art { position: relative; display: grid; min-height: 10.5rem; place-items: center; background: linear-gradient(135deg, #cae0fa, #edf5ff); }
.vendor-art span { color: #2b639f; font-size: 3rem; font-weight: 900; opacity: .7; }
.vendor-art b { position: absolute; top: .75rem; left: .75rem; padding: .35rem .55rem; border-radius: 2rem; background: #fff; color: var(--blue); font-size: .65rem; text-transform: uppercase; }
.vendor-body { padding: 1.2rem; }
.vendor-body h3 { font-size: 1.2rem; }
.vendor-body > p:not(.vendor-category) { min-height: 2.7rem; color: #68768a; font-size: .88rem; line-height: 1.5; }
.vendor-category { margin: 0 0 .4rem; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vendor-meta { display: flex; justify-content: space-between; padding-top: .8rem; border-top: 1px solid #edf0f4; color: #64748b; font-size: .75rem; }
.text-link { color: var(--blue); font-weight: 700; }
.empty-card { grid-column: 1/-1; padding: 3rem; border: 1px dashed #cbd5e1; border-radius: 1rem; text-align: center; }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.deal-card { padding: 1.4rem; border-radius: .9rem; background: #fff4e8; }
.deal-card:nth-child(2n) { background: #e9f6ef; }
.deal-value { display: inline-block; padding: .3rem .5rem; border-radius: .35rem; background: #fff; color: #cf581d; font-size: .7rem; font-weight: 900; }
.deal-card h3 { margin-top: 1rem; }
.deal-card p, .deal-card small { color: #68768a; }
.roadmap-section { padding-block: 4.5rem; background: var(--navy); color: #fff; }
.roadmap-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 5rem; align-items: center; }
.roadmap-grid p { color: #b7c7d9; line-height: 1.7; }
.roadmap-list { display: grid; gap: .8rem; }
.roadmap-list span { padding: 1rem; border: 1px solid rgb(255 255 255 / .13); border-radius: .7rem; color: #c6d3e2; }
.roadmap-list b { display: block; margin-bottom: .2rem; color: #68b8ff; }
.store-hero { padding-block: 2.5rem 3rem; background: linear-gradient(125deg, #10223f, #174e80); color: #fff; }
.light-link { color: #bed5ec; }
.store-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.store-logo { display: grid; width: 6rem; height: 6rem; place-items: center; border-radius: 1.2rem; background: #fff; color: var(--blue); font-size: 1.7rem; font-weight: 900; }
.store-heading p { margin-bottom: 0; color: #c5d6e7; }
.button-accent { background: var(--orange); color: #fff; }
.store-layout { display: grid; grid-template-columns: 1fr 19rem; gap: 3rem; padding-block: 3rem 5rem; }
.offer-banner { display: grid; gap: .25rem; margin-top: .7rem; padding: 1rem 1.2rem; border-radius: .7rem; background: #fff2e7; color: #ad4918; }
.offer-banner span { color: #725d50; font-size: .85rem; }
.service-list { border-top: 1px solid #e7ebf0; }
.service-list article { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.3rem; border-bottom: 1px solid #e7ebf0; }
.service-image { width: 5rem; height: 5rem; flex: 0 0 auto; border-radius: .65rem; object-fit: cover; }
.service-list p { margin: .4rem 0; color: #69778a; }
.service-list small { color: #8591a1; }
.service-action { display: grid; min-width: 7rem; gap: .65rem; align-content: center; text-align: right; }
.service-action a, .service-action button { width: 100%; border: 0; padding: .45rem .7rem; border-radius: .45rem; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 800; text-align: center; cursor: pointer; }
.store-info { align-self: start; padding: 1.4rem; }
.store-info hr { margin-block: 1.3rem; border: 0; border-top: 1px solid #e7ebf0; }
.store-info dl { display: grid; gap: .9rem; }
.store-info dl div { display: flex; justify-content: space-between; gap: 1rem; }
.store-info dt { color: #748195; }
.store-info dd { margin: 0; font-weight: 700; }
.qr-placeholder { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; margin-top: 1.4rem; padding: .8rem; border-radius: .6rem; background: #f2f6fb; }
.qr-placeholder span { display: grid; width: 3rem; height: 3rem; place-items: center; border: 2px dashed var(--navy); font-weight: 900; }
.qr-placeholder p { margin: 0; color: #657389; font-size: .75rem; }
.booking-page, .dashboard-page { padding-block: 3rem 5rem; }
.form-page:not(.booking-page) { padding-block: 3rem; }
.form-note { margin: 0; padding: 0; background: transparent; color: #667891; font-size: .82rem; }
.button-wide { width: 100%; }
.confirmation-page { max-width: 42rem; padding-block: 5rem; text-align: center; }
.confirmation-check { display: grid; width: 4rem; height: 4rem; margin: 0 auto 1.2rem; place-items: center; border-radius: 50%; background: #e7f7ef; color: var(--mint); font-size: 1.8rem; font-weight: 900; }
.confirmation-card { margin: 2rem 0; padding: 1.5rem; text-align: left; }
.confirmation-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.confirmation-card dt { color: #7b8797; font-size: .75rem; }
.confirmation-card dd { margin: .25rem 0 0; font-weight: 800; }
.reference { overflow-wrap: anywhere; }
.status-pill { display: inline-block; padding: .3rem .55rem; border-radius: 1rem; background: #e8f6ed; color: #16734d; font-size: .7rem; font-weight: 800; }
.auth-page { display: grid; grid-template-columns: 1fr 26rem; gap: 6rem; align-items: center; min-height: calc(100vh - 69px); padding-block: 4rem; }
.auth-copy h1 { max-width: 35rem; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.auth-copy p, .auth-copy li { color: #607087; line-height: 1.7; }
.auth-card { display: grid; gap: 1rem; align-self: center; }
.auth-card h2 { margin-top: 0; }
.auth-card .field { gap: .5rem; }
.auth-card .input { min-height: 3rem; }
.check-row { display: flex; min-height: 2rem; gap: .65rem; align-items: center; color: #5f6c7d; font-size: .85rem; }
.check-row input { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; margin: 0; accent-color: var(--blue); }
.demo-credentials { display: grid; gap: .2rem; padding: .8rem; border-radius: .5rem; background: #f4f7fa; color: #66758a; font-size: .75rem; }
.portal-page { min-height: calc(100vh - 69px); padding-block: 4.5rem; }
.portal-heading { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.portal-heading h1 { margin-block: .6rem .9rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.portal-heading > p:last-child { color: #68768a; line-height: 1.7; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 72rem; margin-inline: auto; }
.portal-card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid #dde4ed; border-radius: 1rem; background: #fff; box-shadow: 0 12px 40px rgb(20 41 75 / .08); transition: .2s ease; }
.portal-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgb(20 41 75 / .13); }
.portal-card .portal-number { position: absolute; top: 1.2rem; right: 1.3rem; color: #a5afbd; font-size: .7rem; font-weight: 900; }
.portal-icon { display: grid; width: 3.5rem; height: 3.5rem; margin-bottom: 1.5rem; place-items: center; border-radius: .8rem; background: #eaf3ff; color: var(--blue); font-size: 1rem; font-weight: 900; }
.admin-portal-card { background: var(--navy); color: #fff; }
.admin-portal-card .portal-icon { background: #263c5d; color: #83b8ff; }
.portal-card h2 { font-size: 1.65rem; }
.portal-card > p:not(.eyebrow) { min-height: 3rem; color: #718096; line-height: 1.55; }
.admin-portal-card > p:not(.eyebrow) { color: #aebed1; }
.portal-card > strong { color: var(--blue); font-size: .82rem; }
.admin-portal-card > strong { color: #7db9ff; }
.customer-portal-card .portal-icon { background: #edf3ff; color: #2563eb; }
.auth-role-badge { display: inline-flex; margin-bottom: 1rem; padding: .4rem .65rem; border-radius: 2rem; background: #eaf3ff; color: var(--blue); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.auth-form-heading { display: flex; gap: .75rem; align-items: center; padding-bottom: 1rem; border-bottom: 0; }
.auth-form-heading p, .auth-form-heading h2 { margin: 0; }
.auth-form-heading p { margin-bottom: .2rem; color: #748195; font-size: .7rem; }
.auth-form-icon { display: block; width: 2.7rem; height: 2.7rem; flex: 0 0 auto; border-radius: .65rem; object-fit: contain; }
.switch-portal { margin: 0; color: #788599; font-size: .76rem; text-align: center; }
.switch-portal a { color: var(--blue); font-weight: 800; }
.otp-switch a { display: flex; min-height: 2.8rem; align-items: center; justify-content: center; border: 1px solid #cbdff5; border-radius: .65rem; padding: .7rem 1rem; background: #f4f9ff; color: #155fbf; }
.otp-switch a:hover { border-color: #91bced; background: #eaf4ff; }
.hero-quick-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .9rem; }
.hero-quick-links a { color: #b9d7f5; font-size: .78rem; font-weight: 800; }
.vendor-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .85rem; }
.vendor-card-footer > a, .vendor-card-footer button { border: 0; padding: 0; background: transparent; color: var(--blue); font-size: .75rem; font-weight: 800; }
.vendor-card-footer button { color: #d04461; }
.vendor-card-footer form { margin: 0; }
.store-live-state{display:inline-flex;align-items:center;gap:.35rem}.store-live-state i{width:.48rem;height:.48rem;border-radius:50%;background:#98a5b6}.store-live-state.is-live{color:#178155;font-weight:800}.store-live-state.is-live i{background:#21b26f;box-shadow:0 0 0 4px rgb(33 178 111 / .13)}.store-live-state.is-closed{color:#8b6670}.store-live-state.is-closed i{background:#d45b67}
.store-hero-actions { display: grid; gap: .55rem; }
.store-hero-actions form { margin: 0; }
.store-save-button { width: 100%; border: 1px solid rgb(255 255 255 / .35); background: transparent; color: #fff; }
.customer-auth-shell { display: grid; grid-template-columns: 1fr 26rem; gap: 6rem; align-items: center; min-height: calc(100vh - 69px); padding-block: 4rem; }
.customer-auth-message { max-width: 42rem; }
.customer-auth-message h1 { margin-block: .65rem 1rem; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1; }
.customer-auth-message > p { max-width: 36rem; color: #66758a; line-height: 1.7; }
.customer-role-badge { display: inline-flex; margin-bottom: 1rem; padding: .4rem .7rem; border-radius: 2rem; background: #edf3ff; color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.customer-auth-points { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.customer-auth-points span { padding: .5rem .7rem; border: 1px solid #dfe5ee; border-radius: 2rem; color: #5f6d82; font-size: .7rem; font-weight: 700; }
.customer-icon { background: #edf3ff; color: var(--blue); }
.customer-account-hero { padding-block: 3rem; background: linear-gradient(125deg, #10223f, #18548b); color: #fff; }
.customer-account-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.customer-account-hero > div > p:last-of-type { color: #c3d6e9; }
.customer-account-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.customer-account-actions a { padding: .6rem .8rem; border: 1px solid rgb(255 255 255 / .2); border-radius: .5rem; background: rgb(255 255 255 / .06); color: #fff; font-size: .74rem; font-weight: 800; }
.cart-layout { display: grid; gap: 1.25rem; }.cart-store { overflow: hidden; }.cart-store-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.2rem; border-bottom: 1px solid var(--line); }.cart-store-head h2 { margin: 0; }.cart-store-head a { color: var(--blue); font-size: .78rem; font-weight: 800; }.cart-lines { padding-inline: 1.2rem; }.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 1rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--line); }.cart-line small, .order-summary small, .order-items small { display: block; margin-top: .2rem; color: var(--muted); }.cart-line form { display: flex; gap: .35rem; }.cart-line input { width: 4rem; border: 1px solid var(--line); border-radius: .4rem; padding: .45rem; }.cart-line button { border: 0; background: transparent; color: var(--blue); font-weight: 800; }.cart-line .danger-link { color: #b73535; }.checkout-form { padding: 1.2rem; background: #f8fafc; }.checkout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1rem; }.checkout-grid label { display: grid; gap: .35rem; color: #455469; font-size: .75rem; font-weight: 800; }.checkout-grid input, .checkout-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: .45rem; padding: .65rem; background: #fff; }.order-list { display: grid; gap: .8rem; }.order-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem; }.order-summary h2 { margin: .55rem 0 .2rem; }.order-summary > div:last-child { text-align: right; }.order-status { display: inline-flex; padding: .32rem .55rem; border-radius: 2rem; background: #fff1cf; color: #8b5b09; font-size: .66rem; font-weight: 900; }.status-confirmed, .status-ready { background: #e9f0ff; color: #285fbf; }.status-completed { background: #e7f7ef; color: #16734c; }.status-cancelled { background: #fbeaea; color: #a63232; }.order-detail { max-width: 58rem; }.order-items { padding: 1.2rem; }.order-items > div:not(.order-totals) { display: flex; justify-content: space-between; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }.order-totals { display: grid; gap: .5rem; justify-content: end; padding-top: 1rem; }.order-totals span { display: flex; min-width: 16rem; justify-content: space-between; gap: 2rem; }.danger-button { margin-top: 1rem; background: #b73535; }

@media (max-width: 700px) { .cart-line { grid-template-columns: 1fr auto; }.checkout-grid { grid-template-columns: 1fr; }.order-summary { align-items: flex-start; }.cart-store-head { align-items: flex-start; flex-direction: column; } }
.saved-count { color: #7a8798; font-size: .78rem; font-weight: 800; }
.saved-card-actions { display: flex; justify-content: space-between; gap: .7rem; margin-top: .9rem; }
.saved-card-actions a, .saved-card-actions button { border: 0; padding: 0; background: transparent; color: var(--blue); font-size: .73rem; font-weight: 800; }
.saved-card-actions button { color: #c54040; }
.empty-favourites { grid-column: 1 / -1; padding: 4rem 2rem; border: 1px dashed #cad3df; border-radius: 1rem; text-align: center; }
.empty-favourites > span { color: #9ba7b6; font-size: 2.5rem; }
.empty-favourites p { color: #748195; }
.scan-page { min-height: calc(100vh - 69px); padding-block: 4rem; background: var(--navy); color: #fff; }
.scan-grid { display: grid; grid-template-columns: 1fr 25rem; gap: 5rem; align-items: center; }
.scan-grid h1 { max-width: 42rem; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; }
.scan-grid > div:first-child > p:not(.eyebrow) { max-width: 38rem; color: #adbed2; line-height: 1.7; }
.scan-manual-form { max-width: 38rem; margin-top: 2rem; }
.scan-manual-form label { display: block; margin-bottom: .45rem; color: #b7c8db; font-size: .72rem; font-weight: 800; }
.scan-manual-form > div { display: flex; padding: .35rem; border-radius: .6rem; background: #fff; }
.scan-manual-form input { min-width: 0; flex: 1; border: 0; padding: .7rem; outline: none; }
.scan-manual-form button { border: 0; border-radius: .45rem; padding: .7rem .9rem; background: var(--orange); color: #fff; font-weight: 800; }
.scan-error { margin-top: .6rem; color: #ffadad; font-size: .75rem; }
.scanner-card { padding: 1rem; border: 1px solid rgb(255 255 255 / .13); border-radius: 1rem; background: rgb(255 255 255 / .06); }
.scanner-frame { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: .7rem; background: #05090f; }
.scanner-frame video { width: 100%; height: 100%; object-fit: cover; }
.scanner-frame > span { position: absolute; right: .8rem; bottom: .8rem; left: .8rem; padding: .5rem; border-radius: .4rem; background: rgb(0 0 0 / .65); color: #d4deea; font-size: .68rem; text-align: center; }
.scanner-corners { position: absolute; inset: 18%; border: 2px solid #65b0ff; border-radius: .55rem; box-shadow: 0 0 0 999px rgb(0 0 0 / .28); }
.scanner-card > button { width: 100%; margin-top: .8rem; border: 0; border-radius: .5rem; padding: .75rem; background: #fff; color: var(--navy); font-weight: 850; }
.scanner-card > button:disabled { opacity: .55; }
.scanner-card > p { margin: .65rem 0 0; color: #8495aa; font-size: .65rem; text-align: center; }
.vendor-registration-page { min-height: calc(100vh - 69px); background: linear-gradient(135deg, #f4f7fb, #eef4ff); }
.registration-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(28rem, 35rem); gap: 5rem; align-items: center; padding-block: 4rem; }
.registration-intro { max-width: 39rem; }
.registration-intro h1 { margin-block: .65rem 1rem; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .98; }
.registration-intro > p { color: #66758a; line-height: 1.7; }
.registration-benefits { display: grid; gap: .65rem; margin-top: 1.5rem; }
.registration-benefits span { padding-left: 1.4rem; color: #34445b; font-size: .8rem; font-weight: 750; }
.registration-benefits span::before { margin-left: -1.4rem; margin-right: .55rem; color: var(--blue); content: '\2713'; }
.registration-review-note { display: grid; gap: .35rem; margin-top: 1.5rem; padding: 1rem; border-left: 3px solid var(--blue); background: #fff; color: #65738a; font-size: .76rem; line-height: 1.5; }
.registration-review-note strong { color: var(--navy); }
.registration-card { display: grid; gap: 1rem; padding: 1.8rem; border: 1px solid #dce3ed; border-radius: 1rem; background: #fff; box-shadow: 0 22px 60px rgb(22 43 77 / .1); }
.registration-card h2 { margin: -.35rem 0 .45rem; font-size: 1.65rem; }
.registration-step { margin: 0; color: #7b8798; font-size: .7rem; font-weight: 750; }
.registration-progress { display: grid; grid-template-columns: 2rem 1fr 2rem; align-items: center; }
.registration-progress span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #cfd7e3; border-radius: 50%; color: #7d8898; font-size: .72rem; font-weight: 900; }
.registration-progress i { height: 2px; background: #dce2ea; }
.registration-progress .is-active, .registration-progress .is-complete { border-color: var(--blue); background: var(--blue); color: #fff; }
.registration-progress i.is-complete { background: var(--blue); }
.registration-card .field { margin: 0; }
.registration-card textarea.input { resize: vertical; }
.registration-submit-note { margin: -.25rem 0 0; padding: .65rem .75rem; border-radius: .45rem; background: #fff4e5; color: #925c16; font-size: .7rem; font-weight: 750; }
.registration-submit-note[hidden] { display: none; }
.registration-card button:disabled { cursor: wait; opacity: .65; }
.registration-captcha { padding: 1rem; border: 1px solid #dbe7f2; border-radius: .8rem; background: #f5f9fd; }
.captcha-question { display: inline-flex; width: fit-content; min-width: 8rem; justify-content: center; border-radius: .65rem; padding: .7rem 1rem; background: #e8f3ff; color: #145fc4; font-weight: 900; letter-spacing: .05em; }
.form-note { margin: 0; color: #667891; font-size: .75rem; line-height: 1.55; }
.registration-verification-card { align-content: start; }
.verification-copy { margin: 0 0 .35rem; color: #667891; line-height: 1.65; }
.otp-code-input { max-width: 18rem; font-size: 1.4rem; font-weight: 900; letter-spacing: .35em; text-align: center; }
.verification-back { color: #526780; }
.input-uppercase { text-transform: uppercase; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2rem; }
.four-metrics { grid-template-columns: repeat(4, 1fr); }
.metric-card { display: grid; gap: .45rem; padding: 1.3rem; border: 1px solid #e1e7ee; border-radius: .8rem; background: #fff; }
.metric-card span { color: #738095; font-size: .8rem; }
.metric-card strong { font-size: 2rem; }
.metric-card a { color: var(--blue); font-size: .78rem; font-weight: 700; }
.accent-metric { border-color: #f7cba9; background: #fff8f2; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 22rem; gap: 1.5rem; }
.panel { padding: 1.4rem; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1rem; }
.panel-heading > a { color: var(--blue); font-size: .8rem; font-weight: 700; }
.booking-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding-block: .9rem; border-top: 1px solid #edf0f3; }
.booking-list small { display: block; margin-top: .2rem; color: #758196; }
.date-chip { padding: .5rem; border-radius: .45rem; background: var(--sky); color: var(--blue); font-size: .75rem; font-weight: 800; }
.booking-list b { font-size: .72rem; text-transform: capitalize; }
.status-pending { color: #b26818; }.status-confirmed { color: #1769e0; }.status-completed { color: #168257; }.status-cancelled { color: #c23535; }
.launch-panel code { display: block; overflow-wrap: anywhere; margin-block: 1rem; padding: .7rem; border-radius: .4rem; background: #f2f5f8; color: #536176; font-size: .7rem; }
.bordered { border: 1px solid #cfd7e2; }
.status-form { display: flex; gap: .4rem; }
.status-form select { border: 1px solid #cbd5e1; border-radius: .4rem; padding: .4rem; }
.status-form button { border: 0; border-radius: .4rem; padding: .4rem .6rem; background: var(--blue); color: #fff; font-weight: 700; }
.pagination-wrap nav { margin-top: 1rem; }
.admin-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.admin-roadmap div { display: grid; gap: .3rem; padding: 1rem; border-left: 3px solid var(--orange); background: #f7f9fc; }
.admin-roadmap span { color: #6b788b; font-size: .8rem; line-height: 1.5; }

/* Vendor public preview */
.storefront-page { --store-accent: #8b3f18; background: #f7f5f2; color: #221f1c; }
.storefront-cover { min-height: 30rem; background: linear-gradient(135deg, #56331f, #18130f); background-position: center; background-size: cover; color: #fff; }
.storefront-cover-content { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: end; min-height: 30rem; padding-block: 4rem 2.2rem; }
.storefront-logo { display: grid; overflow: hidden; width: 7rem; height: 7rem; place-items: center; border: .35rem solid #fff; border-radius: 50%; background: #fff8ef; color: var(--store-accent); font-size: 1.5rem; font-weight: 900; box-shadow: 0 8px 30px rgb(0 0 0 / .25); }
.storefront-logo img { width: 100%; height: 100%; object-fit: cover; }
.storefront-title p, .storefront-title span { margin: 0; color: #f0e8e1; }
.storefront-title p { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.storefront-title h1 { margin: .35rem 0; font-size: clamp(2.2rem, 6vw, 4.4rem); }
.storefront-save, .storefront-save button { border: 1px solid rgb(255 255 255 / .55); border-radius: 2rem; padding: .65rem .9rem; background: rgb(0 0 0 / .28); color: #fff; font-size: .78rem; font-weight: 850; }
.storefront-save button { border: 0; padding: 0; background: transparent; }
.storefront-actions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -1.2rem; border-radius: 1rem; background: #fff; box-shadow: 0 15px 40px rgb(53 37 25 / .12); }
.storefront-actions > * { display: grid; gap: .35rem; place-items: center; min-height: 6rem; border: 0; border-right: 1px solid #eee8e3; background: transparent; color: #3c342d; }
.storefront-actions > *:last-child { border-right: 0; }
.storefront-actions b { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: #fff1e8; color: var(--store-accent); }
.storefront-actions span { font-size: .72rem; font-weight: 800; }
.storefront-body { padding-block: 3rem 5rem; }
.storefront-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; }
.storefront-panel { border: 1px solid #ebe4dd; border-radius: 1rem; padding: 1.5rem; background: #fff; }
.storefront-label { margin: 0 0 .4rem; color: var(--store-accent); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.storefront-about-copy > p:last-child { color: #6f6258; line-height: 1.7; }
.storefront-facts { display: grid; gap: 1.15rem; }
.storefront-facts > div { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; }
.storefront-facts > div > b { color: var(--store-accent); }
.storefront-facts small, .storefront-facts strong { display: block; }
.storefront-facts small { margin-bottom: .25rem; color: #93867a; font-size: .68rem; }
.storefront-facts strong { font-size: .82rem; line-height: 1.4; }
.storefront-facts a { display: inline-block; margin-top: .25rem; color: var(--store-accent); font-size: .7rem; font-weight: 800; text-decoration: underline; }
.storefront-offers, .storefront-catalogue { padding-top: 3.5rem; }
.storefront-section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.storefront-section-title > span { color: #887a6f; font-size: .75rem; font-weight: 800; }
.storefront-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.storefront-offer-grid article { padding: 1.2rem; border-radius: .9rem; background: linear-gradient(135deg, #1769cf, #287ceb); color: #fff; }
.storefront-offer-grid article > strong { color: #dff1ff; font-size: .7rem; }
.storefront-offer-grid h3 { margin-top: .5rem; }
.storefront-offer-grid p, .storefront-offer-grid small { color: #e3cfc4; font-size: .75rem; }
.storefront-section-tabs { display: flex; overflow-x: auto; gap: .55rem; padding-bottom: 1rem; scrollbar-width: thin; }
.storefront-section-tabs a { flex: 0 0 auto; border: 1px solid #e2d8cf; border-radius: 2rem; padding: .55rem .85rem; background: #fff; color: #675a50; font-size: .72rem; font-weight: 800; }
.storefront-section-tabs a.active { border-color: var(--store-accent); background: var(--store-accent); color: #fff; }
.storefront-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.storefront-product-card { overflow: hidden; border: 1px solid #e7dfd7; border-radius: .9rem; background: #fff; box-shadow: 0 6px 20px rgb(75 48 29 / .06); }
.storefront-product-image { display: grid; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dcecff, #f4f9ff); color: #4e85c1; font-size: 2.5rem; font-weight: 900; }
.storefront-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.storefront-product-card:hover img { transform: scale(1.04); }
.storefront-product-copy { display: grid; gap: .45rem; padding: .9rem; }
.storefront-product-copy small { color: var(--store-accent); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.storefront-product-copy h3 { font-size: .95rem; }
.storefront-product-copy p { min-height: 2.3rem; margin: 0; color: #7e7269; font-size: .7rem; line-height: 1.5; }
.storefront-product-copy > strong { font-size: .85rem; }
.storefront-rating-summary,.storefront-product-rating{display:flex;align-items:center;gap:.4rem;color:#667891;font-size:.7rem}.storefront-rating-summary{margin-top:.65rem}.storefront-rating-summary strong,.storefront-product-rating strong{color:#1769cf;font-weight:900}.storefront-product-rating span{font-size:.66rem}
.storefront-product-copy form { margin: 0; }
.storefront-product-copy a, .storefront-product-copy button { width: 100%; border: 0; border-radius: .45rem; padding: .55rem; background: #eaf3ff; color: var(--store-accent); font-size: .68rem; font-weight: 850; text-align: center; }
.storefront-empty { grid-column: 1 / -1; padding: 3rem; border: 1px dashed #cfc3b9; border-radius: 1rem; text-align: center; }
.storefront-empty p { color: #7e7269; }

/* Signed-in customer home */
.customer-home-page{background:#f3f8fe}.customer-home{min-height:70vh;color:#10223f}.customer-home-hero{padding:clamp(2.5rem,6vw,5rem) 0;background:linear-gradient(135deg,#e9f5ff,#d8edff)}.customer-home-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:end}.customer-home-hero h1{max-width:48rem;margin:.35rem 0 1rem;font-size:clamp(2.7rem,6vw,5.3rem);line-height:.96}.customer-home-hero p:not(.eyebrow){max-width:42rem;margin:0;color:#58708d;font-size:1.05rem;line-height:1.7}.customer-hero-actions{display:grid;gap:.7rem;min-width:17rem}.customer-location-button,.customer-scan-shortcut{display:flex;min-height:3.7rem;align-items:center;gap:.75rem;border:1px solid #c6dcef;border-radius:1rem;padding:.7rem 1rem;background:#fff;color:#10223f;text-align:left}.customer-location-button>span:first-child,.customer-scan-shortcut>span{display:grid;width:2.35rem;height:2.35rem;place-items:center;border-radius:.7rem;background:#e5f3ff;color:#1769cf;font-size:1.25rem;font-weight:900}.customer-location-button small,.customer-location-button strong{display:block}.customer-location-button small{color:#7588a1;font-size:.65rem}.customer-location-button strong{margin-top:.15rem;font-size:.78rem}.customer-scan-shortcut{background:#1769e0;color:#fff;font-size:.78rem;font-weight:900}.customer-scan-shortcut>span{background:#fff;color:#1769e0}.customer-home-content{padding-block:2rem 5rem}.customer-discovery-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;margin-top:-3.65rem;border:1px solid #d2e1ef;border-radius:1.1rem;padding:.55rem .55rem .55rem 1rem;background:#fff;box-shadow:0 18px 40px rgb(31 78 125/.12)}.customer-discovery-search>span{color:#1769cf;font-size:1.45rem}.customer-discovery-search input{min-width:0;border:0;padding:.8rem 0;background:transparent;color:#10223f;font-size:.9rem;outline:0}.customer-discovery-search button{min-height:3rem;border:0;border-radius:.75rem;padding:0 1.3rem;background:#287ceb;color:#fff;font-weight:900}.customer-location-feedback{min-height:1.2rem;margin:.5rem .2rem 0;color:#54708e;font-size:.7rem}.customer-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin:1.25rem 0 1.5rem}.customer-stat-grid a{display:grid;gap:.25rem;border:1px solid #dbe7f2;border-radius:1rem;padding:1rem 1.15rem;background:#fff;color:#10223f}.customer-stat-grid span,.customer-stat-grid small{color:#718399}.customer-stat-grid span{font-size:.72rem;font-weight:800}.customer-stat-grid strong{font-size:1.7rem}.customer-stat-grid small{font-size:.64rem}.customer-category-strip{display:flex;overflow-x:auto;gap:.55rem;padding:.1rem 0 1.6rem;scrollbar-width:none}.customer-category-strip a{flex:0 0 auto;border:1px solid #ccdae8;border-radius:2rem;padding:.62rem .9rem;background:#fff;color:#60728a;font-size:.72rem;font-weight:850}.customer-category-strip a.is-active{border-color:#287ceb;background:#287ceb;color:#fff}.customer-home-section{padding-block:1.25rem}.customer-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.customer-section-heading h2{margin:.2rem 0 0;font-size:1.65rem}.customer-section-heading>a,.customer-section-heading>span{color:#65809e;font-size:.72rem;font-weight:800}.customer-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.customer-store-card{overflow:hidden;border:1px solid #dbe6f1;border-radius:1.05rem;background:#fff;box-shadow:0 10px 30px rgb(24 65 105/.06)}.customer-store-art{position:relative;display:grid;aspect-ratio:16/9;place-items:center;background:linear-gradient(135deg,#d9edff,#edf7ff);background-position:center;background-size:cover;color:#4c83bd;font-size:2.1rem;font-weight:950}.customer-live-dot{position:absolute;top:.65rem;left:.65rem;border-radius:2rem;padding:.32rem .55rem;background:#edf1f6;color:#667892;font-size:.57rem}.customer-live-dot.is-live{background:#dcf8eb;color:#15825c}.customer-store-copy{display:grid;gap:.6rem;padding:.9rem}.customer-store-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.6rem;align-items:center}.customer-store-identity>img,.customer-store-identity>span{display:grid;width:2.5rem;height:2.5rem;place-items:center;border-radius:50%;object-fit:cover;background:#e9f4ff;color:#1769cf;font-size:.65rem;font-weight:900}.customer-store-copy small{color:#287ceb;font-size:.58rem;font-weight:900;text-transform:uppercase}.customer-store-copy h3{overflow:hidden;margin:.1rem 0 0;font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.customer-store-copy p{overflow:hidden;margin:0;color:#75859a;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}.customer-store-meta{display:flex;justify-content:space-between;gap:.5rem;color:#4d6380;font-size:.65rem;font-weight:800}.customer-store-copy form button{width:100%;border:0;border-radius:.6rem;padding:.55rem;background:#edf6ff;color:#1769cf;font-size:.67rem;font-weight:900}.customer-empty-state{grid-column:1/-1;border:1px dashed #cbd9e7;border-radius:1rem;padding:2rem;text-align:center}.customer-empty-state p{color:#6f8197}.customer-home-lower-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(20rem,.75fr);gap:1.2rem;margin-top:1rem}.customer-saved-list,.customer-activity-panel{display:grid;border:1px solid #dbe6f1;border-radius:1rem;background:#fff}.customer-saved-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:.85rem;border-bottom:1px solid #e6edf4}.customer-saved-list article:last-child{border-bottom:0}.customer-saved-list article>a>img,.customer-saved-list article>a>span{display:grid;width:3rem;height:3rem;place-items:center;border-radius:.75rem;object-fit:cover;background:#e7f3ff;color:#1769cf;font-size:.7rem;font-weight:900}.customer-saved-list h3{margin:.1rem 0;font-size:.9rem}.customer-saved-list small{color:#287ceb;font-size:.57rem;font-weight:900;text-transform:uppercase}.customer-saved-list p{margin:0;color:#718299;font-size:.65rem}.customer-saved-list button{border:0;background:transparent;color:#e54d72;font-size:1.15rem}.customer-home-aside{display:grid;align-content:start;gap:1rem}.customer-activity-panel{padding:1rem}.customer-activity-panel>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;border-top:1px solid #e6edf4;padding:.75rem 0;color:#10223f}.customer-activity-icon{display:grid;width:2rem;height:2rem;place-items:center;border-radius:.55rem;background:#edf6ff;color:#1769cf}.customer-activity-panel strong,.customer-activity-panel small{display:block}.customer-activity-panel strong{font-size:.75rem}.customer-activity-panel small{overflow:hidden;max-width:12rem;margin-top:.15rem;color:#7c8ca0;font-size:.58rem;text-overflow:ellipsis;white-space:nowrap}.customer-activity-panel b{border-radius:2rem;padding:.3rem .48rem;background:#eef3f8;font-size:.56rem;text-transform:capitalize}.customer-activity-empty{margin:0;color:#74869c;font-size:.72rem}.customer-featured-deal{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:center;border:1px solid #bfdcff;border-radius:1rem;padding:1rem;background:linear-gradient(135deg,#e8f5ff,#d5ebff);color:#10223f}.customer-featured-deal>span{border-radius:.65rem;padding:.65rem;background:#287ceb;color:#fff;font-weight:950}.customer-featured-deal small,.customer-featured-deal p{color:#667d98;font-size:.62rem}.customer-featured-deal h3,.customer-featured-deal p{margin:.1rem 0}.customer-featured-deal>b{color:#1769cf}
html[data-theme="midnight"] .customer-home-page{background:#0b1324}html[data-theme="midnight"] .customer-home{color:#eef2fa}html[data-theme="midnight"] .customer-home-hero{background:linear-gradient(135deg,#101c31,#143657)}html[data-theme="midnight"] .customer-home-hero p:not(.eyebrow){color:#aab7ce}html[data-theme="midnight"] .customer-location-button,html[data-theme="midnight"] .customer-discovery-search,html[data-theme="midnight"] .customer-stat-grid a,html[data-theme="midnight"] .customer-category-strip a,html[data-theme="midnight"] .customer-store-card,html[data-theme="midnight"] .customer-saved-list,html[data-theme="midnight"] .customer-activity-panel{border-color:#26385c;background:#141f36;color:#eef2fa}html[data-theme="midnight"] .customer-discovery-search input{color:#eef2fa}html[data-theme="midnight"] .customer-category-strip a.is-active{border-color:#55b6ff;background:#55b6ff;color:#071525}html[data-theme="midnight"] .customer-store-art{background-color:#1b2945}html[data-theme="midnight"] .customer-store-copy form button,html[data-theme="midnight"] .customer-store-identity>span,html[data-theme="midnight"] .customer-activity-icon{background:#1b3150;color:#82cbff}html[data-theme="midnight"] .customer-saved-list article,html[data-theme="midnight"] .customer-activity-panel>a{border-color:#26385c}html[data-theme="midnight"] .customer-activity-panel>a{color:#eef2fa}html[data-theme="midnight"] .customer-featured-deal{border-color:#35527b;background:linear-gradient(135deg,#14243e,#183657);color:#eef2fa}
@media(max-width:950px){.customer-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-home-lower-grid{grid-template-columns:1fr}.customer-home-hero-grid{grid-template-columns:1fr}.customer-hero-actions{grid-template-columns:1fr 1fr;min-width:0}}
@media(max-width:640px){.customer-home-hero{padding:2rem 0 4.5rem}.customer-home-hero h1{font-size:2.55rem}.customer-home-hero p:not(.eyebrow){font-size:.88rem}.customer-hero-actions{grid-template-columns:1fr}.customer-discovery-search{margin-top:-3.35rem;grid-template-columns:auto minmax(0,1fr)}.customer-discovery-search button{grid-column:1/-1}.customer-stat-grid{grid-template-columns:1fr 1fr}.customer-stat-grid a{padding:.85rem}.customer-store-grid{grid-template-columns:1fr 1fr;gap:.65rem}.customer-store-identity{grid-template-columns:1fr}.customer-store-identity>img,.customer-store-identity>span{margin-top:-2rem;border:3px solid #fff}.customer-store-copy{padding:.7rem}.customer-store-copy h3{font-size:.78rem}.customer-home-content{padding-bottom:3rem}.customer-section-heading h2{font-size:1.35rem}}

/* Compact customer city discovery */
.customer-home-hero-grid{grid-template-columns:minmax(0,1fr)}
.customer-hero-overline{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}
.customer-hero-overline>.eyebrow{margin:0}
.customer-city-picker{display:flex;min-width:13rem;align-items:center;gap:.65rem;border:1px solid #c6dcef;border-radius:1rem;padding:.55rem .75rem;background:rgb(255 255 255/.9);box-shadow:0 12px 30px rgb(31 78 125/.1)}
.customer-city-picker-icon{display:grid;width:2.25rem;height:2.25rem;flex:0 0 auto;place-items:center;border-radius:.7rem;background:#e5f3ff;color:#1769cf;font-size:1.2rem;font-weight:900}
.customer-city-picker label{display:grid;min-width:0;flex:1}
.customer-city-picker small{color:#7588a1;font-size:.6rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.customer-city-picker input{width:100%;min-width:7rem;border:0;padding:.15rem 0 .1rem;background:transparent;color:#10223f;font:inherit;font-size:.78rem;font-weight:900;outline:0}
.customer-city-picker button{min-width:2.5rem;border:0;border-radius:.6rem;padding:.55rem .65rem;background:#287ceb;color:#fff;font-size:.7rem;font-weight:900;cursor:pointer}
html[data-theme="midnight"] .customer-city-picker{border-color:#345078;background:#141f36}
html[data-theme="midnight"] .customer-city-picker input{color:#eef2fa}
@media(max-width:640px){.customer-hero-overline{align-items:flex-start;flex-direction:column}.customer-city-picker{width:100%;min-width:0}.customer-home-hero{padding-top:1.5rem}.customer-home-hero h1{margin-top:1rem}}

@media (max-width: 900px) {
    .hero-grid, .roadmap-grid, .auth-page { grid-template-columns: 1fr; gap: 2.5rem; }
    .phone-card { display: none; }
    .hero-grid { min-height: auto; }
    .vendor-grid, .deal-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid, .utility-grid, .four-metrics { grid-template-columns: repeat(2, 1fr); }
    .store-layout, .dashboard-grid { grid-template-columns: 1fr; }
    .store-info { order: -1; }
    .auth-page { min-height: auto; }
    .customer-auth-shell, .scan-grid, .registration-shell { grid-template-columns: 1fr; gap: 2.5rem; }
    .customer-auth-shell { min-height: auto; }
    .scanner-card { width: min(100%, 26rem); }
    .storefront-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .nav-links > a:not(.nav-login):not(:last-of-type) { display: none; }
    .nav-links { gap: .7rem; }
    .hero h1 { font-size: 3.1rem; }
    .search-bar { display: grid; }
    .vendor-grid, .deal-grid, .category-grid, .metric-grid, .four-metrics, .admin-roadmap { grid-template-columns: 1fr; }
    .utility-grid { grid-template-columns: 1fr 1fr; }
    .utility-item { padding: .8rem; }
    .utility-item > span { display: none; }
    .section { padding-block: 3rem; }
    .section-title { align-items: start; flex-direction: column; gap: .5rem; }
    .store-heading { grid-template-columns: auto 1fr; }
    .store-heading .button { grid-column: 1/-1; }
    .store-logo { width: 4rem; height: 4rem; }
    .confirmation-card dl { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: 1fr; }
    .store-hero-actions { grid-column: 1 / -1; }
    .registration-shell { padding-block: 2rem; }
    .registration-card { padding: 1.2rem; }
    .storefront-cover, .storefront-cover-content { min-height: 24rem; }
    .storefront-cover-content { grid-template-columns: auto 1fr; align-content: end; padding-bottom: 2.5rem; }
    .storefront-logo { width: 5rem; height: 5rem; }
    .storefront-save { grid-column: 1 / -1; justify-self: start; }
    .storefront-actions { width: calc(100% - 1.5rem); grid-template-columns: repeat(4, 1fr); }
    .storefront-actions > * { min-height: 5.2rem; }
    .storefront-actions span { font-size: .62rem; }
    .storefront-about { grid-template-columns: 1fr; }
    .storefront-offer-grid { grid-template-columns: 1fr; }
    .storefront-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .storefront-product-copy { padding: .7rem; }
}

/* Mobile-first storefront application */
.storefront-shell-body { background: #eeeae6; }
.storefront-shell-body .site-header { display: none; }
.storefront-shell-body .alert-wrap { max-width: 72rem; }
.storefront-page { min-height: 100vh; background: #f8f6f3; }
.storefront-app-shell { width: min(100%, 72rem); margin-inline: auto; padding: 1rem 1rem 4rem; }
.storefront-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem max(1rem, calc((100% - 72rem) / 2)); background: #1e293b; color: #dbe5f2; font-size: .7rem; font-weight: 750; }
.storefront-preview-bar a { color: #fff; }
.storefront-preview-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.storefront-app-header { position: sticky; z-index: 18; top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; min-height: 4.6rem; padding: .7rem max(1rem, calc((100% - 72rem) / 2)); border-bottom: 1px solid #e9e1da; background: rgb(255 255 255 / .96); box-shadow: 0 4px 18px rgb(66 42 25 / .05); backdrop-filter: blur(12px); }
.storefront-menu-button { display: grid; width: 2.55rem; height: 2.55rem; gap: .25rem; place-content: center; border: 0; border-radius: .65rem; background: #fff2ea; }
.storefront-menu-button > span { width: 1rem; height: 2px; border-radius: 2px; background: #793914; }
.storefront-mini-brand { display: flex; min-width: 0; align-items: center; gap: .65rem; justify-self: center; color: #3b271b; }
.storefront-mini-brand img, .storefront-mini-brand > span { display: grid; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; place-items: center; border-radius: 50%; object-fit: cover; background: #e8f3ff; color: #1769cf; font-size: .7rem; font-weight: 900; }
.storefront-mini-brand strong { overflow: hidden; font-family: Georgia, serif; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.storefront-header-actions { display: flex; align-items: center; gap: .45rem; }.storefront-header-actions a { border-radius: 2rem; padding: .48rem .7rem; color: #713414; font-size: .68rem; font-weight: 850; }.storefront-view-link { border: 1px solid #e7d7cd; background: #fff; }.storefront-cart-link { background: #8e421d; color: #fff !important; }
.storefront-search { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; border: 1px solid #e3dbd4; border-radius: .7rem; padding: .38rem .45rem .38rem .75rem; background: #fff; box-shadow: 0 5px 18px rgb(75 44 23 / .04); }.storefront-search > span { color: #8d8177; }.storefront-search input { min-width: 0; flex: 1; border: 0; padding: .55rem 0; outline: 0; }.storefront-search button { border: 0; border-radius: .5rem; padding: .62rem .8rem; background: #91451f; color: #fff; font-size: .68rem; font-weight: 850; }
.storefront-category-rail { display: flex; overflow-x: auto; gap: .7rem; margin: 0 -.15rem 1rem; padding: .15rem .15rem .7rem; scrollbar-width: thin; }.storefront-category-rail > a { display: grid; min-width: 5rem; flex: 0 0 auto; gap: .4rem; place-items: center; border: 1px solid #e8e0d9; border-radius: .75rem; padding: .55rem .5rem; background: #fff; color: #66584d; }.storefront-category-rail > a.active { border-color: #9b4a23; background: #fff6f0; color: #8a3d18; box-shadow: 0 0 0 2px #f6dfd1; }.storefront-category-rail strong { max-width: 5.8rem; overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }.storefront-category-art { display: grid; overflow: hidden; width: 2.9rem; height: 2.9rem; place-items: center; border-radius: .6rem; background: #f5e9de; color: #9b4a23; font-size: 1rem; font-weight: 900; }.storefront-category-art.all { background: #90431e; color: #fff; }.storefront-category-art img { width: 100%; height: 100%; object-fit: cover; }
.storefront-identity { margin-bottom: 2.5rem; }.storefront-cover { min-height: 22rem; overflow: hidden; border-radius: 1rem; }.storefront-cover-content { min-height: 22rem; padding: 2rem; }.storefront-logo { width: 6rem; height: 6rem; }.storefront-title h1 { font-size: clamp(2rem, 6vw, 3.7rem); }.storefront-actions { width: calc(100% - 2rem); margin: -1.6rem auto 0; overflow: hidden; }
.storefront-offers, .storefront-catalogue { padding-top: 1.5rem; }.storefront-product-section + .storefront-product-section { margin-top: 2rem; }.storefront-product-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }.storefront-product-section-heading h3 { font-size: 1.05rem; }.storefront-product-section-heading span { color: #8b7d72; font-size: .66rem; }.storefront-product-card { border-radius: .75rem; }.storefront-product-copy h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.storefront-empty a { display: inline-flex; margin-top: .4rem; color: #8b3f18; font-size: .75rem; font-weight: 850; }
.storefront-about { margin-top: 3rem; }
.storefront-detail-page { padding-top: 1rem; }
.storefront-detail-heading { display: flex; gap: 2rem; align-items: end; justify-content: space-between; margin-bottom: 1.2rem; }
.storefront-detail-heading h2 { max-width: 42rem; }
.storefront-detail-heading > div > p:last-child { margin-bottom: 0; color: #74675d; }
.storefront-detail-heading > a { flex: 0 0 auto; border-radius: 2rem; padding: .75rem 1rem; background: #8b3f18; color: #fff; font-size: .72rem; font-weight: 850; }
.storefront-detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr); gap: 1rem; }
.storefront-detail-card { border: 1px solid #e8ddd4; border-radius: 1rem; padding: 1.5rem; background: #fff; box-shadow: 0 8px 28px rgb(75 48 29 / .06); }
.storefront-detail-about { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-content: start; background: linear-gradient(135deg, #fff 55%, #fff3eb); }
.storefront-detail-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .8rem; background: #8b3f18; color: #fff; font-size: 1.1rem; }
.storefront-detail-about h3, .storefront-detail-contact h3 { font-size: 1.25rem; }
.storefront-detail-about div > p:last-child { color: #6f6258; line-height: 1.75; white-space: pre-line; }
.storefront-detail-contact { background: #2f1c12; color: #fff; }
.storefront-detail-contact .storefront-label { color: #f1a881; }
.storefront-detail-contact h3 { margin-bottom: .8rem; }
.storefront-detail-contact a { display: grid; gap: .18rem; padding: .75rem 0; border-top: 1px solid rgb(255 255 255 / .14); color: #fff; overflow-wrap: anywhere; }
.storefront-detail-contact a span { color: #cbb9ae; font-size: .62rem; text-transform: uppercase; }
.storefront-detail-contact a strong { font-size: .78rem; }
.storefront-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.storefront-detail-facts article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; border: 1px solid #e8ddd4; border-radius: .9rem; padding: 1.1rem; background: #fff; }
.storefront-detail-facts article > span { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: #e8f3ff; color: #1769cf; }
.storefront-detail-facts small, .storefront-detail-facts strong { display: block; }
.storefront-detail-facts small { color: #8c7d72; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.storefront-detail-facts strong { margin-top: .3rem; font-size: .8rem; line-height: 1.45; overflow-wrap: anywhere; }
.storefront-detail-facts p, .storefront-detail-facts a { margin: .35rem 0 0; color: #776a61; font-size: .67rem; line-height: 1.45; }
.storefront-detail-facts a { display: inline-block; color: #8b3f18; font-weight: 850; }
.storefront-detail-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; border-radius: 1rem; padding: 1rem 1.25rem; background: linear-gradient(120deg, #8b3f18, #b45d2e); color: #fff; box-shadow: 0 12px 28px rgb(139 63 24 / .2); }
.storefront-detail-cta small, .storefront-detail-cta strong { display: block; }
.storefront-detail-cta small { color: #f7d9c9; font-size: .62rem; text-transform: uppercase; }
.storefront-detail-cta strong { margin-top: .2rem; font-size: .95rem; }
.storefront-detail-cta b { font-size: 1.4rem; }
.storefront-menu-backdrop { position: fixed; z-index: 39; inset: 0; display: block; border: 0; background: rgb(17 12 9 / .55); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.storefront-menu { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; width: min(88vw, 23rem); flex-direction: column; background: #fffdfa; box-shadow: 20px 0 50px rgb(0 0 0 / .2); transform: translateX(-105%); transition: transform .22s ease; }.storefront-menu-open { overflow: hidden; }.storefront-menu-open .storefront-menu { transform: translateX(0); }.storefront-menu-open .storefront-menu-backdrop { opacity: 1; pointer-events: auto; }
.storefront-menu > header { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: 1.2rem; border-bottom: 1px solid #dbe7f2; }.storefront-menu-logo { display: grid; overflow: hidden; width: 3.7rem; height: 3.7rem; place-items: center; border-radius: 50%; background: #e8f3ff; color: #1769cf; font-weight: 900; }.storefront-menu-logo img { width: 100%; height: 100%; object-fit: cover; }.storefront-menu header strong, .storefront-menu header small { display: block; }.storefront-menu header strong { font-family: Georgia, serif; font-size: .85rem; }.storefront-menu header small { margin-top: .2rem; color: #667891; font-size: .62rem; }.storefront-menu header button { border: 0; background: transparent; color: #667891; font-size: 1.5rem; }
.storefront-menu > nav { overflow-y: auto; padding: .7rem; }.storefront-menu > nav a { display: grid; grid-template-columns: 1.3rem 1fr; gap: .65rem; align-items: center; border-radius: .55rem; padding: .72rem .75rem; color: #243a58; font-size: .73rem; font-weight: 750; }.storefront-menu > nav a:hover { background: #e8f3ff; color: #1769cf; }.storefront-menu > nav a.child { padding-block: .55rem; padding-left: 1.8rem; color: #667891; font-size: .67rem; }.storefront-menu > nav b { color: #1769cf; }
.storefront-menu-contact { display: grid; gap: .2rem; margin: auto .7rem 0; padding: .7rem 0; border-top: 1px solid #dbe7f2; }.storefront-menu-contact a, .storefront-menu-contact button { border: 0; border-radius: .45rem; padding: .55rem .75rem; background: transparent; color: #243a58; font-size: .7rem; font-weight: 750; text-align: left; }.storefront-menu > footer { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: center; margin: 0 .7rem .7rem; padding: .85rem; border-radius: .65rem; background: #e8f3ff; color: #1769cf; }.storefront-menu footer small, .storefront-menu footer strong { display: block; }.storefront-menu footer small { font-size: .56rem; text-transform: uppercase; }.storefront-menu footer strong { margin-top: .15rem; font-size: .7rem; }

@media (max-width: 640px) {
    .storefront-preview-bar { flex-wrap: wrap; padding: .55rem .75rem; }.storefront-preview-bar span { width: 100%; order: -1; text-align: center; }
    .storefront-app-header { padding-inline: .75rem; }.storefront-mini-brand strong { max-width: 10rem; }.storefront-view-link { padding-inline: .55rem !important; }.storefront-cart-link { display: none; }
    .storefront-app-shell { padding: .75rem .65rem 3rem; }.storefront-cover, .storefront-cover-content { min-height: 19rem; }.storefront-cover-content { grid-template-columns: auto 1fr; padding: 1rem; }.storefront-logo { width: 4.7rem; height: 4.7rem; }.storefront-title h1 { font-size: 1.8rem; }.storefront-save { grid-column: 1 / -1; }.storefront-actions { width: calc(100% - .8rem); }.storefront-actions > * { min-height: 4.8rem; }.storefront-actions b { width: 1.9rem; height: 1.9rem; }.storefront-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.storefront-product-copy p { min-height: 2.1rem; }.storefront-about { grid-template-columns: 1fr; }.storefront-detail-heading { align-items: stretch; flex-direction: column; gap: .8rem; }.storefront-detail-heading > a { align-self: start; }.storefront-detail-layout, .storefront-detail-facts { grid-template-columns: 1fr; }.storefront-detail-card { padding: 1.1rem; }.storefront-detail-about { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
    .storefront-mini-brand strong { max-width: 7rem; }.storefront-product-grid { gap: .55rem; }.storefront-product-copy { padding: .65rem; }.storefront-product-copy h3 { font-size: .82rem; }
}

/* Separate public catalogue and store-details experiences */
.storefront-catalogue-body { background: #f4f1ed; }
.storefront-products-page .storefront-app-shell { width: min(100%, 80rem); }
.storefront-catalogue-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; border: 1px solid #eadfd6; border-radius: 1rem; padding: 1.4rem 1.5rem; background: linear-gradient(120deg, #fff 55%, #fff2e8); box-shadow: 0 8px 28px rgb(72 43 26 / .05); }
.storefront-catalogue-intro h1 { margin: .2rem 0 .35rem; color: #2f2018; font-family: Georgia, serif; font-size: clamp(1.65rem, 4vw, 2.6rem); line-height: 1.05; }
.storefront-catalogue-intro p:last-child { margin: 0; color: #77695f; }
.storefront-products-page .storefront-catalogue { padding-top: 1.4rem; }
.storefront-products-page .storefront-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.storefront-details-body { background: #f3efeb; }
.storefront-details-page .storefront-app-shell { width: min(100%, 74rem); padding-top: 1.35rem; }
.storefront-details-page .storefront-identity { margin-bottom: 0; }
.storefront-details-page .storefront-cover, .storefront-details-page .storefront-cover-content { min-height: clamp(20rem, 40vw, 27rem); }
.storefront-details-page .storefront-cover { position: relative; border-radius: 1.25rem; box-shadow: 0 16px 44px rgb(45 25 14 / .16); }
.storefront-edit-image { position: absolute; z-index: 2; top: 1rem; right: 1rem; border: 1px solid rgb(255 255 255 / .45); border-radius: 2rem; padding: .55rem .75rem; background: rgb(24 14 9 / .62); color: #fff; font-size: .66rem; font-weight: 850; backdrop-filter: blur(8px); }
.storefront-details-page .storefront-cover-content { align-content: end; padding: clamp(1.25rem, 4vw, 2.5rem); }
.storefront-details-page .storefront-title h1 { max-width: 46rem; font-family: Georgia, serif; font-size: clamp(2.25rem, 7vw, 4.75rem); line-height: .95; }
.storefront-details-page .storefront-actions { width: 100%; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); margin: 1rem 0 0; border: 1px solid #eadfd7; box-shadow: 0 10px 28px rgb(53 37 25 / .08); }
.storefront-details-page .storefront-detail-page { padding-top: 2.25rem; }
.storefront-details-page .storefront-detail-heading h2 { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.25rem); }
.storefront-details-page .storefront-detail-cta { margin-top: 1.2rem; }

@media (max-width: 1000px) {
    .storefront-products-page .storefront-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .storefront-preview-bar { justify-content: center; text-align: center; }
    .storefront-preview-bar a { width: 100%; text-align: center; }
    .storefront-catalogue-intro { align-items: stretch; flex-direction: column; gap: .85rem; padding: 1.05rem; }
    .storefront-products-page .storefront-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .storefront-details-page .storefront-app-shell { padding-top: .65rem; }
    .storefront-details-page .storefront-cover, .storefront-details-page .storefront-cover-content { min-height: 19rem; }
    .storefront-details-page .storefront-cover { border-radius: .9rem; }
    .storefront-details-page .storefront-cover-content { grid-template-columns: auto 1fr; padding: 1rem; }
    .storefront-details-page .storefront-title h1 { font-size: clamp(1.85rem, 10vw, 2.7rem); }
    .storefront-details-page .storefront-actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .75rem; }
    .storefront-details-page .storefront-detail-page { padding-top: 1.75rem; }
}

@media (max-width: 420px) {
    .storefront-app-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; }
    .storefront-mini-brand strong { max-width: 6.8rem; }
    .storefront-view-link { padding: .45rem .55rem !important; font-size: .61rem !important; }
    .storefront-catalogue-intro h1 { font-size: 1.6rem; }
    .storefront-product-copy p { display: none; }
    .storefront-details-page .storefront-actions > * { min-height: 4.4rem; }
}

/* Shared responsive foundations */
html { overflow-x: hidden; }
body { overflow-wrap: anywhere; }
img, svg, video, canvas { max-width: 100%; }
.header-inner { position: relative; }
.public-nav-toggle, .public-nav-backdrop { display: none; }
.public-nav-toggle { width: 2.75rem; height: 2.75rem; border: 1px solid #dce3ec; border-radius: .65rem; padding: .65rem; background: #fff; }
.public-nav-toggle span { display: block; height: 2px; margin-block: .25rem; border-radius: 1rem; background: var(--navy); }

@media (max-width: 760px) {
    .shell { width: min(100% - 1.25rem, 72rem); }
    .site-header { z-index: 35; }
    .header-inner { min-height: 4.25rem; padding-block: .65rem; }
    .brand { min-width: 0; font-size: 1.05rem; }
    .auth-page, .customer-auth-shell { gap: 2rem; padding-block: 1.25rem 3rem; }
    .auth-page > .auth-card, .customer-auth-shell > .auth-card { width: min(100%, 32rem); order: -1; justify-self: center; }
    .auth-card { gap: 1.05rem; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 12px 35px rgb(22 61 106 / .09); }
    .auth-form-heading { gap: .85rem; padding-bottom: 1.05rem; }
    .auth-form-icon { width: 3rem; height: 3rem; }
    .auth-form-heading h2 { font-size: 1.55rem; }
    .auth-card .input { min-height: 3.35rem; }
    .auth-card .button-wide { min-height: 3.35rem; }
    .auth-copy, .customer-auth-message { padding-inline: .25rem; }
    .auth-copy h1, .customer-auth-message h1 { font-size: clamp(2.15rem, 10vw, 3rem); line-height: 1.03; }
    .auth-copy p, .auth-copy li, .customer-auth-message > p { line-height: 1.6; }
    .switch-portal { font-size: .82rem; line-height: 1.55; }
    .demo-credentials { gap: .3rem; padding: .9rem 1rem; font-size: .8rem; line-height: 1.45; }
    .public-nav-toggle { display: block; flex: 0 0 auto; transition: border-color .2s ease, background .2s ease; }
    .public-nav-toggle span { transition: transform .2s ease, opacity .2s ease; }
    .public-nav-open .public-nav-toggle { border-color: #b9d4f4; background: #edf6ff; }
    .public-nav-open .public-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .public-nav-open .public-nav-toggle span:nth-child(2) { opacity: 0; }
    .public-nav-open .public-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-links { position: absolute; z-index: 42; top: calc(100% + .55rem); right: 0; display: grid; width: min(18rem, calc(100vw - 1.25rem)); max-height: calc(100vh - 5.5rem); overflow-y: auto; align-items: stretch; gap: .35rem; border: 1px solid #d7e5f2; border-radius: 1rem; padding: .65rem; background: #fff; box-shadow: 0 18px 48px rgb(20 62 105 / .18); opacity: 0; visibility: hidden; transform: translateY(-.5rem) scale(.98); transform-origin: top right; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
    .nav-links > a, .nav-links .nav-login, .nav-links form, .nav-links .nav-button { display: block !important; width: 100%; }
    .nav-links > a, .nav-links .nav-button { min-height: 3rem; border: 0; border-radius: .7rem; padding: .8rem .9rem; color: #253b58; text-align: left; }
    .nav-links > a:hover, .nav-links .nav-button:hover { background: #edf6ff; color: var(--blue); }
    .nav-links .nav-login { margin-top: .15rem; border: 1px solid #cfe1f3; background: linear-gradient(145deg, #f5faff, #eaf5ff); color: #1769cf; }
    .nav-links form { padding-top: .35rem; border-top: 1px solid #e7eef6; }
    .nav-links form .nav-button { color: #b83e3e; }
    .public-nav-open { overflow: hidden; }
    .public-nav-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
    .public-nav-backdrop { position: fixed; z-index: 30; inset: 0; border: 0; background: transparent; }
    .public-nav-open .public-nav-backdrop { display: block; }
    .page-heading, .detail-heading, .section-title { min-width: 0; }
    .form-card, .detail-card { padding: 1rem; }
    .form-actions { align-items: stretch; flex-direction: column-reverse; }
    .form-actions .button, .button-wide { width: 100%; min-height: 2.75rem; }
    .customer-account-actions { align-items: stretch; }
    .customer-account-actions a { min-height: 2.75rem; justify-content: center; }
    .order-summary { align-items: flex-start; flex-direction: column; }
    .order-summary > div:last-child { width: 100%; text-align: left; }
    .order-totals { width: 100%; justify-content: stretch; }
    .order-totals span { min-width: 0; }
    .cart-line { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
    .cart-line > form:first-of-type { grid-column: 1; }
    .cart-line > form:last-of-type { grid-column: 2; }
    .cart-line input { min-height: 2.75rem; }
    .cart-line button { min-height: 2.75rem; padding-inline: .5rem; }
    input, select, textarea { font-size: 16px; }
}
/* Public deals feed */
.deals-page{min-height:70vh;padding:4rem 0 5rem}.deals-hero{max-width:70rem}.deals-hero h1{max-width:46rem;margin:.4rem 0;font-size:clamp(2.4rem,6vw,5rem);line-height:1}.deals-hero>p:not(.eyebrow){max-width:40rem;color:var(--muted);line-height:1.65}.deal-filters{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(10rem,.7fr) auto;gap:.65rem;max-width:50rem;margin-top:1.5rem}.deal-filters input,.deal-filters select{min-height:3rem;border:1px solid var(--line);border-radius:.75rem;padding:0 .9rem;background:#fff;color:var(--ink)}.deal-filters button{border:0;border-radius:.75rem;padding:0 1.2rem;background:#287ceb;color:#fff;font-weight:900}.public-deal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}.public-deal-card{display:grid;min-height:17rem;align-content:start;border:1px solid var(--line);border-radius:1.1rem;padding:1.3rem;background:linear-gradient(145deg,#fff,#eef7ff);color:var(--ink);text-decoration:none;box-shadow:0 12px 32px rgb(18 55 95 / .06)}.public-deal-card>span{margin-top:1rem;color:var(--muted);font-size:.72rem}.public-deal-card h2{margin:.45rem 0;font-size:1.35rem}.public-deal-card p{color:var(--muted);font-size:.82rem;line-height:1.55}.public-deal-value{width:max-content;border-radius:.65rem;padding:.55rem .7rem;background:#287ceb;color:#fff;font-size:1.05rem;font-weight:950}.public-deal-card footer{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-top:auto;border-top:1px solid var(--line);padding-top:.9rem}.public-deal-card code{border-radius:.4rem;padding:.35rem .5rem;background:#fff;color:#1769e0;font-weight:900}.public-deal-card small{color:var(--muted)}.deal-empty{grid-column:1/-1;border:1px dashed var(--line);border-radius:1rem;padding:3rem;text-align:center}.deal-empty p{color:var(--muted)}.deal-empty a{color:#1769e0;font-weight:900}html[data-theme="midnight"] .public-deal-card{border-color:#26385c;background:linear-gradient(145deg,#141f36,#172945);color:#eef2fa}html[data-theme="midnight"] .deal-filters input,html[data-theme="midnight"] .deal-filters select,html[data-theme="midnight"] .public-deal-card code{border-color:#26385c;background:#1b2945;color:#82cbff}@media(max-width:850px){.public-deal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.deals-page{padding-top:2.5rem}.deal-filters,.public-deal-grid{grid-template-columns:1fr}.deal-filters button{min-height:3rem}.public-deal-card{min-height:15rem}}

@media (max-width: 420px) {
    .brand-mark { width: 2rem; height: 2rem; }
    .hero h1 { font-size: clamp(2.25rem, 13vw, 3rem); }
    .utility-grid { grid-template-columns: 1fr; }
    .storefront-products-page .storefront-product-grid { grid-template-columns: 1fr; }
    .storefront-product-copy p { display: block; }
    .storefront-actions { grid-template-columns: repeat(2, 1fr); }
}

/* Focused marketplace homepage */
.home-hero { position: relative; overflow: hidden; background: #f5f8ff; }
.home-hero::before { position: absolute; width: 34rem; height: 34rem; border-radius: 50%; background: radial-gradient(circle, rgb(64 129 255 / .2), transparent 67%); content: ''; inset: -15rem -8rem auto auto; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; min-height: 34rem; padding-block: 5rem; }
.home-hero-copy { min-width: 0; }
.home-eyebrow { color: #225dcc; }
.home-hero h1 { max-width: 46rem; margin: .75rem 0 1rem; color: #10223f; font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: .98; letter-spacing: -.06em; }
.home-hero-copy > p:last-of-type { max-width: 40rem; color: #5e6e84; font-size: 1.05rem; line-height: 1.75; }
.home-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; max-width: 45rem; margin-top: 2rem; border: 1px solid #d8e1ee; border-radius: 1rem; padding: .38rem; background: #fff; box-shadow: 0 16px 45px rgb(34 70 120 / .13); }
.home-search-icon { padding-left: .7rem; color: #8491a4; font-size: .9rem; }
.home-search input { min-width: 0; border: 0; padding: .8rem .65rem; outline: 0; color: #1c2d45; }
.home-search input::placeholder { color: #8a96a7; }
.home-scan-button { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: .7rem; background: #f1f5ff; color: #316be1; }
.home-scan-button:hover { background: #e5edff; }
.home-scan-button svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.home-search button { min-height: 2.7rem; border: 0; border-radius: .7rem; padding-inline: 1rem; background: #1769e0; color: #fff; font-size: .78rem; font-weight: 850; }
.home-journey-card { position: relative; border: 1px solid #dce4f0; border-radius: 1.4rem; padding: 1.6rem; background: rgb(255 255 255 / .88); box-shadow: 0 24px 70px rgb(37 72 120 / .14); backdrop-filter: blur(12px); }
.home-card-label { color: #2461cc; font-size: .65rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.home-journey-card h2 { max-width: 20rem; margin: .55rem 0 1.35rem; color: #132744; font-size: 1.65rem; }
.home-journey-card ol { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.home-journey-card li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; border-top: 1px solid #e6ebf2; padding-block: .9rem; }
.home-journey-card li > b { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: .65rem; background: #eaf2ff; color: #2966d2; font-size: .62rem; }
.home-journey-card li strong, .home-journey-card li small { display: block; }
.home-journey-card li strong { color: #20334d; font-size: .78rem; }
.home-journey-card li small { margin-top: .2rem; color: #778499; font-size: .67rem; line-height: 1.45; }
.home-section { padding-block: 4.5rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.home-section-heading h2 { color: #14243c; }
.home-section-heading > p { max-width: 28rem; margin: 0; color: #738096; font-size: .82rem; line-height: 1.6; text-align: right; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.home-category-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; border: 1px solid #e1e7ef; border-radius: .85rem; padding: .95rem; background: #fff; transition: .18s ease; }
.home-category-card:hover, .home-category-card.is-selected { border-color: #9abcf6; background: #f7faff; box-shadow: 0 10px 28px rgb(33 78 145 / .09); transform: translateY(-2px); }
.home-category-card > span { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .7rem; background: #eaf2ff; color: #2866d1; font-size: .75rem; font-weight: 900; }
.home-category-card strong, .home-category-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-category-card strong { color: #203149; font-size: .78rem; }
.home-category-card small { margin-top: .18rem; color: #8692a3; font-size: .64rem; }
.home-category-card > b { color: #7692bb; }
.home-stores { border-block: 1px solid #e7ebf1; background: #f7f9fc; }
.home-stores .vendor-art { min-height: 9rem; background: linear-gradient(135deg, #dceaff, #f5f9ff); }
.home-offers { padding-top: 4rem; }
.home-closing { background: #10223f; color: #fff; }
.home-closing > div { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3.2rem; }
.home-closing h2 { max-width: 44rem; color: #fff; }
.home-closing a { flex: 0 0 auto; border-radius: .7rem; padding: .8rem 1rem; background: #fff; color: #12355f; font-size: .78rem; font-weight: 850; }

@media (max-width: 900px) {
    .home-hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 4rem; }
    .home-journey-card { width: min(100%, 38rem); }
    .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .home-hero-grid { gap: 2rem; padding-block: 2.8rem; }
    .home-hero h1 { font-size: clamp(2.4rem, 13vw, 3.5rem); }
    .home-hero-copy > p:last-of-type { font-size: .94rem; }
    .home-search { grid-template-columns: auto minmax(0, 1fr) auto; }
    .home-search button { grid-column: 1 / -1; width: 100%; margin-top: .25rem; }
    .home-section { padding-block: 3.2rem; }
    .home-section-heading { align-items: flex-start; flex-direction: column; gap: .6rem; }
    .home-section-heading > p { text-align: left; }
    .home-category-grid { grid-template-columns: 1fr; }
    .home-closing > div { align-items: flex-start; flex-direction: column; }
    .home-closing a { width: 100%; text-align: center; }
}

/* Homepage visual refinement */
.site-header { border-bottom-color: #e8e4de; box-shadow: 0 1px 0 rgb(20 31 48 / .02); }
.home-hero { background: linear-gradient(145deg, #fbfaf7 0%, #f5f8ff 62%, #edf4ff 100%); }
.home-hero::after { position: absolute; width: 18rem; height: 18rem; border: 1px solid rgb(31 99 218 / .12); border-radius: 50%; content: ''; right: 24%; bottom: -12rem; box-shadow: 0 0 0 3rem rgb(31 99 218 / .025), 0 0 0 7rem rgb(31 99 218 / .018); }
.home-hero-grid { min-height: 37rem; }
.home-hero h1 { background: linear-gradient(110deg, #11213a 20%, #1d5ebe 90%); background-clip: text; color: transparent; }
.home-search { border-color: #cfd9e7; box-shadow: 0 18px 50px rgb(32 65 111 / .16); }
.home-scan-button { position: relative; }
.home-scan-button::after { position: absolute; width: .38rem; height: .38rem; border: 2px solid #fff; border-radius: 50%; background: #ff7658; content: ''; right: .24rem; bottom: .24rem; }
.home-discovery-panel { position: relative; overflow: hidden; border: 1px solid rgb(255 255 255 / .7); border-radius: 1.5rem; padding: 1rem; background: #10223f; color: #fff; box-shadow: 0 30px 80px rgb(22 46 81 / .26); transform: rotate(1deg); }
.home-discovery-panel::before { position: absolute; width: 15rem; height: 15rem; border-radius: 50%; background: radial-gradient(circle, rgb(71 143 255 / .35), transparent 70%); content: ''; top: -8rem; right: -6rem; }
.home-discovery-panel > header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem .3rem 1rem; }
.home-discovery-panel > header > div { display: flex; align-items: center; gap: .6rem; }
.home-discovery-panel > header strong { font-size: .76rem; }
.home-discovery-panel > header small { color: #9db2ce; font-size: .6rem; }
.home-panel-logo { display: block; width: 2rem; height: 2rem; border-radius: .55rem; object-fit: contain; }
.home-scan-demo { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; border-radius: 1.05rem; padding: 1.15rem; background: linear-gradient(135deg, #fff, #f1f6ff); color: #1a2c46; }
.home-demo-scanner { position: relative; display: grid; width: 5.2rem; height: 5.2rem; place-items: center; border-radius: 1rem; background: #f7faff; }
.home-demo-scanner::before, .home-demo-scanner::after, .home-demo-scanner i::before, .home-demo-scanner i::after { position: absolute; width: 1.25rem; height: 1.25rem; border-color: #2670e8; border-style: solid; content: ''; }
.home-demo-scanner::before { top: .75rem; left: .75rem; border-width: 3px 0 0 3px; border-radius: .3rem 0 0; }
.home-demo-scanner::after { top: .75rem; right: .75rem; border-width: 3px 3px 0 0; border-radius: 0 .3rem 0 0; }
.home-demo-scanner i::before { bottom: .75rem; left: .75rem; border-width: 0 0 3px 3px; border-radius: 0 0 0 .3rem; }
.home-demo-scanner i::after { right: .75rem; bottom: .75rem; border-width: 0 3px 3px 0; border-radius: 0 0 .3rem; }
.home-demo-scanner i { width: 1rem; height: 1rem; border-radius: .25rem; background: #ff7658; box-shadow: 1.25rem 0 #2aa56f, 0 1.25rem #f1b83d, 1.25rem 1.25rem #256ce1; transform: translate(-.6rem, -.6rem); }
.home-scan-demo small, .home-scan-demo strong { display: block; }
.home-scan-demo small { color: #3971c6; font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.home-scan-demo strong { margin-top: .28rem; font-size: .92rem; }
.home-scan-demo p { margin: .35rem 0 0; color: #6c7a8e; font-size: .65rem; line-height: 1.5; }
.home-preview-store { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .7rem; align-items: center; margin-top: .7rem; border: 1px solid rgb(255 255 255 / .12); border-radius: .9rem; padding: .85rem; background: rgb(255 255 255 / .07); }
.home-preview-store > span { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .7rem; background: #ff825d; font-size: .68rem; font-weight: 900; }
.home-preview-store small, .home-preview-store strong, .home-preview-store p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-preview-store small { color: #8ea5c3; font-size: .55rem; text-transform: uppercase; }
.home-preview-store strong { margin-top: .14rem; font-size: .75rem; }
.home-preview-store p { margin: .15rem 0 0; color: #a8bad1; font-size: .59rem; }
.home-preview-store > b { color: #8dbaff; }
.home-discovery-panel > footer { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .75rem; }
.home-discovery-panel > footer span { border: 1px solid rgb(255 255 255 / .12); border-radius: 2rem; padding: .35rem .55rem; color: #adc1da; font-size: .55rem; }
.home-category-card { border-color: #e6e2dc; border-radius: 1rem; padding: 1.05rem; box-shadow: 0 8px 24px rgb(29 43 65 / .035); }
.home-category-card > span { background: #e8f3ff; color: #1769cf; }
.home-category-card:nth-child(2n) > span { background: #eaf2ff; color: #2866d1; }
.home-category-card:nth-child(3n) > span { background: #e9f7f0; color: #21805a; }
.home-vendor-card { border: 0; box-shadow: 0 12px 35px rgb(24 44 73 / .09); transition: transform .18s ease, box-shadow .18s ease; }
.home-vendor-card:hover { box-shadow: 0 18px 45px rgb(24 44 73 / .14); transform: translateY(-4px); }
.home-vendor-card .vendor-art { min-height: 11rem; }
.home-vendor-card .vendor-art img { width: 100%; height: 11rem; object-fit: cover; transition: transform .25s ease; }
.home-vendor-card:hover .vendor-art img { transform: scale(1.035); }
.home-vendor-card .vendor-art::after { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgb(9 21 38 / .2)); content: ''; pointer-events: none; }
.home-offers .deal-card { position: relative; overflow: hidden; border: 1px solid #dbe7f2; background: linear-gradient(145deg, #f7fbff, #e8f3ff); box-shadow: 0 10px 28px rgb(21 78 146 / .08); }
.home-offers .deal-card:nth-child(2n) { border-color: #dbece2; background: linear-gradient(145deg, #f7fcf9, #eaf7ef); }
.home-offers .deal-card::after { position: absolute; width: 5rem; height: 5rem; border-radius: 50%; background: rgb(255 255 255 / .7); content: ''; right: -2rem; bottom: -2.5rem; }
.home-closing { background: linear-gradient(120deg, #10223f, #183f6e); }

@media (max-width: 900px) {
    .home-discovery-panel { width: min(100%, 32rem); transform: none; }
}

@media (max-width: 480px) {
    .home-discovery-panel { padding: .75rem; }
    .home-scan-demo { grid-template-columns: 1fr; }
    .home-demo-scanner { width: 4.8rem; height: 4.8rem; }
    .home-discovery-panel > footer { display: none; }
    .home-vendor-card .vendor-art, .home-vendor-card .vendor-art img { min-height: 10rem; height: 10rem; }
}

/* Friendly marketplace palette */
.marketplace-home { --home-ink: #10233f; --home-muted: #60728a; --home-coral: #2f80ed; --home-coral-dark: #1769cf; --home-teal: #118eaf; --home-teal-dark: #0c5368; --home-cream: #f7fbff; --home-line: #d9e7f2; background: var(--home-cream); }
.marketplace-home .site-header { border-bottom: 1px solid var(--home-line); background: rgb(250 253 255 / .96); box-shadow: 0 8px 28px rgb(23 73 126 / .06); backdrop-filter: blur(12px); }
.marketplace-home .brand { color: var(--home-ink); }
.marketplace-home .brand-mark { box-shadow: 0 6px 16px rgb(47 128 237 / .24); }
.marketplace-home .nav-links { color: #514b47; }
.marketplace-home .nav-links a:hover, .marketplace-home .nav-button:hover { color: var(--home-coral-dark); }
.marketplace-home .nav-login { border-color: #d1e1ee; background: #fff; }
.marketplace-home .public-nav-toggle { border-color: var(--home-line); background: #fff; }
.marketplace-home .public-nav-toggle span { background: var(--home-ink); }
.marketplace-home .home-hero { background: linear-gradient(135deg, #f8fcff 0%, #edf7ff 52%, #e4f5ff 100%); }
.marketplace-home .home-hero::before { background: radial-gradient(circle, rgb(47 128 237 / .2), transparent 68%); }
.marketplace-home .home-hero::after { border-color: rgb(17 142 175 / .14); box-shadow: 0 0 0 3rem rgb(17 142 175 / .03), 0 0 0 7rem rgb(17 142 175 / .02); }
.marketplace-home .home-eyebrow, .marketplace-home .eyebrow { color: var(--home-teal); }
.marketplace-home .eyebrow-light { color: #8dd7cb; }
.marketplace-home .home-hero h1 { background: none; color: var(--home-ink); }
.marketplace-home .home-hero-copy > p:last-of-type { color: var(--home-muted); }
.marketplace-home .home-search { border-color: #cbddea; box-shadow: 0 18px 45px rgb(27 92 155 / .14); }
.marketplace-home .home-search-icon { color: #7890a9; }
.marketplace-home .home-scan-button { background: #e7f7fc; color: var(--home-teal); }
.marketplace-home .home-scan-button:hover { background: #d6f0f7; }
.marketplace-home .home-scan-button::after { background: #43c5e6; }
.marketplace-home .home-search button { background: linear-gradient(145deg, #3b8cf2, #2375df); box-shadow: 0 6px 15px rgb(47 128 237 / .22); }
.marketplace-home .home-search button:hover { background: var(--home-coral-dark); }
.marketplace-home .home-discovery-panel { border-color: rgb(255 255 255 / .7); background: linear-gradient(145deg, #12396a, #17558d); box-shadow: 0 30px 75px rgb(18 66 112 / .26); }
.marketplace-home .home-discovery-panel::before { background: radial-gradient(circle, rgb(72 190 239 / .32), transparent 70%); }
.marketplace-home .home-panel-logo { box-shadow: 0 5px 14px rgb(2 11 28 / .22); }
.marketplace-home .home-scan-demo { background: linear-gradient(135deg, #fff, #eef8ff); color: var(--home-ink); }
.marketplace-home .home-demo-scanner { background: #f2f9ff; }
.marketplace-home .home-demo-scanner::before, .marketplace-home .home-demo-scanner::after, .marketplace-home .home-demo-scanner i::before, .marketplace-home .home-demo-scanner i::after { border-color: var(--home-teal); }
.marketplace-home .home-demo-scanner i { background: #2f80ed; box-shadow: 1.25rem 0 #19a8c7, 0 1.25rem #67c8f3, 1.25rem 1.25rem #1769cf; }
.marketplace-home .home-scan-demo small { color: var(--home-teal); }
.marketplace-home .home-scan-demo p { color: #61758c; }
.marketplace-home .home-preview-store > span { background: var(--home-coral); }
.marketplace-home .home-preview-store > b { color: #9ee4d8; }
.marketplace-home .home-section-heading h2 { color: var(--home-ink); }
.marketplace-home .home-section-heading > p { color: var(--home-muted); }
.marketplace-home .home-category-card { border-color: var(--home-line); background: #fff; box-shadow: 0 8px 24px rgb(28 84 137 / .05); }
.marketplace-home .home-category-card:hover, .marketplace-home .home-category-card.is-selected { border-color: #82b7ef; background: #f4faff; box-shadow: 0 12px 30px rgb(27 94 157 / .11); }
.marketplace-home .home-category-card > span { background: #e8f2ff; color: var(--home-coral-dark); }
.marketplace-home .home-category-card:nth-child(2n) > span { background: #e6f8fc; color: var(--home-teal); }
.marketplace-home .home-category-card:nth-child(3n) > span { background: #edf4ff; color: #536fc2; }
.marketplace-home .home-category-card strong { color: var(--home-ink); }
.marketplace-home .home-category-card > b { color: var(--home-coral); }
.marketplace-home .home-stores { border-color: var(--home-line); background: #f1f7fc; }
.marketplace-home .home-vendor-card { border: 1px solid #dae7f1; box-shadow: 0 12px 32px rgb(23 75 126 / .08); }
.marketplace-home .home-vendor-card:hover { box-shadow: 0 18px 44px rgb(23 75 126 / .15); }
.marketplace-home .vendor-category, .marketplace-home .vendor-card-footer > a { color: var(--home-teal); }
.marketplace-home .vendor-card-footer button, .marketplace-home .save-login-link { color: var(--home-coral-dark); }
.marketplace-home .home-offers .deal-card { border-color: #d5e6f5; background: linear-gradient(145deg, #f8fcff, #e8f4ff); }
.marketplace-home .home-offers .deal-card:nth-child(2n) { border-color: #ccebf2; background: linear-gradient(145deg, #f7fdff, #e3f7fc); }
.marketplace-home .deal-value { color: var(--home-coral-dark); }
.marketplace-home .home-closing { background: linear-gradient(120deg, #12396a, #176da4); }
.marketplace-home .home-closing a { color: var(--home-teal-dark); }

@media (max-width: 760px) {
    .marketplace-home .nav-links { border-color: var(--home-line); background: #fafdff; box-shadow: 0 18px 48px rgb(20 62 105 / .18); }
}

/* Optional email OTP authentication */
.otp-page { padding-block: 3rem 5rem; }
.otp-page > .section-heading { max-width: 42rem; }
.otp-form-grid { display: grid; grid-template-columns: minmax(0, 32rem); justify-content: center; gap: 1.25rem; align-items: start; }
.otp-form-grid > form { display: grid; gap: 1rem; }
.otp-form-grid h2 { margin: 0; }
.captcha-question { display: inline-flex; width: fit-content; min-width: 8rem; align-items: center; justify-content: center; margin-bottom: .55rem; border: 1px dashed #80b9eb; border-radius: .7rem; padding: .75rem 1rem; background: #eef8ff; color: #125fae; font-size: 1.15rem; font-weight: 900; letter-spacing: .04em; }
.otp-notice { border: 1px solid #b8e0cd; border-radius: .65rem; padding: .8rem; background: #effaf5; color: #176743; font-size: .82rem; line-height: 1.5; }
.otp-password-link { margin: 1.2rem 0 0; text-align: center; }
.otp-password-link a { color: var(--blue); font-weight: 800; }
.otp-verification-card { width: 100%; max-width: 30rem; margin-inline: auto; padding: clamp(1.4rem, 4vw, 2.2rem); text-align: center; }
.otp-verification-card form { display: grid; gap: 1rem; text-align: left; }
.otp-verification-icon { display: grid; width: 4rem; height: 4rem; margin: 0 auto .9rem; place-items: center; border-radius: 50%; background: var(--surface-2, #eaf6ff); color: var(--blue); font-size: 1.65rem; font-weight: 900; }
.otp-verification-card h2 { font-size: clamp(1.75rem, 5vw, 2.35rem); line-height: 1.08; }
.otp-verification-email { margin: .2rem 0 1rem; color: var(--ink); font-weight: 900; overflow-wrap: anywhere; }
.otp-code-field label { display: block; text-align: center; }
.otp-digit-group { display: grid; grid-template-columns: repeat(6, minmax(0, 3.2rem)); justify-content: center; gap: .55rem; }
.otp-digit-input { width: 100%; height: 3.45rem; border: 1.5px solid #cbd5e1; border-radius: .75rem; outline: 0; background: #fff; color: #0f172a; font: inherit; font-size: 1.35rem; font-weight: 900; text-align: center; caret-color: var(--blue); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.otp-digit-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(85 182 255 / .16); transform: translateY(-1px); }
.otp-verification-actions { display: grid; gap: .65rem; margin-top: .8rem; }
.otp-verification-actions form { display: block; }
.otp-change-email { width: 100%; border: 0; padding: .7rem; background: transparent; color: var(--blue); font: inherit; font-weight: 800; cursor: pointer; }
.otp-expiry-note { margin-top: 1rem; }

@media (max-width: 760px) {
    .otp-page { padding-block: 2rem 4rem; }
    .otp-form-grid { grid-template-columns: 1fr; }
    .otp-digit-group { grid-template-columns: repeat(6, minmax(0, 2.7rem)); gap: .35rem; }
    .otp-digit-input { height: 3.1rem; }
}

/* UI Design Document: Fresh Blue and Midnight Premium display modes */
.theme-toggle { display: inline-flex; min-height: 2.35rem; align-items: center; gap: .45rem; border: 1px solid #cbdbea; border-radius: .65rem; padding: .5rem .7rem; background: #f5f9fd; color: #29435f; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.theme-toggle:hover { border-color: #82b7ef; color: #1769cf; }
.theme-switch { position: relative; display: inline-block; width: 2rem; height: 1.15rem; flex: 0 0 auto; border-radius: 2rem; background: #cbd8e6; transition: background .2s ease; }
.theme-switch i { position: absolute; top: .15rem; left: .15rem; width: .85rem; height: .85rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(16 35 63 / .25); transition: transform .2s ease; }
.theme-toggle[aria-pressed="true"] .theme-switch { background: #55b6ff; }
.theme-toggle[aria-pressed="true"] .theme-switch i { transform: translateX(.85rem); }

html[data-theme="midnight"] { color-scheme: dark; }
html[data-theme="midnight"] body { background: #0b1324; color: #eef2fa; }
html[data-theme="midnight"] .site-header,
html[data-theme="midnight"] .utility-strip { border-color: #26385c; background: rgb(20 31 54 / .96); }
html[data-theme="midnight"] .brand,
html[data-theme="midnight"] h1,
html[data-theme="midnight"] h2,
html[data-theme="midnight"] h3,
html[data-theme="midnight"] .product-name,
html[data-theme="midnight"] .field label { color: #eef2fa; }
html[data-theme="midnight"] .nav-links,
html[data-theme="midnight"] .nav-button,
html[data-theme="midnight"] .subtitle,
html[data-theme="midnight"] .product-description { color: #8d9bb8; }
html[data-theme="midnight"] .nav-links a:hover,
html[data-theme="midnight"] .text-link,
html[data-theme="midnight"] .link-action,
html[data-theme="midnight"] .back-link,
html[data-theme="midnight"] .eyebrow { color: #55b6ff; }
html[data-theme="midnight"] .theme-toggle { border-color: #26385c; background: #1b2945; color: #82cbff; }
html[data-theme="midnight"] .card,
html[data-theme="midnight"] .table-card,
html[data-theme="midnight"] .form-card,
html[data-theme="midnight"] .detail-card,
html[data-theme="midnight"] .portal-card,
html[data-theme="midnight"] .registration-card,
html[data-theme="midnight"] .metric-card,
html[data-theme="midnight"] .panel,
html[data-theme="midnight"] .auth-card,
html[data-theme="midnight"] .confirmation-card { border-color: #26385c; background: #141f36; box-shadow: 0 18px 45px rgb(0 0 0 / .22); }
html[data-theme="midnight"] .vendor-registration-page { background: linear-gradient(135deg, #0b1324, #101d33); }
html[data-theme="midnight"] .registration-intro h1,
html[data-theme="midnight"] .registration-card h2,
html[data-theme="midnight"] .registration-card .field label { color: #eef2fa; }
html[data-theme="midnight"] .registration-intro > p,
html[data-theme="midnight"] .registration-benefits span,
html[data-theme="midnight"] .registration-step,
html[data-theme="midnight"] .form-note { color: #aab7ce; }
html[data-theme="midnight"] .form-note { border: 0; background: transparent; }
html[data-theme="midnight"] .verification-copy { color: #aab7ce; }
html[data-theme="midnight"] .verification-back { color: #82cbff; }
html[data-theme="midnight"] .login-error { background: #391c2a; color: #ff9cab; }
html[data-theme="midnight"] .registration-captcha { border-color: #26385c; background: #10192c; }
html[data-theme="midnight"] .captcha-question { background: #1b2945; color: #82cbff; }
html[data-theme="midnight"] .input,
html[data-theme="midnight"] input,
html[data-theme="midnight"] select,
html[data-theme="midnight"] textarea { border-color: #26385c; background: #141f36; color: #eef2fa; }
html[data-theme="midnight"] .input:focus,
html[data-theme="midnight"] input:focus,
html[data-theme="midnight"] select:focus,
html[data-theme="midnight"] textarea:focus { border-color: #55b6ff; outline-color: rgb(85 182 255 / .22); }
html[data-theme="midnight"] th { background: #1b2945; color: #aab6ce; }
html[data-theme="midnight"] td { border-color: #26385c; color: #d6deed; }
html[data-theme="midnight"] tbody tr:hover { background: #17243d; }
html[data-theme="midnight"] .button-primary { background: #55b6ff; color: #071525; }
html[data-theme="midnight"] .button-primary:hover { background: #82cbff; }
html[data-theme="midnight"] .button-secondary { color: #d6deed; }
html[data-theme="midnight"] .demo-credentials,
html[data-theme="midnight"] .qr-placeholder,
html[data-theme="midnight"] .checkout-form { background: #1b2945; color: #aab6ce; }

html[data-theme="midnight"] .marketplace-home { --home-ink: #eef2fa; --home-muted: #aab7ce; --home-coral: #55b6ff; --home-coral-dark: #82cbff; --home-teal: #55c8e8; --home-teal-dark: #8dddf2; --home-cream: #0b1324; --home-line: #26385c; }
html[data-theme="midnight"] .marketplace-home .site-header,
html[data-theme="midnight"] .marketplace-home .nav-links { border-color: #26385c; background: rgb(20 31 54 / .97); box-shadow: 0 16px 40px rgb(0 0 0 / .2); }
html[data-theme="midnight"] .marketplace-home .nav-links,
html[data-theme="midnight"] .marketplace-home .nav-button { color: #c1cde0; }
html[data-theme="midnight"] .marketplace-home .nav-login { border-color: #35527b; background: #1b2945; color: #eef2fa; }
html[data-theme="midnight"] .marketplace-home .home-hero { background: linear-gradient(135deg, #0d1729 0%, #10213a 55%, #123352 100%); }
html[data-theme="midnight"] .marketplace-home .home-hero::before { background: radial-gradient(circle, rgb(85 182 255 / .18), transparent 68%); }
html[data-theme="midnight"] .marketplace-home .home-hero::after { border-color: rgb(85 182 255 / .12); box-shadow: 0 0 0 3rem rgb(85 182 255 / .025), 0 0 0 7rem rgb(85 182 255 / .015); }
html[data-theme="midnight"] .marketplace-home .public-nav-toggle,
html[data-theme="midnight"] .marketplace-home .home-search,
html[data-theme="midnight"] .marketplace-home .home-category-card,
html[data-theme="midnight"] .marketplace-home .home-vendor-card { border-color: #26385c; background: #141f36; }
html[data-theme="midnight"] .marketplace-home .public-nav-toggle span { background: #eef2fa; }
html[data-theme="midnight"] .marketplace-home .home-scan-button { background: #142d47; color: #82cbff; }
html[data-theme="midnight"] .marketplace-home .home-stores { border-color: #26385c; background: #101a2e; }
html[data-theme="midnight"] .marketplace-home .home-offers .deal-card,
html[data-theme="midnight"] .marketplace-home .home-offers .deal-card:nth-child(2n) { border-color: #2d456b; background: linear-gradient(145deg, #141f36, #1a2b49); box-shadow: 0 12px 30px rgb(0 0 0 / .2); }
html[data-theme="midnight"] .marketplace-home .home-offers .deal-card::after { background: rgb(85 182 255 / .08); }
html[data-theme="midnight"] .marketplace-home .home-offers .deal-value { background: #203b5c; color: #82cbff; }
html[data-theme="midnight"] .marketplace-home .home-offers .deal-card h3 { color: #f4f7fc; }
html[data-theme="midnight"] .marketplace-home .home-scan-demo { border: 1px solid #26385c; background: linear-gradient(135deg, #141f36, #1b2945); }
html[data-theme="midnight"] .marketplace-home .home-demo-scanner { background: #0f1a2f; }
html[data-theme="midnight"] .marketplace-home .home-search button { background: #55b6ff; color: #071525; box-shadow: 0 8px 20px rgb(85 182 255 / .18); }
html[data-theme="midnight"] .marketplace-home .home-discovery-panel,
html[data-theme="midnight"] .marketplace-home .home-closing { background: linear-gradient(145deg, #101d33, #172a49); }
html[data-theme="midnight"] .marketplace-home .home-closing a { border-color: #55b6ff; background: #55b6ff; color: #071525; box-shadow: 0 8px 22px rgb(85 182 255 / .2); }
html[data-theme="midnight"] .marketplace-home .home-closing a:hover { background: #82cbff; }
html[data-theme="midnight"] .marketplace-home .home-hero-copy > p:last-of-type,
html[data-theme="midnight"] .marketplace-home .home-scan-demo p,
html[data-theme="midnight"] .marketplace-home .home-section-heading > p,
html[data-theme="midnight"] .marketplace-home .vendor-card > p:not(.vendor-category),
html[data-theme="midnight"] .marketplace-home .vendor-meta,
html[data-theme="midnight"] .marketplace-home .deal-card p,
html[data-theme="midnight"] .marketplace-home .deal-card small { color: #aab7ce; }
html[data-theme="midnight"] .marketplace-home .home-search input::placeholder { color: #91a2bd; opacity: 1; }
html[data-theme="midnight"] .marketplace-home .home-category-card:hover,
html[data-theme="midnight"] .marketplace-home .home-category-card.is-selected { border-color: #55b6ff; background: #1b2945; box-shadow: 0 14px 34px rgb(0 0 0 / .2); }

@media (max-width: 760px) {
    .theme-toggle { width: 100%; justify-content: center; }
}

/* Shared public-site footer and document-aligned finishing layer */
.site-footer { border-top: 1px solid #263b5a; padding: 2.75rem 0 1.15rem; background: linear-gradient(145deg, #10233f, #091629); color: #d8e5f4; }
.footer-grid { display: grid; grid-template-columns: minmax(15rem, 1.4fr) repeat(3, minmax(9rem, .8fr)); gap: 1.25rem; align-items: stretch; }
.footer-column { display: grid; align-content: start; gap: .55rem; border: 1px solid rgb(255 255 255 / .08); border-radius: .85rem; padding: 1rem; background: rgb(255 255 255 / .035); }
.site-footer .brand { width: fit-content; color: #fff; }
.footer-brand { display: grid; align-content: center; border-radius: 1rem; padding: 1.15rem; background: linear-gradient(145deg, rgb(85 182 255 / .13), rgb(255 255 255 / .025)); }
.footer-brand p { margin: .85rem 0 0; color: #9eb1ca; font-size: .78rem; line-height: 1.65; }
.footer-grid strong { margin-bottom: .2rem; color: #fff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { display: inline-flex; width: fit-content; min-height: 1.8rem; align-items: center; color: #aebed2; font-size: .73rem; font-weight: 700; }
.footer-column a:hover { color: #64c4ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .1); color: #7f94af; font-size: .65rem; }

html[data-theme="midnight"] .site-footer { border-color: #26385c; background: #070e1c; }
html[data-theme="midnight"] .site-footer .brand,
html[data-theme="midnight"] .site-footer strong { color: #eef2fa; }
html[data-theme="midnight"] .footer-brand p,
html[data-theme="midnight"] .footer-column a { color: #9eacc3; }
html[data-theme="midnight"] .alert-success { border-color: #2a745f; background: #123a39; color: #8be4c4; }
html[data-theme="midnight"] .button-secondary:hover { background: #1b2945; color: #eef2fa; }
html[data-theme="midnight"] .form-actions,
html[data-theme="midnight"] .detail-grid { border-color: #26385c; }
html[data-theme="midnight"] .detail-grid dt,
html[data-theme="midnight"] .detail-description dd,
html[data-theme="midnight"] .empty-state { color: #aab7ce; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
    .footer-brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
    .footer-brand p { margin: 0; }
}

@media (max-width: 560px) {
    .site-footer { padding-top: 1.25rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .footer-brand { grid-column: 1 / -1; padding: .9rem; }
    .footer-brand .brand { font-size: 1rem; }
    .footer-brand .brand-mark { width: 1.8rem; height: 1.8rem; }
    .footer-brand p { font-size: .68rem; line-height: 1.45; }
    .footer-column { gap: .25rem; padding: .8rem; }
    .footer-column a { min-height: 1.65rem; font-size: .68rem; }
    .footer-account { grid-column: 1 / -1; grid-template-columns: auto repeat(2, minmax(0, auto)); align-items: center; justify-content: start; column-gap: 1rem; }
    .footer-account strong { margin: 0; }
    .footer-bottom { flex-wrap: wrap; margin-top: .8rem; padding-top: .8rem; }
}

@media (max-width: 380px) {
    .footer-grid { gap: .5rem; }
    .footer-column { padding: .7rem; }
    .footer-account { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .6rem; }
    .footer-account strong { grid-column: 1 / -1; }
    .footer-bottom { display: grid; gap: .25rem; }
}

/* Storefront: Fresh Blue / Dark Mode variants from the UI design document */
.storefront-shell-body,
.storefront-catalogue-body,
.storefront-details-body,
.storefront-page { --store-accent: #287ceb; background: #f5f9fd; color: #10233f; }
.storefront-app-header { border-color: #dbe7f2; background: rgb(255 255 255 / .96); box-shadow: 0 5px 20px rgb(24 63 110 / .06); }
.storefront-menu-button { background: #eef5fc; }
.storefront-menu-button > span { background: #145fc4; }
.storefront-mini-brand { color: #10233f; }
.storefront-mini-brand img,
.storefront-mini-brand > span,
.storefront-category-art { background: #eef5fc; color: #145fc4; }
.storefront-header-actions a { color: #145fc4; }
.storefront-view-link { border-color: #dbe7f2; }
.storefront-cart-link,
.storefront-search button,
.storefront-category-art.all,
.storefront-detail-heading > a,
.storefront-detail-icon { background: #287ceb; color: #fff; }
.storefront-search,
.storefront-category-rail > a,
.storefront-product-card,
.storefront-detail-card,
.storefront-detail-facts article { border-color: #dbe7f2; background: #fff; box-shadow: 0 8px 26px rgb(24 63 110 / .06); }
.storefront-category-rail > a { color: #53657d; }
.storefront-category-rail > a.active { border-color: #287ceb; background: #eef5fc; color: #145fc4; box-shadow: 0 0 0 2px rgb(40 124 235 / .12); }
.storefront-offer-grid article { border: 1px solid #1f71d8; background: linear-gradient(135deg, #1769cf, #287ceb); color: #fff; }
.storefront-offer-grid article > strong { color: #dff1ff; }
.storefront-offer-grid p,
.storefront-offer-grid small { color: #d8e9fb; }
.storefront-product-image { background: linear-gradient(145deg, #dcecff, #f4f9ff); color: #4e85c1; }
.storefront-section-tabs a { border-color: #dbe7f2; background: #fff; color: #53657d; }
.storefront-catalogue-intro,
.storefront-detail-about { border-color: #dbe7f2; background: linear-gradient(120deg, #fff 55%, #eef5fc); }
.storefront-catalogue-intro h1 { color: #10233f; }
.storefront-catalogue-intro p:last-child,
.storefront-detail-heading > div > p:last-child,
.storefront-detail-about div > p:last-child,
.storefront-product-copy p { color: #667891; }
.storefront-product-copy a,
.storefront-product-copy button,
.storefront-detail-facts article > span { background: #eef5fc; color: #145fc4; }
.storefront-detail-contact { background: #10233f; }
.storefront-detail-cta { background: linear-gradient(120deg, #1769cf, #287ceb); box-shadow: 0 12px 28px rgb(40 124 235 / .2); }
.storefront-menu { background: #fff; }
.storefront-menu > header,
.storefront-menu-contact { border-color: #dbe7f2; }
.storefront-menu > nav a,
.storefront-menu-contact a,
.storefront-menu-contact button { color: #334a67; }
.storefront-menu > nav a:hover { background: #eef5fc; color: #145fc4; }
.storefront-menu > nav b { color: #287ceb; }
.storefront-menu > footer { background: #eef5fc; color: #145fc4; }

html[data-theme="midnight"] .storefront-shell-body,
html[data-theme="midnight"] .storefront-catalogue-body,
html[data-theme="midnight"] .storefront-details-body,
html[data-theme="midnight"] .storefront-page { --store-accent: #55b6ff; background: #0b1324; color: #eef2fa; }
html[data-theme="midnight"] .storefront-app-header { border-color: #26385c; background: rgb(20 31 54 / .97); box-shadow: 0 6px 24px rgb(0 0 0 / .24); }
html[data-theme="midnight"] .storefront-menu-button,
html[data-theme="midnight"] .storefront-mini-brand img,
html[data-theme="midnight"] .storefront-mini-brand > span,
html[data-theme="midnight"] .storefront-category-art,
html[data-theme="midnight"] .storefront-product-copy a,
html[data-theme="midnight"] .storefront-product-copy button,
html[data-theme="midnight"] .storefront-detail-facts article > span { background: #1b2945; color: #82cbff; }
html[data-theme="midnight"] .storefront-menu-button > span { background: #82cbff; }
html[data-theme="midnight"] .storefront-mini-brand,
html[data-theme="midnight"] .storefront-product-copy h3,
html[data-theme="midnight"] .storefront-detail-facts strong { color: #eef2fa; }
html[data-theme="midnight"] .storefront-view-link,
html[data-theme="midnight"] .storefront-search,
html[data-theme="midnight"] .storefront-category-rail > a,
html[data-theme="midnight"] .storefront-product-card,
html[data-theme="midnight"] .storefront-detail-card,
html[data-theme="midnight"] .storefront-detail-facts article,
html[data-theme="midnight"] .storefront-catalogue-intro,
html[data-theme="midnight"] .storefront-panel,
html[data-theme="midnight"] .storefront-actions,
html[data-theme="midnight"] .storefront-section-tabs a { border-color: #26385c; background: #141f36; box-shadow: 0 10px 30px rgb(0 0 0 / .2); }
html[data-theme="midnight"] .storefront-search input { background: transparent; color: #eef2fa; }
html[data-theme="midnight"] .storefront-category-rail > a { color: #aab7ce; }
html[data-theme="midnight"] .storefront-category-rail > a.active { border-color: #55b6ff; background: #1b2945; color: #82cbff; box-shadow: 0 0 0 2px rgb(85 182 255 / .12); }
html[data-theme="midnight"] .storefront-offer-grid article { border-color: #2d456b; background: linear-gradient(145deg, #172a49, #1b365d); }
html[data-theme="midnight"] .storefront-offer-grid article > strong { color: #82cbff; }
html[data-theme="midnight"] .storefront-offer-grid p,
html[data-theme="midnight"] .storefront-offer-grid small { color: #b7c5da; }
html[data-theme="midnight"] .storefront-product-image { background: linear-gradient(145deg, #1b2945, #203754); color: #82cbff; }
html[data-theme="midnight"] .storefront-actions > * { border-color: #26385c; color: #eef2fa; }
html[data-theme="midnight"] .storefront-section-tabs a { color: #aab7ce; }
html[data-theme="midnight"] .storefront-section-tabs a.active { border-color: #55b6ff; background: #55b6ff; color: #071525; }
html[data-theme="midnight"] .storefront-catalogue-intro h1,
html[data-theme="midnight"] .storefront-catalogue-intro p:last-child,
html[data-theme="midnight"] .storefront-detail-heading > div > p:last-child,
html[data-theme="midnight"] .storefront-detail-about div > p:last-child,
html[data-theme="midnight"] .storefront-product-copy p,
html[data-theme="midnight"] .storefront-product-section-heading span { color: #aab7ce; }
html[data-theme="midnight"] .storefront-detail-about { border-color: #26385c; background: linear-gradient(135deg, #141f36, #1b2945); }
html[data-theme="midnight"] .storefront-detail-contact { background: #101d33; }
html[data-theme="midnight"] .storefront-menu { background: #10192c; }
html[data-theme="midnight"] .storefront-menu > header,
html[data-theme="midnight"] .storefront-menu-contact { border-color: #26385c; }
html[data-theme="midnight"] .storefront-menu header strong,
html[data-theme="midnight"] .storefront-menu > nav a,
html[data-theme="midnight"] .storefront-menu-contact a,
html[data-theme="midnight"] .storefront-menu-contact button { color: #dbe5f4; }
html[data-theme="midnight"] .storefront-menu > nav a:hover { background: #1b2945; color: #82cbff; }
html[data-theme="midnight"] .storefront-menu > footer { background: #1b2945; color: #82cbff; }

/* Account display preference */
.account-display-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; padding: 1.25rem 1.5rem; }
.account-display-inline { margin: .25rem 0; border-block: 1px solid #e2e8f0; padding-inline: 0; }
.email-change-security { display: grid; gap: 1rem; margin-block: .25rem; border-block: 1px solid #e2e8f0; padding-block: 1.25rem; }
.email-change-security[hidden] { display: none; }
.email-change-security h2 { margin: .3rem 0 .35rem; font-size: 1.15rem; }
.email-change-security > div:first-child > p:last-child { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.email-auth-options { display: flex; flex-wrap: wrap; gap: .65rem; }
.email-auth-options label { display: inline-flex; min-height: 2.7rem; align-items: center; gap: .45rem; border: 1px solid #cbd5e1; border-radius: .65rem; padding: .55rem .75rem; color: #334155; font-size: .82rem; font-weight: 750; cursor: pointer; }
.email-auth-options input { width: auto; accent-color: #1769cf; }
.email-code-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; }
.email-code-panel[hidden] { display: none; }
.email-code-inputs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.email-code-inputs .input { min-width: 0; padding: .72rem .2rem; font-size: 1.1rem; font-weight: 850; text-align: center; }
.email-code-button { min-height: 2.7rem; border: 1px solid #cbd5e1; }
.email-code-status { min-height: 1.2rem; margin: 0; font-size: .8rem; font-weight: 700; }
.email-code-status[data-state="success"] { color: #168155; }
.email-code-status[data-state="error"] { color: #dc2626; }
.account-password-card { display: grid; gap: 1rem; margin-top: 1rem; padding: 1.25rem 1.5rem; }
.account-session-card { display: grid; gap: 1rem; }
.account-session-card > div:first-child > p:last-child, .account-session-empty { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.account-session-list { display: grid; gap: .65rem; }
.account-session-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #dbe3ef; border-radius: .9rem; padding: .85rem 1rem; }
.account-session-row div { display: grid; gap: .2rem; min-width: 0; }
.account-session-row small { color: #64748b; overflow-wrap: anywhere; }
.account-session-row > span { color: #047857; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.account-session-others { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem; }
html[data-theme="midnight"] .account-session-row { border-color: #26385c; }
html[data-theme="midnight"] .account-session-row small, html[data-theme="midnight"] .account-session-card > div:first-child > p:last-child, html[data-theme="midnight"] .account-session-empty { color: #aab7ce; }
@media (max-width: 640px) { .account-session-row, .account-session-others { align-items: stretch; grid-template-columns: 1fr; } .account-session-row { flex-direction: column; } .account-session-row form, .account-session-row button, .account-session-others button { width: 100%; } }
.account-password-card.account-settings-section { margin: .25rem 0; border-block: 1px solid #e2e8f0; padding: 1.25rem 0; }
.account-password-card h2 { margin: .3rem 0 .35rem; font-size: 1.15rem; }
.account-password-card > div:first-child > p:last-child { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.account-password-card > [data-password-reset-open] { justify-self: start; border: 1px solid #cbd5e1; }
.password-reset-workflow { display: grid; gap: 1rem; border-top: 1px solid #e2e8f0; padding-top: 1rem; }
.password-reset-workflow[hidden], [data-password-reset-fields][hidden] { display: none; }
[data-password-reset-fields] { display: grid; gap: 1rem; }
.password-code-label { color: #334155; font-size: .875rem; font-weight: 700; }
.password-fields { margin-top: .25rem; }
.account-display-card h2 { margin: .3rem 0 .35rem; font-size: 1.15rem; }
.account-display-card p:last-child { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.account-theme-toggle { flex: 0 0 auto; }
.account-theme-toggle [data-theme-status] { min-width: 1.7rem; color: #64748b; font-size: .7rem; text-align: right; }
.account-theme-toggle[aria-pressed="true"] [data-theme-status] { color: #1769cf; }
html[data-theme="midnight"] .account-display-card p:last-child,
html[data-theme="midnight"] .account-theme-toggle [data-theme-status] { color: #aab7ce; }
html[data-theme="midnight"] .account-display-inline { border-color: #26385c; }
html[data-theme="midnight"] .email-change-security { border-color: #26385c; }
html[data-theme="midnight"] .email-change-security > div:first-child > p:last-child { color: #aab7ce; }
html[data-theme="midnight"] .email-auth-options label { border-color: #26385c; background: #1b2945; color: #eef2fa; }
html[data-theme="midnight"] .account-password-card > div:first-child > p:last-child { color: #aab7ce; }
html[data-theme="midnight"] .password-reset-workflow { border-color: #26385c; }
html[data-theme="midnight"] .account-password-card.account-settings-section { border-color: #26385c; }
html[data-theme="midnight"] .password-code-label { color: #eef2fa; }

.customer-settings-card { display: grid; gap: 1rem; }
.customer-settings-section { border: 1px solid #e2e8f0; border-radius: .85rem; padding: 1.25rem; background: #f8fafc; }
.customer-identity-section { display: grid; gap: 1rem; }
.customer-settings-section-heading h2 { margin: .3rem 0 .35rem; font-size: 1.15rem; }
.customer-settings-section-heading > p:last-child { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.customer-settings-card .account-password-card.account-settings-section,
.customer-settings-card .account-display-inline { margin: 0; border-block: 1px solid #e2e8f0; padding: 1.25rem; }
.customer-settings-card .account-password-card { margin-top: 0; }
.customer-settings-save { min-height: 3rem; }
html[data-theme="midnight"] .site-header { background: #141f36; }
html[data-theme="midnight"] .customer-settings-section { border-color: #2b3d61; background: #101a2e; }
html[data-theme="midnight"] .customer-settings-section-heading > p:last-child { color: #aab7ce; }
html[data-theme="midnight"] .customer-settings-card .account-password-card.account-settings-section,
html[data-theme="midnight"] .customer-settings-card .account-display-inline { border-color: #2b3d61; }

@media (max-width: 640px) {
    .account-display-card { align-items: stretch; flex-direction: column; }
    .account-display-card .account-theme-toggle { width: 100% !important; justify-content: center; }
    .email-code-panel { grid-template-columns: 1fr; }
    .email-code-inputs { gap: .3rem; }
    .customer-settings-page { padding-block: 1.5rem 3rem; }
    .customer-settings-page .section-heading { margin-bottom: 1.1rem; }
    .customer-settings-page .section-heading h1 { font-size: 2rem; }
    .customer-settings-card { gap: .8rem; padding: .75rem; }
    .customer-settings-section,
    .customer-settings-card .account-password-card.account-settings-section,
    .customer-settings-card .account-display-inline { border-radius: .75rem; padding: 1rem; }
    .customer-settings-card .account-password-card > [data-password-reset-open] { width: 100%; min-height: 3rem; justify-content: center; }
}

/* Customer navigation drawer */
.customer-nav-brand { border: 0; padding: 0; background: transparent; cursor: pointer; }
.marketplace-home .customer-site-header{backdrop-filter:none}
.customer-brand-menu-mark { display: grid; width: 1.5rem; height: 1.5rem; margin-left: .15rem; place-items: center; border-radius: 50%; background: #eaf3ff; color: var(--blue); font-size: 1.1rem; transition: transform .2s ease; }
.public-nav-open .customer-brand-menu-mark { transform: rotate(180deg); }
.customer-nav-drawer { position: fixed !important; z-index: 50 !important; inset: 0 auto 0 0 !important; display: grid !important; width: min(20rem, 88vw) !important; max-height: none !important; overflow-y: auto; align-content: start; align-items: stretch !important; gap: .35rem !important; border: 0 !important; border-right: 1px solid #d7e5f2 !important; border-radius: 0 !important; padding: 1rem !important; background: #fff !important; box-shadow: 20px 0 55px rgb(20 62 105 / .18) !important; opacity: 0 !important; visibility: hidden !important; transform: translateX(-102%) !important; transform-origin: left center !important; transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important; }
.public-nav-open .customer-nav-drawer { opacity: 1 !important; visibility: visible !important; transform: translateX(0) !important; }
.customer-drawer-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; border-bottom: 1px solid #e7eef6; padding: .35rem .4rem 1rem; }
.customer-drawer-heading img { width: 2.65rem; height: 2.65rem; border-radius: .7rem; object-fit: contain; }
.customer-drawer-heading strong, .customer-drawer-heading span { display: block; }
.customer-drawer-heading strong { color: var(--navy); font-size: 1rem; }
.customer-drawer-heading span { margin-top: .15rem; color: #708097; font-size: .7rem; }
.customer-drawer-heading>div{min-width:0;flex:1}
.customer-drawer-close{display:grid;width:2.35rem;height:2.35rem;flex:0 0 auto;place-items:center;border:1px solid #d7e5f2;border-radius:.7rem;background:#f4f8fc;color:#253b58;font-size:1.5rem;line-height:1;cursor:pointer}
.customer-nav-drawer > a, .customer-nav-drawer .nav-button { display: block !important; width: 100% !important; min-height: 3rem; border: 0 !important; border-radius: .7rem !important; padding: .8rem .9rem !important; color: #253b58 !important; text-align: left; }
.customer-nav-drawer > a:hover, .customer-nav-drawer .nav-button:hover { background: #edf6ff !important; color: var(--blue) !important; }
.customer-nav-drawer>a.is-active{background:#e8f3ff !important;color:#1769cf !important;box-shadow:inset 3px 0 0 #287ceb;font-weight:900}
.customer-nav-drawer form { width: 100%; margin-top: .35rem !important; border-top: 1px solid #e7eef6; padding-top: .7rem !important; }
.customer-nav-drawer form .nav-button { color: #b83e3e !important; }
.public-nav-open .public-nav-backdrop { position: fixed; z-index: 45; inset: 0; display: block; border: 0; background: rgb(16 34 63 / .22); backdrop-filter: blur(1px); }

html[data-theme="midnight"] .customer-brand-menu-mark { background: #1b2945; color: #82cbff; }
html[data-theme="midnight"] .customer-nav-drawer { border-color: #26385c !important; background: #10192c !important; box-shadow: 20px 0 55px rgb(0 0 0 / .4) !important; }
html[data-theme="midnight"] .customer-drawer-heading, html[data-theme="midnight"] .customer-nav-drawer form { border-color: #26385c; }
html[data-theme="midnight"] .customer-drawer-heading strong { color: #eef2fa; }
html[data-theme="midnight"] .customer-drawer-heading span { color: #8d9bb8; }
html[data-theme="midnight"] .customer-drawer-close{border-color:#304467;background:#1b2945;color:#eef2fa}
html[data-theme="midnight"] .customer-nav-drawer > a, html[data-theme="midnight"] .customer-nav-drawer .nav-button { color: #dbe5f4 !important; }
html[data-theme="midnight"] .customer-nav-drawer > a:hover, html[data-theme="midnight"] .customer-nav-drawer .nav-button:hover { background: #1b2945 !important; color: #82cbff !important; }
html[data-theme="midnight"] .customer-nav-drawer>a.is-active{background:#193250 !important;color:#82cbff !important;box-shadow:inset 3px 0 0 #55b6ff}

/* App-style web QR scanner */
.scan-app-shell { width: min(100% - 1.25rem, 42rem); }
.scan-app-heading { margin-bottom: 1.5rem; }
.scan-app-heading h1 { margin: .55rem 0 .7rem; font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1; }
.scan-app-heading > p:last-child { margin: 0; color: #adbed2; font-size: 1rem; line-height: 1.6; }
.scan-app-shell .scanner-card { padding: .75rem; border-color: rgb(101 176 255 / .45); border-radius: 1.5rem; background: rgb(255 255 255 / .05); }
.scan-app-shell .scanner-frame { border: 3px solid #65b0ff; border-radius: 1.25rem; background: #05090f; }
.scan-app-shell .scanner-overlay-flip { position: absolute; z-index: 3; top: .75rem; right: .75rem; min-height: 2.5rem; border-radius: 999px; padding: .55rem .85rem; box-shadow: 0 .35rem 1rem rgb(0 0 0 / .28); }
.scan-app-shell .scanner-corners { inset: 0; border: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); pointer-events: none; }
.scanner-primary-controls, .scanner-secondary-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: .7rem; }
.scan-app-shell .scanner-card button, .scanner-secondary-controls label { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 1px solid rgb(101 176 255 / .28); border-radius: .8rem; padding: .7rem; background: #55b6ff; color: #071525; font-size: .78rem; font-weight: 850; text-align: center; cursor: pointer; }
.scan-app-shell .scanner-card button:not(#start-scanner), .scanner-secondary-controls label { background: #172a49; color: #dbe9f7; }
.scan-app-shell .scanner-card button:disabled { cursor: not-allowed; opacity: .45; }
.scanner-secondary-controls input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.scan-manual-fallback { margin-top: .8rem; color: #9fb1c8; font-size: .75rem; }
.scan-manual-fallback summary { cursor: pointer; text-align: center; }
.scan-manual-fallback .scan-manual-form { margin-top: .7rem; }
.scan-app-shell .scan-manual-form { max-width: none; margin-top: 1.25rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 1rem; padding: 1rem; background: rgb(255 255 255 / .04); }
.scan-app-shell .scan-manual-form > div { overflow: hidden; }
.scan-app-shell .scan-manual-form button { background: #55b6ff; color: #071525; }
.native-direct-scanner { display: grid; gap: .8rem; padding: 1rem !important; }
.native-direct-scanner .native-scanner-message { display: grid; justify-items: center; gap: .35rem; padding: 1.15rem .9rem; border: 1px solid rgb(101 176 255 / .28); border-radius: 1rem; background: #13233f; color: #dbe9f7; text-align: center; }
.native-direct-scanner .native-scanner-icon { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 1rem; background: #55b6ff; color: #071525; font-size: 1.75rem; font-weight: 900; }
.native-direct-scanner .native-scanner-message strong { font-size: 1rem; }
.native-direct-scanner .native-scanner-message #scanner-status { color: #9fb1c8; font-size: .76rem; line-height: 1.45; }
.native-direct-scanner .scanner-primary-controls,
.native-direct-scanner .scanner-secondary-controls { grid-template-columns: 1fr; margin-top: 0; }
.native-direct-scanner .scanner-primary-controls [hidden],
.native-direct-scanner .scanner-secondary-controls [hidden] { display: none; }
.native-direct-scanner > p { margin-top: 0; }
.native-scanner-manual-fallback { display: none; }

@media (max-width: 560px) {
    .scan-page { padding-block: 2rem 3rem; }
    .scan-app-shell .scanner-card { border-radius: 1.1rem; }
    .scan-app-shell .scanner-frame { border-radius: .9rem; }
    .scan-app-shell .scan-manual-form > div { display: grid; }
    .scan-app-shell .scan-manual-form button { border-radius: .45rem; }
}
/* Notification centre */
.header-inner>.topbar-notification-bell{position:absolute;top:50%;right:0;display:grid;width:2.65rem;height:2.65rem;place-items:center;border:1px solid #d7e5f2;border-radius:50%;background:#f3f8fd;font-size:1rem;line-height:1;box-shadow:0 7px 18px rgb(16 35 63 / .08);transform:translateY(-50%)}.topbar-notification-bell b{position:absolute;top:-.25rem;right:-.25rem;display:grid;min-width:1.15rem;height:1.15rem;place-items:center;padding:0 .22rem;border:2px solid #fff;border-radius:999px;background:#e24747;color:#fff;font-size:.56rem;font-weight:900}
.customer-topbar-actions{position:absolute;top:50%;right:0;display:flex;align-items:center;gap:.45rem;transform:translateY(-50%)}.customer-topbar-action,.customer-topbar-actions .topbar-notification-bell{position:relative;display:grid;width:2.65rem;height:2.65rem;place-items:center;border:1px solid #d7e5f2;border-radius:50%;background:#f3f8fd;color:#183456;box-shadow:0 7px 18px rgb(16 35 63/.08)}.customer-topbar-action svg{width:1.2rem;height:1.2rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.customer-topbar-action b{position:absolute;top:-.25rem;right:-.25rem;display:grid;min-width:1.15rem;height:1.15rem;place-items:center;padding:0 .22rem;border:2px solid #fff;border-radius:999px;background:#e24747;color:#fff;font-size:.56rem;font-weight:900}.customer-home-lower-grid-simple{grid-template-columns:1fr}.customer-home-lower-grid-simple .customer-featured-deal{max-width:none}
@media(max-width:720px){.header-inner>.topbar-notification-bell{right:1rem}.header-inner:has(>.topbar-notification-bell){padding-right:4.5rem}}
@media(max-width:720px){.customer-topbar-actions{right:1rem}.header-inner:has(>.customer-topbar-actions){padding-right:9.6rem}.customer-topbar-action,.customer-topbar-actions .topbar-notification-bell{width:2.35rem;height:2.35rem}.customer-topbar-action svg{width:1.05rem;height:1.05rem}}
.nav-count{display:inline-flex;min-width:1.45rem;height:1.45rem;align-items:center;justify-content:center;margin-left:.35rem;padding:0 .35rem;border-radius:999px;background:#247fec;color:#fff;font-size:.72rem;font-weight:800}
.notification-page{padding-top:3rem;padding-bottom:4rem}
.notification-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}
.notification-heading h1{margin:.2rem 0;font-size:clamp(2rem,5vw,3.25rem)}
.notification-heading p{color:var(--muted, #63738b)}
.notification-read-all{border:1px solid #c7d7e8;border-radius:12px;padding:.8rem 1rem;background:#fff;color:#1268c4;font-weight:800;cursor:pointer}
.notification-list{display:grid;gap:.75rem}
.notification-list form{margin:0}
.notification-item{display:flex;width:100%;align-items:center;gap:1rem;border:1px solid #d9e4ef;border-radius:16px;padding:1rem 1.1rem;background:#fff;text-align:left;cursor:pointer}
.notification-item.unread{border-color:#78b8fb;background:#f0f8ff}
.notification-dot{width:.65rem;height:.65rem;flex:0 0 auto;border-radius:50%;background:#b5c1ce}
.notification-item.unread .notification-dot{background:#247fec;box-shadow:0 0 0 5px #dceeff}
.notification-copy{display:grid;flex:1;gap:.25rem}
.notification-copy strong{color:#10213b;font-size:1rem}.notification-copy small{color:#52657d;font-size:.9rem}.notification-copy time{color:#8795a8;font-size:.75rem}
.notification-arrow{color:#247fec;font-size:1.8rem}
.notification-empty{padding:1.5rem 0;text-align:center}.notification-empty p{margin:0;color:#63738b;font-size:.85rem}
html[data-theme="midnight"] .header-inner>.topbar-notification-bell,html[data-theme="midnight"] .notification-read-all,html[data-theme="midnight"] .notification-item{border-color:#26385c;background:#141f36;color:#eef2fa}html[data-theme="midnight"] .notification-item.unread{border-color:#55b6ff;background:#142d47}html[data-theme="midnight"] .notification-copy strong{color:#eef2fa}html[data-theme="midnight"] .notification-copy small,html[data-theme="midnight"] .notification-copy time{color:#aab6ce}
html[data-theme="midnight"] .customer-topbar-action,html[data-theme="midnight"] .customer-topbar-actions .topbar-notification-bell{border-color:#26385c;background:#141f36;color:#eef2fa}
@media(max-width:640px){.notification-page{padding-top:2rem}.notification-heading{align-items:flex-start;flex-direction:column}.notification-read-all{width:100%}.notification-item{align-items:flex-start;padding:.9rem}.notification-copy small{line-height:1.45}}

/* Store availability and order progress */
.storefront-live-state{display:inline-flex;align-items:center;gap:.45rem;flex:0 0 auto;border:1px solid #eadfd6;border-radius:999px;padding:.5rem .75rem;background:#fff;color:#8a4d4d;font-size:.72rem;font-weight:850}.storefront-live-state i{width:.55rem;height:.55rem;border-radius:50%;background:#d95e67}.storefront-live-state.live{color:#15734c}.storefront-live-state.live i{background:#20ad6d;box-shadow:0 0 0 4px rgb(32 173 109 / .14)}.storefront-closed-action{display:inline-flex;margin-top:.7rem;border-radius:.55rem;padding:.55rem .7rem;background:#eef1f5;color:#657287;font-size:.72rem;font-weight:850}.order-progress{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 1.2rem;padding:0;list-style:none}.order-progress li{position:relative;display:grid;justify-items:center;gap:.4rem;color:#8592a5;font-size:.72rem;text-align:center}.order-progress li:not(:last-child)::after{position:absolute;z-index:0;top:.9rem;left:calc(50% + 1rem);width:calc(100% - 2rem);height:2px;background:#dce3ec;content:""}.order-progress span{z-index:1;display:grid;width:1.8rem;height:1.8rem;place-items:center;border:2px solid #d2dce8;border-radius:50%;background:#fff;font-weight:900}.order-progress .complete{color:#185bb8}.order-progress .complete span{border-color:#287ceb;background:#287ceb;color:#fff}.order-progress .complete:not(:last-child)::after{background:#287ceb}.order-progress .current span{box-shadow:0 0 0 5px rgb(40 124 235 / .13)}.order-cancelled-notice,.order-note{margin-bottom:1rem;border:1px solid #f0c7c7;border-radius:.75rem;padding:.85rem 1rem;background:#fff3f3;color:#9b3535}.order-note{margin-top:1rem;border-color:#d9e5f2;background:#f5f9fd;color:#334a68}.order-note p{margin:.3rem 0 0}.order-detail .section-title{margin-top:1rem}
.booking-progress{grid-template-columns:repeat(3,1fr)}
.booking-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(16rem,.65fr);gap:1rem}.booking-detail-card{padding:1.25rem}.booking-detail-card h2{margin:.35rem 0 1rem}.booking-detail-card>p:not(.eyebrow){color:var(--muted);line-height:1.7}.booking-detail-card dl{display:grid;gap:.75rem;margin:0}.booking-detail-card dl>div{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-top:.75rem}.booking-detail-card dt{color:var(--muted);font-size:.75rem;font-weight:750}.booking-detail-card dd{margin:0;color:var(--ink);font-size:.82rem;font-weight:850;text-align:right}.booking-detail-card .order-note{margin:1rem 0 0}.booking-history-summary h2{font-size:1rem}.booking-history-summary>div:last-child{display:grid;gap:.15rem}
html[data-theme="midnight"] .storefront-live-state,html[data-theme="midnight"] .order-progress span{border-color:#2b3d5d;background:#141f36}html[data-theme="midnight"] .storefront-closed-action{background:#1b2945;color:#aab6ce}html[data-theme="midnight"] .order-progress li:not(:last-child)::after{background:#2b3d5d}html[data-theme="midnight"] .order-progress .complete:not(:last-child)::after{background:#55b6ff}html[data-theme="midnight"] .order-progress .complete{color:#82cbff}html[data-theme="midnight"] .order-progress .complete span{border-color:#55b6ff;background:#55b6ff;color:#071525}html[data-theme="midnight"] .order-note{border-color:#2b3d5d;background:#141f36;color:#dbe5f4}
html[data-theme="midnight"] .booking-detail-card dl>div{border-color:#26385c}html[data-theme="midnight"] .booking-detail-card dd{color:#eef2fa}
@media(max-width:760px){.booking-detail-grid{grid-template-columns:1fr}.booking-history-summary{align-items:flex-start;flex-direction:column}.booking-history-summary>div:last-child{text-align:left}}
@media(max-width:560px){.storefront-live-state{align-self:flex-start}.order-progress strong{font-size:.62rem}.order-progress li:not(:last-child)::after{left:calc(50% + .8rem);width:calc(100% - 1.6rem)}}
.order-detail-line{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:.8rem 0}.order-detail-line>div{display:grid;gap:.2rem}.order-detail-line small{color:var(--muted)}.vendor-detail-actions{display:flex;align-items:end;gap:.75rem;margin-top:1rem;border:1px solid var(--line);border-radius:1rem;padding:1rem;background:var(--surface)}.vendor-detail-actions label{color:var(--muted);font-size:.75rem;font-weight:850}.vendor-detail-actions select{min-width:12rem}@media(max-width:560px){.vendor-detail-actions{align-items:stretch;flex-direction:column}.vendor-detail-actions select,.vendor-detail-actions button{width:100%}}
@media(max-width:560px){.booking-detail-card{padding:1rem}.booking-detail-card dl>div{display:grid;gap:.25rem}.booking-detail-card dd{text-align:left}}
.booking-reschedule-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(20rem,1.15fr);gap:1.5rem;margin-top:1rem;padding:1.25rem;align-items:end}.booking-reschedule-card h2{margin:.25rem 0}.booking-reschedule-card>div>p:last-child{color:var(--muted);line-height:1.6}.booking-reschedule-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end}.booking-reschedule-card .field{display:grid;gap:.4rem}.booking-reschedule-card .field span{color:var(--ink);font-size:.75rem;font-weight:800}.booking-reschedule-card input,.booking-reschedule-card select{width:100%;min-height:2.8rem;border:1px solid var(--line);border-radius:.75rem;padding:0 .8rem;background:var(--surface);color:var(--ink)}.booking-reschedule-card .button{min-height:2.8rem}.booking-reschedule-message{grid-column:1/-1;margin:0;color:var(--danger);font-size:.8rem;font-weight:700}@media(max-width:900px){.booking-reschedule-card{grid-template-columns:1fr}.booking-reschedule-card form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.booking-reschedule-card form{grid-template-columns:1fr}.booking-reschedule-card .button{width:100%}}
.vendor-booking-calendar{margin-bottom:1rem;border:1px solid var(--vendor-line);border-radius:1rem;background:var(--vendor-surface);overflow:hidden}.vendor-calendar-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--vendor-line)}.vendor-calendar-heading h2{margin:.2rem 0 0;font-size:1.15rem}.vendor-calendar-heading>p{margin:0;color:var(--vendor-muted);font-size:.75rem}.vendor-calendar-days{display:flex;gap:.75rem;overflow-x:auto;padding:1rem;scroll-snap-type:x proximity}.vendor-calendar-day{flex:0 0 12.5rem;display:grid;grid-template-columns:3.2rem 1fr;gap:.65rem;min-height:8rem;padding:.75rem;border:1px solid var(--vendor-line);border-radius:.85rem;background:var(--vendor-surface-2);scroll-snap-align:start}.vendor-calendar-day>header{display:flex;align-items:center;flex-direction:column;gap:.1rem;padding:.45rem;border-radius:.7rem;background:var(--vendor-bg)}.vendor-calendar-day>header span,.vendor-calendar-day>header small{color:var(--vendor-muted);font-size:.65rem;font-weight:800;text-transform:uppercase}.vendor-calendar-day>header strong{color:var(--vendor-ink);font-size:1.35rem}.vendor-calendar-day>div{display:grid;align-content:start;gap:.45rem}.vendor-calendar-day a{display:grid;gap:.1rem;padding:.4rem;border-radius:.55rem;background:var(--vendor-bg);text-decoration:none}.vendor-calendar-day time{color:var(--vendor-accent);font-size:.68rem;font-weight:900}.vendor-calendar-day a span{color:var(--vendor-ink);font-size:.72rem;font-weight:850}.vendor-calendar-day a small{color:var(--vendor-muted);font-size:.62rem}.vendor-calendar-empty{align-self:center;color:var(--vendor-muted);font-size:.7rem}.vendor-calendar-day.has-bookings{border-color:color-mix(in srgb,var(--vendor-accent) 55%,var(--vendor-line))}

/* Cart, checkout and live booking flow */
.cart-store-head>div>span{display:block;margin-top:.35rem;color:#64748b;font-size:.78rem}.cart-line-copy{min-width:0}.cart-quantity{display:inline-flex!important;align-items:center;border:1px solid #dbe7f2;border-radius:.7rem;padding:.15rem;background:#eef5fc}.cart-quantity button{display:grid;width:2rem;height:2rem;place-items:center;padding:0!important;border-radius:.5rem!important;color:#145fc4!important;font-size:1.1rem}.cart-quantity button:disabled{cursor:not-allowed;opacity:.35}.cart-quantity span{min-width:1.7rem;text-align:center;font-weight:900}.cart-bill{display:grid;gap:.65rem;padding:1.2rem}.cart-bill>div{display:flex;justify-content:space-between;color:#64748b}.cart-bill>div strong{color:#10233f}.cart-bill .cart-bill-total{margin-top:.2rem;border-top:1px solid #dbe7f2;padding-top:.9rem;color:#10233f;font-size:1.05rem;font-weight:900}.cart-bill-total strong{color:#1769e0!important;font-size:1.2rem}
.checkout-page{padding-block:3rem 5rem}.checkout-shell,.booking-shell{display:grid;grid-template-columns:minmax(0,1fr) 22rem;gap:1.25rem;align-items:start}.checkout-main,.booking-main{display:grid;gap:1rem}.checkout-section,.booking-section,.checkout-summary,.booking-summary{padding:1.3rem}.checkout-section h2,.checkout-summary h2,.booking-summary h2{margin:.3rem 0 .9rem}.checkout-choice{display:flex;align-items:center;gap:.8rem;border:1px solid #dbe7f2;border-radius:.85rem;padding:1rem;background:#f7fbff}.checkout-choice>span{display:grid;width:2rem;height:2rem;place-items:center;border-radius:50%;background:#eaf6ff;color:#1769e0;font-weight:900}.checkout-choice div{display:grid;gap:.2rem}.checkout-choice small{color:#64748b}.checkout-summary,.booking-summary{position:sticky;top:6rem;display:grid;gap:.85rem}.checkout-summary-item,.checkout-summary-row{display:flex;justify-content:space-between;gap:1rem;color:#64748b}.checkout-summary-item strong,.checkout-summary-row strong{color:#10233f}.checkout-summary-total{border-top:1px solid #dbe7f2;padding-top:1rem;color:#10233f;font-size:1.08rem;font-weight:900}.checkout-summary-total strong{color:#1769e0;font-size:1.25rem}
.booking-flow{max-width:72rem}.booking-date-strip{display:flex;gap:.65rem;overflow-x:auto;padding:.2rem 0 .35rem}.booking-date-option{display:grid;min-width:4.5rem;gap:.15rem;place-items:center;border:1px solid #dbe7f2;border-radius:.9rem;padding:.7rem .5rem;background:#f7fbff;color:#64748b}.booking-date-option strong{color:#10233f;font-size:1.35rem}.booking-date-option small,.booking-date-option span{font-size:.7rem;font-weight:800}.booking-date-option.is-selected{border-color:#1769e0;background:#1769e0;color:#fff}.booking-date-option.is-selected strong{color:#fff}.booking-slot-groups{display:grid;gap:1rem}.booking-slot-section h3{margin:0 0 .55rem;color:#64748b;font-size:.8rem}.booking-slots{display:flex;flex-wrap:wrap;gap:.55rem}.booking-slot{min-width:6.25rem;border:1px solid #dbe7f2;border-radius:.7rem;padding:.65rem .8rem;background:#f7fbff;color:#10233f;font-weight:800}.booking-slot.is-selected{border-color:#1769e0;background:#1769e0;color:#fff}
html[data-theme="midnight"] .cart-store-head>div>span,html[data-theme="midnight"] .checkout-summary-item,html[data-theme="midnight"] .checkout-summary-row,html[data-theme="midnight"] .checkout-choice small,html[data-theme="midnight"] .booking-slot-section h3{color:#aab6ce}html[data-theme="midnight"] .cart-quantity,html[data-theme="midnight"] .checkout-choice,html[data-theme="midnight"] .booking-date-option,html[data-theme="midnight"] .booking-slot{border-color:#26385c;background:#1b2945;color:#eef2fa}html[data-theme="midnight"] .cart-quantity button{color:#82cbff!important}html[data-theme="midnight"] .cart-bill>div strong,html[data-theme="midnight"] .cart-bill .cart-bill-total,html[data-theme="midnight"] .checkout-summary-item strong,html[data-theme="midnight"] .checkout-summary-row strong,html[data-theme="midnight"] .booking-date-option strong{color:#eef2fa}html[data-theme="midnight"] .cart-bill .cart-bill-total,html[data-theme="midnight"] .checkout-summary-total{border-color:#26385c}html[data-theme="midnight"] .checkout-choice>span{background:#142d47;color:#82cbff}html[data-theme="midnight"] .booking-date-option.is-selected,html[data-theme="midnight"] .booking-slot.is-selected{border-color:#55b6ff;background:#55b6ff;color:#071525}html[data-theme="midnight"] .booking-date-option.is-selected strong{color:#071525}
@media(max-width:800px){.checkout-shell,.booking-shell{grid-template-columns:1fr}.checkout-summary,.booking-summary{position:static}.cart-line{grid-template-columns:minmax(0,1fr) auto}.cart-line .cart-quantity{grid-column:1}.cart-line>form:last-child{justify-self:end}.booking-date-strip{margin-right:-1.3rem}.checkout-page,.booking-page{padding-block:2rem 4rem}}

/* Responsive finishing: readable form controls and a footer that remains at the page edge. */
@media (max-width: 760px) {
    input, select, textarea { font-size: 1rem; }
    .shell { width: min(100% - 1.25rem, 72rem); }
    .site-footer { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
}
.deal-condition{color:var(--ink)!important;font-size:.84rem!important;font-weight:800;margin-top:10px!important}

/* Customer discovery results */
.customer-results-page{min-height:75vh;color:#10223f}.customer-results-hero{padding:3rem 0 2.25rem;background:linear-gradient(135deg,#e8f4ff,#d8edff)}.customer-results-back{display:inline-flex;margin-bottom:1.4rem;color:#1769cf;font-size:.75rem;font-weight:900}.customer-results-hero h1{margin:.35rem 0 .55rem;font-size:clamp(2.3rem,5vw,4.2rem)}.customer-results-hero>div>p:not(.eyebrow){max-width:42rem;color:#58708d}.customer-results-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(12rem,.7fr) auto;gap:.75rem;align-items:end;max-width:60rem;margin-top:1.5rem}.customer-results-search label{display:grid;gap:.35rem;color:#516b89;font-size:.67rem;font-weight:850}.customer-results-search input{min-width:0;height:3.35rem;border:1px solid #c8dced;border-radius:.8rem;padding:0 1rem;background:#fff;color:#10223f;font-size:.82rem;outline:0}.customer-results-search input:focus{border-color:#287ceb;box-shadow:0 0 0 3px rgb(40 124 235/.14)}.customer-results-search button{height:3.35rem;border:0;border-radius:.8rem;padding:0 1.6rem;background:#287ceb;color:#fff;font-weight:900}.customer-results-content{padding-block:1.8rem 5rem}.customer-results-heading{margin-top:.3rem}.customer-results-page .pagination-wrap{margin-top:1.5rem}.customer-results-page .customer-empty-state a{display:inline-flex;margin-top:.75rem;color:#1769cf;font-weight:850}
html[data-theme="midnight"] .customer-results-page{color:#eef2fa}html[data-theme="midnight"] .customer-results-hero{background:linear-gradient(135deg,#101c31,#143657)}html[data-theme="midnight"] .customer-results-hero>div>p:not(.eyebrow){color:#aab7ce}html[data-theme="midnight"] .customer-results-search label{color:#aab7ce}html[data-theme="midnight"] .customer-results-search input{border-color:#294166;background:#141f36;color:#eef2fa}
@media(max-width:640px){.customer-results-hero{padding:2rem 0}.customer-results-search{grid-template-columns:1fr}.customer-results-search button{width:100%}.customer-results-content{padding-block:1.25rem 3rem}.customer-results-heading{align-items:start}.customer-results-heading h2{font-size:1.35rem}}

/* Customer activity hub */
.customer-activity-page{min-height:100%;padding:clamp(1.5rem,4vw,3rem) 0 4rem}.customer-activity-shell{width:min(100% - 2rem,58rem)}.customer-activity-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.customer-activity-heading h1{font-size:clamp(2.25rem,6vw,4rem)}.customer-activity-heading p:not(.eyebrow){margin:.6rem 0 0;color:#64748b;line-height:1.55}.customer-activity-cart{display:inline-grid;min-width:4.25rem;min-height:3rem;place-items:center;border:1px solid #dbe7f2;border-radius:1rem;background:#fff;color:#1769e0;font-weight:800}.activity-filters{display:flex;gap:.65rem;margin:1.75rem 0;overflow-x:auto;scrollbar-width:none}.activity-filters::-webkit-scrollbar{display:none}.activity-filters a{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto;padding:.72rem 1rem;border:1px solid #dbe7f2;border-radius:999px;background:#fff;color:#64748b;font-weight:800}.activity-filters a.is-active{border-color:#2f86ed;background:#2f86ed;color:#fff}.activity-filters span{font-size:.8em;opacity:.8}.customer-activity-list{display:grid;gap:.9rem}.customer-activity-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1rem;padding:1rem;border:1px solid #dbe7f2;border-radius:1.15rem;background:#fff;box-shadow:0 10px 28px rgb(30 67 109 / .07)}.activity-store-logo{display:grid;overflow:hidden;width:4rem;height:4rem;place-items:center;border-radius:1rem;background:#eaf4ff;color:#1769e0;font-weight:900}.activity-store-logo img{width:100%;height:100%;object-fit:cover}.activity-card-copy{min-width:0}.activity-card-title{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.activity-card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-card-copy>small{display:block;overflow:hidden;margin:.35rem 0;color:#64748b;text-overflow:ellipsis;white-space:nowrap}.activity-card-footer{display:grid;grid-template-columns:auto 1fr auto;gap:.65rem;align-items:center;margin-top:.7rem}.activity-card-footer time{color:#64748b;font-size:.85rem}.activity-card-footer a{padding:.55rem .8rem;border-radius:.7rem;background:#2f86ed;color:#fff;font-weight:800}.order-status{flex:0 0 auto;padding:.3rem .55rem;border-radius:999px;background:#eef4fb;color:#52657e;font-size:.72rem;font-weight:850;text-transform:capitalize}.order-status.status-completed{background:#e4f8ef;color:#087456}.order-status.status-cancelled{background:#fff0f0;color:#b53c45}.order-status.status-pending{background:#fff5df;color:#99610d}
@media(max-width:600px){.customer-activity-page{padding-top:1.25rem}.customer-activity-heading h1{font-size:2.55rem}.customer-activity-heading p:not(.eyebrow){font-size:.93rem}.customer-activity-card{grid-template-columns:3.25rem minmax(0,1fr);padding:.9rem}.activity-store-logo{width:3.25rem;height:3.25rem;border-radius:.85rem}.activity-card-title{align-items:flex-start}.activity-card-footer{grid-template-columns:auto 1fr auto}.activity-card-footer a{padding:.5rem .7rem}}

/* Shared public storefront profile. Website and Android use the same data and hierarchy. */
.public-store-profile{width:100%;margin:0 0 2rem;color:#10233f}
.public-store-cover{display:grid;width:100%;min-height:22rem;place-items:center;overflow:hidden;border-radius:1.5rem;background:#dcecff center/cover no-repeat;color:#287bcf;font-size:4rem;font-weight:900}
.public-store-identity-row{position:relative;display:grid;grid-template-columns:8rem minmax(0,1fr) auto;align-items:end;gap:1.35rem;margin:-4rem 1.5rem 0}
.public-store-logo{display:grid;width:8rem;height:8rem;place-items:center;overflow:hidden;border:5px solid #fff;border-radius:50%;background:#e8f4ff;color:#2679cc;font-size:2rem;font-weight:900;box-shadow:0 12px 28px rgb(18 49 84/.18)}
.public-store-logo img{width:100%;height:100%;object-fit:cover}
.public-store-identity-copy{min-width:0;padding-top:4.8rem}.public-store-identity-copy>p{margin:0;color:#247dd8;font-size:.75rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.public-store-identity-copy h1{margin:.35rem 0;font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.02}.public-store-rating{display:flex;align-items:center;gap:.45rem;color:#66778e;font-size:.85rem;font-weight:750}.public-store-rating strong{color:#2d87e7;font-size:1.15rem}
.public-store-favourite{align-self:end;margin:0 0 .5rem}.public-store-favourite button{display:grid;width:4.25rem;height:4.25rem;place-items:center;border:1px solid #d6e4f2;border-radius:1.25rem;background:#f2f7fd;color:#e34864;font-size:2rem;cursor:pointer}
.public-store-status{display:flex;align-items:center;gap:.55rem;margin:1.4rem 1.5rem 0;color:#8a5360;font-size:.84rem;font-weight:850}.public-store-status i{width:.65rem;height:.65rem;border-radius:50%;background:#d35c6b}.public-store-status.is-live{color:#16815b}.public-store-status.is-live i{background:#25b579;box-shadow:0 0 0 4px rgb(37 181 121/.12)}
.public-store-description{margin:1rem 1.5rem 0;color:#66778e;font-size:1rem;line-height:1.65}
.public-store-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:1.5rem}.public-store-actions>a,.public-store-actions>button,.public-store-actions>span{display:grid;min-height:6.2rem;place-items:center;align-content:center;gap:.45rem;border:1px solid #d9e5f2;border-radius:1.15rem;background:#fff;color:#10233f;font:inherit;text-align:center;text-decoration:none}.public-store-actions>button{cursor:pointer}.public-store-actions b{color:#2b86e4;font-size:1.4rem}.public-store-actions span{font-size:.78rem;font-weight:850}.public-store-actions>.is-disabled{opacity:.45}
.public-store-facts{margin:0 1.5rem;padding:1.35rem;border:1px solid #d9e5f2;border-radius:1.15rem;background:#f8fbfe}.public-store-facts h2{margin:0 0 .8rem;font-size:1.25rem}.public-store-facts p{margin:.35rem 0;color:#66778e;line-height:1.5}.public-store-facts a{display:inline-flex;margin-top:.65rem;color:#247dd8;font-weight:850}
.public-store-catalogue-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:2.5rem 0 1rem}.public-store-catalogue-heading p{margin:0;color:#247dd8;font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.public-store-catalogue-heading h2{margin:.25rem 0 0;font-size:clamp(1.7rem,4vw,2.5rem)}.public-store-catalogue-heading>span{color:#66778e;font-size:.8rem;font-weight:800}
html[data-theme="midnight"] .public-store-profile{color:#eef4ff}html[data-theme="midnight"] .public-store-logo{border-color:#091426;background:#142541;color:#55b6ff}html[data-theme="midnight"] .public-store-identity-copy>p,html[data-theme="midnight"] .public-store-rating strong,html[data-theme="midnight"] .public-store-actions b,html[data-theme="midnight"] .public-store-facts a,html[data-theme="midnight"] .public-store-catalogue-heading p{color:#55b6ff}html[data-theme="midnight"] .public-store-rating,html[data-theme="midnight"] .public-store-description,html[data-theme="midnight"] .public-store-facts p,html[data-theme="midnight"] .public-store-catalogue-heading>span{color:#9aa9c2}html[data-theme="midnight"] .public-store-favourite button,html[data-theme="midnight"] .public-store-actions>a,html[data-theme="midnight"] .public-store-actions>button,html[data-theme="midnight"] .public-store-actions>span,html[data-theme="midnight"] .public-store-facts{border-color:#26395d;background:#142039;color:#eef4ff}
@media(max-width:700px){.public-store-cover{min-height:15rem;border-radius:1.35rem}.public-store-identity-row{grid-template-columns:5.5rem minmax(0,1fr) auto;align-items:center;gap:.9rem;margin:-2.75rem .8rem 0}.public-store-logo{width:5.5rem;height:5.5rem;border-width:4px}.public-store-identity-copy{padding-top:3.1rem}.public-store-identity-copy h1{font-size:2rem}.public-store-favourite button{width:3.75rem;height:3.75rem}.public-store-status,.public-store-description{margin-left:.8rem;margin-right:.8rem}.public-store-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin:1.25rem .8rem}.public-store-actions>a,.public-store-actions>button,.public-store-actions>span{min-height:5.4rem}.public-store-facts{margin:0 .8rem}.public-store-catalogue-heading{align-items:flex-start;margin:2rem .15rem 1rem}.public-store-catalogue-heading h2{font-size:1.65rem}}

/* Responsive website store preview: two balanced rows per viewport. */
.customer-section-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .8rem;
}
.customer-section-actions > a {
    color: #287ceb;
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
}
.customer-home-see-all { display: none; }
@media (min-width: 951px) {
    .customer-home-see-all-desktop { display: inline-flex; }
}
@media (min-width: 641px) and (max-width: 950px) {
    .customer-home-store-preview > .customer-store-card:nth-child(n + 7) { display: none; }
    .customer-home-see-all-tablet { display: inline-flex; }
}
@media (max-width: 640px) {
    .customer-home-store-preview > .customer-store-card:nth-child(n + 5) { display: none; }
    .customer-home-see-all-mobile { display: inline-flex; }
    .customer-section-heading { align-items: flex-start; }
    .customer-section-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: .4rem;
    }
}
