:root {
    --brand: #F44336;
    --brand-2: #4C7CF3;
    --brand-soft: color-mix(in srgb, var(--brand) 10%, var(--surface));
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #f1f3f8;
    --text: #12161f;
    --muted: #6b7385;
    --line: #e7e9f0;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --warning: #b45309;
    --warning-bg: #fef3c7;
    --star: #f59e0b;
    --footer: #0d1220;

    --tint-0: #fff1ec;
    --tint-1: #eef4ff;
    --tint-2: #effaf3;
    --tint-3: #fff8e6;
    --tint-4: #f6efff;
    --tint-5: #ebfafa;
    --ink-0: #e8590c;
    --ink-1: #3b6fe0;
    --ink-2: #1f9d55;
    --ink-3: #c98a00;
    --ink-4: #8a4fd8;
    --ink-5: #0f9a9a;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(18, 22, 31, .04), 0 2px 8px rgba(18, 22, 31, .04);
    --shadow: 0 2px 4px rgba(18, 22, 31, .04), 0 10px 30px rgba(18, 22, 31, .08);
    --shadow-lg: 0 20px 50px rgba(18, 22, 31, .18);
    --container: 1260px;
    --header-h: 72px;
    --font: "Plus Jakarta Sans", "Hind Siliguri", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b0f17;
        --surface: #141a25;
        --surface-2: #1c2431;
        --text: #eef1f7;
        --muted: #9aa3b5;
        --line: #252e3d;
        --success-bg: #12301f;
        --danger-bg: #3a1717;
        --warning-bg: #3a2a10;
        --footer: #070a10;
        --tint-0: #2a1c17;
        --tint-1: #18213a;
        --tint-2: #15281e;
        --tint-3: #2a2412;
        --tint-4: #241a33;
        --tint-5: #132a2a;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
        --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0b0f17;
    --surface: #141a25;
    --surface-2: #1c2431;
    --text: #eef1f7;
    --muted: #9aa3b5;
    --line: #252e3d;
    --success-bg: #12301f;
    --danger-bg: #3a1717;
    --warning-bg: #3a2a10;
    --footer: #070a10;
    --tint-0: #2a1c17;
    --tint-1: #18213a;
    --tint-2: #15281e;
    --tint-3: #2a2412;
    --tint-4: #241a33;
    --tint-5: #132a2a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.ic svg, i[data-ic] svg { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; }
.tint-0 { --tint: var(--tint-0); --ink: var(--ink-0); }
.tint-1 { --tint: var(--tint-1); --ink: var(--ink-1); }
.tint-2 { --tint: var(--tint-2); --ink: var(--ink-2); }
.tint-3 { --tint: var(--tint-3); --ink: var(--ink-3); }
.tint-4 { --tint: var(--tint-4); --ink: var(--ink-4); }
.tint-5 { --tint: var(--tint-5); --ink: var(--ink-5); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
    border: 1px solid transparent; background: var(--surface-2); color: var(--text);
    font-weight: 600; cursor: pointer; transition: filter .15s, background .15s, transform .05s;
    white-space: nowrap;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 28%, transparent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--brand-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; font-size: 16px; }
.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: transparent; cursor: pointer; font-size: 20px;
}
.icon-btn:hover { background: var(--surface-2); }
.badge-count {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; line-height: 1;
}
.badge-count:empty, .badge-count[data-count="0"] { display: none; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.input, .select, .textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: var(--surface); outline: none;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 18%, transparent); }
.field-error { color: var(--danger); font-size: 13px; }
.field-hint { color: var(--muted); font-size: 13px; }
.grid-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 16px; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-warning { background: var(--warning-bg); color: var(--warning); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); }
.pill-success { background: var(--success-bg); color: var(--success); }
.pill-danger { background: var(--danger-bg); color: var(--danger); }
.pill-warning { background: var(--warning-bg); color: var(--warning); }

.topbar { background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--brand-2))); color: #fff; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar a:hover { opacity: .85; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar select { background: rgba(255, 255, 255, .16); border: 0; border-radius: 999px; padding: 2px 8px; color: inherit; cursor: pointer; font-size: 13px; }
.topbar select option { color: #111; }
.topbar-promo { display: none; align-items: center; gap: 6px; font-weight: 500; }
@media (min-width: 768px) { .topbar-promo { display: flex; } }

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.search { flex: 1; display: none; position: relative; }
.search input { padding-left: 46px; min-height: 48px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.search input:focus { background: var(--surface); }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-actions .icon-btn { background: var(--surface-2); }
.header-actions .icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-search { padding-bottom: 12px; }
.mobile-search .search { display: block; }
@media (min-width: 900px) {
    .search { display: block; max-width: 600px; margin: 0 auto; }
    .mobile-search { display: none; }
}

.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; max-height: min(70vh, 520px); overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.search-suggest-head { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 10px 10px 6px; }
.search-suggest [role="option"] { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.search-suggest [role="option"]:hover, .search-suggest [role="option"].is-active { background: var(--surface-2); }
.search-suggest mark { background: none; color: var(--brand); font-weight: 800; }
.search-suggest-media { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.search-suggest-media img { width: 100%; height: 100%; object-fit: cover; }
.search-suggest-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-suggest-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest-price { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.search-suggest-price b { color: var(--brand); }
.search-suggest-price s { color: var(--muted); font-size: 12.5px; }
.search-suggest-price small { color: var(--danger, #d03b3b); font-weight: 700; font-size: 12px; }
.search-suggest-link { font-weight: 600; }
.search-suggest-link i { color: var(--muted); }
.search-suggest .search-suggest-all { justify-content: center; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding: 12px; }
.search-suggest-empty { margin: 0; padding: 16px 12px; color: var(--muted); text-align: center; }
.search.is-searching .ic { animation: search-pulse .8s ease-in-out infinite alternate; }
@keyframes search-pulse { to { opacity: .35; } }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav ul { list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted); transition: background .15s, color .15s; }
.cat-nav a:hover { color: var(--text); background: var(--surface-2); }
.cat-nav a.active { color: #fff; background: var(--brand); }

.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 0; font-size: 11px; color: var(--muted); }
.bottom-nav a.active { color: var(--brand); }
.bottom-nav .ic { font-size: 20px; }
.bottom-nav .badge-count { top: 4px; right: calc(50% - 22px); }
body { padding-bottom: 64px; }
@media (min-width: 900px) {
    .bottom-nav { display: none; }
    body { padding-bottom: 0; }
}

main { min-height: 60vh; }
.section { margin: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.section-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.section-link:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 20px 0 6px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 18px; }
.breadcrumbs a:hover { color: var(--brand); }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty .ic { font-size: 48px; display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.empty .btn { margin-top: 18px; }

.hero-wrap { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 1024px) { .hero-wrap { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); } }
.hero { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.hero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 240px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-slide::before, .hero-slide::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.hero-slide::before { width: 380px; height: 380px; right: -90px; top: -140px; }
.hero-slide::after { width: 220px; height: 220px; right: 22%; bottom: -120px; background: rgba(255, 255, 255, .08); }
.hero-slide.has-image::before, .hero-slide.has-image::after { display: none; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.has-image { aspect-ratio: 16 / 7; min-height: 0; }
.hero-content { position: relative; z-index: 1; padding: 32px 28px 44px; max-width: 580px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; backdrop-filter: blur(6px); }
.hero-content h2 { font-size: clamp(26px, 4.4vw, 46px); font-weight: 800; line-height: 1.1; text-shadow: 0 2px 20px rgba(0, 0, 0, .12); }
.hero-content p { margin: 10px 0 20px; opacity: .95; font-size: clamp(14px, 1.6vw, 18px); }
.hero-content .btn { background: #fff; color: #111; border-radius: 999px; padding: 0 26px; min-height: 48px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.hero-dots { position: absolute; bottom: 16px; left: 28px; display: flex; gap: 6px; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s; }
.hero-dots button.active { width: 26px; background: #fff; }
@media (min-width: 1024px) { .hero-slide { min-height: 360px; } }
@media (max-width: 640px) { .hero-slide.has-mobile { aspect-ratio: 16 / 10; } }

.hero-side { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .hero-side { grid-template-columns: 1fr; } }
.promo-tile { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 140px; padding: 20px; border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.promo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-tile > :not(img) { position: relative; z-index: 1; }
.promo-tile small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.promo-tile b { font-size: clamp(17px, 1.8vw, 22px); font-weight: 800; line-height: 1.2; }
.promo-tile span.go { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.promo-tile .tile-icon { position: absolute; right: -8px; bottom: -14px; font-size: 92px; opacity: .22; z-index: 0; }
.promo-flash { background: linear-gradient(135deg, #ff7a18, #ff3d6e); }
.promo-new { background: linear-gradient(135deg, #3b6fe0, #7c4dff); }

.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.perk { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk:nth-child(2n) { border-right: 0; }
.perk:nth-last-child(-n+2) { border-bottom: 0; }
.perk .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--tint); color: var(--ink); }
.perk b { display: block; font-size: 14px; }
@media (min-width: 900px) {
    .perks { grid-template-columns: repeat(4, 1fr); }
    .perk { border-bottom: 0; border-right: 1px solid var(--line); }
    .perk:nth-child(2n) { border-right: 1px solid var(--line); }
    .perk:last-child { border-right: 0; }
}

.categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-tile { display: grid; align-content: start; gap: 8px; text-align: center; padding: 6px 6px 10px; background: var(--tint); border-radius: var(--radius); font-size: 12.5px; font-weight: 700; line-height: 1.3; transition: transform .2s, box-shadow .2s; }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-tile .thumb { width: 100%; aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); display: grid; place-items: center; background: var(--surface); color: var(--ink); font-size: 32px; overflow: hidden; }
.category-tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-tile:hover .thumb img { transform: scale(1.08); }
@media (min-width: 640px) { .categories { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .categories { grid-template-columns: repeat(10, minmax(0, 1fr)); } }

.offer-strip { display: grid; gap: 14px; grid-template-columns: 1fr; }
.offer-card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.offer-card:hover { transform: translateY(-3px); }
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-card > *:not(img) { position: relative; }
.offer-card h3 { font-size: 22px; font-weight: 800; }
@media (min-width: 768px) { .offer-strip { grid-template-columns: repeat(2, 1fr); } }

.coupon-banner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 92%, #000), color-mix(in srgb, var(--brand) 70%, var(--brand-2))); color: #fff; overflow: hidden; box-shadow: var(--shadow); }
.coupon-banner::before, .coupon-banner::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg); }
.coupon-banner::before { left: -14px; }
.coupon-banner::after { right: -14px; }
.coupon-banner .coupon-text b { display: block; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }
.coupon-banner .coupon-text span { opacity: .9; }
.coupon-code { display: inline-flex; align-items: center; gap: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-size: 18px; letter-spacing: 2px; color: #fff; background: rgba(255, 255, 255, .14); padding: 10px 18px; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, .7); cursor: pointer; transition: background .15s; }
.coupon-code:hover { background: rgba(255, 255, 255, .24); }

.flash-panel { padding: 22px; border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface) 60%); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); }
.flash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.flash-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.section-head .section-title { display: flex; align-items: center; gap: 10px; }
.title-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 19px; background: var(--brand-soft); color: var(--brand); }
.deal-panel { padding: 22px; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); }
.deal-super { background: linear-gradient(160deg, color-mix(in srgb, #7c3aed 12%, var(--surface)), var(--surface) 60%); border-color: color-mix(in srgb, #7c3aed 22%, var(--line)); }
.deal-super .title-ic { background: #7c3aed; color: #fff; }
.deal-hot { background: linear-gradient(160deg, color-mix(in srgb, #ea580c 13%, var(--surface)), var(--surface) 60%); border-color: color-mix(in srgb, #ea580c 22%, var(--line)); }
.deal-hot .title-ic { background: #ea580c; color: #fff; }
@media (max-width: 640px) { .deal-panel { padding: 16px; } }
.flash-head .section-title .bolt { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 20px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 18%, transparent); } }
.countdown { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.countdown > small { color: var(--muted); font-weight: 600; margin-right: 4px; }
.countdown span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 800; font-size: 18px; }
.countdown i { font-style: normal; font-weight: 800; color: var(--brand); }

.brands { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: x proximity; padding: 4px 2px 8px; }
.brands::-webkit-scrollbar { display: none; }
.brands .brand-chip { scroll-snap-align: start; }
.scroll-arrows { display: flex; gap: 8px; }
.scroll-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 18px; cursor: pointer; transition: background .15s, color .15s, border-color .15s, opacity .15s; }
.scroll-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.scroll-arrow:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .scroll-arrow span { display: inline-block; transform: scaleX(-1); }
.brand-chip { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 140px; height: 76px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 800; font-size: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.brand-chip img { max-height: 44px; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brand-chip:hover img { filter: none; opacity: 1; }

.reels { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.reel { flex: 0 0 190px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000; position: relative; margin: 0; box-shadow: var(--shadow-sm); }
.reel { background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 40%, var(--brand-2))); }
.reel video, .reel iframe { position: relative; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); color: #fff; font-size: 22px; pointer-events: none; transition: opacity .2s; }
.reel:hover .reel-play { opacity: 0; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 12px; color: #fff; font-size: 13px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }

.trust-band { display: grid; gap: 18px; grid-template-columns: 1fr; padding: 28px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); }
.trust-band h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.trust-band p { color: var(--muted); margin-top: 6px; }
.trust-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.trust-stats div { padding: 16px; border-radius: var(--radius-sm); background: var(--tint); text-align: center; }
.trust-stats b { display: block; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; color: var(--ink); }
.trust-stats span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .trust-band { grid-template-columns: 1fr 1.4fr; align-items: center; padding: 36px; } }

.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.shop-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .shop-layout .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .shop-layout .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 46%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.product-row::-webkit-scrollbar { display: none; }
.product-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .product-row { grid-auto-columns: minmax(180px, 31%); } }
@media (min-width: 1024px) { .product-row { grid-auto-columns: calc((100% - 72px) / 5); gap: 18px; } }

.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-media { position: relative; display: block; aspect-ratio: 1; margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--tint, var(--surface-2)); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; color: var(--ink, var(--muted)); transition: transform .5s ease; }
.product-media .placeholder svg { stroke-width: 1.3; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .08)); }
.product-card:hover .product-media .placeholder { transform: scale(1.08) rotate(-4deg); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); }
.product-badge.out { background: #4b5563; box-shadow: none; }
.wish-btn { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: transform .15s, color .15s; }
.wish-btn:hover { transform: scale(1.1); color: var(--brand); }
.wish-btn.saved { color: var(--brand); }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 18px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.product-name { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; transition: color .15s; }
.product-name:hover { color: var(--brand); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.rating .stars { color: var(--star); }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.price-now { font-size: 18px; font-weight: 800; color: var(--text); }
.product-card .price-now { color: var(--brand); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.product-card form { margin: 0; }
.add-btn { flex: none; width: 42px; height: 42px; border-radius: 14px; border: 0; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 18px; cursor: pointer; transition: background .15s, transform .15s; }
.add-btn:hover { background: var(--brand); color: #fff; transform: scale(1.06); }
.add-btn:disabled { opacity: .5; }
.stock-low { font-size: 12px; font-weight: 600; color: var(--warning); }

.shop-layout { display: grid; gap: 20px; margin: 20px 0 40px; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filters summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters-body { padding: 0 18px 18px; }
.filter-group { border-top: 1px solid var(--line); padding: 14px 0; }
.filter-group h4 { font-size: 14px; margin-bottom: 10px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.filter-list a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); }
.filter-list a.active, .filter-list a:hover { color: var(--brand); font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 1024px) { .filters summary { pointer-events: none; } .filters summary .ic { display: none; } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.toolbar .select { width: auto; min-height: 40px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .disabled { opacity: .45; }

.product-page { display: grid; gap: 24px; margin: 16px 0 32px; }
@media (min-width: 900px) { .product-page { grid-template-columns: 1fr 1fr; gap: 40px; } }
.product-media-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--brand); }
.product-sku { margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.product-sku span { font-family: ui-monospace, Menlo, monospace; color: var(--text); }
.product-gallery { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.product-gallery img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 120px; color: var(--muted); }
.product-info h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 6px 0 10px; }
.product-info .price-now { font-size: 30px; }
.product-info .price-old { font-size: 17px; }
.stock { font-weight: 600; font-size: 14px; }
.stock.in { color: var(--success); }
.stock.out { color: var(--danger); }
.buy-box { display: grid; gap: 12px; margin: 20px 0; }
.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy-actions .btn-buy { grid-column: 1 / -1; }
@media (min-width: 480px) { .buy-actions { grid-template-columns: auto 1fr 1fr; } .buy-actions .btn-buy { grid-column: auto; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.qty-sm button, .qty.qty-sm input { height: 36px; }
.trust { display: grid; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust .ic { color: var(--brand); font-size: 20px; }
.meta-list { display: grid; gap: 4px; font-size: 14px; margin-top: 16px; color: var(--muted); }
.meta-list a { color: var(--text); font-weight: 600; }
.description { white-space: pre-line; line-height: 1.75; }
.rich-text { white-space: normal; line-height: 1.75; overflow-wrap: anywhere; }
.rich-text > :first-child { margin-top: 0; }
.rich-text p, .rich-text ul, .rich-text ol, .rich-text blockquote, .rich-text table { margin: 0 0 14px; }
.rich-text h2 { font-size: 22px; margin: 22px 0 10px; }
.rich-text h3 { font-size: 18px; margin: 18px 0 8px; }
.rich-text h4 { font-size: 16px; margin: 16px 0 6px; }
.rich-text ul, .rich-text ol { padding-inline-start: 22px; }
.rich-text li { margin-bottom: 4px; }
.rich-text a { color: var(--brand); text-decoration: underline; }
.rich-text blockquote { padding: 10px 16px; border-inline-start: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.rich-text img { max-width: 100%; height: auto; border-radius: 12px; }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.rich-text hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 28px; color: var(--line); cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }

.cart-layout { display: grid; gap: 20px; margin: 16px 0 40px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 380px; align-items: start; } .summary { position: sticky; top: calc(var(--header-h) + 60px); } }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-line:first-child { border-top: 0; padding-top: 0; }
.cart-line .thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; color: var(--muted); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-weight: 600; }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.totals { display: grid; gap: 10px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; font-weight: 800; }
.totals .discount { color: var(--success); }
.free-progress { margin: 14px 0; font-size: 13px; }
.free-progress .bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.free-progress .bar span { display: block; height: 100%; background: var(--success); border-radius: 3px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { min-height: 42px; text-transform: uppercase; }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.pay-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pay-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }
.pay-option b { display: block; }
.pay-option small { color: var(--muted); }
.manual-pay { margin-top: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14px; }
.mini-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; }
.mini-line span:first-child { color: var(--muted); }

.status-hero { text-align: center; padding: 32px 20px; }
.status-hero .ic { font-size: 56px; }
.trx-resubmit { display: flex; gap: 8px; max-width: 420px; margin: 18px auto 0; }
.trx-resubmit .input { flex: 1; text-transform: uppercase; }
.status-hero.ok .ic { color: var(--success); }
.status-hero.warn .ic { color: var(--warning); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline small { color: var(--muted); display: block; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; }
.steps div { text-align: center; font-size: 12px; color: var(--muted); }
.steps div::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--surface-2); margin-bottom: 6px; }
.steps div.done { color: var(--text); font-weight: 600; }
.steps div.done::before { background: var(--success); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table-wrap { overflow-x: auto; }

.account-layout { display: grid; gap: 20px; margin: 16px 0 40px; }
@media (min-width: 1024px) { .account-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-code { font-family: ui-monospace, Menlo, monospace; font-size: 22px; font-weight: 800; letter-spacing: 4px; }

.site-footer { margin-top: 64px; background: var(--footer); color: #c9d1e0; padding: 0 0 24px; font-size: 14px; }
.footer-cta { position: relative; top: -36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 50%, var(--brand-2))); color: #fff; box-shadow: var(--shadow-lg); }
.footer-cta b { display: block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; }
.footer-cta .btn { background: #fff; color: #111; border-radius: 999px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } .footer-grid > div:first-child { grid-column: auto; } }
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 14px; }
.footer-logo img { height: 34px; width: auto; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: 12px; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: #8f99ad; font-size: 13px; }

.contact-fab { position: fixed; right: 16px; bottom: 80px; z-index: 50; }
@media (min-width: 900px) { .contact-fab { bottom: 24px; } }
.contact-fab > button { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 24px; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; }
.contact-panel { position: absolute; right: 0; bottom: 68px; width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; }
.contact-panel h4 { margin-bottom: 4px; }
.contact-links { display: grid; gap: 8px; margin: 12px 0; }
.contact-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 600; font-size: 14px; }
.contact-panel .field { margin-bottom: 8px; }
.contact-panel .input { min-height: 40px; }

.toasts { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 14px; animation: toast-in .2s ease-out; }
.toast.error { background: var(--danger); color: #fff; }
.toast a { font-weight: 700; text-decoration: underline; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 639px) {
    .categories { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 104px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
    .categories::-webkit-scrollbar { display: none; }
    .category-tile { scroll-snap-align: start; overflow-wrap: normal; hyphens: auto; font-size: 12px; padding: 6px 6px 10px; gap: 8px; }
    .perks { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
    .perks::-webkit-scrollbar { display: none; }
    .perk { flex: 0 0 72%; scroll-snap-align: start; border-bottom: 0; border-right: 1px solid var(--line); }
    .perk:nth-child(2n) { border-right: 1px solid var(--line); }
    .perk:last-child { border-right: 0; }
    .flash-panel { padding: 16px; }
    .section { margin: 32px 0; }
}

[dir="rtl"] body { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, var(--font); }
[dir="rtl"] .search .ic { left: auto; right: 18px; }
[dir="rtl"] .search input { padding-left: 14px; padding-right: 46px; }
[dir="rtl"] .badge-count { right: auto; left: 0; }
[dir="rtl"] .bottom-nav .badge-count { left: calc(50% - 22px); }
[dir="rtl"] .product-badge { left: auto; right: 10px; }
[dir="rtl"] .wish-btn { right: auto; left: 16px; }
[dir="rtl"] .hero-dots { left: auto; right: 28px; }
[dir="rtl"] .hero-slide::before { right: auto; left: -90px; }
[dir="rtl"] .hero-slide::after { right: auto; left: 22%; }
[dir="rtl"] .promo-tile .tile-icon { right: auto; left: -8px; }
[dir="rtl"] .contact-fab { right: auto; left: 16px; }
[dir="rtl"] .contact-panel { right: auto; left: 0; }
[dir="rtl"] .timeline li { padding: 0 28px 18px 0; }
[dir="rtl"] .timeline li::before { left: auto; right: 6px; }
[dir="rtl"] .timeline li::after { left: auto; right: 10px; }
[dir="rtl"] .table th, [dir="rtl"] .table td { text-align: right; }
[dir="rtl"] .breadcrumbs, [dir="rtl"] .price { direction: rtl; }
@media (max-width: 639px) {
    [dir="rtl"] .perk { border-right: 0; border-left: 1px solid var(--line); }
    [dir="rtl"] .perk:last-child { border-left: 0; }
}
@media (min-width: 900px) {
    [dir="rtl"] .perk { border-right: 0; border-left: 1px solid var(--line); }
    [dir="rtl"] .perk:last-child { border-left: 0; }
}
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

.auth-shell { display: grid; grid-template-columns: 1fr; max-width: 1060px; margin: 28px auto 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .auth-shell { grid-template-columns: .95fr 1.05fr; margin-top: 36px; min-height: 600px; } }
.auth-aside { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; color: #fff; background: linear-gradient(150deg, var(--brand), color-mix(in srgb, var(--brand) 40%, var(--brand-2))); overflow: hidden; isolation: isolate; }
.auth-aside::before, .auth-aside::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.auth-aside::before { width: 360px; height: 360px; right: -140px; top: -120px; }
.auth-aside::after { width: 240px; height: 240px; left: -80px; bottom: -90px; background: rgba(255, 255, 255, .08); }
.auth-aside.is-admin { background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--brand) 55%, #0d1220), #0d1220 60%), #0d1220; }
.auth-aside.is-admin::before { background: color-mix(in srgb, var(--brand-2) 30%, transparent); filter: blur(10px); }
.auth-logo { display: inline-flex; align-self: flex-start; padding: 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.auth-logo img { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.auth-aside h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.15; }
.auth-aside > p { opacity: .9; font-size: 15px; max-width: 420px; }
.auth-perks { list-style: none; margin: 4px 0 0; padding: 0; display: none; gap: 14px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.auth-perks .ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 19px; backdrop-filter: blur(6px); }
.auth-perks small { display: block; font-weight: 500; opacity: .8; font-size: 13px; }
.auth-foot { margin-top: auto; display: none; font-size: 13px; opacity: .85; }
@media (min-width: 900px) {
    .auth-aside { padding: 44px; gap: 22px; }
    .auth-perks { display: grid; }
    .auth-foot { display: block; }
}

.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 28px 22px 32px; }
@media (min-width: 900px) { .auth-main { padding: 48px clamp(32px, 5vw, 64px); } }
.auth-main h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
.auth-sub { color: var(--muted); margin: 6px 0 22px; }
.auth-main .btn-lg { border-radius: 14px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); }
.auth-alt a { color: var(--brand); font-weight: 700; }
.link-brand { color: var(--brand); font-weight: 700; font-size: 13px; }

.auth-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.auth-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 14px; background: var(--surface-2); }
.auth-tabs label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 6px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; text-align: center; transition: background .15s, color .15s, box-shadow .15s; }
#tab-email:checked ~ .auth-tabs label[for="tab-email"],
#tab-phone:checked ~ .auth-tabs label[for="tab-phone"],
#tab-mailcode:checked ~ .auth-tabs label[for="tab-mailcode"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
#tab-email:focus-visible ~ .auth-tabs label[for="tab-email"],
#tab-phone:focus-visible ~ .auth-tabs label[for="tab-phone"],
#tab-mailcode:focus-visible ~ .auth-tabs label[for="tab-mailcode"] { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.auth-panel-phone, .auth-panel-mailcode { display: none; }
#tab-phone:checked ~ .auth-panel-email, #tab-mailcode:checked ~ .auth-panel-email { display: none; }
#tab-phone:checked ~ .auth-panel-phone, #tab-mailcode:checked ~ .auth-panel-mailcode { display: block; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.btn-google:hover { border-color: var(--muted); box-shadow: var(--shadow-sm); }
.btn-google svg { width: 20px; height: 20px; flex: none; }
.verify-steps { display: grid; gap: 14px; }
.verify-step { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.verify-step.done { background: var(--success-bg); border-color: transparent; }
.verify-step h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 4px; }
.verify-step p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.verify-step .verify-row { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.verify-step .verify-row .input-wrap { flex: 1 1 180px; }

.input-wrap { position: relative; }
.input-wrap > .ic { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-inline-start: 44px; min-height: 50px; border-radius: 14px; background: var(--surface-2); border-color: transparent; }
.input-wrap .input:focus { background: var(--surface); border-color: var(--brand-2); }
.input-wrap .reveal-btn { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.input-wrap .reveal-btn:hover { background: var(--surface); color: var(--text); }
.input-wrap:has(.reveal-btn) .input { padding-inline-end: 48px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.demo-box { padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--brand-2); background: color-mix(in srgb, var(--brand-2) 8%, var(--surface)); font-size: 13.5px; margin-bottom: 18px; line-height: 1.7; }
.demo-box code { font-weight: 700; }
.demo-logins { padding: 12px; border-radius: 14px; border: 1px dashed var(--brand-2); background: color-mix(in srgb, var(--brand-2) 8%, var(--surface)); margin-bottom: 18px; }
.demo-logins-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.demo-logins-title small { font-weight: 400; color: var(--muted); }
.demo-logins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.demo-login { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: start; font: inherit; cursor: pointer; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.demo-login:hover, .demo-login.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.demo-login > i { font-size: 20px; color: var(--brand); }
.demo-login b { display: block; font-size: 14px; }
.demo-login small { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

body.auth-standalone { padding: 16px; min-height: 100vh; display: grid; align-items: center; background: radial-gradient(60vmax 60vmax at 0% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%), radial-gradient(60vmax 60vmax at 100% 100%, color-mix(in srgb, var(--brand-2) 10%, transparent), transparent 60%), var(--bg); }
body.auth-standalone .auth-shell { margin: 0 auto; width: 100%; }
.auth-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 13px; }
.auth-topline a { color: var(--muted); font-weight: 600; }
.auth-lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 600; cursor: pointer; }
.auth-lang select { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; outline: none; }
.auth-topline a:hover { color: var(--brand); }

.choice-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.choice:has(input:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.choice-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); font-size: 20px; }
.choice b { display: block; }
.choice small { color: var(--muted); }
.saved-addresses { display: grid; gap: 10px; margin-bottom: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .saved-addresses { grid-template-columns: 1fr 1fr; } }
.saved-address { text-align: start; display: grid; gap: 4px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; font: inherit; color: inherit; }
.saved-address:hover, .saved-address.active { border-style: solid; border-color: var(--brand); background: var(--surface); }
.saved-address small { color: var(--muted); }
.zone-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--success-bg); color: var(--success); font-weight: 600; font-size: 14px; }
.zone-info .muted { font-weight: 500; }
.address-card { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.address-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .address-list { grid-template-columns: 1fr 1fr; } }
.address-add { grid-column: 1 / -1; margin: 0; padding: 0; overflow: hidden; }
.address-add-toggle { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 18px 22px; font-weight: 700; color: var(--brand); }
.address-add-toggle::-webkit-details-marker { display: none; }
.address-add[open] .address-add-toggle { display: none; }
.address-add-body { display: grid; grid-template-columns: 1fr; }
.address-add-body form { padding: 22px; }
.address-add-info { padding: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface)); border-bottom: 1px solid var(--line); }
.address-add-info h2 { font-size: 18px; font-weight: 800; margin: 12px 0 10px; }
.address-add-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.address-add-info li { display: flex; gap: 8px; align-items: center; }
.address-add-info li .ic, .address-add-info li i { color: var(--brand); }
.address-add-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 24px; box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 30%, transparent); }
@media (min-width: 900px) {
    .address-add-body { grid-template-columns: 260px minmax(0, 1fr); }
    .address-add-info { border-bottom: 0; border-inline-end: 1px solid var(--line); }
}

.account-shell { display: grid; gap: 20px; margin: 24px 0 40px; }
@media (min-width: 1024px) { .account-shell { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.account-main { display: grid; gap: 16px; min-width: 0; }
.account-main > .card + .card { margin-top: 0; }
.account-nav { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
@media (min-width: 1024px) { .account-nav { position: sticky; top: calc(var(--header-h) + 60px); } }
.account-profile { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; min-width: 0; }
.account-profile div { min-width: 0; }
.account-profile b, .account-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-profile small { color: var(--muted); font-size: 13px; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.account-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.account-nav nav::-webkit-scrollbar { display: none; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; text-align: start; width: 100%; }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--surface-2); color: var(--text); }
.account-nav nav a.active { background: var(--brand-soft); color: var(--brand); }
.account-nav nav form { margin: 0; }
@media (min-width: 1024px) { .account-nav nav { flex-direction: column; overflow: visible; } }

.account-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
.account-hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.account-stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .account-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.account-stats .stat { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--tint); }
.account-stats .stat .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.account-stats .stat b { font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; color: var(--text); overflow-wrap: anywhere; }
.account-stats .stat span { color: var(--muted); font-size: 13px; font-weight: 600; }

.active-orders { display: grid; gap: 12px; }
.active-order { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.active-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.active-order-head small { display: block; }
.active-order .steps { margin: 14px 0 12px; }
.active-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.order-list { display: grid; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.order-row:first-child { border-top: 0; padding-top: 0; }
.order-row-main { min-width: 0; }
.order-row > .pill { justify-self: end; align-self: start; white-space: nowrap; }
.order-number { color: var(--brand); font-weight: 800; margin-inline-end: 8px; }
.order-items { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.order-total { font-size: 15px; }
.order-row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.order-row-actions form { margin: 0; }
@media (min-width: 768px) {
    .order-row { grid-template-columns: minmax(0, 1fr) auto 110px auto; }
    .order-total { text-align: end; }
}
.account-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.account-stats a.stat { transition: transform .15s, box-shadow .15s; }
.account-stats a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.filter-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.filter-tabs a:hover { color: var(--text); }
.filter-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.account-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .account-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product-brand { display: inline-flex; align-items: center; gap: 4px; }
.verified-badge { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: 11px; }
.verified-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 2px 0 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #1d9bf0 12%, var(--surface)); color: #0b6bb3; font-weight: 700; font-size: 13.5px; }
.verified-pill small { font-weight: 500; color: var(--muted); font-size: 12px; }
[data-theme="dark"] .verified-pill { color: #6cc0ff; }

.phone-field { display: flex; gap: 8px; }
.phone-field .input-wrap { flex: 1; min-width: 0; }
.phone-code { flex: none; width: 108px; min-height: 46px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; display: grid; place-items: center; }

.review-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.review-login p { margin: 0; color: var(--muted); }
.review-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--success); }

.socials { flex-wrap: wrap; }
.socials .brand-ic { width: 18px; height: 18px; }
.socials a:hover { color: #fff; }
.socials .social-facebook:hover { background: #1877f2; }
.socials .social-instagram:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.socials .social-youtube:hover { background: #ff0000; }
.socials .social-tiktok:hover { background: #111; }
.socials .social-x:hover { background: #000; }
.socials .social-linkedin:hover { background: #0a66c2; }
.socials .social-pinterest:hover { background: #e60023; }
.socials .social-whatsapp:hover { background: #25d366; }
.footer-app { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.footer-app-qr { flex: none; padding: 6px; border-radius: 12px; background: #fff; line-height: 0; }
.footer-app-qr svg { width: 92px; height: 92px; }
.footer-app-text { display: flex; flex-direction: column; gap: 4px; min-width: 220px; flex: 1; }
.footer-app-text b { color: #fff; font-size: 17px; }
.footer-app-text > span { opacity: .75; font-size: 14px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 15px; line-height: 1.1; transition: transform .15s, border-color .15s; }
.store-badge:hover { transform: translateY(-1px); border-color: #fff; color: #fff; }
.store-badge .brand-ic { width: 22px; height: 22px; }
.store-badge small { display: block; font-weight: 500; font-size: 10.5px; opacity: .8; }
@media (max-width: 640px) { .footer-app-qr { display: none; } }

.not-found { text-align: center; padding: 48px 16px 20px; max-width: 640px; margin: 0 auto; }
.not-found-code { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(84px, 18vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -4px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found-code span { display: inline-grid; place-items: center; width: .82em; height: .82em; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .55em; letter-spacing: 0; -webkit-text-fill-color: currentColor; }
.not-found h1 { font-size: clamp(24px, 4vw, 32px); margin: 18px 0 8px; }
.not-found-search { display: block; max-width: 460px; margin: 22px auto 0; }
.not-found-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

.promo-popup { padding: 0; border: 0; border-radius: 20px; background: transparent; max-width: min(92vw, 520px); max-height: 90vh; overflow: visible; }
.promo-popup::backdrop { background: rgba(10, 14, 22, .62); backdrop-filter: blur(3px); }
.promo-popup[open] { animation: popup-in .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes popup-in { from { opacity: 0; transform: scale(.9) translateY(12px); } }
.promo-popup img { display: block; width: 100%; max-height: 82vh; object-fit: contain; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.promo-link { position: relative; display: block; }
.promo-btn { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.promo-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #111; display: grid; place-items: center; font-size: 22px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
[dir="rtl"] .promo-close { right: auto; left: -14px; }

.cat-nav-row { display: flex; align-items: center; gap: 10px; position: relative; }
.cat-nav-row > ul { flex: 1; min-width: 0; }
.mega { flex: none; }
.mega-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.mega-panel { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 45; display: none; grid-template-columns: 300px minmax(0, 1fr); width: min(780px, calc(100vw - 32px)); max-height: min(72vh, 620px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mega:hover .mega-panel, .mega.open .mega-panel, .mega:focus-within .mega-panel { display: grid; }
.mega-roots { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; border-inline-end: 1px solid var(--line); }
.mega-roots a, .mega-child { display: flex; align-items: center; gap: 10px; padding: 10px 18px; color: var(--text); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--line); }
.mega-roots li:last-child a { border-bottom: 0; }
.mega-roots li.open > a, .mega-roots a:hover { color: var(--brand); background: var(--brand-soft); }
.mega-roots a span:not(.mega-chev), .mega-child span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-chev { font-size: 20px; line-height: 1; color: var(--muted); }
.mega-ic { width: 22px; flex: none; color: var(--muted); font-size: 18px; text-align: center; }
img.mega-ic { height: 22px; border-radius: 6px; object-fit: cover; }
.mega-children { display: none; flex-direction: column; overflow-y: auto; padding: 6px 0; }
.mega-children.open { display: flex; }
.mega-child img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; }
.mega-child:hover { color: var(--brand); background: var(--surface-2); }
.mega-all { padding: 10px 18px; font-weight: 700; color: var(--brand); border-bottom: 1px solid var(--line); }
.mega-empty { padding: 14px 18px; margin: 0; }
.filter-sub a { padding-inline-start: 16px; font-size: 14px; }
.subcat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 18px; }
.subcat-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.subcat-chip:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 899px) {
    .mega-toggle { padding: 0 10px; }
    .mega-panel { grid-template-columns: 1fr; width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto; }
    .mega:hover .mega-panel { display: none; }
    .mega.open .mega-panel { display: grid; }
    .mega-roots { border-inline-end: 0; overflow: visible; }
    .mega-children { border-top: 1px solid var(--line); background: var(--surface-2); }
}
.cat-nav .mega-roots { display: block; padding: 6px 0; overflow-x: hidden; overflow-y: auto; }
.cat-nav .mega-panel a { border-radius: 0; white-space: normal; padding: 10px 18px; font-size: 15px; font-weight: 500; color: var(--text); background: transparent; }
.cat-nav .mega-panel .mega-all { font-weight: 700; color: var(--brand); }
.cat-nav .mega-roots li.open > a, .cat-nav .mega-roots a:hover, .cat-nav .mega-panel .mega-child:hover { color: var(--brand); background: var(--brand-soft); }

.variant-group { border: 0; padding: 0; margin: 0 0 14px; }
.variant-group legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.variant-group legend b { color: var(--text); }
.variant-values { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip { position: relative; cursor: pointer; }
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip span { display: inline-flex; align-items: center; min-height: 40px; min-width: 48px; justify-content: center; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s, color .15s; }
.variant-chip:hover span { border-color: var(--muted); }
.variant-chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.variant-chip input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.variant-chip.sold-out span { color: var(--muted); text-decoration: line-through; border-style: dashed; }

.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cart-items { display: grid; gap: 14px; min-width: 0; }
.cart-items > .card { margin: 0; }
.free-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.free-banner .ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--brand); font-size: 22px; }
.free-banner > div { flex: 1; }
.free-banner .bar { height: 8px; border-radius: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.free-banner .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .4s; }
.free-banner.done { background: var(--success-bg); }
.free-banner.done .ic { color: var(--success); }
.free-banner.done .bar span { background: var(--success); }
.cart-list { padding: 6px 20px; }
.cart-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.cart-item:first-child { border-top: 0; }
.cart-thumb { width: 104px; height: 104px; border-radius: 16px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-size: 34px; color: var(--muted); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-brand { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.cart-item-name { font-weight: 700; font-size: 16px; line-height: 1.35; }
.cart-item-name:hover { color: var(--brand); }
.cart-item-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cart-item-options span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); }
.cart-item-options b { color: var(--text); }
.cart-remove { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.cart-remove:hover { background: var(--danger-bg); color: var(--danger); }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.cart-item-total { font-size: 17px; min-width: 90px; text-align: end; }
.coupon-applied { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px dashed var(--success); background: var(--success-bg); }
.coupon-applied span { flex: 1; }
.coupon-applied small { color: var(--success); font-weight: 700; }
.cart-savings { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 14px; }
.cart-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.cart-trust li { display: flex; align-items: center; gap: 8px; }
.cart-empty { text-align: center; padding: 48px 20px; }
.cart-empty-ic { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 44px; margin-bottom: 14px; }
.cart-empty h2 { margin: 0 0 6px; }
.cart-empty .btn { margin-top: 16px; }
@media (max-width: 640px) {
    .cart-list { padding: 4px 14px; }
    .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
    .cart-thumb { width: 76px; height: 76px; border-radius: 12px; }
    .cart-item-total { min-width: 0; }
}
