/* =====================================================================
   MultiStore — design system (RTL, Bootstrap 5.3 base)
   Display: Readex Pro · Body: IBM Plex Sans Arabic · Accent: warm orange
   ===================================================================== */
:root {
    --ink: #14162b;
    --ink-2: #3b3f5c;
    --muted: #6b7091;
    --line: #ebe8f0;
    --bg: #faf8f5;
    --surface: #ffffff;
    --accent: #e8622a;
    --accent-600: #cf4f1a;
    --accent-50: #fff2eb;
    --navy: #16182d;
    --navy-2: #22253f;
    --success: #12a150;
    --danger: #e5484d;
    --brand: var(--accent);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(20, 22, 43, .05), 0 1px 3px rgba(20, 22, 43, .06);
    --shadow: 0 10px 30px -12px rgba(20, 22, 43, .18);
    --shadow-lg: 0 30px 60px -20px rgba(20, 22, 43, .28);
    --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-primary: var(--accent);
    --bs-link-color-rgb: 207, 79, 26;
    --bs-link-hover-color-rgb: 232, 98, 42;
}

body { font-family: var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .display, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-display); letter-spacing: -.01em; }
a { text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
.min-vw-0 { min-width: 0; }
.text-muted { color: var(--muted) !important; }
.brand-text { color: var(--brand); }
.text-accent { color: var(--accent); }
.bg-accent-soft { background: var(--accent-50); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; padding: .55rem 1.1rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-sm { border-radius: 10px; padding: .35rem .8rem; }
.btn-lg { border-radius: 14px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-brand, .btn-store, .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-brand:hover, .btn-store:hover, .btn-primary:hover, .btn-brand:focus, .btn-store:focus { background: color-mix(in srgb, var(--brand) 88%, black); border-color: transparent; color: #fff; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn-outline-secondary { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline-secondary:hover { background: var(--bg); color: var(--ink); border-color: #d9d5e2; }
.btn-light { background: #fff; border: 1px solid var(--line); }
.btn-white { background: #fff; color: var(--ink); border: 0; }
.btn-white:hover { background: #fff; color: var(--accent-600); transform: translateY(-1px); }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .6rem .9rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: color-mix(in srgb, var(--brand) 60%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.form-control-sm, .form-select-sm { border-radius: 9px; padding: .35rem .6rem; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.input-group-text { border-color: var(--line); background: var(--bg); border-radius: 12px; }

/* ---------- Cards / tables ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; padding: .9rem 1.15rem; }
.card-footer { border-top: 1px solid var(--line); }
.card > .table-responsive, .card > .list-group { border-radius: 0 0 var(--radius) var(--radius); }
.table { --bs-table-bg: transparent; margin-bottom: 0; }
.table > :not(caption) > * > * { vertical-align: middle; padding: .75rem .9rem; border-color: var(--line); }
.table thead th { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; background: #fcfbfd; text-transform: none; }
.table-hover > tbody > tr:hover > * { background: #fbf9fd; }
.badge { font-weight: 600; border-radius: 8px; padding: .35em .6em; }
.alert { border-radius: 14px; border: 0; }
.alert-success { background: #e9f8ef; color: #0d6b39; }
.alert-danger { background: #fdeced; color: #a3262b; }
.alert-warning { background: #fff6e0; color: #7a5300; }
.alert-info { background: #eaf3ff; color: #194f8f; }
.list-group-item { border-color: var(--line); }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-color: var(--ink-2); }
.nav-pills .nav-link { border-radius: 999px; color: var(--ink-2); font-weight: 600; }
.nav-pills .nav-link.active { background: var(--ink); }
.nav-tabs .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.modal-content { border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); }

/* ---------- Panel shell ---------- */
.panel { background: #f6f5f9; }
.sidebar { width: 264px; background: var(--navy) !important; color: #fff; min-height: 100vh; }
@media (min-width: 992px) { .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; } }
.sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 6px; }
.sidebar-brand { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.1rem; }
.sidebar-logo { width: 42px; height: 42px; object-fit: cover; border-radius: 12px; background: #fff; }
.sidebar-logo-placeholder { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #ffb38a)); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-family: var(--font-display); }
.sidebar .nav { padding: .25rem .75rem 1.5rem; }
.sidebar .nav-link { color: rgba(255,255,255,.66); padding: .6rem .8rem; border-radius: 12px; display: flex; gap: .7rem; align-items: center; font-size: .93rem; margin-bottom: 2px; transition: background .15s, color .15s; }
.sidebar .nav-link i { font-size: 1.05rem; opacity: .9; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar .nav-link.active { color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 85%, transparent), var(--brand)); box-shadow: 0 8px 18px -8px var(--brand); }
.sidebar-heading { color: rgba(255,255,255,.35); font-size: .72rem; padding: 1.1rem .8rem .35rem; letter-spacing: .02em; }
.sidebar-store-link { margin: 0 .9rem 1rem; padding: .8rem; border-radius: 14px; background: rgba(255,255,255,.06); font-size: .8rem; color: rgba(255,255,255,.75); }
.sidebar-store-link a { color: #fff; }
.topbar { display: flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.content { padding: 1.75rem 1.75rem 3rem; max-width: 1480px; }
@media (max-width: 575.98px) { .content { padding: 1rem .85rem 2rem; } }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.page-header h1 { font-weight: 700; }

.stat-card { position: relative; overflow: hidden; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.stat-card .stat-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; background: color-mix(in srgb, var(--chip, var(--brand)) 13%, white); color: var(--chip, var(--brand)); }
.stat-card::after { content: ""; position: absolute; inset-inline-start: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--chip, var(--brand)) 7%, transparent); }

.welcome-hero { border-radius: 22px; color: #fff; padding: 1.75rem; background: linear-gradient(120deg, var(--navy) 0%, #2a2350 55%, color-mix(in srgb, var(--brand) 70%, #2a2350) 100%); position: relative; overflow: hidden; }
.welcome-hero::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); inset-inline-start: -80px; top: -120px; }
.welcome-hero > * { position: relative; z-index: 1; }
.checklist .step { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.checklist .step:last-child { border-bottom: 0; }
.checklist .dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.checklist .done .dot { background: var(--success); color: #fff; border-color: var(--success); }
.checklist .done .label { text-decoration: line-through; color: var(--muted); }
.thumb { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: var(--bg); }

/* ---------- POS ---------- */
.pos-results { max-height: 340px; overflow-y: auto; border-radius: 14px; }
.pos-cart td input { max-width: 110px; }
.pos-total { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: #fff; }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: minmax(460px, 1fr) 1.05fr; } }
.auth-form { padding: 2.5rem clamp(1.25rem, 5vw, 4.5rem); display: flex; flex-direction: column; }
.auth-form .inner { width: 100%; max-width: 520px; margin: auto; }
.auth-form.wide .inner { max-width: 720px; }
.auth-side { position: relative; display: none; overflow: hidden; background: var(--navy); }
@media (min-width: 992px) { .auth-side { display: block; } }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,24,45,.05) 30%, rgba(22,24,45,.85)); }
.auth-side .caption { position: absolute; z-index: 1; bottom: 3rem; inset-inline: 3rem; color: #fff; }
.logo-mark { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.logo-mark .mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #ff9a5c); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px var(--accent); }
.type-option { cursor: pointer; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; height: 100%; display: block; }
.type-option img { width: 100%; height: 86px; object-fit: cover; display: block; }
.type-option .t { padding: .55rem .7rem; font-weight: 600; font-size: .86rem; display: flex; gap: .4rem; align-items: center; }
.btn-check:checked + .type-option { border-color: var(--accent); box-shadow: 0 10px 24px -12px var(--accent); transform: translateY(-2px); }
.btn-check:checked + .type-option .t { color: var(--accent-600); }
.starter-box { border: 1.5px dashed color-mix(in srgb, var(--accent) 50%, white); background: var(--accent-50); border-radius: 16px; padding: 1rem 1.1rem; }

/* ---------- Landing ---------- */
.lp { background: #fff; }
.lp-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(170%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-nav.scrolled { border-bottom-color: var(--line); }
.lp-nav .links a { color: var(--ink-2); font-weight: 500; padding: .4rem .8rem; border-radius: 10px; }
.lp-nav .links a:hover { background: var(--bg); color: var(--ink); }
.lp-hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(232,98,42,.14), transparent 65%); inset-inline-start: -260px; top: -260px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.eyebrow .pill { background: var(--accent); color: #fff; border-radius: 999px; padding: .1rem .6rem; font-size: .75rem; }
.lp-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.lp-hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.lp-hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .05em; height: .28em; background: color-mix(in srgb, var(--accent) 22%, transparent); z-index: -1; border-radius: 6px; }
.lp-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; line-height: 1.9; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .55rem; align-items: center; color: var(--ink-2); font-weight: 500; }
.check-list li i { color: var(--success); font-size: 1.1rem; }
.hero-visual { position: relative; }
.hero-visual .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; position: relative; }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .shape { position: absolute; inset: 8% -6% -6% 10%; background: var(--accent); border-radius: 32px; z-index: -1; transform: rotate(-3deg); opacity: .9; }
.float-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: .9rem 1rem; display: flex; gap: .75rem; align-items: center; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.float-card.one { top: 8%; inset-inline-end: -8%; }
.float-card.two { bottom: 12%; inset-inline-start: -10%; animation-delay: -3s; }
.float-card.three { bottom: -4%; inset-inline-end: 12%; animation-delay: -1.5s; }
@media (max-width: 991.98px) { .float-card.one { inset-inline-end: 2%; } .float-card.two { inset-inline-start: 2%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .18s; } .reveal.d3 { animation-delay: .28s; } .reveal.d4 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.on-scroll.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .on-scroll, .float-card { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; } }

.stats-strip { margin-top: -2.5rem; position: relative; z-index: 3; }
.stats-strip .inner { background: var(--navy); color: #fff; border-radius: 22px; padding: 1.6rem 2rem; box-shadow: var(--shadow-lg); }
.stats-strip .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.stats-strip .l { color: rgba(255,255,255,.65); font-size: .9rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.3; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.kicker { color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: .02em; margin-bottom: .6rem; display: block; }
.feature { padding: 1.6rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); height: 100%; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; background: var(--accent-50); color: var(--accent); margin-bottom: 1rem; }
.type-card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; color: #fff; box-shadow: var(--shadow-sm); }
.type-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,13,26,.82)); }
.type-card .meta { position: absolute; z-index: 1; bottom: 1rem; inset-inline: 1.1rem; display: flex; justify-content: space-between; align-items: end; gap: .5rem; }
.type-card .meta h3 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.type-card .go { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.type-card:hover img { transform: scale(1.07); }
.type-card:hover .go { background: var(--accent); }
.split-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-photo img { width: 100%; display: block; aspect-ratio: 5 / 4; object-fit: cover; }
.step-card { position: relative; padding: 1.6rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); height: 100%; }
.step-card .n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: color-mix(in srgb, var(--accent) 30%, white); line-height: 1; }
.price-card { border-radius: 24px; padding: 2rem 1.75rem; background: #fff; border: 1px solid var(--line); height: 100%; position: relative; }
.price-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-lg); }
.price-card.featured .text-muted { color: rgba(255,255,255,.6) !important; }
.price-card.featured .check-list li { color: rgba(255,255,255,.88); }
.price-card .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; }
.price-card .tag { position: absolute; top: 1.25rem; inset-inline-end: 1.25rem; background: var(--accent); color: #fff; font-size: .75rem; padding: .2rem .7rem; border-radius: 999px; font-weight: 600; }
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; }
.faq .accordion-button { font-weight: 600; font-family: var(--font-display); }
.faq .accordion-button:not(.collapsed) { background: var(--accent-50); color: var(--ink); box-shadow: none; }
.cta-band { border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(120deg, var(--accent) 0%, #f08a4b 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.1); inset-inline-start: -120px; bottom: -180px; }
.cta-band > * { position: relative; z-index: 1; }
.lp-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.lp-footer a { color: rgba(255,255,255,.75); } .lp-footer a:hover { color: #fff; }
.device { border-radius: 26px; background: var(--navy); padding: 10px; box-shadow: var(--shadow-lg); }
.device .screen { border-radius: 18px; overflow: hidden; background: #fff; }
.mini-store { padding: .8rem; }
.mini-store .bar { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-family: var(--font-display); font-size: .85rem; margin-bottom: .6rem; }
.mini-store .banner { border-radius: 12px; height: 92px; background-size: cover; background-position: center; margin-bottom: .6rem; position: relative; }
.mini-store .grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mini-store .p img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.mini-store .p .n { font-size: .68rem; margin-top: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-store .p .pr { font-size: .7rem; font-weight: 700; color: var(--accent); }

/* ---------- Storefront ---------- */
body.store { background: #f7f6f3; }
.announce { background: var(--ink); color: rgba(255,255,255,.88); font-size: .82rem; }
.store-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid var(--line); }
.store-header .store-logo { height: 44px; width: 44px; object-fit: cover; border-radius: 12px; }
.store-header .store-initial { height: 44px; width: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.store-search { position: relative; }
.store-search input { border-radius: 999px; padding-inline-start: 2.6rem; background: #f4f3f7; border-color: transparent; }
.store-search input:focus { background: #fff; }
.store-search i { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f4f3f7; color: var(--ink); position: relative; font-size: 1.15rem; border: 0; }
.icon-btn:hover { background: #ebe9f1; color: var(--ink); }
.icon-btn.brand { background: var(--brand); color: #fff; }
.icon-btn .count { position: absolute; top: -3px; inset-inline-start: -3px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }
.store-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 380px; display: flex; align-items: center; color: #fff; background: var(--brand); }
.store-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10,10,20,.78) 0%, rgba(10,10,20,.45) 50%, rgba(10,10,20,.05) 100%); }
.store-hero .content-box { position: relative; z-index: 1; padding: clamp(1.75rem, 5vw, 3.5rem); max-width: 620px; }
.store-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: .85rem; font-weight: 600; }
.perks { background: #fff; border-radius: 20px; border: 1px solid var(--line); }
.perk { display: flex; gap: .8rem; align-items: center; padding: 1.1rem 1.25rem; }
.perk i { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); flex-shrink: 0; }
.perk .t { font-weight: 700; font-size: .92rem; } .perk .s { font-size: .8rem; color: var(--muted); }
.cat-tile { display: block; text-align: center; color: var(--ink); }
.cat-tile .img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cat-tile .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); }
.cat-tile .n { font-weight: 600; font-size: .9rem; margin-top: .6rem; }
.cat-tile:hover .img { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { font-weight: 700; font-size: 1.5rem; margin: 0; }
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.product-card .media { position: relative; aspect-ratio: 1; background: #f4f3f7; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .media img { transform: scale(1.06); }
.product-card .badges { position: absolute; top: .7rem; inset-inline-start: .7rem; display: flex; flex-direction: column; gap: .3rem; z-index: 1; }
.product-card .badge-soft { background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(4px); }
.product-card .badge-out { background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.product-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card .cat { font-size: .75rem; color: var(--muted); }
.product-card .name { font-weight: 600; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.product-card .price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.product-card .price small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.product-card .inst { font-size: .78rem; color: var(--success); font-weight: 600; }
.product-card .add { margin-top: auto; }
.promo { border-radius: 24px; overflow: hidden; position: relative; min-height: 220px; display: flex; align-items: end; color: #fff; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,20,.8), transparent 70%); }
.promo .txt { position: relative; z-index: 1; padding: 1.5rem; }
.pd-gallery .main { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.pd-gallery .thumbs button { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; }
.pd-gallery .thumbs button.active { border-color: var(--brand); }
.pd-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.inst-box { border-radius: 18px; padding: 1rem 1.1rem; background: color-mix(in srgb, var(--brand) 8%, white); border: 1px solid color-mix(in srgb, var(--brand) 22%, white); }
.variant-opt + label { border-radius: 12px !important; border: 1.5px solid var(--line) !important; background: #fff; color: var(--ink); font-weight: 600; padding: .45rem 1rem; }
.btn-check:checked + .variant-opt-label, .btn-check:checked + label.variant-label { border-color: var(--brand) !important; background: color-mix(in srgb, var(--brand) 10%, white) !important; color: var(--brand) !important; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.qty button { border: 0; background: transparent; width: 42px; height: 48px; font-size: 1.1rem; }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 700; }
.qty input:focus { outline: none; }
.mobile-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: .7rem 1rem; box-shadow: 0 -10px 30px -15px rgba(0,0,0,.2); }
.store-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.store-footer a { color: rgba(255,255,255,.8); } .store-footer a:hover { color: #fff; }
.store-footer h6 { color: #fff; }
.cat-pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1.1rem; color: var(--ink-2); white-space: nowrap; font-weight: 600; font-size: .88rem; }
.cat-pill:hover, .cat-pill.active { border-color: var(--brand); color: #fff; background: var(--brand); }
.scroll-x { overflow-x: auto; scrollbar-width: none; } .scroll-x::-webkit-scrollbar { display: none; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state .ic { width: 84px; height: 84px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 10%, white); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 2.1rem; margin-bottom: 1rem; }
.product-img-placeholder { background: #f0eff4; color: #b5b3c2; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* ---------- Print ---------- */
@media print {
    .sidebar, .topbar, .d-print-none { display: none !important; }
    .content { padding: 0; }
    body { background: #fff; }
    .card { box-shadow: none; }
}
.btn-check:checked + .variant-label { border-color: var(--brand) !important; background: color-mix(in srgb, var(--brand) 10%, white) !important; color: var(--brand) !important; }
.breadcrumb { --bs-breadcrumb-divider: '‹'; }
.breadcrumb a { color: var(--muted); }
