/* ─── DESIGN TOKENS ─── */
:root {
    --ink:      #0a0a0f;
    --ink-2:    #12121a;
    --ink-3:    #1a1a26;
    --ink-4:    #242436;
    --surface:  #1e1e2e;
    --glass:    rgba(255,255,255,0.03);
    --glass-b:  rgba(255,255,255,0.07);
    --accent:   #ff5f1f;
    --accent-2: #ff8c5a;
    --gold:     #f0b429;
    --green:    #00e5a0;
    --red:      #ff4560;
    --text:     #f0f0ff;
    --text-2:   #a0a0c0;
    --text-3:   #606080;
    --border:   rgba(255,255,255,0.06);
    --border-2: rgba(255,255,255,0.12);
    --r:        16px;
    --r-sm:     10px;
    --t:        all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow:     0 0 40px rgba(255,95,31,0.15);
    --shadow:   0 12px 40px rgba(0,0,0,0.5);
    --font-d:   'Outfit', sans-serif;
    --font-b:   'Inter', sans-serif;
}

body.light {
    --ink:      #f8f8fc;
    --ink-2:    #f0f0f8;
    --ink-3:    #e8e8f4;
    --ink-4:    #dcdcee;
    --surface:  #ffffff;
    --glass:    rgba(0,0,0,0.02);
    --glass-b:  rgba(0,0,0,0.05);
    --text:     #0a0a1a;
    --text-2:   #3a3a5c;
    --text-3:   #8080a0;
    --border:   rgba(0,0,0,0.07);
    --border-2: rgba(0,0,0,0.12);
    --shadow:   0 12px 40px rgba(0,0,0,0.08);
}

/* ─── RESET & TYPOGRAPHY ─── */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-b);
    letter-spacing: -0.015em;
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 80px;
    transition: background 0.4s, color 0.4s;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed; 
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255,95,31,0.07) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 100% 80%, rgba(0,229,160,0.03) 0%, transparent 60%);
    pointer-events: none; 
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-d);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; object-fit: cover; }
button { cursor: pointer; border: none; outline: none; background: transparent; font-family: var(--font-b); transition: var(--t); }
input, select, textarea { width: 100%; font-family: var(--font-b); transition: var(--t); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 4px; }

/* ─── ANIMATIONS ─── */
@keyframes fade-slide-up {
    from { opacity: 0; transform: translateY(16px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,95,31,0.2); }
    50% { box-shadow: 0 4px 25px rgba(255,95,31,0.4); }
}
@keyframes promoBg { 
    0%, 100% { background-position: 0%; } 
    50% { background-position: 100%; } 
}
@keyframes loadFill { 
    from { width: 0; } 
    to { width: 100%; } 
}
@keyframes popIn { 
    from { transform: scale(0); } 
    to { transform: scale(1); } 
}
@keyframes textGradientLiveAnimation {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes devBorderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes thinkingDotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}
@keyframes thinkingColorCycle {
    0%, 100% { color: #ff0055; }
    20% { color: #ff7b00; }
    40% { color: #ffd500; }
    60% { color: #00d26a; }
    80% { color: #009dff; }
}

/* ─── HYBRID LOADER (01 + 05: DARK & LIGHT ADAPTIVE) ─── */
#loader {
    position: fixed;
    inset: 0;
    background: #00112B; /* Zobax Dark Theme Background */
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* হোয়াইট / লাইট মোডের জন্য ব্যাকগ্রাউন্ড অ্যাডাপ্টেশন */
body.light #loader {
    background: #F4F7FB !important;
}

.loader-hybrid-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ১. লোডার ০১ এর লেজার পালস রিং */
.loader-ring-box {
    position: relative;
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2.8px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--gold);
    animation: loaderRingSpin 1.15s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    filter: drop-shadow(0 0 12px rgba(255, 95, 31, 0.5));
}

.loader-ring-inner {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 95, 31, 0.35);
    animation: loaderRingSpin 4.5s linear infinite reverse;
}

.loader-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    animation: loaderLogoPulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* ২. ব্র্যান্ড টাইটেল */
.loader-brand-title {
    font-family: var(--font-d);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.4px;
    background: linear-gradient(135deg, #FFFFFF 40%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* হোয়াইট মোডে টেক্সট যাতে স্পষ্ট ফুটে ওঠে */
body.light .loader-brand-title {
    background: linear-gradient(135deg, #0A192F 40%, var(--accent)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ৩. লোডার ০৫ এর কাইনেটিক অডিও ইকুয়ালাইজার ওয়েভ */
.loader-wave-row {
    display: flex;
    gap: 7px;
    align-items: center;
    height: 24px;
    margin-top: -2px;
}

.loader-wave-bar {
    width: 6.5px;
    height: 7px;
    border-radius: 99px;
    background: var(--accent);
    animation: loaderWaveBounce 1.25s ease-in-out infinite;
}

.loader-wave-bar:nth-child(1) { animation-delay: 0.0s;  background: #FF5F1F; }
.loader-wave-bar:nth-child(2) { animation-delay: 0.15s; background: #FF8533; }
.loader-wave-bar:nth-child(3) { animation-delay: 0.3s;  background: #F0B429; }
.loader-wave-bar:nth-child(4) { animation-delay: 0.45s; background: #FF8533; }
.loader-wave-bar:nth-child(5) { animation-delay: 0.6s;  background: #FF5F1F; }

/* ─── অ্যানিমেশন কিফ্রেমস ─── */
@keyframes loaderRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08);
        filter: brightness(1.2) drop-shadow(0 0 12px rgba(255, 95, 31, 0.45));
    }
}

@keyframes loaderWaveBounce {
    0%, 100% {
        height: 7px;
        transform: scaleY(1);
        opacity: 0.4;
    }
    50% {
        height: 22px;
        transform: scaleY(1.35);
        opacity: 1;
        box-shadow: 0 0 10px var(--accent);
    }
}
/* ─── TOAST NOTIFICATION ─── */
#toast {
    position: fixed; 
    top: 25px; 
    left: 50%; 
    transform: translateX(-50%) translateY(-100px);
    background: var(--ink-3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--text); 
    padding: 12px 20px;
    border-radius: 50px; 
    font-size: 13px; 
    font-weight: 600;
    z-index: 9999; 
    box-shadow: var(--shadow);
    border: 1px solid var(--border-2);
    display: flex; 
    align-items: center; 
    gap: 10px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    white-space: nowrap; 
    opacity: 0;
}
#toast.show { 
    transform: translateX(-50%) translateY(0); 
    opacity: 1; 
}
.toast-dot { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    flex-shrink: 0; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
}

/* ─── PROMO TOP BAR ─── */
#top-promo {
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
    background-size: 200% 100%;
    animation: promoBg 4s linear infinite;
    color: #fff; 
    text-align: center;
    padding: 10px; 
    font-size: 12px; 
    font-weight: 700;
    font-family: var(--font-d); 
    letter-spacing: -0.01em; 
    cursor: pointer;
    display: none; 
    position: relative; 
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255,95,31,0.2);
}

/* ─── NAVBAR ─── */
.navbar {
    position: sticky; 
    top: 0; 
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, gap 0.3s ease;
}

body.light .navbar {
    background: rgba(248, 248, 252, 0.92);
}

.navbar.scrolled-down {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.light .navbar.scrolled-down {
    background: rgba(248, 248, 252, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 12px; 
}

.logo {
    font-family: var(--font-d);
    font-size: 24px; 
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.logo-icon img { transition: var(--t); }
.logo:hover .logo-icon img { transform: scale(1.1) rotate(5deg); }
.logo-text { 
    background: linear-gradient(135deg, var(--text), var(--text-2)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.nav-icons { display: flex; gap: 8px; align-items: center; }
.nav-btn {
    width: 40px; 
    height: 40px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 16px; 
    position: relative;
    transition: var(--t);
}
.nav-btn:hover { 
    background: var(--glass-b); 
    color: var(--accent); 
    border-color: var(--border-2); 
    transform: translateY(-2px); 
}

.badge {
    position: absolute; 
    top: -4px; 
    right: -4px;
    background: var(--accent); 
    color: #fff;
    font-size: 9px; 
    font-weight: 700;
    width: 16px; 
    height: 16px;
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    border: 2px solid var(--ink);
    font-family: var(--font-d);
}

/* ─── SIDEBAR STYLE ─── */
#sidebar {
    position: fixed; 
    top: 0; 
    left: -300px; 
    width: 300px; 
    height: 100%;
    background: var(--ink-2); 
    border-right: 1px solid var(--border);
    z-index: 10002; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease;
    display: flex; 
    flex-direction: column;
    box-shadow: var(--shadow);
}
body.light #sidebar { background: var(--surface); }
#sidebar.open { transform: translateX(300px); }

#sidebar-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); 
    z-index: 10001;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.4s;
}
#sidebar-overlay.show { opacity: 1; pointer-events: auto; }

.sidebar-header {
    padding: 20px; 
    border-bottom: 1px solid var(--border);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.sidebar-close {
    font-size: 20px; 
    color: var(--text-2); 
    width: 36px; 
    height: 36px;
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    background: var(--glass); 
    transition: var(--t);
}
.sidebar-close:hover { background: var(--glass-b); color: var(--accent); }

.sidebar-menu { 
    padding: 16px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    flex: 1; 
    overflow-y: auto; 
}
.sidebar-item {
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 12px 16px;
    border-radius: 12px; 
    color: var(--text-2); 
    font-weight: 600;
    font-size: 14px; 
    font-family: var(--font-d); 
    transition: var(--t);
    cursor: pointer;
}
.sidebar-item:hover, .sidebar-item.active {
    background: var(--glass-b); 
    color: var(--accent);
    transform: translateX(4px);
}
.sidebar-item i { font-size: 16px; width: 20px; text-align: center; }
.sidebar-logo {
    transform: scale(0.8) rotate(-5deg); 
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#sidebar.open .sidebar-logo {
    transform: scale(1) rotate(0);
}

/* ─── SIDEBAR DEVELOPER BOX ─── */
.sidebar-dev-card {
    margin: 12px 16px 20px 16px;
    padding: 14px 16px;
    border-radius: 16px;
    position: relative;
    background: var(--ink-3);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--t);
    flex-shrink: 0;
}
body.light .sidebar-dev-card {
    background: var(--surface);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.sidebar-dev-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #ff0055, #ff7b00, #ffd500, #00d26a, #009dff, #ff0055);
    background-size: 300% 300%;
    animation: devBorderGlow 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.sidebar-dev-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 95, 31, 0.25);
}
.dev-card-title {
    font-family: var(--font-d);
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}
.dev-card-subtitle {
    font-size: 12px;
    color: var(--text-2);
    font-family: var(--font-b);
    min-height: 18px;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 13px;
    background-color: var(--accent);
    margin-left: 3px;
    animation: blinkCursor 0.7s infinite;
}

/* ─── SEARCH & SUGGESTIONS ─── */
.search-wrap { 
    position: relative; 
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.search-wrap.hidden {
    display: none !important;
}
.search-inner {
    display: flex; 
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px; 
    padding: 0 4px 0 14px;
    transition: var(--t);
}
.search-inner:focus-within { 
    border-color: var(--accent); 
    background: var(--glass-b); 
    box-shadow: 0 0 0 3px rgba(255,95,31,0.1); 
}
.search-inner input {
    background: transparent; 
    border: none; 
    outline: none;
    color: var(--text); 
    font-size: 14px; 
    padding: 11px 0;
    flex: 1; 
    font-family: var(--font-b);
}
.search-inner input::placeholder { color: var(--text-3); }
.search-btn {
    width: 34px; 
    height: 34px; 
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 13px;
}
.search-btn:hover { transform: scale(1.05); }

#search-sug {
    position: absolute; 
    width: 100%;
    background: var(--ink-3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    z-index: 10; 
    display: none; 
    margin-top: 6px;
    max-height: 280px; 
    overflow-y: auto;
}
.sug-item {
    display: flex; 
    align-items: center; 
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer; 
    transition: var(--t);
}
.sug-item:last-child { border: none; }
.sug-item:hover { background: var(--glass-b); }
.sug-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.sug-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.sug-price { color: var(--accent); font-weight: 700; font-size: 13px; font-family: var(--font-d); }

/* ─── DEDICATED SEARCH PAGE ─── */
.search-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.search-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 24px;
}
.search-tag {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t);
    font-family: var(--font-d);
}
.search-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--glass-b);
    transform: translateY(-1px);
}

/* ─── LAYOUT & CONTAINERS ─── */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 16px; 
    display: none; 
    animation: fade-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    min-height: 80vh; 
    position: relative; 
    z-index: 1; 
}
.container.active { display: block; }

.section-hd {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin: 28px 0 16px;
}
.section-title {
    font-family: var(--font-d);
    font-size: 20px; 
    font-weight: 700;
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.section-title .pill {
    font-size: 9px; 
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff; 
    padding: 3px 8px; 
    border-radius: 20px;
    text-transform: uppercase;
}
.section-link { 
    font-size: 13px; 
    font-weight: 600; 
    color: var(--accent); 
    font-family: var(--font-d); 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    transition: var(--t); 
}
.section-link:hover { gap: 8px; color: var(--accent-2); }

/* ─── LIVE GRADIENT SECTION HEADERS ─── */
.section-header-styled {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-first-word {
    color: var(--text);
}
.header-gradient-word, 
.gradient-text {
    background: linear-gradient(
        120deg, 
        #ff0055 0%, 
        #ff7b00 20%, 
        #ffd500 40%, 
        #00d26a 60%, 
        #009dff 80%, 
        #ff0055 100%
    ) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
    animation: textGradientLiveAnimation 4s linear infinite !important;
    display: inline-block;
}

/* ─── HERO SLIDER (CLEAN, BRIGHT & FULLY CLICKABLE) ─── */
.hero-wrap { 
    position: relative; 
    border-radius: 18px; 
    overflow: hidden; 
    margin-bottom: 8px; 
    aspect-ratio: 16/7.5; 
    box-shadow: var(--shadow-card); 
    background-color: var(--bg-surface);
}

@media (max-width: 768px) {
    .hero-wrap {
        aspect-ratio: 16/8.5;
        border-radius: 14px;
    }
}

.slide {
    position: absolute; 
    inset: 0;
    opacity: 0; 
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* কালো শ্যাডো/ডার্ক ওভারলে সম্পূর্ণ রিমুভ করা হলো */
.slide::after {
    display: none !important;
}

.slide.active { 
    opacity: 1; 
    z-index: 2; 
}

/* স্লাইডারের ছোট ক্লিন ডট ইন্ডিকেটর */
.slider-nav {
    display: flex; 
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 4px;
}

.dot {
    width: 7px; 
    height: 7px;
    background: #CBD5E1;
    border-radius: 50%;
    cursor: pointer; 
    transition: all 0.3s ease;
}

.dot.active { 
    background: var(--primary); 
    width: 20px; 
    border-radius: 10px;
}

/* ─── CATEGORIES ─── */
.cat-scroll { 
    display: flex; 
    gap: 14px; 
    overflow-x: auto; 
    padding: 4px 0 12px; 
    scrollbar-width: none; 
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-item {
    min-width: 80px; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 8px; 
    cursor: pointer;
}
.cat-icon {
    width: 56px; 
    height: 56px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 20px; 
    transition: var(--t);
    position: relative; 
    overflow: hidden;
}
/* ─── মোবাইলে ক্যাটাগরি টাচ বা ক্লিক করে রাখলে কমলা হওয়া বন্ধ করা ─── */
.cat-item:active .cat-icon::before,
.cat-item:focus .cat-icon::before {
    opacity: 0 !important;
}

/* শুধুমাত্র কম্পিউটার/মাউস ডিভাইসগুলোতে হোভার এফেক্ট কাজ করবে, টাচ ডিভাইসে নয় */
@media (hover: none) {
    .cat-item:hover .cat-icon::before {
        opacity: 0 !important;
    }
}

/* কামিং সুন ক্যাটাগরিতেও যাতে কখনোই কমলা ওভারলে না আসে */
.cat-item.coming-soon .cat-icon::before,
.cat-item.coming-soon:hover .cat-icon::before,
.cat-item.coming-soon:active .cat-icon::before {
    display: none !important;
    opacity: 0 !important;
}

/* টাচ করার পর ব্রাউজারের ডিফল্ট নীল/কমলা হাইলাইট বন্ধ রাখা */
.cat-item, .cat-icon {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
}
.cat-icon i { position: relative; z-index: 1; transition: var(--t); color: var(--text-2); }
.cat-item:hover .cat-icon { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255,95,31,0.2); }
.cat-item:hover .cat-icon i { color: #fff; }
.cat-name { font-size: 11px; font-weight: 700; color: var(--text-2); text-align: center; font-family: var(--font-d); }

/* ─── PRODUCT CARD & GRID ─── */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
}

.p-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    display: flex; 
    flex-direction: column;
    position: relative;
}
.p-card:hover {
    border-color: rgba(255,95,31,0.35);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px rgba(255,95,31,0.08);
}
.p-badge {
    position: absolute; 
    top: 12px; 
    left: 12px; 
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #fff; 
    font-size: 8px; 
    font-weight: 800;
    padding: 4px 10px; 
    border-radius: 20px;
    text-transform: uppercase;
    font-family: var(--font-d);
    box-shadow: 0 4px 10px rgba(255,95,31,0.25);
}
.p-dis-badge {
    position: absolute; 
    top: 12px; 
    right: 12px; 
    z-index: 2;
    background: rgba(255,69,96,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff; 
    font-size: 9px; 
    font-weight: 800;
    padding: 3px 8px; 
    border-radius: 8px;
    font-family: var(--font-d);
}
.p-img-wrap {
    aspect-ratio: 1; 
    overflow: hidden;
    background: var(--ink-2);
    position: relative;
}
.p-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}
.p-card:hover .p-img { transform: scale(1.08); }

.p-free-del-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 229, 160, 0.95), rgba(0, 180, 130, 0.95));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-d);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 229, 160, 0.35);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.p-body { 
    padding: 12px; 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
}
.p-cat { 
    font-size: 10px; 
    font-weight: 700; 
    color: var(--accent); 
    text-transform: uppercase; 
    margin-bottom: 4px; 
    font-family: var(--font-d); 
}
.p-title { 
    font-size: 13px; 
    line-height: 1.4; 
    height: 36px; 
    overflow: hidden; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    margin-bottom: 8px; 
    font-weight: 500; 
}
.p-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-top: auto; 
}
.p-price { 
    font-size: 16px; 
    font-weight: 800; 
    color: var(--accent); 
    font-family: var(--font-d); 
}
.p-old { 
    font-size: 11px; 
    color: var(--text-3); 
    text-decoration: line-through; 
}
.p-rating {
    display: flex; 
    align-items: center; 
    gap: 3px;
    font-size: 11px; 
    color: var(--text-2); 
    font-weight: 600;
}
.p-rating i { color: var(--gold); font-size: 10px; }
.p-add-btn {
    width: 32px; 
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 13px; 
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255,95,31,0.25);
}
.p-add-btn:hover { transform: scale(1.08) rotate(90deg); }
.stock-bar { width: 100%; height: 4px; background: var(--ink-4); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.stock-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); border-radius: 3px; transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

/* ─── FLASH SALE BANNER ─── */
.flash-banner {
    background: linear-gradient(135deg, var(--ink-3), var(--ink-4));
    border: 1px solid var(--border);
    border-radius: 16px; 
    padding: 14px 20px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 16px; 
    position: relative; 
    overflow: hidden;
    box-shadow: var(--shadow);
}
.flash-banner::before {
    content: '';
    position: absolute; 
    top: -50%; 
    right: -10%;
    width: 250px; 
    height: 250px;
    background: radial-gradient(circle, rgba(255,95,31,0.12) 0%, transparent 70%); 
    pointer-events: none;
}
.flash-title { 
    font-family: var(--font-d); 
    font-size: 18px; 
    font-weight: 800; 
    color: var(--text); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.flash-icon { font-size: 22px; display: inline-block; animation: float-soft 2s ease-in-out infinite; }
#timer {
    font-family: var(--font-d); 
    font-size: 15px; 
    font-weight: 800;
    background: var(--ink); 
    padding: 6px 12px; 
    border-radius: 10px;
    border: 1px solid var(--border-2);
    color: var(--accent); 
    letter-spacing: 0.03em;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

/* ─── PRODUCT DETAIL VIEW (FIXED VIEWPORT STICKY BAR) ─── */

/* ১. কন্টেইনারের transform রিমুভ (যাতে বাটনটি স্ক্রিনের নিচে আটকে থাকে) */
#view-detail,
#view-detail.container,
#view-detail.container.active {
    animation: none !important;
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    padding-bottom: 95px !important; /* বাটনের জন্য নিচের ফাঁকা জায়গা */
}

/* ২. প্রোডাক্ট পেজে সাধারণ বটম মেনু ও PWA প্রম্পট হাইড রাখা */
body:has(#view-detail.active) .bottom-nav,
body:has(#view-detail.active) .pwa-bottom-prompt {
    display: none !important;
}

.pd-image-wrap {
    background: var(--ink-2);
    border-radius: 20px; 
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    position: relative;
}
.pd-main-img-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.pd-main-img-container img {
    transition: transform 0.1s ease;
}
.pd-main-img { 
    width: 100%; 
    aspect-ratio: 1; 
    object-fit: contain; 
    padding: 20px; 
    transition: var(--t); 
}
.pd-thumbs {
    display: flex; 
    gap: 10px; 
    padding: 14px;
    background: var(--glass); 
    border-top: 1px solid var(--border);
    overflow-x: auto; 
    scrollbar-width: none;
}
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
    width: 60px; 
    height: 60px; 
    border-radius: 10px;
    object-fit: cover; 
    cursor: pointer;
    border: 2px solid var(--border); 
    transition: var(--t); 
    flex-shrink: 0;
}
.pd-thumb.active { border-color: var(--accent); box-shadow: 0 0 10px rgba(255,95,31,0.25); }

.pd-section {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px; 
    padding: 18px;
    margin-bottom: 14px;
}
.pd-title { font-family: var(--font-d); font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.pd-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pd-price { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--accent); }
.pd-old { font-size: 16px; color: var(--text-3); text-decoration: line-through; }
.pd-save { 
    font-size: 12px; 
    font-weight: 800; 
    background: rgba(255,95,31,0.12); 
    color: var(--accent); 
    padding: 3px 10px; 
    border-radius: 20px; 
    font-family: var(--font-d); 
}

.pd-info-row {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-bottom: 14px;
}
.pd-info-item {
    background: var(--ink-3); 
    border-radius: 12px; 
    padding: 12px 14px;
    display: flex; 
    align-items: center; 
    gap: 10px;
    border: 1px solid var(--border);
}
body.light .pd-info-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.pd-info-icon { font-size: 18px; color: var(--accent); }
.pd-info-label { font-size: 9px; color: var(--text-3); text-transform: uppercase; font-weight: 700; }
.pd-info-val { font-size: 12px; font-weight: 700; margin-top: 1px; }
.pd-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ─── ৩. দারাজের মতো স্ক্রিনের নিচে পারফেক্টলি লক হওয়া স্টিকি বার ─── */
.pd-action-bar {
    position: fixed !important; 
    bottom: 0 !important; 
    left: 0 !important; 
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background: rgba(18, 18, 26, 0.98) !important; 
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top: 1px solid var(--border-2) !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px !important; 
    display: flex !important; 
    align-items: center !important;
    gap: 10px !important; 
    z-index: 99999 !important; /* সব লেয়ারের ওপরে ভেসে থাকবে */
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35) !important;
    box-sizing: border-box !important;
}

body.light .pd-action-bar { 
    background: rgba(255, 255, 255, 0.98) !important; 
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* উইশলিস্ট বাটন */
.pd-wish-btn {
    width: 44px !important; 
    height: 44px !important; 
    border-radius: 12px !important;
    background: var(--ink-3) !important; 
    border: 1px solid var(--border-2) !important;
    color: var(--text-2) !important; 
    font-size: 18px !important;
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: var(--t) !important;
}
body.light .pd-wish-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
.pd-wish-btn:hover, .pd-wish-btn.active { 
    color: var(--red) !important; 
    border-color: var(--red) !important; 
    background: rgba(255, 69, 96, 0.12) !important; 
    transform: scale(1.05) !important; 
}

/* Add to Cart বাটন */
.pd-cart-btn {
    flex: 1 !important; 
    height: 44px !important; 
    border-radius: 12px !important;
    background: rgba(255, 95, 31, 0.12) !important; 
    border: 1.5px solid var(--accent) !important;
    color: var(--accent) !important; 
    font-weight: 800 !important; 
    font-size: 13px !important;
    font-family: var(--font-d) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: var(--t) !important;
}
.pd-cart-btn:hover { 
    background: var(--accent) !important; 
    color: #ffffff !important; 
    transform: translateY(-1px) !important;
}

/* Buy Now বাটন */
.pd-buy-btn {
    flex: 1.2 !important; 
    height: 44px !important; 
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
    color: #ffffff !important; 
    font-weight: 800 !important; 
    font-size: 13px !important;
    font-family: var(--font-d) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.35) !important;
    cursor: pointer !important;
    transition: var(--t) !important;
}
.pd-buy-btn:hover { 
    transform: translateY(-1px) !important; 
    box-shadow: 0 6px 20px rgba(255, 95, 31, 0.5) !important;
}

/* ডেক্সটপ / কম্পিউটারে সাধারণ ডানপাশের কলামে দেখাবে */
@media (min-width: 1025px) {
    #view-detail {
        padding-bottom: 40px !important;
    }
    .pd-action-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 0 0 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }
}
/* ─── VARIANT CHIPS (PRODUCT DETAIL) ─── */
.variant-selector-group {
    margin-bottom: 14px;
}
.variant-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 6px;
    font-family: var(--font-d);
}
.variant-chips-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.variant-chip {
    padding: 7px 16px;
    border-radius: 8px;
    background: var(--ink-3);
    border: 1.5px solid var(--border-2);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.light .variant-chip { 
    background: #f1f5f9; 
    border-color: #cbd5e1;
    color: #1e293b;
}

/* সিলেক্টেড (Active) অবস্থার প্রিমিয়াম ব্যাকগ্রাউন্ড ও লেখা */
.variant-chip.active,
body.light .variant-chip.active {
    border-color: var(--accent) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
    box-shadow: 0 4px 12px rgba(255, 95, 31, 0.35) !important;
}
/* ─── DEDICATED PRODUCT SHARE BOX ─── */
.pd-share-box {
    background: var(--glass);
    border: 1px solid var(--border-2);
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 16px;
    margin-bottom: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.pd-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.pd-share-title {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 7px;
}
.pd-share-title i { color: var(--accent); font-size: 14px; }
.pd-share-url-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ink-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px 6px 4px 12px;
    margin-bottom: 12px;
}
body.light .pd-share-url-row { background: var(--surface); }
.pd-share-url-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: var(--text-2);
    font-family: var(--font-b);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 6px 0;
}
.pd-share-copy-btn {
    padding: 7px 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-d);
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--t);
    flex-shrink: 0;
}
.pd-share-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 95, 31, 0.35);
}
.pd-share-buttons-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pd-share-pill-btn {
    flex: 1;
    min-width: 85px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--font-d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border-2);
    background: var(--glass-b);
    color: var(--text);
    transition: var(--t);
    cursor: pointer;
}
.pd-share-pill-btn:hover { transform: translateY(-2px); }
.pd-share-pill-btn.wa { color: #25D366; border-color: rgba(37, 211, 102, 0.25); }
.pd-share-pill-btn.wa:hover { background: rgba(37, 211, 102, 0.12); border-color: #25D366; }
.pd-share-pill-btn.fb { color: #1877F2; border-color: rgba(24, 119, 242, 0.25); }
.pd-share-pill-btn.fb:hover { background: rgba(24, 119, 242, 0.12); border-color: #1877F2; }
.pd-share-pill-btn.device { color: var(--gold); border-color: rgba(240, 180, 41, 0.25); }
.pd-share-pill-btn.device:hover { background: rgba(240, 180, 41, 0.12); border-color: var(--gold); }

/* ─── RATINGS & REVIEWS ─── */
.rating-summary {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--ink-3);
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}
body.light .rating-summary { background: var(--surface); }
.rating-big-num {
    font-family: var(--font-d);
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    text-align: center;
}
.rating-stars-display {
    color: var(--gold);
    font-size: 14px;
    display: flex;
    gap: 3px;
}
.review-form {
    background: var(--ink-3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}
body.light .review-form { background: var(--surface); }
.star-rating-input {
    display: flex;
    gap: 8px;
    font-size: 24px;
    color: var(--text-3);
    margin-bottom: 12px;
    cursor: pointer;
}
.star-rating-input i.active {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(240, 180, 41, 0.3);
}
.review-img-preview {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-2);
    margin-top: 10px;
    display: none;
}
.review-item {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.review-item:last-child { border-bottom: none; }
.review-user {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-comment {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 6px;
    line-height: 1.5;
}
.review-attached-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    margin-top: 8px;
    cursor: zoom-in;
    transition: var(--t);
    border: 1px solid var(--border);
}
.review-attached-img:hover { transform: scale(1.03); }
.review-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--glass-b);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-2);
    cursor: pointer;
    transition: var(--t);
    margin-bottom: 10px;
}
.review-upload-btn:hover { border-color: var(--accent); color: var(--accent); }

.admin-reply-box {
    margin-top: 10px;
    margin-left: 20px;
    background: rgba(255, 95, 31, 0.05);
    border-left: 3px solid var(--accent);
    padding: 10px 14px;
    border-radius: 0 12px 12px 0;
    border-top: 1px solid rgba(255, 95, 31, 0.08);
    border-bottom: 1px solid rgba(255, 95, 31, 0.08);
    border-right: 1px solid rgba(255, 95, 31, 0.08);
}
body.light .admin-reply-box { background: rgba(255, 95, 31, 0.03); }

/* ─── CART ─── */
.cart-empty {
    text-align: center; 
    padding: 50px 16px;
    color: var(--text-3);
}
.cart-empty-icon { 
    font-size: 56px; 
    margin-bottom: 16px; 
    opacity: 0.35; 
    color: var(--accent); 
    animation: float-soft 3s ease-in-out infinite; 
}
.cart-empty h3 { font-family: var(--font-d); font-size: 20px; color: var(--text-2); margin-bottom: 6px; }

.cart-item {
    display: flex; 
    gap: 14px; 
    padding: 14px;
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 16px; 
    margin-bottom: 12px; 
    transition: var(--t);
}
.cart-item:hover { border-color: var(--border-2); transform: translateY(-1px); }
.cart-item-img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--ink-2); }
.cart-item-name { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.cart-item-price { font-family: var(--font-d); font-size: 16px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }

.qty-box {
    display: inline-flex; 
    align-items: center; 
    gap: 14px;
    background: var(--ink-3); 
    border: 1px solid var(--border);
    border-radius: 10px; 
    padding: 5px 12px;
}
.qty-box button { font-size: 18px; font-weight: 800; color: var(--accent); padding: 0; width: 18px; text-align: center; }
.qty-box span { font-family: var(--font-d); font-size: 14px; font-weight: 800; min-width: 18px; text-align: center; }

.cart-summary-box {
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 20px; 
    padding: 20px;
    box-shadow: var(--shadow);
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border: none; }
.summary-total { display: flex; justify-content: space-between; padding-top: 12px; font-family: var(--font-d); font-size: 20px; font-weight: 800; }
.summary-total span:last-child { color: var(--accent); }

/* ─── TRUST BADGES ─── */
.cart-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-2);
    font-weight: 600;
}
.trust-badge-item i { color: var(--accent); font-size: 14px; }

/* ─── BUTTONS ─── */
.btn-primary {
    width: 100%; 
    padding: 13px; 
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; 
    font-weight: 800; 
    font-size: 13px;
    font-family: var(--font-d);
    box-shadow: 0 4px 15px rgba(255,95,31,0.25);
    transition: var(--t);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(255,95,31,0.35); }

.btn-ghost {
    width: 100%; 
    padding: 13px; 
    border-radius: 12px;
    background: transparent; 
    border: 1.5px solid var(--border-2);
    color: var(--text-2); 
    font-weight: 700; 
    font-size: 13px;
    font-family: var(--font-d); 
    transition: var(--t);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── CHECKOUT STEPPER UI ─── */
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 20px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink-4);
    color: var(--text-3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    transition: var(--t);
}
.step-item.active .step-circle {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 95, 31, 0.4);
}
.step-item.done .step-circle { background: var(--green); color: #fff; }
.step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    font-family: var(--font-d);
}
.step-item.active .step-label { color: var(--text); }
.step-item.done .step-label { color: var(--green); }
.step-line {
    flex: 1;
    height: 2px;
    background: var(--ink-4);
    margin: 0 12px;
}
.step-line.done { background: var(--green); }

/* ─── CHECKOUT FORM & CARDS ─── */
.glass-panel {
    background: var(--glass);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.chk-section {
    border-radius: 20px; 
    padding: 18px; 
    margin-bottom: 14px;
}
.chk-section-title {
    font-family: var(--font-d); 
    font-size: 13px; 
    font-weight: 800;
    color: var(--text-2); 
    text-transform: uppercase;
    margin-bottom: 14px; 
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.chk-section-title .chk-num {
    width: 22px; 
    height: 22px; 
    background: var(--accent); 
    color: #fff;
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 11px; 
    font-weight: 800;
    flex-shrink: 0;
}
.form-input {
    width: 100%; 
    padding: 11px 14px;
    background: var(--ink-3); 
    border: 1px solid var(--border);
    border-radius: 12px; 
    color: var(--text);
    font-size: 13px; 
    margin-bottom: 10px;
    outline: none; 
    font-family: var(--font-b);
    transition: var(--t);
}
.form-input:focus { border-color: var(--accent); background: var(--ink-2); box-shadow: 0 0 0 3px rgba(255,95,31,0.1); }
.form-input::placeholder { color: var(--text-3); }
select.form-input { appearance: none; }

.delivery-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.del-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--ink-3);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--t);
}
body.light .del-method-card { background: var(--surface); }
.del-method-card.active {
    border-color: var(--accent);
    background: rgba(255, 95, 31, 0.05);
    box-shadow: 0 0 20px rgba(255, 95, 31, 0.15);
}
.del-card-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    display: flex;
    justify-content: center;
    align-items: center;
}
.del-method-card.active .del-card-radio { border-color: var(--accent); }
.del-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: var(--t);
}
.del-method-card.active .del-card-dot { opacity: 1; }
.del-card-info { flex: 1; }
.del-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.del-card-title { font-size: 13px; font-weight: 700; color: var(--text); }
.del-card-price { font-family: var(--font-d); font-weight: 800; color: var(--accent); font-size: 14px; }
.del-card-sub { font-size: 11px; color: var(--text-2); margin-top: 2px; }

.quick-addr-box {
    background: rgba(255, 95, 31, 0.08);
    border: 1px dashed var(--accent);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cod-badge {
    background: rgba(0,229,160,0.06); 
    border: 1px solid rgba(0,229,160,0.18);
    color: var(--green); 
    border-radius: 10px; 
    padding: 10px 14px;
    font-size: 12px; 
    font-weight: 700; 
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    margin-bottom: 14px;
}
.coupon-row { display: flex; gap: 10px; }
.coupon-row .form-input { margin: 0; flex: 1; }
.coupon-apply {
    padding: 0 20px; 
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; 
    font-weight: 700; 
    font-size: 13px; 
    font-family: var(--font-d);
    white-space: nowrap;
}

/* ─── MOBILE STICKY CART BAR ─── */
.mobile-cart-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-2);
    padding: 12px 18px;
    justify-content: space-between;
    align-items: center;
    z-index: 997;
}
body.light .mobile-cart-sticky { background: rgba(248, 248, 252, 0.95); }
@media (max-width: 1024px) {
    body:has(#view-cart.active) .mobile-cart-sticky {
        display: flex;
    }
}

/* ─── COUPON CENTER CARDS ─── */
.coupon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}
@media (min-width: 768px) {
    .coupon-grid { grid-template-columns: repeat(2, 1fr); }
}
.coupon-card {
    background: var(--glass);
    border: 1px solid var(--border-2);
    border-radius: 16px;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--t);
}
.coupon-card:hover { border-color: var(--accent); transform: translateY(-2px); }
/* ব্যবহৃত (Used) কুপন কার্ডের কালো ও ডিসেবল্ড ডিজাইন */
.coupon-card.used {
    background: #0d0f14 !important;
    border-color: #1a1f2c !important;
    filter: grayscale(100%) brightness(0.45);
    opacity: 0.65;
    pointer-events: none !important;
}

body.light .coupon-card.used {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.65;
}

.coupon-card.used .coupon-code-badge,
.coupon-card.used .coupon-percent-num {
    color: #64748b !important;
}
.coupon-left {
    flex: 1.3;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.coupon-code-badge {
    display: inline-block;
    font-family: var(--font-d);
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.coupon-info-sub {
    font-size: 11px;
    color: var(--text-3);
    line-height: 1.4;
}
.coupon-divider {
    width: 1px;
    border-left: 2px dashed var(--border-2);
    position: relative;
    margin: 10px 0;
}
.coupon-divider::before, .coupon-divider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--ink);
    border-radius: 50%;
    left: -9px;
    border: 1px solid var(--border-2);
}
.coupon-divider::before { top: -18px; }
.coupon-divider::after { bottom: -18px; }
.coupon-right {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 95, 31, 0.03);
}
.coupon-percent-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    min-width: 65px;
}
.coupon-percent-num {
    font-family: var(--font-d);
    font-size: 26px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.coupon-percent-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-3);
    margin-top: 2px;
    letter-spacing: 0.05em;
}
.coupon-action-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.coupon-btn {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: var(--font-d);
    transition: var(--t);
    width: 100%;
    text-align: center;
}
.coupon-btn.claim {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 10px rgba(255,95,31,0.25);
}
.coupon-btn.copy {
    background: var(--glass-b);
    border: 1px solid var(--accent);
    color: var(--accent);
}
.coupon-status-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-d);
    margin-top: 8px;
}

/* ─── AUTH (PERFECT MATCH WITH DEMO SCREENSHOT) ─── */
.auth-master-container {
    max-width: 1040px;
    margin: 15px auto 40px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    position: relative;
}

body.light .auth-master-container {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.08);
    border-color: #e2e8f0;
}

/* বাম পাশের ব্যানার (ডেস্কটপ ভিউ) */
.auth-banner-col {
    background: linear-gradient(145deg, #00112B 0%, #071630 60%, #0A192F 100%);
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-2);
}

@media (max-width: 860px) {
    .auth-master-container {
        grid-template-columns: 1fr;
        border-radius: 24px;
        margin: 10px auto 30px;
    }
    .auth-banner-col {
        display: none !important;
    }
}

.auth-brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.auth-brand-logo { width: 44px; height: 44px; object-fit: contain; }
.auth-brand-text { font-family: var(--font-d); font-size: 22px; font-weight: 900; color: #ffffff; }
.auth-banner-title { font-size: 26px; font-weight: 900; line-height: 1.25; margin-bottom: 12px; font-family: var(--font-d); color: #ffffff; }
.auth-banner-sub { font-size: 13px; color: #94A3B8; line-height: 1.6; margin-bottom: 28px; }

.auth-perks-list { display: flex; flex-direction: column; gap: 15px; }
.auth-perk-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: #E2E8F0; }
.auth-perk-icon {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255, 95, 31, 0.15); border: 1px solid rgba(255, 95, 31, 0.3);
    color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.auth-banner-footer { font-size: 11px; color: #64748B; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 18px; margin-top: 25px; }

/* ─── কার্ডের ওপরের লোগো ও ওয়েলকাম হেডার (১ম ছবির মতো) ─── */
.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-header-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
}
.auth-header-title {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.auth-header-title .brand-orange {
    color: var(--accent);
}
.auth-header-sub {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 5px;
    font-weight: 500;
}

/* ─── ডেমোর মতো সুন্দর পিল-ট্যাব (Pill-Tabs) ─── */
.auth-tabs {
    display: flex !important;
    background: #F1F5F9 !important; /* হালকা গ্রে ব্যাকগ্রাউন্ড */
    border-radius: 16px !important;
    padding: 5px !important;
    margin-bottom: 26px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
body:not(.light) .auth-tabs {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.auth-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 11px 18px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    color: var(--text-3) !important;
    cursor: pointer !important;
    border-radius: 12px !important;
    transition: var(--t) !important;
    font-family: var(--font-d) !important;
}
body.light .auth-tab {
    color: #64748B !important;
}

/* সক্রিয় ট্যাবটি উজ্জ্বল কমলারঙা পিল বাটন হবে */
.auth-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.38) !important;
}

/* ─── ফর্ম এরিয়া ও ইনপুটসমূহ ─── */
.auth-form-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 580px) {
    .auth-form-col { padding: 26px 18px; }
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 650px) {
    .auth-grid-2 { grid-template-columns: 1fr; gap: 0; }
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}
.form-label {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--text);
    font-family: var(--font-d);
}
.optional-tag {
    font-size: 11px;
    color: var(--text-3);
    font-weight: normal;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-3);
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.custom-input {
    width: 100% !important;
    padding: 13px 16px 13px 44px !important;
    background: var(--ink-3) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    outline: none !important;
    transition: var(--t) !important;
}
body.light .custom-input {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    color: #0F172A !important;
}
.custom-input:focus {
    border-color: var(--accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.15) !important;
}
.custom-input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
    color: var(--accent) !important;
}

.pass-toggle-icon {
    position: absolute;
    right: 16px;
    color: var(--text-3);
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
}
.pass-toggle-icon:hover { color: var(--accent); }

/* স্ট্রেংথ মিটার */
.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-top: 7px;
    overflow: hidden;
    display: flex;
    gap: 4px;
}
body.light .strength-meter { background: #E2E8F0; }
.strength-step { flex: 1; height: 100%; border-radius: 4px; background: transparent; transition: background 0.3s ease; }
.strength-step.active-weak   { background: #EF4444; }
.strength-step.active-medium { background: #F59E0B; }
.strength-step.active-strong { background: #10B981; }

/* শর্তাবলী চেকবক্স */
.terms-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-2);
    margin: 8px 0 18px;
    cursor: pointer;
    line-height: 1.5;
}
.terms-row input {
    accent-color: var(--accent);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    cursor: pointer;
}
.terms-orange-link {
    color: var(--accent) !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
}

.auth-submit-btn {
    width: 100% !important;
    padding: 14px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
/* ─── PROFILE ─── */
.profile-hero {
    background: linear-gradient(135deg, var(--ink-3), var(--ink-4));
    border: 1px solid var(--border);
    border-radius: 24px; 
    padding: 20px;
    display: flex; 
    align-items: center; 
    gap: 16px;
    margin-bottom: 20px; 
    position: relative; 
    overflow: hidden;
    box-shadow: var(--shadow);
}
.profile-hero::before {
    content: '';
    position: absolute; 
    top: -40%; 
    right: -10%;
    width: 180px; 
    height: 180px;
    background: radial-gradient(circle, rgba(255,95,31,0.12) 0%, transparent 70%);
}
.profile-avatar {
    width: 64px; 
    height: 64px; 
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 24px; 
    color: #fff; 
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255,95,31,0.25);
}
.profile-info { flex: 1; }
.profile-name { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.profile-email { font-size: 12px; color: var(--text-3); font-weight: 500; }

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--t);
}
.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    background: var(--glass-b);
}
.stat-num {
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}
.stat-lbl {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.profile-section-title {
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.rv-card {
    min-width: 105px;
    max-width: 105px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.rv-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rv-img-wrap {
    aspect-ratio: 1;
    background: var(--ink-2);
    overflow: hidden;
    position: relative;
}
.rv-img { width: 100%; height: 100%; object-fit: cover; }
.rv-dis-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 8px;
    font-weight: 800;
    background: rgba(255, 69, 96, 0.9);
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: var(--font-d);
}
.rv-body { padding: 6px; }
.rv-price {
    font-family: var(--font-d);
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
}
.rv-old {
    font-size: 9px;
    color: var(--text-3);
    text-decoration: line-through;
    margin-top: 1px;
}

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.quick-card {
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 16px; 
    padding: 16px; 
    text-align: center;
    cursor: pointer; 
    transition: var(--t);
}
.quick-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-icon { font-size: 24px; margin-bottom: 8px; }
.quick-label { font-size: 12px; font-weight: 700; font-family: var(--font-d); }

/* ─── ORDERS & TRACKING ─── */
.order-card {
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 16px; 
    padding: 16px; 
    margin-bottom: 12px;
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-id { font-family: var(--font-d); font-size: 13px; font-weight: 800; }
.order-price { font-family: var(--font-d); font-size: 16px; font-weight: 800; color: var(--accent); }

.track-row { display: flex; justify-content: space-between; position: relative; }
.track-row::before { content: ''; position: absolute; top: 11px; left: 8%; right: 8%; height: 2px; background: var(--ink-4); z-index: 1; }
.track-step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.track-dot {
    width: 24px; 
    height: 24px; 
    border-radius: 50%;
    background: var(--ink-4); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 10px; 
    color: var(--text-3); 
    transition: var(--t);
}
.track-dot.done { background: var(--accent); color: #fff; box-shadow: 0 0 10px rgba(255,95,31,0.35); }
.track-dot.current { background: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(255,95,31,0.15); }
.track-lbl { font-size: 8px; font-weight: 700; color: var(--text-3); text-transform: uppercase; font-family: var(--font-d); }
.track-lbl.active { color: var(--text); }

.cancel-btn {
    margin-top: 12px; 
    padding: 8px 16px; 
    border-radius: 10px;
    border: 1px solid rgba(255,69,96,0.25); 
    color: var(--red);
    font-size: 12px; 
    font-weight: 700; 
    font-family: var(--font-d);
    transition: var(--t);
}
.cancel-btn:hover { background: rgba(255,69,96,0.06); }

/* ─── ADMIN ORDER NOTE DISPLAY ─── */
.admin-order-note-box {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    background: var(--ink-3);
    border: 1px solid var(--border-2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
body.light .admin-order-note-box { background: #f8fafc; }
.admin-order-note-box.delivered {
    border-left: 4px solid var(--green);
    background: rgba(0, 229, 160, 0.05);
}
.admin-order-note-box.cancelled {
    border-left: 4px solid var(--red);
    background: rgba(255, 69, 96, 0.05);
}
.admin-order-note-title {
    font-family: var(--font-d);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-order-note-box.delivered .admin-order-note-title { color: var(--green); }
.admin-order-note-box.cancelled .admin-order-note-title { color: var(--red); }
.admin-order-note-desc { color: var(--text-2); font-size: 12px; font-weight: 500; }

/* ─── NOTIFICATIONS ─── */
.notif-item {
    display: flex; 
    gap: 14px; 
    padding: 14px;
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 16px; 
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--t);
}
.notif-item:hover {
    border-color: rgba(255,95,31,0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.notif-icon {
    width: 40px; 
    height: 40px; 
    border-radius: 12px; 
    flex-shrink: 0;
    background: rgba(255,95,31,0.08); 
    border: 1px solid rgba(255,95,31,0.18);
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: var(--accent); 
    font-size: 16px;
}
.notif-title { font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.notif-desc { 
    font-size: 12px; 
    color: var(--text-2); 
    line-height: 1.45; 
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-date { font-size: 10px; color: var(--text-3); font-family: var(--font-d); font-weight: 500; }

/* ─── SETTINGS LIST ─── */
.setting-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 16px; 
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 14px; 
    margin-bottom: 10px; 
    transition: var(--t);
}
.setting-item:hover { border-color: var(--border-2); }
.setting-info { display: flex; align-items: center; gap: 14px; }
.setting-info i { font-size: 20px; color: var(--accent); width: 24px; text-align: center; }
.setting-title { font-family: var(--font-d); font-size: 14px; font-weight: 700; }
.setting-desc { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ─── CHAT & AI SUPPORT ─── */
.chat-box {
    position: fixed; 
    bottom: 90px; 
    right: 20px;
    width: 320px; 
    max-width: 92vw;
    background: var(--ink-2);
    border: 1px solid var(--border-2);
    border-radius: 20px; 
    box-shadow: var(--shadow);
    display: none; 
    flex-direction: column; 
    z-index: 996;
    overflow: hidden; 
    max-height: 480px;
    transition: var(--t);
}
body.light .chat-box { background: var(--surface); }

.chat-hd {
    background: var(--ink-3); 
    padding: 14px 16px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.chat-hd-info { display: flex; align-items: center; gap: 8px; }
.chat-hd-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 6px var(--green); }
.chat-hd-title { font-family: var(--font-d); font-weight: 700; font-size: 13px; }

.chat-body {
    flex: 1; 
    overflow-y: auto; 
    padding: 14px; 
    background: var(--ink);
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    min-height: 220px;
}
.msg {
    max-width: 82%; 
    padding: 10px 14px; 
    border-radius: 14px;
    line-height: 1.45; 
    font-size: 12px; 
    word-wrap: break-word;
}
.msg img { border-radius: 8px; margin-top: 5px; max-width: 100%; }
.msg-in { background: var(--ink-3); align-self: flex-start; border-bottom-left-radius: 3px; border: 1px solid var(--border); }
.msg-out { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }

.chat-ft {
    display: flex; 
    align-items: center; 
    gap: 6px;
    background: var(--ink-2); 
    padding: 8px 10px;
    border-top: 1px solid var(--border);
}
.chat-img-btn {
    width: 34px; 
    height: 34px; 
    border-radius: 10px;
    background: var(--ink-3); 
    color: var(--text-2);
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 13px; 
    flex-shrink: 0; 
    border: 1px solid var(--border);
}
.chat-ft input {
    flex: 1; 
    background: var(--ink-3); 
    border: 1px solid var(--border);
    border-radius: 10px; 
    padding: 8px 12px; 
    color: var(--text);
    font-size: 12px; 
    outline: none; 
    font-family: var(--font-b);
}
.chat-ft input::placeholder { color: var(--text-3); }
.chat-send {
    width: 34px; 
    height: 34px; 
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 13px; 
    flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.05); }

/* ─── AI ASSISTANT GLOW & THINKING EFFECT ─── */
body.assistant-glow-active::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10005;
    box-shadow: 
        inset 0 0 15px 3px rgba(255, 0, 85, 0.5),
        inset 0 0 25px 6px rgba(255, 123, 0, 0.4);
    animation: googleAssistantGlow 6s linear infinite alternate;
}
@keyframes googleAssistantGlow {
    0% { box-shadow: inset 0 0 15px 3px rgba(255, 0, 85, 0.6), inset 0 0 25px 6px rgba(255, 123, 0, 0.4); }
    25% { box-shadow: inset 0 0 15px 3px rgba(255, 123, 0, 0.6), inset 0 0 25px 6px rgba(255, 213, 0, 0.4); }
    50% { box-shadow: inset 0 0 15px 3px rgba(255, 213, 0, 0.6), inset 0 0 25px 6px rgba(0, 210, 106, 0.4); }
    75% { box-shadow: inset 0 0 15px 3px rgba(0, 210, 106, 0.6), inset 0 0 25px 6px rgba(0, 157, 255, 0.4); }
    100% { box-shadow: inset 0 0 20px 4px rgba(0, 157, 255, 0.6), inset 0 0 30px 8px rgba(255, 0, 85, 0.4); }
}

.thinking-bubble {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ink-3);
    border: 1px solid var(--border);
    align-self: flex-start;
    border-bottom-left-radius: 3px !important;
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 82%;
}
body.light .thinking-bubble { background: var(--surface); }
.thinking-text {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    animation: thinkingColorCycle 3s linear infinite;
}
.thinking-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    animation: thinkingDotBounce 1.4s infinite ease-in-out both;
}
.thinking-dot:nth-child(1) { animation-delay: -0.32s; background: #ff0055; }
.thinking-dot:nth-child(2) { animation-delay: -0.16s; background: #00d26a; }
.thinking-dot:nth-child(3) { background: #009dff; }

/* ─── BOTTOM NAV ─── */
.bottom-nav {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-top: 1px solid var(--border);
    display: flex; 
    justify-content: space-around;
    padding: 10px 0 12px; 
    z-index: 998;
}
body.light .bottom-nav { background: rgba(248,248,252,0.92); }
.b-item {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 4px; 
    cursor: pointer; 
    padding: 0 10px;
    font-size: 10px; 
    font-weight: 700; 
    color: var(--text-3);
    font-family: var(--font-d); 
    letter-spacing: 0.02em;
    transition: var(--t);
}
.b-item i { font-size: 18px; transition: var(--t); }
.b-item.active { color: var(--accent); }
.b-item.active i { transform: translateY(-2px); }

/* ─── CONFETTI & SUCCESS INVOICE OVERLAY ─── */
#confetti-canvas { position: fixed; inset: 0; z-index: 10001; pointer-events: none; display: none; }
#success-overlay {
    position: fixed; 
    inset: 0;
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 10000; 
    display: none;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    color: #fff; 
    text-align: center; 
    padding: 24px;
}
.success-ring {
    width: 80px; 
    height: 80px; 
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), rgba(0,229,160,0.5));
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 36px; 
    margin: 0 auto 16px;
    animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
    box-shadow: 0 0 40px rgba(0,229,160,0.3);
}
.invoice-box {
    background: var(--ink-2);
    border: 1px solid var(--border-2);
    border-radius: 24px;
    padding: 24px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow);
}
body.light .invoice-box { background: var(--surface); color: var(--text); }
.invoice-title { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--text); }
.invoice-sub { font-size: 12px; color: var(--text-2); margin-top: 4px; margin-bottom: 16px; }
.invoice-details-box {
    background: var(--ink-3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 18px;
}
body.light .invoice-details-box { background: #f8fafc; color: #1e293b; }
.invoice-actions-grid { display: flex; gap: 10px; }

/* ─── FLYING ADD TO CART ANIMATION ─── */
.flying-img {
    position: fixed;
    z-index: 10006;
    pointer-events: none;
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.5);
    border: 2px solid var(--accent);
}

/* ─── LIGHTBOX ZOOM MODAL ─── */
#zoom-modal {
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 999999; 
    background: rgba(10,10,15,0.96); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.3s ease;
}
#zoom-img-container {
    overflow: auto; 
    width: 90%; 
    max-height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
}
#zoom-modal-img {
    max-width: 100%; 
    max-height: 85vh; 
    border-radius: 8px; 
    transition: transform 0.3s ease; 
    cursor: zoom-out;
}

/* ─── PRODUCTS FILTER & DROPDOWN ─── */
.filter-row { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-input {
    width: 100px; 
    padding: 10px 14px;
    background: var(--glass); 
    border: 1px solid var(--border);
    border-radius: 10px; 
    color: var(--text); 
    font-size: 13px;
    outline: none; 
    font-family: var(--font-b); 
    transition: var(--t);
}
.filter-input:focus { border-color: var(--accent); }
.filter-input::placeholder { color: var(--text-3); }

.custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 140px;
    z-index: 99;
}
.dropdown-trigger {
    width: 100%;
    padding: 10px 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: var(--t);
    cursor: pointer;
}
.dropdown-trigger:hover, .custom-dropdown.open .dropdown-trigger {
    border-color: var(--accent);
    background: var(--glass-b);
}
.dropdown-trigger i {
    font-size: 11px;
    color: var(--text-2);
    transition: transform 0.3s ease;
}
.custom-dropdown.open .dropdown-trigger i {
    transform: rotate(180deg);
    color: var(--accent);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 100%;
    min-width: 140px;
    background: var(--ink-2);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.light .dropdown-menu { background: var(--surface); }
.custom-dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown-item {
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
    cursor: pointer;
    transition: var(--t);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-item:hover { background: var(--glass-b); color: var(--accent); }
.dropdown-item.active {
    color: var(--accent);
    font-weight: 700;
    background: rgba(255, 95, 31, 0.05);
}
.dropdown-item.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--accent);
}

.scroll-progress {
    position: fixed; 
    top: 0; 
    left: 0; 
    height: 3px; 
    z-index: 9998;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 0.1s;
}
.page-hd {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 18px;
}
.page-title {
    font-family: var(--font-d); 
    font-size: 24px; 
    font-weight: 800;
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}

/* ─── COLOR PALETTE THEMES ─── */
body.theme-electric-blue {
    --accent: #2563EB;
    --accent-2: #3b82f6;
    --glow: 0 0 40px rgba(37, 99, 235, 0.25);
}
body:not(.light).theme-electric-blue { --ink-2: #111827; }

body.theme-deep-purple {
    --accent: #6366F1;
    --accent-2: #7C3AED;
    --glow: 0 0 40px rgba(99, 102, 241, 0.25);
}

body.theme-emerald {
    --accent: #059669;
    --accent-2: #10B981;
    --glow: 0 0 40px rgba(5, 150, 105, 0.25);
}
body:not(.light).theme-emerald { --ink-2: #0F172A; }

body.theme-red {
    --accent: #E11D48;
    --accent-2: #f43f5e;
    --glow: 0 0 40px rgba(225, 29, 72, 0.25);
}
body:not(.light).theme-red { --ink-2: #111827; }

body.theme-cyan {
    --accent: #0891B2;
    --accent-2: #06b6d4;
    --glow: 0 0 40px rgba(8, 145, 178, 0.25);
}
body:not(.light).theme-cyan { --ink-2: #0F172A; }

body.theme-emerald-navy {
    --accent: #10B981;
    --accent-2: #059669;
    --glow: 0 0 40px rgba(16, 185, 129, 0.25);
}
body:not(.light).theme-emerald-navy { --ink-2: #0F172A; }

.theme-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 6px;
}
.theme-swatch-card {
    background: var(--ink-3);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}
body.light .theme-swatch-card { background: var(--surface); }
.theme-swatch-card:hover, .theme-swatch-card.active {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
.theme-swatch-card.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10px;
    color: var(--accent);
}
.swatch-dots { display: flex; gap: 4px; align-items: center; }
.swatch-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 2px rgba(0,0,0,0.3); }
.swatch-name {
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-d);
    color: var(--text-2);
    text-align: center;
    line-height: 1.2;
}
.theme-swatch-card.active .swatch-name { color: var(--accent); }

/* ─── FULLSCREEN WEB MAINTENANCE OVERLAY ─── */
#maintenance-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: radial-gradient(circle at 50% 30%, #1e1e2e 0%, #0a0a0f 100%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    overflow: hidden;
}
body.light #maintenance-overlay {
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f0f0f8 100%);
}
.maintenance-card {
    max-width: 540px;
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--border-2);
    border-radius: 28px;
    padding: 40px 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    animation: fade-slide-up 0.5s ease-out forwards;
    position: relative;
}
.maintenance-icon-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 95, 31, 0.15), rgba(240, 180, 41, 0.15));
    border: 1px solid rgba(255, 95, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 95, 31, 0.25);
    animation: float-soft 3s ease-in-out infinite;
}
.maintenance-title {
    font-family: var(--font-d);
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.25;
}
.maintenance-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 24px;
}
.maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 95, 31, 0.12);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-d);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 95, 31, 0.25);
}
.maintenance-gear-spin {
    display: inline-block;
    animation: spinGear 8s linear infinite;
}
@keyframes spinGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── GLASSMORPHISM NOTIFICATION BANNER ─── */
.glass-push-notif {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(-180%);
    width: 92%;
    max-width: 440px;
    z-index: 999999;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 95, 31, 0.3) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 95, 31, 0.2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.glass-push-notif.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.glass-push-content {
    background: rgba(18, 18, 26, 0.78);
    border-radius: 20px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
body.light .glass-push-content { background: rgba(255, 255, 255, 0.85); }
.glass-push-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 95, 31, 0.15), transparent 60%);
    pointer-events: none;
}
.glass-push-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 95, 31, 0.2), rgba(240, 180, 41, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.25);
    overflow: hidden;
}
.glass-push-icon img { width: 100%; height: 100%; object-fit: cover; }
.glass-push-body { flex: 1; min-width: 0; }
.glass-push-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.glass-push-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.05em;
    font-family: var(--font-d);
}
.glass-push-time {
    font-size: 10px;
    color: var(--text-3);
    font-family: var(--font-d);
}
.glass-push-title {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.glass-push-desc {
    font-size: 11px;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    margin-top: 1px;
}
.glass-push-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--t);
}
.glass-push-close:hover {
    background: rgba(255, 69, 96, 0.2);
    color: var(--red);
    border-color: var(--red);
    transform: scale(1.1);
}

/* ─── RESPONSIVE SYSTEM ─── */
.desk-only { display: none !important; }

@media (max-width: 599px) {
    .container { padding: 12px; }
    .section-hd { margin: 24px 0 14px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-wrap { aspect-ratio: 16/10; border-radius: 12px; }
    .p-card { border-radius: 14px; }
    .p-body { padding: 10px; }
    .p-title { font-size: 13px; height: 36px; margin-bottom: 6px; }
    .pd-section { padding: 14px; border-radius: 16px; }
    .profile-hero { padding: 14px; border-radius: 16px; flex-direction: column; text-align: center; gap: 10px; }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .container { padding: 24px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero-wrap { aspect-ratio: 16/7; border-radius: 20px; }
    .navbar { padding: 14px 24px; }
    #view-detail.active { display: flex; flex-direction: row; gap: 24px; align-items: flex-start; }
    .pd-image-wrap { flex: 1; max-width: 45%; position: sticky; top: 100px; }
    .pd-details-right { flex: 1.2; }
    .pd-action-bar { 
        position: relative !important; 
        bottom: auto !important; 
        left: auto !important; 
        width: 100% !important; 
        padding: 20px 0 0 0 !important; 
        background: transparent !important; 
        backdrop-filter: none !important; 
        border: none !important; 
    }
}

@media (max-width: 1024px) {
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 12px 16px !important;
    }
    .nav-top {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }
    .search-wrap {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 60px;
        opacity: 1;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.25s ease, 
                    transform 0.35s ease, 
                    margin 0.35s ease !important;
        overflow: hidden;
    }
    .navbar.nav-hide-search .search-wrap {
        max-height: 0 !important;
        opacity: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-8px) !important;
        pointer-events: none !important;
    }
    .navbar.nav-hide-search { gap: 0 !important; padding-bottom: 8px !important; }
}

@media (min-width: 1025px) {
    .desk-only { display: flex !important; }
    .bottom-nav { display: none !important; }
    body { padding-bottom: 0px !important; padding-left: 60px !important; }
    .container { padding: 40px 20px; max-width: 1400px; }

    .product-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 20px !important; }
    .p-card { border-radius: 20px; }
    .p-card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        border-color: var(--accent) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(255,95,31,0.2) !important;
    }

    .hero-container-desktop { display: grid; grid-template-columns: 2.8fr 1fr; gap: 20px; margin-bottom: 24px; }
    .hero-wrap { aspect-ratio: 16/7.5; border-radius: 24px; margin-bottom: 0; }
    .hero-side-banners { display: flex; flex-direction: column; gap: 20px; }
    .side-banner-card {
        flex: 1;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        border: 1px solid var(--border);
        background-size: cover;
        background-position: center;
        box-shadow: var(--shadow);
        cursor: pointer;
        transition: var(--t);
    }
    .side-banner-card:hover { transform: translateY(-4px); border-color: var(--accent); }
    .side-banner-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(10,10,15,0.2) 0%, rgba(10,10,15,0.85) 100%);
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .cat-scroll { justify-content: center; gap: 28px; padding-bottom: 16px; }


    .navbar {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }
    .nav-top { display: flex !important; align-items: center !important; margin-bottom: 0 !important; }
    .search-wrap { flex: 1 !important; max-width: 450px !important; margin: 0 20px !important; }
    .nav-icons { display: flex !important; align-items: center !important; }
    .nav-icons .nav-btn:has(.fa-bars) { display: none !important; }

    #view-detail.active { display: flex; flex-direction: row; gap: 40px; align-items: flex-start; }
    .pd-image-wrap { flex: 1.1; max-width: 48%; position: sticky; top: 100px; }
    .pd-details-right { flex: 1.2; }
    .pd-action-bar { 
        position: relative !important; 
        bottom: auto !important; 
        left: auto !important; 
        width: 100% !important; 
        padding: 20px 0 0 0 !important; 
        background: transparent !important; 
        backdrop-filter: none !important; 
        border: none !important; 
    }
    
    .cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 35px; align-items: start; }
    .cart-summary-box { position: sticky; top: 100px; }
    .checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 35px; align-items: start; }
    .quick-grid { grid-template-columns: repeat(4, 1fr) !important; }

    #sidebar, #sidebar.open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        height: 100vh !important;
        z-index: 10002 !important;
        box-sizing: border-box !important;
    }
    #sidebar:not(.open) {
        width: 60px !important;
        background: transparent !important;
        border-right: none !important;
        box-shadow: none !important;
        padding-top: 15px !important;
        overflow: visible !important;
    }
    #sidebar:not(.open) .sidebar-item {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        margin: 8px auto !important;
        background: var(--glass-b) !important;
        border: 1px solid var(--border-2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease !important;
    }
    #sidebar:not(.open) .sidebar-item:hover {
        background: var(--accent) !important;
        color: #ffffff !important;
        border-color: var(--accent) !important;
        transform: scale(1.12);
        box-shadow: 0 0 20px rgba(255, 95, 31, 0.5) !important;
    }
    body.light #sidebar:not(.open) .sidebar-item {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(0, 0, 0, 0.12) !important;
        color: #0a0a1a !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    #sidebar:not(.open) .sidebar-header { padding: 5px 0 15px 0; justify-content: center; border-bottom: none; }
    #sidebar:not(.open) .sidebar-logo,
    #sidebar:not(.open) .mobile-only-close,
    #sidebar:not(.open) .sidebar-dev-card,
    #sidebar:not(.open) .sidebar-item span:not(.badge) { display: none !important; }

    #sidebar.open {
        width: 280px !important;
        background: var(--ink-2) !important;
        border-right: 1px solid var(--border-2) !important;
        box-shadow: 15px 0 45px rgba(0, 0, 0, 0.6) !important;
        overflow-y: auto !important;
        padding-top: 0 !important;
    }
    #sidebar.open .sidebar-header {
        padding: 18px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid var(--border) !important;
        width: 100% !important;
    }
    #sidebar.open .sidebar-logo { display: flex !important; align-items: center; gap: 8px; }
    #sidebar.open .mobile-only-close { display: none !important; }
    #sidebar.open .sidebar-menu { padding: 16px; align-items: stretch; flex: 1; overflow-y: auto; }
    #sidebar.open .sidebar-item {
        width: 100% !important;
        height: auto !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        justify-content: flex-start !important;
        margin: 0 0 8px 0 !important;
    }
    #sidebar.open .sidebar-item span:not(.badge) { display: inline-block !important; }
    #sidebar.open .sidebar-dev-card { display: block !important; }

    .desktop-dock-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        color: #ffffff !important;
        font-size: 14px;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 18px rgba(255, 95, 31, 0.4);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex-shrink: 0;
    }
    #sidebar:not(.open) .desktop-dock-toggle { margin: 0 auto !important; }
    #sidebar.open .desktop-dock-toggle i { transform: rotate(180deg) !important; }

    .chat-box {
        width: 390px !important;
        max-height: 560px !important;
        bottom: 25px !important;
        right: 30px !important;
        border-radius: 24px !important;
        border: 1px solid var(--border-2) !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 95, 31, 0.15) !important;
    }
    .chat-hd { padding: 16px 18px !important; }
    .chat-body { min-height: 340px !important; padding: 18px !important; gap: 12px !important; }
    .msg { font-size: 13px !important; line-height: 1.55 !important; padding: 12px 16px !important; border-radius: 16px !important; max-width: 85% !important; }
    .chat-ft { padding: 12px 14px !important; gap: 8px !important; }
    .chat-ft input { padding: 10px 14px !important; font-size: 13px !important; }
    .chat-img-btn, .chat-send { width: 38px !important; height: 38px !important; border-radius: 12px !important; }
}

/* ─── SITE FOOTER ─── */
.site-footer {
    background: var(--ink-2);
    border-top: 1px solid var(--border-2);
    position: relative;
    z-index: 10;
    margin-top: 50px;
    padding: 50px 0 20px;
    transition: background 0.4s ease, border-color 0.4s ease;
}
body.light .site-footer { background: var(--ink-2); border-top: 1px solid var(--border); }
.footer-container { display: flex; flex-direction: column; min-height: auto; padding-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }

@media (min-width: 600px) and (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (min-width: 1025px) {
    .site-footer { padding: 65px 0 25px; }
    .footer-grid { grid-template-columns: 2.2fr 1.1fr 1.1fr 1.8fr; gap: 45px; }
}
@media (max-width: 1024px) {
    .site-footer { padding-bottom: 90px; }
}

.footer-logo { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 14px; }
.footer-logo-img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(255, 95, 31, 0.2)); transition: var(--t); }
.footer-logo:hover .footer-logo-img { transform: scale(1.08) rotate(5deg); }
.footer-desc { color: var(--text-2); font-size: 13px; line-height: 1.65; margin-bottom: 20px; max-width: 360px; }
.footer-social-links { display: flex; gap: 10px; }
.footer-social-links a {
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--glass-b); border: 1px solid var(--border-2);
    display: flex; justify-content: center; align-items: center;
    color: var(--text); font-size: 15px; transition: var(--t);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.footer-social-links a:hover {
    background: var(--accent); color: #ffffff; border-color: var(--accent);
    transform: translateY(-3px); box-shadow: 0 6px 18px rgba(255, 95, 31, 0.35);
}
.footer-heading {
    font-family: var(--font-d); font-size: 16px; font-weight: 800;
    color: var(--text); margin-bottom: 18px; letter-spacing: -0.01em;
    position: relative; display: inline-block;
}
.footer-heading::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 24px; height: 2px; border-radius: 2px; background: var(--accent);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links li a {
    color: var(--text-2); font-size: 13px; font-weight: 500;
    transition: var(--t); display: inline-flex; align-items: center; gap: 6px;
}
.footer-links li a i { font-size: 9px; color: var(--accent); transition: transform 0.3s ease; }
.footer-links li a:hover { color: var(--accent); transform: translateX(4px); }
.footer-links li a:hover i { transform: translateX(2px); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    background: var(--glass); border: 1px solid var(--border); border-radius: 12px;
    transition: var(--t); cursor: pointer;
}
.contact-item:hover { background: var(--glass-b); border-color: var(--border-2); transform: translateY(-2px); }
.contact-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; justify-content: center; align-items: center; font-size: 14px; flex-shrink: 0;
}
.contact-icon.hotline { background: rgba(255, 95, 31, 0.12); color: var(--accent); border: 1px solid rgba(255, 95, 31, 0.2); }
.contact-icon.whatsapp { background: rgba(0, 229, 160, 0.12); color: var(--green); border: 1px solid rgba(0, 229, 160, 0.2); }
.contact-icon.location { background: rgba(240, 180, 41, 0.12); color: var(--gold); border: 1px solid rgba(240, 180, 41, 0.2); }
.contact-label { display: block; font-size: 10px; color: var(--text-3); text-transform: uppercase; font-weight: 700; font-family: var(--font-d); }
.contact-val { display: block; font-size: 13px; font-weight: 700; color: var(--text); font-family: var(--font-d); }

.footer-bottom-bar {
    border-top: 1px solid var(--border); padding-top: 22px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center; font-size: 12px; color: var(--text-3);
}
@media (min-width: 768px) {
    .footer-bottom-bar { flex-direction: row; justify-content: space-between; text-align: left; }
}
.dev-credit a { color: var(--accent); font-weight: 700; transition: var(--t); }
.dev-credit a:hover { text-decoration: underline; filter: brightness(1.2); }

/* ─── AVATAR CHOOSER MODAL ─── */
.profile-avatar-wrap { position: relative; width: 72px; height: 72px; margin: 0 auto; cursor: pointer; }
.profile-avatar {
    width: 100%; height: 100%; border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex; justify-content: center; align-items: center;
    font-size: 28px; color: #fff; overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 95, 31, 0.25);
    transition: transform 0.3s ease; border: 2px solid var(--border-2);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-wrap:hover .profile-avatar { transform: scale(1.05); }
.avatar-edit-badge {
    position: absolute; bottom: -2px; right: -2px; width: 26px; height: 26px;
    background: var(--ink-2); border: 2px solid var(--accent); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 11px; color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.modal-overlay {
    position: fixed; inset: 0; z-index: 100005;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: flex; justify-content: center; align-items: center; padding: 16px;
    animation: fade-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.avatar-modal-box {
    background: var(--ink-2); border: 1px solid var(--border-2);
    border-radius: 24px; width: 100%; max-width: 440px; padding: 24px; box-shadow: var(--shadow);
}
body.light .avatar-modal-box { background: var(--surface); }
.avatar-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.avatar-modal-header h3 { font-size: 18px; font-weight: 800; font-family: var(--font-d); }
.avatar-upload-row { display: flex; gap: 10px; }
.avatar-preset-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-height: 260px; overflow-y: auto; padding: 4px;
}
.avatar-preset-card {
    aspect-ratio: 1; border-radius: 16px; background: var(--ink-3); border: 2px solid var(--border);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    cursor: pointer; transition: var(--t); color: var(--text-2); font-size: 26px;
}
body.light .avatar-preset-card { background: var(--ink-2); }
.avatar-preset-card:hover, .avatar-preset-card.active {
    border-color: var(--accent); color: var(--accent); transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 95, 31, 0.25); background: rgba(255, 95, 31, 0.08);
}
/* ─── ULTRA PREMIUM AUTH DIVIDER & GOOGLE BUTTON ─── */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0 16px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-d);
    width: 100%;
}

.auth-divider::before, 
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

body.light .auth-divider::before,
body.light .auth-divider::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15), transparent);
}

.google-signin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--t);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.google-signin-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* গুগলের iframe রেসপন্সিভ সাইজিং */
.google-signin-container iframe {
    margin: 0 auto !important;
    border-radius: 12px !important;
}
/* ─── ULTRA PREMIUM PWA SIDEBAR & BOTTOM PROMPT ─── */
.sidebar-pwa-card {
    margin: 10px 16px 6px 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 95, 31, 0.12), rgba(240, 180, 41, 0.1));
    border: 1px solid rgba(255, 95, 31, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--t);
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.15);
}
.sidebar-pwa-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(255, 95, 31, 0.25);
}
.pwa-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 95, 31, 0.3);
}
.pwa-card-info {
    flex: 1;
    min-width: 0;
}
.pwa-card-title {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.pwa-card-sub {
    font-size: 10.5px;
    color: var(--text-2);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-install-badge {
    color: var(--accent);
    font-size: 14px;
    animation: float-soft 2s ease-in-out infinite;
}

/* Floating Bottom Install Prompt (Above Bottom Nav) */
.pwa-bottom-prompt {
    position: fixed;
    bottom: 74px; /* বটম ন্যাভের ঠিক উপরে */
    left: 12px;
    right: 12px;
    max-width: 480px;
    margin: 0 auto;
    z-index: 997;
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 95, 31, 0.15);
    animation: fade-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
body.light .pwa-bottom-prompt {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.pwa-prompt-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.pwa-prompt-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border: 1px solid var(--border-2);
    flex-shrink: 0;
}
.pwa-prompt-meta {
    min-width: 0;
}
.pwa-prompt-name {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-prompt-tag {
    font-size: 10.5px;
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-d);
    letter-spacing: 0.02em;
}
.pwa-prompt-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.pwa-prompt-install-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 95, 31, 0.3);
    transition: var(--t);
}
.pwa-prompt-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 95, 31, 0.45);
}
.pwa-prompt-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--glass-b);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--t);
}
.pwa-prompt-close:hover {
    color: var(--red);
    background: rgba(255, 69, 96, 0.15);
}

/* ডেক্সটপ মোডে বটম প্রম্পটের পজিশন */
@media (min-width: 1025px) {
    .pwa-bottom-prompt {
        bottom: 20px;
        right: 25px;
        left: auto;
        width: 360px;
    }
}
/* ─── অ্যাপের ভেতরে ইনস্টল বাটন ও প্রম্পট হাইড করা ─── */
@media all and (display-mode: standalone) {
    #sidebar-pwa-btn,
    .sidebar-pwa-card,
    #pwa-bottom-bar,
    .pwa-bottom-prompt {
        display: none !important;
    }
}

/* iOS Safari PWA মোডের জন্য */
@media all and (display-mode: fullscreen) {
    #sidebar-pwa-btn,
    .sidebar-pwa-card,
    #pwa-bottom-bar,
    .pwa-bottom-prompt {
        display: none !important;
    }
}
/* ─── REVIEW MULTI-MEDIA UPLOAD & PREVIEW GRID ─── */
.rev-preview-grid-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    background: var(--ink-3);
    border: 1px dashed var(--border-2);
    border-radius: 12px;
    max-height: 220px;
    overflow-y: auto;
}
body.light .rev-preview-grid-wrap {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.rev-preview-thumb-box {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: visible;
    border: 1.5px solid var(--border-2);
    background: #000;
    flex-shrink: 0;
}

.rev-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* থাম্বনেইলের ওপরের ক্রস বাটন (স্ক্রিনশটের মতো) */
.rev-thumb-remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: 1.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: var(--t);
}
.rev-thumb-remove-btn:hover {
    transform: scale(1.15);
    background: #e11d48;
}

.rev-video-badge {
    position: absolute;
    bottom: 3px;
    left: 3px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    pointer-events: none;
}

/* রিভিউ গ্যালারি ডিসপ্লে (কাস্টমার কমেন্টের নিচে) */
.rev-display-media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.rev-display-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-2);
    cursor: zoom-in;
    transition: var(--t);
}
.rev-display-img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.rev-display-video-wrap {
    width: 150px;
    height: 95px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-2);
    background: #000;
}
.rev-display-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ─── IMAGE DOWNLOAD & LONG-PRESS PROTECTION ─── */
img {
    -webkit-touch-callout: none !important; /* মোবাইলে লং-প্রেস করে Download Image পপ-আপ আসা সম্পূর্ণ বন্ধ */
    -webkit-user-select: none !important;   /* ছবি সিলেক্ট করা বন্ধ */
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;     /* মাউস দিয়ে ছবি টেনে নিয়ে যাওয়া (Drag) বন্ধ */
    user-drag: none !important;
    pointer-events: auto;
}

/* ─── HOMEPAGE STYLE SUB-CATEGORY CARDS ─── */
.subcat-card-item {
    min-width: 78px;
    max-width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.subcat-card-item:hover {
    transform: translateY(-3px);
}

/* হোমপেজের মতো রাউন্ড আইকন বক্স */
.subcat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ink-3);
    border: 2px solid var(--border-2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light .subcat-card-icon {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.subcat-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.subcat-card-item:hover .subcat-card-icon img {
    transform: scale(1.08);
}

/* টেক্সট লেবেল */
.subcat-card-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-2);
    text-align: center;
    font-family: var(--font-d);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

body.light .subcat-card-name {
    color: #475569;
}

/* 🌟 সিলেক্টেড (Active) সাব-ক্যাটাগরির আকর্ষণীয় অরেঞ্জ গ্লো ও বর্ডার 🌟 */
.subcat-card-item.active .subcat-card-icon {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.25), 0 8px 20px rgba(255, 95, 31, 0.35) !important;
    transform: scale(1.04);
}

.subcat-card-item.active .subcat-card-name {
    color: var(--accent) !important;
    font-weight: 800 !important;
}

/* "ALL" কার্ডের স্পেশাল আইকন */
.subcat-all-icon {
    font-size: 22px;
    color: var(--accent);
}
/* ─── COMING SOON CATEGORY STYLES (FULL 'COMING SOON' DISPLAY) ─── */
.cat-item.coming-soon {
    cursor: not-allowed !important;
    position: relative;
    pointer-events: auto;
}

.cat-item.coming-soon .cat-icon {
    position: relative !important;
    border-color: rgba(255, 95, 31, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background: #000 !important;
}

/* মাউস নিলে যাতে আগের ব্যাকগ্রাউন্ড না ভাসে */
.cat-item.coming-soon:hover .cat-icon::before {
    opacity: 0 !important;
}

/* ছবি ডার্ক/ব্ল্যাক ও গ্রেস্কেল হয়ে যাবে */
.cat-item.coming-soon .cat-icon img {
    filter: grayscale(100%) brightness(0.2) contrast(1.2) !important;
}

/* 🌟 পুরো 'COMING SOON' লেখা দুই লাইনে সুন্দরভাবে বসানো 🌟 */
.cat-item.coming-soon .cat-icon::after {
    content: 'COMING\A SOON' !important; /* \A দিয়ে ২ লাইনে ভাঙা হয়েছে যাতে কেটে না যায় */
    white-space: pre-wrap !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(10, 10, 15, 0.72) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #ff5f1f !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    font-family: var(--font-d) !important;
    letter-spacing: 0.05em !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 95, 31, 0.5) !important;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6) !important;
}

.cat-item.coming-soon .cat-name {
    color: var(--text-3) !important;
}

.cat-item.coming-soon:hover {
    transform: none !important;
}

.cat-item.coming-soon:hover .cat-icon {
    transform: none !important;
    border-color: var(--red) !important;
}

/* লাইট মোডের জন্য অ্যাডাপ্টেশন */
body.light .cat-item.coming-soon .cat-icon {
    border-color: rgba(255, 95, 31, 0.4) !important;
    background: #0f172a !important;
}

body.light .cat-item.coming-soon .cat-icon::after {
    background: rgba(15, 23, 42, 0.78) !important;
    color: #ff5f1f !important;
}