/* ShopNetBD Bangladesh - Ultra-Modern Attractive UI Stylesheet */
:root {
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* ShopNetBD Modern Brand Identity - Electric Sapphire Blue & Coral Rose */
    --daraz-orange: #2563eb;               /* Electric Sapphire Blue */
    --daraz-orange-hover: #1d4ed8;         /* Deep Sapphire Blue */
    --daraz-orange-light: #eff6ff;         /* Ice Blue Tint */
    --daraz-orange-tint: #dbeafe;          /* Soft Sapphire Tint */
    --daraz-yellow: #f59e0b;               /* Radiant Amber */
    --daraz-gold: #eab308;                 /* Warm Gold */
    --daraz-blue: #0f172a;                 /* Midnight Slate */
    --daraz-b2b: #0f172a;                  /* Industrial Midnight Slate for Wholesale */
    --daraz-b2b-light: #f1f5f9;
    --daraz-b2b-accent: #0284c7;           /* Sky Cyan Accent for B2B */
    --daraz-mall: #be123c;                 /* Royal Crimson Ruby */
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --star-color: #f59e0b;
    --success: #10b981;
    --danger: #f43f5e;
    
    /* Modern Ultra Gradients */
    --daraz-gradient-orange: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
    --daraz-gradient-fire: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fb7185 100%);
    --daraz-gradient-b2b: linear-gradient(135deg, #090d16 0%, #1e293b 50%, #1e3a8a 100%);
    --daraz-gradient-mall: linear-gradient(135deg, #881337 0%, #be123c 50%, #f43f5e 100%);
    --daraz-gradient-emerald: linear-gradient(135deg, #047857 0%, #10b981 100%);
    --daraz-gradient-purple: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    
    /* Modern Multi-Layer Ambient Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px -3px rgba(15, 23, 42, 0.05);
    --shadow-card-hover: 0 20px 32px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    --shadow-orange-glow: 0 8px 24px -4px rgba(37, 99, 235, 0.35);
    --shadow-rose-glow: 0 8px 24px -4px rgba(244, 63, 94, 0.35);
    --shadow-inset-soft: inset 0 2px 4px rgba(15, 23, 42, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
    --container-max: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: var(--daraz-orange);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== 1. TOP UTILITY BAR (LUXURY MIDNIGHT SLATE) ==================== */
.top-bar {
    background: linear-gradient(90deg, #090d16 0%, #0f172a 45%, #1e1b4b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: #cbd5e1;
    height: 38px;
    line-height: 38px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-links a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.top-links a:hover {
    color: #38bdf8;
    transform: translateY(-1px);
}

.top-separator {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.badge-app-glow {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    font-size: 9px;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    font-weight: 900;
    letter-spacing: 0.4px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    animation: glowPulse 2.5s infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(56, 189, 248, 0.4); }
    50% { box-shadow: 0 0 14px rgba(56, 189, 248, 0.8); }
}

.pulse-green-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: livePulseGreen 1.8s infinite;
    display: inline-block;
}

.badge-merchant-fee {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0f172a;
    font-size: 8.5px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.top-auth-link {
    color: #f8fafc !important;
}

.top-auth-link.signup {
    color: #38bdf8 !important;
}

.top-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-top-role {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff !important;
}

.btn-top-role.admin {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

.btn-top-role.vendor {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.btn-top-role.account {
    background: rgba(255, 255, 255, 0.15);
}

.btn-top-logout {
    color: #f87171 !important;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.btn-top-logout:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* ==================== 2. MAIN HEADER (ULTRA-MODERN GLASS) ==================== */
.main-header {
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 0 12px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header-bottom-accent {
    height: 2.5px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-bottom-accent.retail {
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 30%, #f43f5e 70%, #f59e0b 100%);
}

.header-bottom-accent.wholesale {
    background: linear-gradient(90deg, #090d16 0%, #2563eb 40%, #38bdf8 80%, #10b981 100%);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Brand Logo & Jewel Icon */
.header-brand-wrap {
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
}

.brand-monogram-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #38bdf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.logo-container:hover .brand-monogram-icon {
    transform: translateY(-2px) scale(1.05) rotate(-2deg);
    box-shadow: 0 10px 25px -2px rgba(37, 99, 235, 0.5);
}

.monogram-letter {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.monogram-spark {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.daraz-logo-text {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.1px;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.daraz-logo-text span {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tld {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin-left: 1px;
    -webkit-text-fill-color: initial !important;
}

.brand-mode-subtext {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.brand-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.brand-live-dot.retail {
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: livePulseGreen 1.8s infinite;
}

.brand-live-dot.wholesale {
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
    animation: livePulseCyan 1.8s infinite;
}

.brand-mode-label {
    font-size: 9.5px;
    font-weight: 900;
    color: #475569;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* ==================== 3. LIVE STORE MODE SWITCHER ==================== */
.live-store-switcher-wrap {
    flex-shrink: 0;
}

.live-store-switcher {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1.5px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
    gap: 4px;
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.2px;
}

.store-pill:hover {
    color: #0f172a;
}

.store-pill.active.retail {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(191, 219, 254, 0.8);
}

.store-pill.active.wholesale {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 60%, #1e3a8a 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pill-b2b-badge {
    font-size: 8.5px;
    background: #0284c7;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 0.4px;
}

/* ==================== 4. EXPANSIVE SEARCH BAR ==================== */
.search-wrapper {
    flex-grow: 1;
    position: relative;
    max-width: 660px;
}

.search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-full);
    border: 2px solid #e2e8f0;
    padding: 3px 4px 3px 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.search-form:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 8px 24px -4px rgba(37, 99, 235, 0.15);
}

.search-scope-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 12px;
    border-right: 1px solid #e2e8f0;
    margin-right: 8px;
    flex-shrink: 0;
}

.search-scope-select {
    border: none;
    background: transparent;
    font-size: 11.5px;
    font-weight: 800;
    color: #334155;
    cursor: pointer;
    outline: none;
    padding-right: 16px;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
}

.scope-chevron {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: #94a3b8;
}

.search-input {
    flex-grow: 1;
    border: none;
    padding: 8px 6px;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-kbd-hint {
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    margin-right: 8px;
    user-select: none;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
}

.search-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.search-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.5);
}

.search-btn-label {
    letter-spacing: 0.2px;
}

/* Trending Search Tags */
.trending-tags-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    font-size: 11px;
    color: #64748b;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
}

.trending-label {
    font-weight: 800;
    color: #334155;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trending-tag-pill {
    color: #475569;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.trending-tag-pill:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

/* ==================== 5. HEADER RIGHT ACTIONS ==================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-action-capsule {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.header-action-capsule:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.action-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    flex-shrink: 0;
}

.user-avatar-circle {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1.5px solid #93c5fd;
    color: #1d4ed8;
    font-weight: 900;
    font-size: 13px;
}

.action-text-block {
    display: flex;
    flex-direction: column;
}

.action-micro-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

.action-main-label {
    font-size: 12px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

.cart-capsule {
    background: #ffffff;
    border-color: #cbd5e1;
}

.cart-capsule:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.2);
}

.cart-icon-btn {
    position: relative;
    color: #1e293b;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #2563eb;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--daraz-gradient-fire);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    min-width: 19px;
    height: 19px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.5);
    border: 2px solid #ffffff;
    padding: 0 3px;
}

.header-cart-total {
    display: flex;
    flex-direction: column;
}

.cart-micro-label {
    font-size: 9.5px;
    color: #64748b;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.4px;
}

.cart-total-price {
    font-weight: 900;
    color: #1d4ed8;
    font-size: 13.5px;
    line-height: 1.2;
}

/* ==================== 6. STORE MODE ANNOUNCEMENT RIBBON ==================== */
.store-mode-banner {
    padding: 9px 0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.store-mode-banner.retail-mode {
    background: linear-gradient(90deg, #eff6ff 0%, #f0fdf4 50%, #eff6ff 100%);
    color: #1e40af;
    border-bottom: 1px solid #dbeafe;
}

.store-mode-banner.wholesale-mode {
    background: linear-gradient(90deg, #090d16 0%, #0f172a 50%, #1e293b 100%);
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

.store-mode-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.store-mode-content-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mode-badge-pill {
    font-size: 10px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.mode-badge-pill.retail {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.mode-badge-pill.wholesale {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

.btn-mode-switch-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 11.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.retail-mode .btn-mode-switch-pill {
    background: #1e40af;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.retail-mode .btn-mode-switch-pill:hover {
    background: #1d4ed8;
    transform: translateX(2px);
}

.wholesale-mode .btn-mode-switch-pill {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

.wholesale-mode .btn-mode-switch-pill:hover {
    background: #7dd3fc;
    transform: translateX(2px);
}

/* ==================== 7. CHANNELS & CATEGORIES BAR ==================== */
.channels-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.channels-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.categories-dropdown-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 7px 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    margin: 6px 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
    flex-shrink: 0;
}

.categories-dropdown-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.cat-count-pill {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    font-weight: 900;
}

.quick-channel-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.channel-link:hover {
    background: #f1f5f9;
    color: #2563eb;
    transform: translateY(-1px);
}

.channel-icon-wrap {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.channel-badge {
    font-size: 8.5px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.4px;
}

.channel-badge.mall {
    background: #fee2e2;
    color: #dc2626;
}

.channel-badge.flash {
    background: #fff1f2;
    color: #e11d48;
}

.channel-badge.b2b {
    background: #dbeafe;
    color: #1d4ed8;
}

.trust-micro-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* ==================== HERO SECTION & CAROUSEL ==================== */
.hero-section {
    padding: 16px 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 16px;
    align-items: stretch;
}

/* Vertical Category Menu */
.category-sidebar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 12px 10px;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    flex-direction: column;
}

.cat-sidebar-header {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
}

.category-menu-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-menu-item:hover {
    background: #f0f7ff;
    color: var(--daraz-orange);
    transform: translateX(4px);
}

.category-menu-item-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cat-icon-pill {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
}

.category-menu-item:hover .cat-icon-pill {
    background: #dbeafe;
    color: var(--daraz-orange);
}

.cat-item-arrow {
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.category-menu-item:hover .cat-item-arrow {
    color: var(--daraz-orange);
    transform: translateX(2px);
}

/* Promo Slider */
.slider-container {
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    min-height: 350px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.slide {
    display: none;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active img {
    transform: scale(1.02);
}

.slide-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.slide-badge.wholesale {
    background: rgba(30, 58, 138, 0.88);
    border-color: rgba(56, 189, 248, 0.5);
}

.slide-badge.mall {
    background: rgba(190, 18, 60, 0.88);
    border-color: rgba(244, 63, 94, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--daraz-orange);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    border-color: transparent;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Hero Right Promo Card */
.hero-promo-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.promo-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff1f2;
    color: #f43f5e;
    border: 1px solid #fecdd3;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-card-heading {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 5px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.promo-card-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 12px;
}

/* Interactive Voucher Box */
.hero-voucher-box {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border: 1.5px dashed #93c5fd;
    border-radius: var(--radius-md);
    padding: 10px 10px 8px;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.voucher-top-tag {
    font-size: 9.5px;
    font-weight: 800;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}

.voucher-code-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 5px 8px;
    border: 1px solid #bfdbfe;
}

.voucher-code-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    color: var(--daraz-orange);
}

.btn-copy-voucher {
    background: var(--daraz-gradient-orange);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.4px;
}

.btn-copy-voucher:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.voucher-terms-hint {
    font-size: 9.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
}

.btn-switch-store {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 11.5px;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-switch-store.retail {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.btn-switch-store.retail:hover {
    background: #dbeafe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-switch-store.wholesale {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid #334155;
}

.btn-switch-store.wholesale:hover {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
}

/* ==================== CHANNELS QUICK TILES ==================== */
.channels-tiles-strip {
    margin-bottom: 26px;
}

.channels-tiles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.channel-tile {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #edf2f7;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.channel-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #cbd5e1;
}

.channel-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-tile:hover .channel-tile-icon {
    transform: scale(1.1) rotate(-3deg);
}

.channel-tile-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.channel-tile-name {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.channel-tile-sub {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    margin-top: 2px;
}

/* ==================== FLASH SALE SECTION ==================== */
.flash-sale-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    margin-bottom: 28px;
    padding: 20px 24px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.flash-sale-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.flash-sale-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.4px;
}

.flash-flame-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff1f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f43f5e;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
}

.flash-flame-icon {
    animation: flamePulse 1.6s infinite alternate ease-in-out;
}

@keyframes flamePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(244, 63, 94, 0.4)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(225, 29, 72, 0.8)); }
}

.countdown-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    background: #f8fafc;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
}

.countdown-label {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.countdown-digits-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
}

.countdown-digit {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    min-width: 28px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.countdown-sep {
    color: #0f172a;
    font-weight: 900;
    font-size: 13px;
}

.btn-shop-more {
    background: #ffffff;
    border: 1.5px solid var(--daraz-orange);
    color: var(--daraz-orange);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-shop-more:hover {
    background: var(--daraz-gradient-orange);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-shop-more:hover i {
    transform: translateX(3px);
}

/* ==================== PRODUCT CARDS & GRID ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.4px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.products-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow-card);
    text-decoration: none;
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-5px);
    border-color: #bfdbfe;
}

.product-card-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-thumb img {
    transform: scale(1.06);
}

.discount-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    background: var(--daraz-gradient-fire);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 3px 8px rgba(244, 63, 94, 0.4);
    letter-spacing: 0.2px;
    z-index: 2;
}

.darazmall-flag {
    position: absolute;
    top: 9px;
    right: 9px;
    background: var(--daraz-gradient-mall);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 3px 8px rgba(190, 18, 60, 0.4);
    z-index: 2;
}

.wholesale-flag {
    position: absolute;
    top: 9px;
    right: 9px;
    background: var(--daraz-gradient-b2b);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.4);
    z-index: 2;
}

/* Slide-up Quick Add to Cart Button */
.btn-card-quick-cart {
    position: absolute;
    bottom: -50px;
    left: 10px;
    right: 10px;
    background: var(--daraz-gradient-orange);
    color: #ffffff;
    border: none;
    padding: 9px 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
    z-index: 5;
    opacity: 0;
    letter-spacing: 0.3px;
}

.product-card:hover .btn-card-quick-cart {
    bottom: 10px;
    opacity: 1;
}

.btn-card-quick-cart:hover {
    background: var(--daraz-orange-hover);
    transform: scale(1.02);
}

.btn-card-quick-cart.added {
    background: #10b981 !important;
}

.product-card-body {
    padding: 13px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.45;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.product-card:hover .product-title {
    color: var(--daraz-orange);
}

.product-price-block {
    margin-bottom: 6px;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    color: var(--daraz-orange);
    letter-spacing: -0.4px;
}

.current-price.wholesale-color {
    color: var(--daraz-b2b);
}

.original-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.original-price {
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-percent {
    color: #f43f5e;
    font-weight: 800;
}

/* WHOLESALE SPECIFIC CARD ATTRIBUTES */
.wholesale-moq-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 5px;
}

.wholesale-tier-preview {
    font-size: 10px;
    color: #475569;
    background: #f8fafc;
    padding: 4px 7px;
    border-radius: 6px;
    margin-bottom: 6px;
    border: 1px dashed #cbd5e1;
    font-weight: 600;
}

.product-meta-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    padding-top: 5px;
}

.rating-stars {
    color: var(--star-color);
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 800;
}

.stock-progress-bar {
    width: 100%;
    height: 7px;
    background: #fee2e2;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 6px;
}

.stock-progress-fill {
    height: 100%;
    background: var(--daraz-gradient-fire);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

/* ==================== DARAZMALL OFFICIAL STORES ==================== */
.darazmall-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 22px 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.brand-card {
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-lg);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    border-color: var(--daraz-orange);
    box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.16);
    transform: translateY(-4px);
}

.brand-logo-wrap {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.brand-card:hover .brand-logo-wrap {
    transform: scale(1.08);
    border-color: #bfdbfe;
    background: #eff6ff;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.brand-tagline {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

/* ==================== TRUST & SERVICE GUARANTEE STRIP ==================== */
.trust-guarantee-strip {
    margin: 36px 0 24px;
}

.trust-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #cbd5e1;
}

.trust-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.breadcrumb-trail {
    padding: 14px 0;
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr 280px;
    gap: 24px;
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.gallery-main {
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
    background: #f8fafc;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--daraz-orange);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.detail-info-center {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.detail-meta-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.detail-price-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    border: 1px solid #dbeafe;
}

.detail-current-price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--daraz-orange);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.wholesale-tier-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: #ffffff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #bfdbfe;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.05);
}

.wholesale-tier-table th {
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 12px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wholesale-tier-table td {
    padding: 8px 12px;
    font-size: 12px;
    border-bottom: 1px solid #f0f7ff;
    color: #334155;
    font-weight: 600;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.detail-label {
    width: 90px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    flex-shrink: 0;
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 124px;
    background: #ffffff;
}

.qty-btn {
    width: 34px;
    height: 34px;
    background: #f8fafc;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #334155;
    transition: background 0.15s ease;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-input {
    width: 56px;
    height: 34px;
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    outline: none;
    font-family: var(--font-heading);
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-buy-now {
    flex: 1;
    background: var(--daraz-gradient-orange);
    color: #ffffff;
    padding: 13px 20px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-buy-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 13px 20px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-add-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-rfq {
    flex: 1;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 60%, #1e3a8a 100%);
    color: #ffffff;
    padding: 13px 20px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

.btn-rfq:hover {
    background: #1e3a8a;
}

/* Right Delivery & Seller Box */
.detail-right-sidebar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 18px;
}

.sidebar-box-section {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}

.delivery-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 8px;
}

.seller-store-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.seller-store-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.seller-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    color: #1e293b;
}

.stat-label {
    font-size: 9px;
    color: #64748b;
    font-weight: 600;
}

.btn-visit-store {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    background: #eff6ff;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    color: #1d4ed8;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.btn-visit-store:hover {
    background: #dbeafe;
}

/* ==================== CART & CHECKOUT ==================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin: 20px 0 40px;
}

.cart-table-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.vendor-cart-group {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.vendor-cart-header {
    background: #f8fafc;
    padding: 12px 16px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 12.5px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 40px;
    gap: 16px;
    padding: 16px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.order-summary-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 24px;
    position: sticky;
    top: 90px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.summary-total {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 900;
    color: var(--daraz-orange);
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
    margin-top: 14px;
    letter-spacing: -0.3px;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--daraz-gradient-orange);
    color: #ffffff;
    padding: 13px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-heading);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-top: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
    padding: 45px 0 24px;
    color: #475569;
    font-size: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 32px;
    margin-bottom: 35px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #64748b;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--daraz-orange);
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-row {
        gap: 14px;
    }
    .quick-channel-links {
        gap: 4px;
    }
    .channel-link {
        padding: 6px 8px;
        font-size: 11.5px;
    }
}

@media (max-width: 992px) {
    .header-row {
        flex-wrap: wrap;
    }
    .search-wrapper {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    .hide-tablet {
        display: none !important;
    }
    .channels-row {
        overflow-x: auto;
    }
    .quick-channel-links {
        flex-wrap: nowrap;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .category-sidebar, .hero-promo-card {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .channels-tiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hide-mobile {
        display: none !important;
    }
    .header-row {
        gap: 10px;
    }
    .header-brand-wrap {
        order: 1;
    }
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    .live-store-switcher-wrap {
        order: 4;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }
    .action-text-block, .header-cart-total {
        display: none;
    }
    .header-action-capsule {
        padding: 5px;
        border-radius: var(--radius-full);
    }
    .search-scope-wrapper {
        display: none;
    }
    .search-btn-label {
        display: none;
    }
    .search-btn {
        padding: 8px 12px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .channels-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
