/* ============================================
   DIGIWS - Main Stylesheet
   Premium Theme with purple/blue accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
    --bg-primary: #f8fafc;        /* Light primary background */
    --bg-secondary: #f1f5f9;      /* Light secondary background */
    --bg-card: #ffffff;           /* White card backgorund */
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-input: #ffffff;
    --border-color: #cbd5e1;
    --border-light: #e2e8f0;

    --text-primary: #0f172a;      /* Dark text */
    --text-secondary: #334155;
    --text-muted: #64748b;

    --accent-primary: #8b5cf6;
    --accent-secondary: #6c5ce7;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #6c5ce7, #a855f7, #ec4899);
    --gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);
    --gradient-btn: linear-gradient(135deg, #8b5cf6, #6c5ce7);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
    --shadow-glow-hover: 0 0 40px rgba(139, 92, 246, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #a78bfa;
}

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

::selection {
    background: var(--accent-primary);
    color: #fff;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-secondary); }

/* ============ NAVBAR ============ */
.dc-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--transition);
}

.dc-header {
    display: contents; /* Allows .header-top to stick to the body instead of being contained */
}

.header-top {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Smooth drop shadow when sticky */
    transition: var(--transition);
}

.dc-header .navbar-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.dc-header .brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.dc-header .brand-tagline {
    font-size: 0.68rem;
    color: #777;
    font-weight: 500;
    margin-top: 2px;
}

/* Combined Search Bar */
.header-search-container {
    flex-grow: 1;
    max-width: 700px;
    margin: 0 40px;
}

.dc-search {
    position: relative;
    width: 100%;
}

.search-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 2px;
    transition: var(--transition);
}

.search-group:focus-within {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.search-category-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    white-space: nowrap;
}

.search-group input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 0.92rem;
    outline: none;
    color: #333;
}

.search-group .search-submit {
    background: var(--accent-primary);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-group .search-submit:hover {
    background: var(--accent-secondary);
}

/* User Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon-circle {
    position: relative;
    width: 46px;
    height: 46px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-icon-circle:hover {
    background: #eee;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.nav-icon-circle .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc3545;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.btn-signin-outline {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-signin-outline:hover {
    background: var(--accent-primary);
    color: #fff;
}

/* header-nav-row natural CSS, no JS hidden state needed. */
.header-nav-row {
    background: #fff; 
    border-top: 1px solid #f1f5f9;
    padding: 0;
}

.all-cat-btn {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-radius: 0;
}

.nav-links-row {
    display: flex;
    gap: 30px;
    margin-left: 40px;
}

.nav-links-row a {
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 12px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links-row a:hover, .nav-links-row a.active {
    color: var(--accent-primary);
}

.nav-links-row a.active::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 10px;
}

.header-support-info a {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.header-support-info a:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.header-support-info a:hover i {
    color: #fff !important;
}

.header-nav-right {
    display: flex;
    align-items: center;
}

.btn-lang {
    background: transparent;
    border: none;
    color: #333;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    padding: 0;
    transition: var(--transition);
}

.btn-lang:hover {
    color: var(--accent-primary);
}

.header-lang-switcher .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

.header-lang-switcher .dropdown-menu {
    border-radius: 12px;
    margin-top: 10px !important;
}

.nav-menu-links a:hover, .nav-menu-links a.active {
    color: var(--accent-primary);
}

.header-support a {
    color: #25D366; /* WhatsApp Color */
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 992px) {
    .header-nav { display: none; }
    .header-search { display: none; }
    .header-top { padding: 10px 0; }
}

/* Keep search results styling */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.search-results.show { display: block; }

.dc-search .search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
    cursor: pointer;
}

.dc-search .search-item:hover { background: var(--bg-card-hover); }

.dc-search .search-item img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.dc-search .search-item .info h6 { font-size: 0.85rem; margin: 0; color: var(--text-primary); }
.dc-search .search-item .info small { color: var(--accent-primary); font-weight: 600; }

/* Cart & User Nav */
.dc-nav-icons { display: flex; align-items: center; gap: 8px; }

.btn-add-cart { 
    background: var(--bg-input); 
    color: var(--text-primary); 
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-add-cart:hover { background: var(--bg-secondary); border-color: var(--accent-primary); color: var(--accent-primary); transform: translateY(-2px); }

.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    border: none;
    height: 44px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.btn-buy-now:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3); }

.btn-preview {
    width: 44px;
    height: 44px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dc-nav-icons .btn-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.dc-nav-icons .btn-icon:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.dc-nav-icons .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ HERO SECTION ============ */
.dc-hero {
    background: var(--gradient-hero);
    padding: 40px 0 50px;
    position: relative;
    overflow: hidden;
}

.dc-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: pulseGlow 4s ease-in-out infinite;
}

.dc-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: pulseGlow 5s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.dc-hero h1 {
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.dc-hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dc-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 30px;
}

/* ============ BUTTONS ============ */
.btn-dc-primary {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-dc-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-hover);
    color: #fff;
}

.btn-dc-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-dc-primary:hover::before {
    left: 100%;
}

.btn-dc-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-dc-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
    color: var(--accent-primary);
}

.btn-dc-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-dc-dark {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-dc-dark:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* ============ SECTION STYLES ============ */
.dc-section {
    padding: 50px 0;
}

.dc-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.dc-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.dc-section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.dc-section-header .accent-line {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    margin: 15px auto 0;
}

/* ============ PREMIUM PRODUCT CARDS ============ */
.dc-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.dc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(139, 92, 246, 0.4);
}

.dc-product-card .card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dc-product-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dc-product-card:hover .card-thumb img {
    transform: scale(1.05) translateY(-5px);
}

/* Badges & Tags */
.card-badges-left {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.badge-featured, .badge-new {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.badge-featured { background: var(--gradient-primary); }
.badge-new { background: var(--accent-green); }

.card-discount-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Info Section */
.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

.meta-cat { color: var(--accent-primary); letter-spacing: 0.5px; }
.meta-divider { color: var(--border-color); font-weight: 300; }
.meta-feat { color: var(--text-muted); }

.dc-product-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dc-product-card .card-title a {
    color: var(--text-primary);
}

.dc-product-card .card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.price-sale {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-mrp {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Actions */
/* Product Card - Premium Layout */
.dc-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #edf2f7;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1/1; /* Square as in image */
    background: #f1f5f9;
}

.card-badges-left {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-featured {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-new {
    background: #22c55e;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.card-discount-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 10;
}

.wishlist-btn-pill {
    position: absolute;
    top: 48px;
    right: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 10;
}

.wishlist-btn-pill:hover {
    background: #f8fafc;
    color: #ef4444;
    transform: scale(1.05);
}

.wishlist-btn-pill.active {
    color: #ef4444;
}

.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left !important; /* Force left align as in image */
}

.meta-cat {
    color: #8b5cf6;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
    line-height: 1.3;
}

.card-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: auto;
}

.price-sale {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.price-mrp {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-add-cart {
    flex-grow: 1;
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: #7c3aed;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.btn-preview {
    background: #f1f5f9;
    color: #475569;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.2rem;
}

.btn-preview:hover {
    background: #e2e8f0;
    color: #8b5cf6;
}

/* ============ CATEGORY CARDS ============ */
.dc-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.dc-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.dc-category-card .cat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition);
}

.dc-category-card:hover .cat-icon {
    background: var(--accent-primary);
    color: #fff;
}

.dc-category-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dc-category-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============ STATS / COUNTERS ============ */
.dc-stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
}

.dc-stat-item {
    text-align: center;
}

.dc-stat-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dc-stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* ============ TESTIMONIALS ============ */
.dc-testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.dc-testimonial:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

.dc-testimonial .stars {
    color: var(--accent-orange);
    margin-bottom: 14px;
}

.dc-testimonial p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.dc-testimonial .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-testimonial .author img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.dc-testimonial .author h6 { font-size: 0.9rem; margin: 0; }
.dc-testimonial .author small { color: var(--text-muted); }

/* ============ CTA BANNER ============ */
.dc-cta {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.dc-cta-inner {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
    position: relative;
}

.dc-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.dc-cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.dc-cta-inner p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ FOOTER ============ */
.dc-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.dc-footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
}

.dc-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dc-footer h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.dc-footer .footer-links {
    list-style: none;
    padding: 0;
}

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

.dc-footer .footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dc-footer .footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.dc-footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.dc-footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.dc-footer .social-links a:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.dc-footer .newsletter-form { margin-top: 10px; }

.dc-footer .newsletter-form .input-group {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
}

.dc-footer .newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 18px;
    font-size: 0.9rem;
    outline: none;
}

.dc-footer .newsletter-form input::placeholder { color: var(--text-muted); }

.dc-footer .newsletter-form button {
    background: var(--gradient-btn);
    border: none;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin: 3px;
    transition: var(--transition);
}

.dc-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.dc-footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============ WHATSAPP BUTTON ============ */
.dc-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.dc-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.dc-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ============ FORM STYLES ============ */
.dc-form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 0.92rem;
    transition: var(--transition);
    width: 100%;
    outline: none;
}

.input-group .dc-form-control {
    width: auto;
    flex: 1;
}

.dc-form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.dc-form-control::placeholder { color: var(--text-muted); }

.dc-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

select.dc-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

textarea.dc-form-control {
    min-height: 120px;
    resize: vertical;
}

/* ============ CARDS / PANELS ============ */
.dc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.dc-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

/* ============ PRODUCT SINGLE PAGE ============ */
.dc-gallery {
    position: relative;
}

.dc-gallery .main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 16/10;
    position: relative;
}

.zoom-container {
    cursor: zoom-in;
}

.magnifier {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: none;
    display: none;
    background-repeat: no-repeat;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    pointer-events: none;
}

.dc-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-gallery .thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}

.dc-gallery .thumb-list img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.dc-gallery .thumb-list img:hover,
.dc-gallery .thumb-list img.active {
    border-color: var(--accent-primary);
    opacity: 1;
}

.dc-product-info .product-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.dc-product-info .product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dc-product-info .product-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dc-product-info .product-price {
    background: var(--bg-input);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
}

.dc-product-info .price-big {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
}

.dc-product-info .price-mrp {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.dc-product-info .price-save {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 10px;
}

.dc-product-info .product-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.dc-features-list {
    list-style: none;
    padding: 0;
}

.dc-features-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border-light);
}

.dc-features-list li:last-child { border: none; }

.dc-features-list li i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============ VARIANTS / OPTIONS ============ */
.dc-variant-group {
    margin-bottom: 16px;
}

.dc-variant-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.dc-variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dc-variant-options .variant-btn {
    padding: 8px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.dc-variant-options .variant-btn:hover,
.dc-variant-options .variant-btn.selected {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* ============ REVIEWS ============ */
.dc-review {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}

.dc-review:last-child { border: none; }

.dc-review .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dc-review .avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1rem;
}

.dc-review .review-stars { color: var(--accent-orange); font-size: 0.85rem; }
.dc-review .review-date { color: var(--text-muted); font-size: 0.82rem; }
.dc-review .review-text { color: var(--text-secondary); font-size: 0.92rem; margin-top: 6px; }

/* ============ CART PAGE ============ */
.dc-cart-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}

.dc-cart-item:hover { border-color: rgba(139, 92, 246, 0.25); }

.dc-cart-item img {
    width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.dc-cart-item .item-info { flex: 1; }
.dc-cart-item .item-info h6 { font-size: 0.95rem; margin-bottom: 4px; }
.dc-cart-item .item-info small { color: var(--text-muted); }
.dc-cart-item .item-price { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.dc-cart-item .item-remove { color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.dc-cart-item .item-remove:hover { color: #ef4444; }

.dc-cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.dc-cart-summary h5 { font-weight: 700; margin-bottom: 18px; font-size: 1.1rem; }

.dc-cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.dc-cart-summary .summary-row.total {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: 8px;
}

.dc-cart-summary .summary-row.discount { color: var(--accent-green); }

/* ============ AUTH PAGES ============ */
.dc-auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.dc-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.dc-auth-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.dc-auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.92rem;
}

.dc-social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.dc-social-login .btn-social {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dc-social-login .btn-social:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
}

.dc-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.dc-divider::before,
.dc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Form Controls */
.dc-form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.dc-form-control {
    width: 100%;
    padding: 13px 20px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.dc-form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.dc-password-input {
    position: relative;
}

.dc-password-input .dc-form-control {
    padding-right: 50px;
}

.btn-toggle-pwd {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-fast);
}

.btn-toggle-pwd:hover {
    color: var(--accent-primary);
}

/* ============ USER DASHBOARD ============ */
.dc-dash-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 85px;
}

.dc-dash-sidebar .user-info {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 14px;
}

.dc-dash-sidebar .user-avatar {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 700;
    overflow: hidden;
}

.dc-dash-sidebar .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-dash-sidebar h6 { font-size: 0.95rem; margin-bottom: 2px; }
.dc-dash-sidebar small { color: var(--text-muted); }

.dc-dash-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 3px;
}

.dc-dash-sidebar .nav-link:hover,
.dc-dash-sidebar .nav-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
}

.dc-dash-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.dc-dash-stat:hover { border-color: var(--accent-primary); }

.dc-dash-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.3rem;
}

.dc-dash-stat h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 2px; }
.dc-dash-stat p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ============ TABLE STYLES ============ */
.dc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dc-table thead th {
    background: var(--bg-input);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.dc-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.dc-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.dc-table tbody td {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
}

.dc-table tbody tr:hover td { background: rgba(139, 92, 246, 0.03); }

/* ============ BADGE ============ */
.dc-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============ PAGINATION ============ */
.pagination .page-item .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-primary);
}

/* ============ ALERTS / TOAST ============ */
.dc-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dc-toast {
    min-width: 300px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.dc-toast.success { border-left: 3px solid var(--accent-green); }
.dc-toast.danger { border-left: 3px solid #ef4444; }
.dc-toast.warning { border-left: 3px solid var(--accent-orange); }
.dc-toast.info { border-left: 3px solid var(--accent-blue); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============ FILTERS SIDEBAR ============ */
.dc-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.dc-filters h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dc-filters .filter-group {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.dc-filters .filter-group:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }

.dc-filters .filter-group h6 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.dc-filters .filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.dc-filters .filter-option:hover { color: var(--text-primary); }

/* ============ CHECKOUT ============ */
.dc-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dc-payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.dc-payment-method:hover { border-color: rgba(139, 92, 246, 0.3); }

.dc-payment-method.selected {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
}

.dc-payment-method .pm-icon {
    width: 44px;
    height: 30px;
    object-fit: contain;
}

.dc-payment-method h6 { margin: 0; font-size: 0.92rem; }
.dc-payment-method small { color: var(--text-muted); }

/* ============ EMPTY STATE ============ */
.dc-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.dc-empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dc-empty-state h5 { color: var(--text-secondary); margin-bottom: 8px; }
.dc-empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============ LOADING SPINNER ============ */
.dc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: var(--radius-full);
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .dc-hero h1 { font-size: 2.5rem; }
    .dc-hero { padding: 60px 0 80px; }
    .dc-section { padding: 60px 0; }
    .dc-section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .dc-hero h1 { font-size: 2rem; }
    .dc-hero p { font-size: 1rem; }
    .dc-search { display: none; }
    .dc-cta-inner { padding: 30px 20px; }
    .dc-auth-card { padding: 28px; }
    .dc-cart-item { flex-direction: column; }
    .dc-cart-item img { width: 100%; height: 150px; }
    .dc-product-info .product-title { font-size: 1.4rem; }
    .dc-product-info .price-big { font-size: 1.6rem; }
}

@media (max-width: 576px) {
    .dc-hero h1 { font-size: 1.7rem; }
    .dc-section-header h2 { font-size: 1.4rem; }
    .dc-stat-item .number { font-size: 1.8rem; }
    .dc-footer { padding: 40px 0 0; }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-top: 10px;
    }
    .dc-gallery .main-image {
        aspect-ratio: 1/1;
    }
    .dc-product-info .product-meta span {
        font-size: 0.78rem;
    }
    .price-big {
        font-size: 1.6rem !important;
    }
    .dc-product-info .product-desc {
        font-size: 0.9rem;
    }
}

/* Floating Action Buttons */
.dc-fab-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.dc-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.dc-fab:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.dc-fab-whatsapp {
    background: #25D366;
    background: linear-gradient(45deg, #25D366, #128C7E);
    animation: dc-pulse 2s infinite;
}

@keyframes dc-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { transform: scale(1.05); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.dc-fab-scroll {
    background: var(--accent-primary);
    background: var(--gradient-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.dc-fab-scroll.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .dc-fab-group {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .dc-fab {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Scroll Reveal Animations */
.dc-reveal {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform, opacity;
}

.dc-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered children reveal */
.dc-reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dc-revealed.dc-reveal-stagger > * {
    opacity: 1;
    transform: translateY(0);
}

.dc-revealed.dc-reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }

/* Hero Floating Stat Boxes */
.dc-hero-stat-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 14px 22px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.dc-hero-stat-float::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    animation: statShimmer 6s infinite;
}

@keyframes statShimmer {
    0% { left: -100%; }
    20%, 100% { left: 100%; }
}

.dc-hero-stat-float:hover {
    transform: translateY(-8px) scale(1.08) rotate(2deg) !important;
    background: #fff;
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
}

.dc-hero-stat-float i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.dc-hero-stat-float div {
    text-align: left;
}

.dc-hero-stat-float strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

.dc-hero-stat-float small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Specific Positions & Animations */
.stat-box-1 {
    top: 5%;
    left: -15%;
    animation: floatAnim 4s ease-in-out infinite;
}

.stat-box-2 {
    top: 45%;
    right: -15%;
    animation: floatAnim 5s ease-in-out infinite reverse;
}

.stat-box-3 {
    bottom: 5%;
    left: -5%;
    animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-15px) translateX(8px) rotate(1deg); }
    66% { transform: translateY(5px) translateX(-5px) rotate(-1deg); }
}

@media (max-width: 1200px) {
    .stat-box-1 { left: -5%; top: 0; }
    .stat-box-2 { right: -5%; }
    .stat-box-3 { left: 0; bottom: 0; }
}

/* ============ PREMIUM AUTH PAGES ============ */
.dc-auth-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.05), transparent),
                var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.dc-auth-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    filter: blur(150px);
    opacity: 0.05;
    top: -300px;
    right: -300px;
    border-radius: 50%;
}

.dc-auth-card-premium {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transition: var(--transition);
}

.dc-auth-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-logo-badge {
    width: 60px;
    height: 60px;
    background: var(--gradient-btn);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.auth-header h2 {
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dc-form-modern .mb-4 {
    position: relative;
}

.dc-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.dc-input-group i {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.dc-input-modern {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    outline: none;
}

.dc-input-modern:focus {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.08);
}

.dc-input-modern:focus + i {
    color: var(--accent-primary);
}

.dc-label-modern {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 5px;
}

.social-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-social-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-social-modern:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 700;
    color: var(--accent-primary);
}

/* Auth Float Icons */
.auth-float-left, .auth-float-right {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.auth-float-left { top: 15%; left: 10%; font-size: 8rem; color: var(--accent-primary); animation: float 6s ease-in-out infinite; }
.auth-float-right { bottom: 15%; right: 10%; font-size: 6rem; color: var(--accent-pink); animation: float 8s ease-in-out infinite reverse; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@media (max-width: 576px) {
    .dc-auth-card-premium { padding: 30px 20px; }
    .social-auth-grid { grid-template-columns: 1fr; }
}

/* ============ PREMIUM FOOTER ============ */
.dc-footer { background: #0b0f19; color: #cbd5e1; padding: 70px 0 0 0; position: relative; overflow: hidden; }
.dc-footer::before { content:''; position:absolute; top: -50%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.dc-footer-top { padding-bottom: 50px; }
.footer-brand { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -0.5px; display: inline-block; background: linear-gradient(135deg, #a855f7, #6366f1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dc-footer p { font-size: 0.95rem; line-height: 1.6; color: #94a3b8; margin-bottom: 24px; }
.dc-footer h5 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.5px; position: relative; }
.dc-footer h5::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 3px; background: #8b5cf6; border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '→'; opacity: 0; transform: translateX(-10px); transition: all 0.3s ease; color: #8b5cf6; font-weight: bold; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.social-links { display: flex; gap: 12px; margin-bottom: 30px; }
.social-links a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.05); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: #8b5cf6; border-color: #8b5cf6; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(139,92,246,0.3); }
.dc-newsletter-group { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; overflow: hidden; padding: 6px; display: flex; align-items: center; gap: 4px; }
.dc-newsletter-group input { flex: 1; min-width: 0; background: transparent; border: none; padding: 10px 18px; color: #fff; font-size: 0.9rem; outline: none; }
.dc-newsletter-group input::placeholder { color: #64748b; }
.dc-newsletter-group button { background: #6366f1; color: #fff; border: none; padding: 10px 24px; border-radius: 25px; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap; font-size: 0.9rem; }
.dc-newsletter-group button:hover { background: #4f46e5; }
.payment-icons { display: flex; gap: 10px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.payment-icons img { height: 28px; border-radius: 4px; background: #fff; padding: 2px 4px; }
.dc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dc-footer-bottom p { margin: 0; font-size: 0.9rem; }
@media (max-width: 768px) { .dc-footer-bottom { flex-direction: column; text-align: center; justify-content: center; } }


/* ============ MOBILE APP BOTTOM NAV ============ */
.dc-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); display: flex; justify-content: space-around; align-items: center; padding: 8px 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -5px 20px rgba(0,0,0,0.05); z-index: 1040; border-top: 1px solid #eee; }
.dc-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; color: #64748b; text-decoration: none; font-size: 0.75rem; font-weight: 500; transition: all 0.2s; padding: 4px 8px; border-radius: 12px; }
.dc-bottom-nav .nav-item i { font-size: 1.4rem; margin-bottom: 2px; }
.dc-bottom-nav .nav-item.active { color: #8b5cf6; }
.dc-bottom-nav .nav-item.active i { transform: translateY(-2px); text-shadow: 0 4px 8px rgba(139,92,246,0.3); }
@media (max-width: 991px) { body { padding-top: 60px !important; padding-bottom: 75px; } .dc-fab-group { bottom: 90px; } }

/* ============ Responsive Wrap Fixes ============ */
button, .btn, .btn-add-cart, .btn-signin-outline, .btn-dc-primary, .btn-dc-outline, .btn-dc-sm, .all-cat-btn, .btn-auth-submit { white-space: nowrap !important; }
.header-search-container { margin: 0 15px !important; min-width: 150px; }
.dc-product-card .card-title { font-size: clamp(0.95rem, 3vw, 1.1rem); } /* Dynamic title size for product card */
.dc-product-card .card-actions { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; overflow: hidden; }
.dc-product-card .btn-add-cart { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1200px) { 
    .header-search-container { margin: 0 10px !important; } 
    .nav-links-row { gap: 15px; margin-left: 15px; } 
    .header-actions { gap: 10px; } 
    .btn-signin-outline { padding: 6px 14px; font-size: 0.9rem; } 
    .nav-icon-circle { width: 40px; height: 40px; font-size: 1.1rem; } 
    .header-nav-right { gap: 1rem !important; } 
}
.dc-product-card .card-price-row .btn-dc-sm { padding: 8px 14px; }
.dc-header .brand-name { font-size: clamp(1.1rem, 4vw, 1.45rem); }

/* ============ Auto-Adjust Fixed Tags & Prices ============ */
.price-sale { font-size: clamp(1rem, 3.5vw, 1.25rem) !important; line-height: 1; }
.price-mrp { font-size: clamp(0.7rem, 2vw, 0.85rem) !important; white-space: nowrap; display: inline-block; }
.card-badges-left .badge-featured, .card-badges-left .badge-new { font-size: clamp(0.5rem, 1.8vw, 0.6rem) !important; padding: 4px 6px !important; display: inline-block !important; line-height: 1; }
.card-discount-tag { font-size: clamp(0.55rem, 1.8vw, 0.7rem) !important; padding: 4px 6px !important; white-space: nowrap; line-height: 1; }
.card-price-row { gap: 6px !important; flex-wrap: wrap !important; }
.dc-product-card .card-title { font-size: clamp(0.9rem, 2.5vw, 1.05rem) !important; }

/* ============ CLEAN MOBILE UI DESIGN (FINAL VERSION) ============ */

/* 1. Header (Minimal & Premium) */
@media (max-width: 991px) {
    .header-top {
        height: 60px !important;
        padding: 0 15px !important;
        display: flex !important;
        align-items: center !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
        background: #ffffff !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1050 !important;
    }
    
    .header-top .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .dc-header .navbar-brand {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin-right: auto !important; /* Push icons to the right */
    }
    
    .dc-header .brand-tagline { display: none !important; }
    
    .header-actions {
        gap: 18px !important;
    }
    
    .header-actions .btn-signin-outline { display: none !important; }
    
    .nav-icon-circle {
        background: transparent !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        font-size: 1.35rem !important;
        padding: 0 !important;
        color: #334155 !important;
    }
    
    #mobileMenuToggle {
        font-size: 1.8rem !important;
        padding: 0 !important;
        margin-left: 0 !important; /* Restored to left margin */
        color: #0f172a !important;
        background: none !important;
        border: none !important;
    }
}

/* 2. Slide Menu (Drawer Style) */
.dc-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -80%; /* Restore slide from right */
    width: 80%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15); /* Restore shadow on left edge */
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden !important;
}

body.menu-open .dc-mobile-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open .dc-mobile-drawer {
    right: 0;
    left: auto;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header .brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.btn-close-drawer {
    background: #f8fafc;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.drawer-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 15px;
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.drawer-menu-item:active {
    background: #f1f5f9;
}

.drawer-menu-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

/* 3. Hero Section (Tight & Clean) */
@media (max-width: 991px) {
    .dc-hero {
        padding: 35px 0 45px !important;
        text-align: center !important;
    }
    
    .dc-hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 12px !important;
        line-height: 1.2 !important;
    }
    
    .dc-hero p {
        margin: 0 auto 25px !important;
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        color: #475569 !important;
    }
    
    .dc-hero .d-flex {
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .dc-hero .btn-dc-primary, 
    .dc-hero .btn-dc-outline {
        flex: 1 !important;
        max-width: 160px !important;
        font-size: 0.88rem !important;
        padding: 12px 10px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
    }
}

/* 3.1 Hero Buttons (Desktop Consistency) */
@media (min-width: 992px) {
    .dc-hero .btn-dc-primary, 
    .dc-hero .btn-dc-outline {
        min-width: 170px !important;
        max-width: 200px !important;
        justify-content: center !important;
        padding: 14px 20px !important;
    }
}

/* 4. Categories (Mobile Grid 3 per row) */
@media (max-width: 767px) {
    .cat-grid-row {
        --bs-gutter-x: 10px !important;
        --bs-gutter-y: 10px !important;
    }
    
    .dc-category-card {
        padding: 12px 8px !important;
        border-radius: 16px !important;
    }
    
    .dc-category-card .cat-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .dc-category-card h5 {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .dc-category-card span {
        display: none !important; /* Hide count on ultra compact mobile */
    }
}

/* 5. Bottom Navigation (Must Have) */
.dc-bottom-nav {
    height: 65px !important;
    padding: 5px 10px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.06) !important;
}

.dc-bottom-nav .nav-item {
    gap: 0 !important;
    padding: 4px !important;
}

.dc-bottom-nav .nav-item i {
    font-size: 1.35rem !important;
}

.dc-bottom-nav .nav-item span {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
}

/* 6. Spacing System */
@media (max-width: 991px) {
    .dc-section { padding: 40px 0 !important; }
    .dc-section-header { margin-bottom: 25px !important; }
    .container { padding-left: 20px !important; padding-right: 20px !important; }
    .row { --bs-gutter-x: 15px; }
}

/* Fix for overlapping buttons on mobile */
.d-flex.gap-3.flex-wrap {
    gap: 10px !important;
}

