/* ============================================
   Premium E-Commerce UI v2 - Full Site Redesign
   High-end, Responsive, Mobile-first
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #d63851;
    --accent-soft: rgba(233,69,96,0.08);
    --gold: #c9a96e;
    --green: #10b981;
    --text-dark: #111827;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    --bg-main: #f5f5f7;
    --bg-card: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-w: 1280px;
}

/* === Global Reset === */
* { box-sizing: border-box; }
body {
    font-family: var(--font-main) !important;
    background: var(--bg-main) !important;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    margin: 0;
}
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: white; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* === Hide ALL Old UI Elements === */
.top-navbar, .top-banner, #nav-logo-side,
.aiz-mobile-bottom-nav, .z-1035,
.aiz-main-wrapper > header,
.aiz-main-wrapper > .header,
#header,
.aiz-main-wrapper > footer,
.aiz-main-wrapper > .footer-widget,
.aiz-main-wrapper > .bg-dark,
section.d-none.d-lg-block.bg-white.border-top.mt-auto { display: none !important; }

/* === Premium Header === */
.premium-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border-light);
}
.premium-header .header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.header-brand, .premium-header .logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
}
.header-brand span, .premium-header .logo span { color: var(--accent); }
.header-search, .premium-header .search-box {
    flex: 1;
    max-width: 480px;
    margin: 0 32px;
    position: relative;
}
.header-search input, .premium-header .search-box input {
    width: 100%;
    padding: 10px 48px 10px 18px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 14px;
    background: var(--bg-main);
    transition: var(--transition);
    outline: none;
    font-family: var(--font-main);
}
.header-search input:focus, .premium-header .search-box input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.header-search button, .premium-header .search-box .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}
.header-search button:hover, .premium-header .search-box .search-btn:hover { background: var(--accent-hover); }
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.header-action-btn, .header-actions a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    white-space: nowrap;
}
.header-action-btn:hover, .header-actions a:hover { color: var(--accent); }
.header-action-btn i, .header-actions a i { font-size: 22px; }
.header-action-btn .badge, .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.header-actions .desktop-only { display: flex; }
.header-actions .cart-btn { display: flex; align-items: center; gap: 5px; position: relative; }
.typed-search-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
}

/* === Category Navigation === */
.premium-category-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0;
}
.premium-category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    white-space: nowrap;
    align-items: center;
}
.category-tab {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    border: 1.5px solid var(--border-light);
    border-radius: 50px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-main);
}
.category-tab i {
    font-size: 16px;
}
.category-tab:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}
.category-tab.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.category-tab.active i {
    color: #fff;
}

/* === Hero Banner === */
.premium-hero {
    max-width: var(--max-w);
    margin: 20px auto;
    padding: 0 20px;
}
.hero-slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #0f3460 50%, var(--primary-light) 100%);
    padding: 48px 56px;
    color: white;
    position: relative;
    min-height: 200px;
}
.hero-slide h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.hero-slide p { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }
.hero-btn {
    display: inline-block;
    background: var(--accent);
    color: white !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.hero-btn:hover {
    background: white;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === Product Grid === */
.premium-products {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title .view-all {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* === Product Card === */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.product-card .card-img-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f8fa;
    display: block;
}
.product-card .card-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .card-img-wrap img { transform: scale(1.08); }
.product-card .card-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}
.product-card .card-actions {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .card-actions { opacity: 1; transform: translateX(0); }
.product-card .card-actions button,
.product-card .card-actions a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.product-card .card-actions button:hover,
.product-card .card-actions a:hover { background: var(--accent); color: white; transform: scale(1.1); }
.product-card .card-body { padding: 14px; }
.product-card .card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    min-height: 36px;
}
.product-card .card-title:hover { color: var(--accent); }
.product-card .card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.product-card .price-current { font-size: 18px; font-weight: 700; color: var(--accent); }
.product-card .price-original { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.product-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}
.product-card .card-rating { display: flex; align-items: center; gap: 3px; color: #f5a623; }
.product-card .card-rating .star { font-size: 12px; }
.product-card .quick-add {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card .quick-add:hover { background: var(--accent); }

/* === Loading Spinner === */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}
.loading-spinner i { font-size: 32px; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.pd-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px 60px;
}
.pd-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-light);
}
.pd-breadcrumb a { color: var(--text-medium); transition: var(--transition); }
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb .sep { margin: 0 8px; color: var(--border-light); }
.pd-breadcrumb .current { color: var(--text-dark); font-weight: 500; }

.pd-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Gallery */
.pd-gallery { position: sticky; top: 80px; align-self: start; }
.pd-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
    aspect-ratio: 1;
}
.gallery-slide { display: none; width: 100%; height: 100%; }
.gallery-slide.active { display: block; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.pd-gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb-item {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}
.thumb-item.active, .thumb-item:hover { border-color: var(--accent); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.pd-info { padding-top: 8px; }
.pd-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text-dark);
}
.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pd-rating { display: flex; align-items: center; gap: 2px; }
.pd-rating i { font-size: 16px; }
.pd-rating .rating-count { font-size: 13px; color: var(--text-light); margin-left: 6px; }
.pd-sold { font-size: 13px; color: var(--text-light); }

.pd-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border-radius: var(--radius-md);
}
.pd-price-current { font-size: 32px; font-weight: 800; color: var(--accent); }
.pd-price-original { font-size: 18px; color: var(--text-light); text-decoration: line-through; }
.pd-discount-badge {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

/* Options */
.pd-option-group { margin-bottom: 20px; }
.pd-option-group > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.pd-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-option-values input[type="radio"] { display: none; }
.pd-option-chip {
    padding: 8px 18px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-medium);
}
.pd-option-values input[type="radio"]:checked + .pd-option-chip {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.pd-color-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-color-values input[type="radio"] { display: none; }
.pd-color-chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}
.pd-color-values input[type="radio"]:checked + .pd-color-chip {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Quantity */
.pd-qty-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qty-btn {
    width: 38px;
    height: 38px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-input {
    width: 60px;
    height: 38px;
    text-align: center;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-main);
    outline: none;
}
.qty-input:focus { border-color: var(--accent); }
.pd-stock { font-size: 13px; color: var(--green); font-weight: 500; }

.pd-chosen-price {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-medium);
}
.pd-chosen-price .pd-price-current { font-size: 24px; }

/* Action Buttons */
.pd-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.pd-btn-cart {
    flex: 1;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
}
.pd-btn-cart:hover { background: #2d2d4e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pd-btn-buy {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.pd-btn-buy:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pd-btn-wish {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-medium);
    flex-shrink: 0;
}
.pd-btn-wish:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.pd-out-of-stock {
    padding: 14px 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    color: #dc2626;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Quick Info */
.pd-quick-info {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-bottom: 16px;
}
.pd-quick-info .info-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}
.pd-quick-info .info-label {
    width: 80px;
    color: var(--text-light);
    flex-shrink: 0;
}
.pd-quick-info .info-value { color: var(--text-dark); font-weight: 500; }

.pd-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

/* Tabs */
.pd-tabs-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 40px;
}
.pd-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
}
.pd-tab {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-medium);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-main);
}
.pd-tab:hover { color: var(--accent); }
.pd-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.pd-tab-content { display: none; padding: 24px; }
.pd-tab-content.active { display: block; }
.pd-description { line-height: 1.7; color: var(--text-medium); }
.pd-description img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }

/* Video */
.pd-video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius-md); overflow: hidden; }
.pd-video-wrap iframe, .pd-video-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Reviews */
.pd-review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}
.pd-review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-stars { display: flex; align-items: center; gap: 2px; color: #f59e0b; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-light); margin-left: 8px; }
.review-text { font-size: 14px; line-height: 1.6; color: var(--text-medium); margin: 0; }
.pd-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.pd-no-reviews i { font-size: 48px; margin-bottom: 12px; display: block; }
.pd-no-reviews p { font-size: 15px; }

/* Related Products */
.pd-related { margin-top: 40px; }

/* ============================================
   PREMIUM PAGE CONTENT WRAPPER (for all sub-pages)
   ============================================ */
.premium-page-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 20px 100px;
}

/* Global card styling */
.premium-page-content .card,
.bg-white.shadow-sm {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm) !important;
}
.premium-page-content .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border-light) !important;
    font-weight: 700;
    font-size: 18px;
}

/* Buttons */
.btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    font-family: var(--font-main) !important;
    transition: var(--transition) !important;
}
.btn-primary:hover { background: var(--accent-hover) !important; border-color: var(--accent-hover) !important; transform: translateY(-1px); }

/* Form Inputs */
.form-control {
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid var(--border-light) !important;
    padding: 10px 14px !important;
    font-family: var(--font-main) !important;
    transition: var(--transition) !important;
}
.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-soft) !important;
}

/* Breadcrumb */
.breadcrumb { background: transparent !important; padding: 0; margin-bottom: 16px; }
.breadcrumb-item a { color: var(--text-light); }
.breadcrumb-item.active { color: var(--text-dark); }

/* ============================================
   SEARCH / CATEGORY / LISTING PAGES
   ============================================ */
.aiz-filter-sidebar, .aiz-sidebar { border-radius: var(--radius-lg) !important; }
.aiz-filter-sidebar .card, .aiz-sidebar .card { border: none !important; box-shadow: none !important; }
.sort-by-bar, .aiz-toolbar {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
}

/* Product listing cards (old style override) */
.aiz-card-box {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-light) !important;
    overflow: hidden;
    transition: var(--transition);
}
.aiz-card-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Pagination */
.pagination { gap: 4px; }
.page-item .page-link {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-light);
    color: var(--text-medium);
    font-weight: 500;
    padding: 8px 14px;
    transition: var(--transition);
    font-family: var(--font-main);
}
.page-item .page-link:hover { background: var(--bg-main); color: var(--accent); border-color: var(--accent); }
.page-item.active .page-link {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-item, .cart-product {
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}
.cart-item:last-child, .cart-product:last-child { border-bottom: none; }

/* ============================================
   USER PANEL / DASHBOARD
   ============================================ */
.aiz-user-panel .aiz-user-sidenav-wrap,
.aiz-user-panel .aiz-sidebar-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.aiz-side-nav-list .aiz-side-nav-link {
    transition: var(--transition);
    border-radius: var(--radius-sm);
    margin: 2px 8px;
    padding: 10px 16px !important;
}
.aiz-side-nav-list .aiz-side-nav-link.active,
.aiz-side-nav-list .aiz-side-nav-link:hover {
    color: var(--accent) !important;
    background: var(--accent-soft);
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.premium-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    margin-top: 60px;
}
.premium-footer .footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 50px 20px 30px;
}
.premium-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.premium-footer h4 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.premium-footer .footer-brand { font-size: 28px; font-weight: 800; color: white; margin-bottom: 12px; }
.premium-footer .footer-brand span { color: var(--accent); }
.premium-footer p { font-size: 14px; line-height: 1.6; }
.premium-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.premium-footer .footer-links li { margin-bottom: 10px; }
.premium-footer .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.premium-footer .footer-links a:hover { color: white; padding-left: 4px; }
.premium-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}
.premium-footer .payment-icons { display: flex; gap: 10px; margin-top: 16px; }
.premium-footer .payment-icons span {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    z-index: 1050;
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 6px);
}
.mobile-bottom-nav .nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 12px;
}
.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover { color: var(--accent); }
.mobile-bottom-nav .nav-item i { font-size: 20px; }

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-content {
    border-radius: var(--radius-lg) !important;
    border: none !important;
    overflow: hidden;
}
.modal-header { border-bottom: 1px solid var(--border-light); padding: 16px 20px; }
.modal-footer { border-top: 1px solid var(--border-light); padding: 16px 20px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .premium-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .header-search, .premium-header .search-box { margin: 0 16px; max-width: 360px; }
    .pd-main { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Mobile */
@media (max-width: 768px) {
    .premium-header .header-inner { height: 52px; padding: 0 12px; }
    .header-brand, .premium-header .logo { font-size: 22px; }
    .header-search, .premium-header .search-box { margin: 0 10px; }
    .header-search input, .premium-header .search-box input { padding: 8px 40px 8px 14px; font-size: 13px; }
    .header-actions .desktop-only { display: none; }
    .header-action-btn span { display: none; }
    .header-action-btn i, .header-actions a i { font-size: 20px; }
    .header-actions { gap: 10px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .premium-products { padding: 12px; }
    .premium-hero { padding: 0 12px; margin: 12px auto; }
    .hero-slide { padding: 24px; min-height: 140px; }
    .hero-slide h2 { font-size: 20px; }
    .hero-slide p { font-size: 13px; }
    .product-card .card-body { padding: 10px; }
    .product-card .card-title { font-size: 12px; min-height: 32px; }
    .product-card .price-current { font-size: 15px; }
    .product-card .card-actions { opacity: 1; transform: translateX(0); }
    .product-card .quick-add { opacity: 1; transform: translateY(0); padding: 8px; font-size: 12px; }
    .mobile-bottom-nav { display: block; }
    .premium-footer { margin-bottom: 56px; }
    .premium-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .category-tab { padding: 6px 14px; font-size: 12px; }
    .premium-page-content { padding: 64px 8px 100px; }
    .container { padding-left: 12px; padding-right: 12px; max-width: 100%; }

    /* Product Detail Mobile */
    .pd-page { padding: 0 12px 80px; }
    .pd-main { grid-template-columns: 1fr; gap: 20px; }
    .pd-gallery { position: static; }
    .pd-title { font-size: 20px; }
    .pd-price-current { font-size: 26px !important; }
    .pd-price-original { font-size: 15px !important; }
    .pd-price-box { padding: 12px 16px; }
    .pd-actions { flex-wrap: wrap; }
    .pd-btn-cart, .pd-btn-buy { flex: 1 1 calc(50% - 30px); min-width: 120px; padding: 12px 16px; font-size: 14px; }
    .pd-btn-wish { width: 46px; height: 46px; }
    .pd-tabs-nav { overflow-x: auto; }
    .pd-tab { padding: 12px 16px; font-size: 14px; }
    .pd-tab-content { padding: 16px; }
    .thumb-item { width: 56px; height: 56px; }
}

/* Small Mobile */
@media (max-width: 375px) {
    .product-grid { gap: 6px; }
    .product-card .card-body { padding: 8px; }
    .product-card .price-current { font-size: 14px; }
    .product-card .price-original { font-size: 11px; }
    .header-brand, .premium-header .logo { font-size: 20px; }
    .pd-title { font-size: 18px; }
    .pd-price-current { font-size: 22px !important; }
    .pd-btn-cart, .pd-btn-buy { font-size: 13px; padding: 10px 12px; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-accent { color: var(--accent) !important; }
.bg-accent { background: var(--accent) !important; }
.text-gold { color: var(--gold) !important; }
.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease-out; }


/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */
.premium-auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
}
.auth-container {
    width: 100%;
    max-width: 460px;
}
.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px 36px;
    animation: fadeInUp 0.4s ease-out;
}
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}
.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.auth-header p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}
.auth-form .form-group {
    margin-bottom: 20px;
}
.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.auth-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}
.auth-input:focus {
    border-color: #e63946;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.auth-input.is-invalid {
    border-color: #ef4444;
}
.auth-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}
.password-wrap {
    position: relative;
}
.password-wrap .auth-input {
    padding-right: 48px;
}
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}
.password-toggle:hover {
    color: #6b7280;
}
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    margin: 0;
}
.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #e63946;
    cursor: pointer;
}
.auth-forgot {
    font-size: 14px;
    color: #e63946;
    text-decoration: none;
    font-weight: 500;
}
.auth-forgot:hover {
    text-decoration: underline;
    color: #c1121f;
}
.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.auth-submit-btn:hover {
    background: linear-gradient(135deg, #c1121f 0%, #a00d17 100%);
    box-shadow: 0 4px 15px rgba(230,57,70,0.35);
    transform: translateY(-1px);
}
.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}
.auth-divider span {
    background: #fff;
    padding: 0 16px;
    font-size: 13px;
    color: #9ca3af;
    position: relative;
    z-index: 1;
}
.auth-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}
.social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.social-btn i {
    font-size: 18px;
}
.social-btn.google i { color: #ea4335; }
.social-btn.facebook i { color: #1877f2; }
.social-btn.twitter i { color: #1da1f2; }
.social-btn.apple i { color: #000; }
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}
.auth-footer p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}
.auth-footer a {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}
.auth-link-btn {
    background: none;
    border: none;
    color: #e63946;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}
.auth-link-btn:hover {
    text-decoration: underline;
}
@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
        border-radius: 12px;
    }
    .auth-header h1 {
        font-size: 24px;
    }
    .auth-social {
        flex-direction: column;
    }
}


/* ============================================
   PRODUCT DETAIL PAGE ENHANCEMENTS
   ============================================ */
.pd-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}
.pd-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.pd-gallery-main {
    border-radius: 16px;
    overflow: hidden;
    background: #f9fafb;
    aspect-ratio: 1;
    position: relative;
}
.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.thumb-item {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.thumb-item.active,
.thumb-item:hover {
    border-color: #e63946;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 12px;
}
.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.pd-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.pd-rating i {
    font-size: 16px;
    color: #f59e0b;
}
.pd-rating .rating-count {
    font-size: 13px;
    color: #9ca3af;
    margin-left: 6px;
}
.pd-sales {
    font-size: 13px;
    color: #9ca3af;
}
.pd-price-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pd-price-current {
    font-size: 32px;
    font-weight: 800;
    color: #e63946;
}
.pd-price-original {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
}
.pd-discount-badge {
    background: #e63946;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}
/* Quantity selector */
.pd-qty-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.pd-qty-wrap > label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f9fafb;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.qty-btn:hover {
    background: #f3f4f6;
    color: #e63946;
}
.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    outline: none;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pd-stock {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Action buttons */
.pd-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.pd-btn-cart {
    flex: 1;
    padding: 14px 24px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pd-btn-cart:hover {
    background: #2d2d4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,26,46,0.3);
}
.pd-btn-buy {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pd-btn-buy:hover {
    background: linear-gradient(135deg, #c1121f 0%, #a00d17 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,57,70,0.35);
}
.pd-btn-wish {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #9ca3af;
    flex-shrink: 0;
}
.pd-btn-wish:hover {
    border-color: #e63946;
    color: #e63946;
    background: #fef2f2;
}
/* Features strip */
.pd-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #f3f4f6;
}
.pd-feature-item i {
    font-size: 20px;
    color: #e63946;
    flex-shrink: 0;
}
.pd-feature-item .feature-text {
    font-size: 12px;
    line-height: 1.3;
}
.pd-feature-item .feature-text strong {
    display: block;
    font-size: 13px;
    color: #1f2937;
    font-weight: 600;
}
.pd-feature-item .feature-text span {
    color: #9ca3af;
}
/* Tabs */
.pd-tabs-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pd-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}
.pd-tab {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.pd-tab:hover { color: #e63946; }
.pd-tab.active { color: #e63946; border-bottom-color: #e63946; }
.pd-tab-content { display: none; padding: 24px; }
.pd-tab-content.active { display: block; }
/* Related products */
.pd-related {
    margin-top: 40px;
}
.pd-related .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}
/* Mobile responsive */
@media (max-width: 768px) {
    .pd-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pd-gallery { position: static; }
    .pd-features {
        grid-template-columns: 1fr;
    }
    .pd-actions {
        flex-wrap: wrap;
    }
    .pd-btn-cart, .pd-btn-buy {
        flex: 1 1 calc(50% - 6px);
    }
}

/* ============================================
   SELLER APPLICATION PAGE
   ============================================ */
.premium-seller-page {
    min-height: 70vh;
    padding: 40px 20px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
}
.seller-container {
    max-width: 720px;
    margin: 0 auto;
}
.seller-hero {
    text-align: center;
    margin-bottom: 36px;
}
.seller-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.seller-hero p {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}
.seller-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f3f4f6;
}
.benefit-card i {
    font-size: 28px;
    color: #e63946;
    margin-bottom: 10px;
    display: block;
}
.benefit-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px;
}
.benefit-card p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}
.seller-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 36px;
    animation: fadeInUp 0.4s ease-out;
}
.seller-form-card .form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.seller-form-card .form-section-title i {
    color: #e63946;
    font-size: 20px;
}
.seller-form-card .form-group {
    margin-bottom: 18px;
}
.seller-form-card label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.seller-form-card .form-control,
.seller-form-card input[type="text"],
.seller-form-card input[type="email"],
.seller-form-card input[type="tel"],
.seller-form-card input[type="file"],
.seller-form-card select,
.seller-form-card textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}
.seller-form-card .form-control:focus,
.seller-form-card input:focus,
.seller-form-card select:focus,
.seller-form-card textarea:focus {
    border-color: #e63946;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.seller-form-card textarea {
    min-height: 100px;
    resize: vertical;
}
.seller-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.seller-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}
.seller-submit-btn:hover {
    background: linear-gradient(135deg, #c1121f 0%, #a00d17 100%);
    box-shadow: 0 4px 15px rgba(230,57,70,0.35);
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .seller-benefits {
        grid-template-columns: 1fr;
    }
    .seller-form-card {
        padding: 24px 20px;
    }
    .seller-form-card .form-row {
        grid-template-columns: 1fr;
    }
    .seller-hero h1 {
        font-size: 26px;
    }
}

/* Stock info */
.stock-info {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}
.stock-info.in-stock { color: #22c55e; }
.stock-info.out-stock { color: #ef4444; }
/* Variant sections */
.pd-variant-section {
    margin-bottom: 20px;
}
.pd-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.pd-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.size-option {
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}
.size-option:hover, .size-option.active {
    border-color: #e63946;
    color: #e63946;
    background: #fef2f2;
}

/* ========== Product Listing / Category Page ========== */
.premium-listing-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 15px;
}
.listing-container {
    width: 100%;
}
.listing-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px 0;
}
.listing-breadcrumb a {
    color: #e63946;
    text-decoration: none;
}
.listing-breadcrumb a:hover {
    text-decoration: underline;
}
.listing-breadcrumb .sep {
    margin: 0 8px;
    color: #ccc;
}
.listing-breadcrumb .current {
    color: #333;
    font-weight: 500;
}
.listing-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
/* Sidebar */
.listing-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}
.sidebar-overlay {
    display: none;
}
.sidebar-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.sidebar-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    display: none;
}
.filter-group {
    margin-bottom: 24px;
}
.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 14px;
    color: #444;
}
.filter-option:hover {
    background: #f8f8f8;
}
.filter-option input[type="radio"] {
    accent-color: #e63946;
    width: 16px;
    height: 16px;
    margin: 0;
}
.filter-option input[type="radio"]:checked + span {
    color: #e63946;
    font-weight: 600;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.price-inputs input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}
.price-inputs input:focus {
    border-color: #e63946;
}
.price-sep {
    color: #999;
    font-weight: 600;
}
.filter-apply-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.filter-apply-btn:hover {
    opacity: 0.9;
}
/* Main Content */
.listing-main {
    flex: 1;
    min-width: 0;
}
.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.listing-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}
.result-count {
    font-size: 14px;
    color: #888;
}
.listing-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
}
.filter-toggle-btn:hover {
    border-color: #e63946;
    color: #e63946;
}
.view-toggle {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.view-btn {
    padding: 8px 12px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    transition: all 0.2s;
}
.view-btn.active {
    background: #e63946;
    color: #fff;
}
.view-btn:not(:last-child) {
    border-right: 1px solid #ddd;
}
/* Product Grid in Listing */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.listing-grid.list-view {
    grid-template-columns: 1fr;
}
.listing-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
}
.listing-grid.list-view .card-img-wrap {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}
.listing-grid.list-view .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.listing-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.listing-pagination nav {
    display: flex;
    gap: 4px;
}
.listing-pagination .page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.listing-pagination .page-link:hover {
    border-color: #e63946;
    color: #e63946;
}
.listing-pagination .page-item.active .page-link {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}
/* Mobile Responsive */
@media (max-width: 992px) {
    .listing-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    .listing-sidebar.open {
        left: 0;
    }
    .listing-sidebar.open .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
    .listing-sidebar .sidebar-content {
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
        border: none;
    }
    .sidebar-close {
        display: block;
    }
    .filter-toggle-btn {
        display: flex;
    }
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 576px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .listing-info h1 {
        font-size: 18px;
    }
}
/* ============================================
   ENHANCED RESPONSIVE - PC/Mobile Consistency
   ============================================ */

/* Top bar mobile */
@media (max-width: 768px) {
    .premium-top-bar { font-size: 11px; padding: 4px 8px; }
    .premium-top-bar .top-bar-inner { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .premium-top-bar .top-bar-left { font-size: 11px; }
    .premium-top-bar .top-bar-right { gap: 8px; }
    .premium-top-bar .top-bar-right .btn-seller { padding: 3px 10px; font-size: 11px; }
    .premium-top-bar .lang-switch select { font-size: 11px; padding: 2px 4px; }
    
    /* Search bar full width on mobile */
    .premium-header .header-inner { flex-wrap: wrap; gap: 8px; }
    .header-search, .premium-header .search-box { order: 3; width: 100%; max-width: 100%; margin: 0; }
    
    /* Listing page mobile */
    .listing-page { flex-direction: column; }
    .listing-sidebar { width: 100%; position: static; max-height: none; }
    .listing-sidebar.collapsed { display: none; }
    .listing-main { width: 100%; }
    .listing-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .listing-filter-toggle { display: inline-flex !important; }
    
    /* Auth pages mobile */
    .premium-auth-page { padding: 70px 12px 20px; min-height: auto; }
    .auth-container { max-width: 100%; }
    .auth-card { padding: 24px 16px; }
    .auth-card h2 { font-size: 22px; }
    
    /* Seller form mobile */
    .seller-page { padding: 20px 12px; }
    .seller-card { padding: 20px 16px; }
    .seller-form-grid { grid-template-columns: 1fr; }
    .seller-benefits { grid-template-columns: 1fr; gap: 16px; }
    .seller-benefits .benefit-card { padding: 16px; }
    
    /* Section headers mobile */
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 12px; }
    .section-header h2 { font-size: 18px; }
    
    /* Category nav scrollable on mobile */
    .premium-category-nav { padding: 8px 12px; }
    .category-tabs { gap: 6px; }
    .category-tab { white-space: nowrap; padding: 6px 12px; font-size: 12px; }
    .category-tab i { display: none; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .listing-product-grid { grid-template-columns: repeat(3, 1fr); }
    .seller-form-grid { grid-template-columns: 1fr 1fr; }
    .seller-benefits { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop */
@media (min-width: 1025px) {
    .listing-filter-toggle { display: none !important; }
    .mobile-bottom-nav { display: none !important; }
}

/* Ensure top bar visible on all devices */
.premium-top-bar { display: block !important; }

/* Fix listing filter toggle button */
.listing-filter-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e0e0e0);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 12px;
}
