/* ============================================================
   ZUZO SHOP — Yangi Premium Dizayn Tizimi (Teal/Emerald)
   Uzumdan butunlay farqli: zamonaviy, yengil, professional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
    /* Primary: Teal/Emerald */
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-lighter: #5eead4;
    --primary-dark: #0f766e;
    --primary-rgb: 13, 148, 136;
    --primary-bg: rgba(13, 148, 136, 0.08);
    --primary-bg-strong: rgba(13, 148, 136, 0.14);

    /* Accent: Warm Amber/Coral for discounts */
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-bg: rgba(249, 115, 22, 0.09);

    /* Backgrounds */
    --bg-main: #f0fdfb;
    --bg-card: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;

    /* Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #0d9488;

    /* Text */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-muted: #cbd5e1;

    /* Semantic */
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.09);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.09);
    --info: #0ea5e9;
    --info-bg: rgba(14, 165, 233, 0.09);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.09);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-primary: 0 8px 20px rgba(13, 148, 136, 0.2);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Fonts */
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions */
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition);
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ══════════════════════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.navbar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 2px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 1px;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.logo span {
    font-size: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 11px 44px 11px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    background-color: var(--bg-subtle);
    outline: none;
    font-size: 14px;
    font-family: var(--font-body);
    transition: all var(--transition);
    color: var(--text-dark);
}

.search-bar input::placeholder { color: var(--text-light); }

.search-bar input:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.search-bar .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 15px;
    pointer-events: none;
    transition: color var(--transition);
}

.search-bar input:focus ~ .search-icon { color: var(--primary); }

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-medium);
    padding: 9px 13px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.nav-btn:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.nav-btn.cart-btn {
    position: relative;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid var(--primary-lighter);
}

.nav-btn.cart-btn:hover {
    background: var(--primary);
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════════════════ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 4px 8px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 10.5px;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    gap: 3px;
    width: 20%;
    position: relative;
    transition: color var(--transition);
    padding: 4px 0;
}

.mobile-nav-item svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-bounce);
}

.mobile-nav-item:active svg { transform: scale(0.88); }

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active svg {
    stroke: var(--primary);
}

/* Active indicator dot */
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.mobile-cart-badge {
    position: absolute;
    top: 0px;
    right: 16%;
    background: var(--accent);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════
   BANNER
══════════════════════════════════════════════════════ */
.banner-container {
    width: 100%;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    line-height: 0;
    position: relative;
}

.banner-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1350 / 450;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.banner-img:hover { transform: scale(1.015); }

/* ══════════════════════════════════════════════════════
   SECTION HEADER / TITLES
══════════════════════════════════════════════════════ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 21px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.section-title-bar {
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
}

.section-title span.badge {
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

.section-view-all {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.section-view-all:hover {
    background: var(--primary-bg);
}

/* ══════════════════════════════════════════════════════
   SPECIAL OFFERS SECTION
══════════════════════════════════════════════════════ */
.special-offers-section {
    margin-bottom: 36px;
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    padding-top: 4px;
}

.scroll-container::-webkit-scrollbar { display: none; }

.special-card {
    min-width: 210px;
    max-width: 210px;
    background-color: var(--bg-subtle);
    border: 1.5px solid transparent;
}

.special-card:hover { border-color: var(--primary-light); }

/* ══════════════════════════════════════════════════════
   PRODUCT CARD
══════════════════════════════════════════════════════ */
.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-xs);
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #f0fdfb);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img { transform: scale(1.07); }

/* Discount badge — pill shape, amber */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    z-index: 10;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
    font-family: var(--font-heading);
}

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

.product-card-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.45;
    height: 39px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: var(--font-body);
}

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

.product-card-desc-snippet {
    font-size: 11.5px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rating */
.rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--warning);
}

.rating-star { font-size: 12px; }

/* Seller name */
.product-seller-name {
    font-size: 11.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Price box */
.price-box {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 8px;
}

.original-price {
    font-size: 11.5px;
    color: var(--text-muted);
    text-decoration: line-through;
    line-height: 1.2;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.current-price.discounted { color: var(--accent); }

/* Add to cart round button */
.add-to-cart-btn-round {
    position: absolute;
    bottom: 13px;
    right: 13px;
    background: #fff;
    color: var(--text-medium);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-bounce);
    z-index: 10;
    box-shadow: var(--shadow-xs);
}

.add-to-cart-btn-round:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

/* ══════════════════════════════════════════════════════
   MAIN CONTENT LAYOUT
══════════════════════════════════════════════════════ */
.main-content {
    max-width: 1380px;
    margin: 28px auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════════════════════
   CATEGORIES NAV
══════════════════════════════════════════════════════ */
.categories-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 14px 0;
    margin-bottom: 22px;
    scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar { display: none; }

.category-tab {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-medium);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.category-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-bg);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

/* ══════════════════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

@media (max-width: 1280px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* ══════════════════════════════════════════════════════
   RESPONSIVE MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .navbar { position: sticky; top: 0; }
    .navbar-container { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
    .nav-actions { display: none; }
    .search-bar { width: 100%; max-width: 100%; order: 3; }
    .logo { font-size: 22px; }

    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 80px; }
    .main-content { margin: 14px auto; padding: 0 12px; }
    .banner-container { margin-bottom: 18px; border-radius: var(--radius-lg); }
    .special-offers-section { padding: 14px; margin-bottom: 22px; border-radius: var(--radius-lg); }
    .section-title { font-size: 17px; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-body { padding: 8px; gap: 3px; }
    .product-card-title { font-size: 12px; height: 33px; }
    .current-price { font-size: 14px; }
    .original-price { font-size: 10.5px; }
    .add-to-cart-btn-round { width: 30px; height: 30px; bottom: 8px; right: 8px; }
    .add-to-cart-btn-round svg { width: 14px; height: 14px; }
}

/* ══════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════ */
.form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: var(--shadow-md);
}

@media (max-width: 560px) { .form-box { padding: 24px 20px; border-radius: var(--radius-lg); } }

.form-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
    text-align: center;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-family: var(--font-body);
    outline: none;
    background-color: var(--bg-subtle);
    transition: all var(--transition);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--primary-bg);
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-bg);
}

.btn-block { display: flex; width: 100%; }

/* ══════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

.badge-pending  { background: var(--warning-bg); color: var(--warning); }
.badge-shipped  { background: var(--info-bg);    color: var(--info); }
.badge-delivered { background: var(--success-bg); color: var(--success); }
.badge-cancelled { background: var(--error-bg);   color: var(--error); }

/* ══════════════════════════════════════════════════════
   PRODUCT DETAIL LAYOUT
══════════════════════════════════════════════════════ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 820px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
        border-radius: var(--radius-lg);
    }
}

.product-detail-gallery { border-radius: var(--radius-lg); overflow: hidden; }

.product-detail-gallery img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.seller-delivery-info {
    background: linear-gradient(135deg, #f0fdfb, #ecfdf5);
    border: 1px solid var(--primary-lighter);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 18px 0;
}

/* ══════════════════════════════════════════════════════
   SELLER / ADMIN DASHBOARD — PREMIUM REDESIGN
══════════════════════════════════════════════════════ */

/* Seller Navbar */
.seller-navbar {
    background: rgba(var(--bg-card-rgb, 255, 255, 255), 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.seller-navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
}

.seller-nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.seller-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.seller-logo span {
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Burger button */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-md);
    transition: background-color 0.2s;
    flex-shrink: 0;
}
.burger-btn:hover { background-color: var(--primary-bg); }
.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Seller navbar right actions */
.seller-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.seller-nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
}
.seller-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    transition: all 0.2s;
    white-space: nowrap;
}
.seller-nav-btn:hover { background: var(--bg-subtle); color: var(--text-dark); }
.seller-nav-btn.logout { color: var(--accent); }
.seller-nav-btn.logout:hover { background: rgba(239,68,68,0.08); }

/* Layout */
.seller-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar-overlay.active { opacity: 1; }

/* Sidebar */
.seller-sidebar {
    width: 260px;
    min-width: 260px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 100;
    scrollbar-width: none;
}
.seller-sidebar::-webkit-scrollbar { display: none; }

.sidebar-section-label {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 12px 4px;
    margin-top: 6px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-medium);
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}
.sidebar-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.sidebar-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
}
.sidebar-item:hover i { transform: scale(1.1); }
.sidebar-item.active {
    background: linear-gradient(135deg, rgba(91,0,214,0.12), rgba(91,0,214,0.06));
    color: var(--primary);
    font-weight: 700;
}
.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}
.sidebar-item.danger { color: var(--accent); }
.sidebar-item.danger:hover { background: rgba(239,68,68,0.08); color: #dc2626; }

.sidebar-badge {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Seller main content */
.seller-content {
    flex: 1;
    padding: 28px;
    min-width: 0;
}

/* Stats Grid */
.seller-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.seller-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.seller-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stat-accent, var(--primary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.seller-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.seller-stat-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.seller-stat-label i { font-size: 13px; }
.seller-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--stat-accent, var(--primary));
    line-height: 1;
}

/* Page Header */
.seller-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.seller-page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Legacy overrides for old markup compatibility */
.dashboard-grid {
    display: flex;
    gap: 0;
}
.sidebar {
    display: none !important; /* replaced by .seller-sidebar */
}
.seller-main {
    flex: 1;
    min-width: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-sm); }


/* ══════════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════════ */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    font-family: var(--font-body);
}

th {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    padding: 13px 16px;
    font-weight: 700;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

td {
    padding: 14px 16px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}

tr:hover td { background: var(--bg-subtle); }
tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: #94a3b8;
    padding: 48px 24px 40px;
    text-align: center;
    margin-top: 80px;
    font-size: 13px;
    font-family: var(--font-body);
}

footer a { color: var(--primary-lighter); }
footer a:hover { color: var(--primary-light); }

@media (max-width: 640px) {
    footer { margin-top: 40px; padding-bottom: 90px; }
}

/* ══════════════════════════════════════════════════════
   ORIGINAL BADGE
══════════════════════════════════════════════════════ */
.card-original-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: var(--radius-sm);
    padding: 2px 7px;
    font-size: 8px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-only-banner {
    display: block;
}
@media (min-width: 768px) {
    .mobile-only-banner {
        display: none !important;
    }
}

.card-original-icon {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--success), #10b981);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: bold;
}

/* ══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════ */
.custom-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.custom-toast {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    padding: 14px 18px;
    min-width: 270px;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-left: 3px solid var(--primary);
}

.custom-toast.toast-success { border-left-color: var(--success); }
.custom-toast.toast-error   { border-left-color: var(--error); }
.custom-toast.toast-warning { border-left-color: var(--warning); }

.custom-toast-message {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
    font-family: var(--font-body);
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(20px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ══════════════════════════════════════════════════════
   MODAL / DIALOG
══════════════════════════════════════════════════════ */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99998;
    animation: modalFadeIn 0.2s ease forwards;
}

.custom-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 28px 32px;
    max-width: 420px;
    width: 92%;
    animation: modalZoomIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.custom-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.custom-modal-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 22px;
    font-family: var(--font-body);
}

.custom-modal-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    margin-bottom: 20px;
    outline: none;
    background: var(--bg-subtle);
    color: var(--text-dark);
    transition: all var(--transition);
}

.custom-modal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
    background: #fff;
}

.custom-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalZoomIn {
    from { opacity: 0; transform: scale(0.88) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ══════════════════════════════════════════════════════
   CARD QUANTITY WIDGET
══════════════════════════════════════════════════════ */
.card-cart-control {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
}

.card-qty-widget {
    background: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    border: 1.5px solid var(--primary-lighter);
    overflow: hidden;
    height: 36px;
    padding: 0 4px;
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.12);
}

.card-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
}

.card-qty-btn:hover { background: var(--primary-bg); }

.card-qty-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

/* ══════════════════════════════════════════════════════
   QUICK VIEW / OPTIONS MODAL
══════════════════════════════════════════════════════ */
.options-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99990;
    animation: modalFadeIn 0.2s ease forwards;
}

.options-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 30px;
    max-width: 800px;
    width: 92%;
    position: relative;
    animation: modalZoomIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.options-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    background: var(--bg-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.options-modal-close:hover { background: var(--error-bg); color: var(--error); }

.options-modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }

@media (max-width: 640px) { 
    .options-modal-grid { grid-template-columns: 1fr; gap: 18px; } 
    .options-modal-card {
        max-height: 90vh;
        overflow-y: auto;
        padding: 24px 20px;
    }
}

.options-modal-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.options-modal-img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
}

.options-modal-link {
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all var(--transition);
}

.options-modal-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.options-modal-right { display: flex; flex-direction: column; gap: 14px; }

.options-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 36px;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.options-modal-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.options-modal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

.options-modal-chip {
    padding: 7px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.options-modal-chip:hover { border-color: var(--primary-light); color: var(--primary); }

.options-modal-chip.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.options-modal-qty-row { display: flex; align-items: center; gap: 14px; }

.options-modal-price-box { margin-top: 8px; }

.options-modal-price-large {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.options-modal-price-original {
    font-size: 13px;
    text-decoration: line-through;
    color: var(--text-light);
    margin-top: 2px;
    display: block;
}

.options-modal-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: 14px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all var(--transition);
    box-shadow: var(--shadow-primary);
}

.options-modal-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
}

.options-modal-btn-subtitle { font-size: 10.5px; font-weight: 500; opacity: 0.85; }

/* Oxirgisi qoldi */
.oxirgisi-qoldi-badge {
    background: var(--accent-bg);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════
   DARK THEME (Seller / Admin Panels)
══════════════════════════════════════════════════════ */
body.dark-theme {
    --bg-card: #111827;
    --bg-main: #0b1120;
    --bg-subtle: #1a2332;
    --bg-muted: #1e2d3f;
    --border-color: #1e2d3f;
    --border-light: #1e2d3f;
    --text-dark: #f1f5f9;
    --text-medium: #94a3b8;
    --text-light: #64748b;
    --text-muted: #475569;
    background-color: #0b1120;
}

body.dark-theme .navbar {
    background-color: #111827;
    border-bottom-color: #1e2d3f;
}

body.dark-theme .sidebar { background-color: #111827; }

body.dark-theme th {
    background: #1a2332;
    color: #94a3b8;
    border-bottom-color: #1e2d3f;
}

body.dark-theme td {
    color: #f1f5f9;
    border-bottom-color: #1e2d3f;
}

body.dark-theme tr:hover td { background: #1a2332; }

body.dark-theme input,
body.dark-theme select,
body.dark-theme textarea {
    background-color: #1a2332;
    color: #f1f5f9;
    border-color: #1e2d3f;
}

body.dark-theme input:focus,
body.dark-theme select:focus,
body.dark-theme textarea:focus {
    background-color: #111827;
    border-color: var(--primary);
}

body.dark-theme .stat-card { background-color: #111827; border-color: #1e2d3f; }
body.dark-theme .table-responsive { background-color: #111827; border-color: #1e2d3f; }
body.dark-theme .card-qty-widget { background-color: #1a2332; border-color: #1e2d3f; }
body.dark-theme .card-qty-btn { color: var(--primary-lighter); }
body.dark-theme .card-qty-val { color: #f1f5f9; }
body.dark-theme .options-modal-card { background-color: #111827; border-color: #1e2d3f; }
body.dark-theme .options-modal-close { background-color: #1a2332; color: #64748b; }
body.dark-theme .options-modal-chip { background-color: #1a2332; border-color: #1e2d3f; color: #94a3b8; }
body.dark-theme .options-modal-chip.active { border-color: var(--primary); color: var(--primary-lighter); background-color: rgba(13, 148, 136, 0.08); }
body.dark-theme .options-modal-link { border-color: #1e2d3f; color: #94a3b8; }
body.dark-theme .options-modal-link:hover { background-color: #1a2332; }
body.dark-theme .custom-modal-card { background-color: #111827; border-color: #1e2d3f; }
body.dark-theme .custom-toast { background-color: #111827; box-shadow: 0 8px 28px rgba(0,0,0,0.4); }

/* ══════════════════════════════════════════════════════
   CATALOG DRAWER
══════════════════════════════════════════════════════ */
.catalog-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: flex-start;
    animation: fadeIn 0.25s ease-out;
}

.catalog-drawer {
    width: 85%;
    max-width: 370px;
    height: 100%;
    background-color: var(--bg-card);
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.catalog-drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-drawer-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.catalog-drawer-close {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-medium);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.catalog-drawer-close:hover { background: var(--error-bg); color: var(--error); }

.catalog-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.catalog-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.catalog-category-item:hover { background: var(--primary-bg); }

.catalog-category-left { display: flex; align-items: center; gap: 12px; }
.catalog-category-icon { width: 22px; height: 22px; object-fit: contain; }

.catalog-category-name {
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-body);
}

.catalog-category-chevron { color: var(--text-light); font-size: 12px; }

/* ══════════════════════════════════════════════════════
   SELLER/ADMIN RESPONSIVE SIDEBAR — MOBILE BURGER
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Burger button visible on mobile */
    .burger-btn { display: flex !important; }

    /* Sidebar becomes a drawer */
    .seller-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        height: 100vh !important;
        width: 260px !important;
        min-width: 260px !important;
        z-index: 250 !important;
        padding-top: 16px !important;
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .seller-sidebar.open {
        left: 0 !important;
    }
    /* Overlay shows when sidebar is open */
    .sidebar-overlay { display: block; }

    /* Content full width */
    .seller-content { padding: 16px !important; }

    /* Desktop nav items hidden */
    .seller-nav-right .seller-nav-btn.home-link,
    .seller-nav-right .seller-nav-user,
    .seller-nav-right .seller-nav-btn.logout { display: none !important; }

    /* Mobile exit button in nav right */
    .mobile-exit-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: var(--error-bg, rgba(239,68,68,0.08));
        color: var(--error, #ef4444) !important;
        text-decoration: none;
        transition: all 0.2s;
    }
    .mobile-exit-btn:active { background-color: rgba(239, 68, 68, 0.18); transform: scale(0.95); }
    .mobile-home-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: var(--primary-bg);
        color: var(--primary) !important;
        text-decoration: none;
        transition: all 0.2s;
    }
    .mobile-home-btn:active { background-color: rgba(91, 0, 214, 0.15); transform: scale(0.95); }

    /* Stats responsive */
    .seller-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .stat-card { padding: 14px !important; }

    .form-row { grid-template-columns: 1fr !important; gap: 12px !important; }
    .table-responsive { border-radius: var(--radius-md) !important; }
    table th, table td { padding: 10px 12px !important; font-size: 13px !important; }
    .btn { width: 100% !important; justify-content: center !important; margin-bottom: 8px !important; }
    .btn-inline { width: auto !important; }

    /* Legacy sidebar items hidden */
    .sidebar { display: none !important; }
    .nav-actions { display: none !important; }
    .mobile-nav-group {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .seller-stats-grid { grid-template-columns: 1fr !important; }
    .stats-grid { grid-template-columns: 1fr !important; }
    .seller-content { padding: 12px !important; }
}

/* ══════════════════════════════════════════════════════
   ANIMATE-FADE
══════════════════════════════════════════════════════ */
.animate-fade {
    animation: fadeInUp 0.4s ease-out both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ══════════════════════════════════════════════════════
   PREMIUM CUSTOM SELECT DROPDOWN
══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   PREMIUM CUSTOM SELECT DROPDOWN
   (MODERN SELECT STYLED DROPDOWN MENU FOR FILTERING)
══════════════════════════════════════════════════════ */
.modern-select-container {
    position: relative;
    display: inline-block;
    min-width: 200px;
    user-select: none;
    z-index: 100;
}

.modern-select-trigger {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-xs);
}

.modern-select-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.modern-select-container.open .modern-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.modern-select-trigger i {
    font-size: 11px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.modern-select-container.open .modern-select-trigger i {
    transform: rotate(180deg);
}

.modern-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 999;
    animation: selectFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes selectFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.modern-select-container.open .modern-select-options {
    display: flex;
}

.modern-select-option {
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.modern-select-option:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.modern-select-option.selected {
    background-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* Premium Favorite Heart Button Overlay */
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all var(--transition-bounce) !important;
    font-size: 14px !important;
    padding: 0 !important;
    box-shadow: var(--shadow-xs);
    outline: none !important;
}

.favorite-btn:hover {
    transform: scale(1.1) !important;
    background: #fff !important;
    color: var(--error) !important;
    box-shadow: var(--shadow-sm);
}

.favorite-btn.active {
    color: var(--error) !important;
    background: #fff !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
}

.favorite-btn-large {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-medium) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all var(--transition) !important;
    font-size: 18px !important;
    outline: none !important;
    margin-left: 8px !important;
}

.favorite-btn-large:hover {
    background: var(--bg-hover) !important;
    color: var(--error) !important;
    border-color: var(--primary-light) !important;
}

.favorite-btn-large.active {
    color: var(--error) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
    background: #fff !important;
}
