/* ==========================================================================
   DIGIWS - PREMIUM DESIGN SYSTEM (STYLE.CSS)
   Inspired by Apple, Vercel, Stripe, Linear, and Lemon Squeezy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================== */
:root {
    /* Brand Colors */
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --primary-soft: rgba(99, 102, 241, 0.08);
    --secondary: #8B5CF6;
    --secondary-hover: #7C3AED;
    --secondary-soft: rgba(139, 92, 246, 0.08);
    --accent: #06B6D4;
    --accent-hover: #0891B2;
    --accent-soft: rgba(6, 182, 212, 0.08);
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Fonts & Typography Layout */
    --font-title: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius: 16px;
    --radius-full: 9999px;

    /* Transitions & Blurs */
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --backdrop-blur: blur(16px);

    /* Stripe-style & Aurora Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.20);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --shadow-glow-purple: 0 10px 40px -10px rgba(139, 92, 246, 0.12);
}

/* Light Theme Variables */
:root,
[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-border: rgba(255, 255, 255, 0.30);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    --border-color: rgba(203, 213, 225, 0.40);
    --border-light: #F1F5F9;
    --border-glass: rgba(203, 213, 225, 0.30);
    --shadow-color: rgba(0, 0, 0, 0.06);
    --card-bg: #FFFFFF;
    --card-border: rgba(203, 213, 225, 0.30);
    --input-bg: #F1F5F9;
    --input-border: #E2E8F0;
    --nav-bg: rgba(255, 255, 255, 0.80);
    --nav-border: rgba(203, 213, 225, 0.30);
    --hero-overlay: rgba(248, 250, 252, 0.85);
    --aurora-opacity: 0.00;
    --glow-color: rgba(99, 102, 241, 0.15);
    --scrollbar-track: #F1F5F9;
    --scrollbar-thumb: #6366F1;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-tertiary: #1A1A2E;
    --bg-surface: #12121A;
    --bg-glass: rgba(18, 18, 26, 0.75);
    --bg-glass-border: rgba(255, 255, 255, 0.06);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --text-muted: #64748B;
    --text-inverse: #0A0A0F;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.06);
    --shadow-color: rgba(0, 0, 0, 0.40);
    --card-bg: #161622;
    --card-border: rgba(255, 255, 255, 0.06);
    --input-bg: #1A1A2E;
    --input-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(10, 10, 15, 0.85);
    --nav-border: rgba(255, 255, 255, 0.06);
    --hero-overlay: rgba(10, 10, 15, 0.70);
    --aurora-opacity: 0.50;
    --glow-color: rgba(99, 102, 241, 0.20);
    --scrollbar-track: #1A1A2E;
    --scrollbar-thumb: #818CF8;
}

/* ==========================================
   RESET & GLOBAL BASICS
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ==========================================
   BLOG POST PAGE - PREMIUM WORLD-CLASS DESIGN
   ========================================== */

.blog-post-page {
    background: #F8FAFC;
    min-height: 100vh;
    padding: 0;
}

/* Main Layout */
.post-main-layout {
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 32px;
    align-items: start;
}

.post-content-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-sidebar-col {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Top Article Section */
.post-top-section {
    background: transparent;
    border-radius: 16px;
    padding: 24px 0 12px 0;
    box-shadow: none;
    border: none;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 12px;
}

.post-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.post-breadcrumb a:hover {
    color: #2563EB;
}

.post-breadcrumb span {
    color: #6B7280;
}

/* Premium Typography */
.post-hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.post-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #EEF2F7;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
}

.post-meta-item i {
    color: #2563EB;
    font-size: 18px;
}

.post-author-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-mini span {
    font-weight: 600;
    color: #111827;
}

/* Featured Image */
.post-featured-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    position: relative;
    margin-bottom: 0;
}

.post-body-featured-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.post-featured-image-container:hover .post-body-featured-img {
    transform: scale(1.05);
}

.post-image-caption {
    padding: 12px 24px;
    font-size: 15px;
    color: #6B7280;
    background: transparent;
    border-top: none;
    margin-bottom: 0;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #7C3AED);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Premium Post Content */
.post-content-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
    max-width: 760px;
    background: transparent;
    padding: 16px 0 32px 0;
    border-radius: 16px;
    box-shadow: none;
    border: none;
    margin-top: 0;
}


.post-content-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.post-content-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-top: 32px;
    margin-bottom: 14px;
}

.post-content-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-top: 28px;
    margin-bottom: 12px;
}

.post-content-body p {
    margin-bottom: 24px;
}

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
    margin: 32px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.post-content-body ul,
.post-content-body ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.post-content-body li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.post-content-body blockquote {
    border-left: 5px solid #2563EB;
    padding: 32px 36px;
    margin: 40px 0;
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    font-style: italic;
    font-size: 20px;
    color: #1E40AF;
    border-radius: 0 22px 22px 0;
    font-weight: 500;
}

.post-content-body code {
    background: #F1F5F9;
    padding: 4px 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #DC2626;
}

.post-content-body pre {
    background: #1E293B;
    color: #E2E8F0;
    padding: 32px;
    border-radius: 22px;
    overflow-x: auto;
    margin: 32px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.post-content-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.post-content-body th,
.post-content-body td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #EEF2F7;
}

.post-content-body th {
    background: #F8FAFC;
    font-weight: 700;
    color: #111827;
}

.post-content-body tr:last-child td {
    border-bottom: none;
}

/* Callout Boxes */
.post-callout {
    padding: 32px;
    border-radius: 22px;
    margin: 32px 0;
    border-left: 5px solid;
}

.post-callout.info {
    background: #EFF6FF;
    border-color: #2563EB;
}

.post-callout.success {
    background: #ECFDF5;
    border-color: #22C55E;
}

.post-callout.warning {
    background: #FFFBEB;
    border-color: #F59E0B;
}

.post-callout.danger {
    background: #FEF2F2;
    border-color: #EF4444;
}

/* YouTube Video Section */
.post-youtube-section {
    background: transparent;
    padding: 32px;
    border-radius: 16px;
    box-shadow: none;
    border: none;
}

.post-youtube-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.youtube-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 22px;
}

.youtube-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Author Section */
.post-author-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    border: none;
}

.pac-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563EB;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
}

.pac-name {
    font-weight: 700;
    color: #111827;
    font-size: 18px;
    margin-bottom: 6px;
}

.pac-bio {
    color: #111827;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 12px;
}

.pac-social {
    display: flex;
    gap: 12px;
}

.pac-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.pac-social a:hover {
    background: #2563EB;
    color: #ffffff;
}

/* Article Tags */
.post-tags-section {
    background: transparent;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: none;
    border: none;
}

.post-tags-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-tag {
    padding: 6px 16px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 20px;
    text-decoration: none;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.post-tag:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #ffffff;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-nav-card {
    background: transparent;
    padding: 20px;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid #EEF2F7;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.post-nav-card h4 {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

/* Comments */
.post-comments-container {
    background: transparent;
    border-radius: 16px;
    padding: 24px;
    box-shadow: none;
    border: none;
}

.post-comments-container h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEF2F7;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563EB;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.comment-author {
    font-weight: 700;
    color: #111827;
    font-size: 15px;
}

.comment-date {
    font-size: 12px;
    color: #6B7280;
}

.comment-content {
    color: #374151;
    line-height: 1.6;
    margin: 8px 0;
    font-size: 14px;
}

/* Related Posts */
.post-related-section {
    padding-top: 40px;
    border-top: 2px solid #EEF2F7;
}

.related-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    border: 1px solid #EEF2F7;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

.related-card-content {
    padding: 16px;
}

.related-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.4;
}

.related-card-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #6B7280;
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 36px 40px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.3);
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
    transition: var(--transition);
}

.newsletter-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -20px rgba(124, 58, 237, 0.45);
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-cta-text {
    flex: 1;
}

.newsletter-cta h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.newsletter-cta p {
    font-size: 14.5px;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-cta form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: auto;
}

.newsletter-cta input {
    width: 280px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    margin-bottom: 0;
}

.newsletter-cta input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-cta input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.newsletter-cta button {
    padding: 14px 28px;
    background: #ffffff;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.newsletter-cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
    color: var(--secondary);
}

@media (max-width: 991px) {
    .newsletter-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }
    
    .newsletter-cta form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 10px;
    }
    
    .newsletter-cta input {
        width: 100%;
        max-width: none;
    }
    
    .newsletter-cta button {
        width: 100%;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background: transparent;
    border-radius: 16px;
    padding: 20px;
    box-shadow: none;
    border: 1px solid #EEF2F7;
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search Widget */
.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-search-form input {
    padding: 16px 20px;
    border: 2px solid #EEF2F7;
    border-radius: 14px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.sidebar-search-form input:focus {
    outline: none;
    border-color: #2563EB;
}

.sidebar-search-form button {
    padding: 12px 20px;
    background: #2563EB;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    height: 44px;
}

.sidebar-search-form button:hover {
    background: #1D4ED8;
}

/* Trending Articles */
.trending-articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    border-radius: 16px;
    transition: background 0.3s;
}

.trending-item:hover {
    background: #F8FAFC;
}

.trending-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.trending-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.4;
}

.trending-item span {
    font-size: 14px;
    color: #6B7280;
}

/* Categories */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #F8FAFC;
    border-radius: 14px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s;
}

.category-item:hover {
    background: #EFF6FF;
    color: #2563EB;
    transform: translateX(4px);
}

.category-item .badge {
    background: #2563EB;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Subscribe Widget */
.subscribe-widget {
    background: #111827;
    color: #ffffff;
}

.subscribe-widget h4 {
    color: #ffffff;
}

.subscribe-widget p {
    color: #9CA3AF;
    margin-bottom: 20px;
    font-size: 15px;
}

.subscribe-widget input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 16px;
    width: 100%;
}

.subscribe-widget input::placeholder {
    color: #9CA3AF;
}

.subscribe-widget input:focus {
    outline: none;
    border-color: #2563EB;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-widget button {
    background: #2563EB;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    height: 44px;
    font-size: 14px;
}

.subscribe-widget button:hover {
    background: #1D4ED8;
}

/* Advertisement */
.ad-space {
    background: #F8FAFC;
    border: 2px dashed #EEF2F7;
    border-radius: 22px;
    padding: 40px;
    text-align: center;
    color: #6B7280;
    font-size: 15px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar-col {
        position: static;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-floating-share {
        display: none;
    }
}

@media (max-width: 991px) {
    .post-main-layout {
        padding: 60px 16px;
    }
    
    .post-hero-title {
        font-size: 42px;
    }
    
    .post-content-body {
        padding: 24px 0;
        font-size: 17px;
    }
    
    .post-content-body h2 {
        font-size: 28px;
    }
    
    .post-content-body h3 {
        font-size: 24px;
    }
    
    .post-share-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    
    .post-author-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    
    .post-comments-container {
        padding: 32px 24px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .post-hero-title {
        font-size: 32px;
    }
    
    .post-subtitle {
        font-size: 18px;
    }
    
    .post-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .post-content-body {
        padding: 20px 0;
        font-size: 16px;
    }
    
    .post-content-body h2 {
        font-size: 24px;
    }
    
    .post-content-body h3 {
        font-size: 20px;
    }
    
    .sidebar-widget {
        padding: 24px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-top-section {
        padding: 20px 0 12px 0;
    }
    
    .newsletter-cta {
        padding: 32px 24px;
    }
    
    .newsletter-cta h3 {
        font-size: 24px;
    }
    
    .newsletter-cta p {
        font-size: 16px;
    }
}

/* Related Posts */
.post-related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.related-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-layout-section {
        padding: 24px 16px;
    }
    
    .post-hero-title {
        font-size: 1.6rem;
    }
    
    .post-content-body {
        font-size: 1rem;
    }
    
    .post-content-body h2 {
        font-size: 1.5rem;
    }
    
    .post-content-body h3 {
        font-size: 1.2rem;
    }
    
    .post-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .post-comments-container {
        padding: 16px;
    }
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

::selection {
    background: var(--primary-soft);
    color: var(--primary);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================
   GRID & SPACING UTILITIES
   ========================================== */
.dc-section {
    padding: 50px 0;
}

.dc-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 25px;
}

.dc-section-header h2 {
    font-size: 2.25rem; /* 36px */
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.dc-section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.dc-section-header .accent-line {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin: 15px auto 0;
}

/* ============ GRADIENT UTILS ============ */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ==========================================
   BUTTONS & INPUTS
   ========================================== */
.btn-dc-primary, .btn-dc-secondary, .btn-dc-outline, .btn-dc-glass {
    font-family: var(--font-title);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-dc-primary {
    background: var(--primary);
    color: #FFFFFF !important;
}

.btn-dc-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-glow);
}

.btn-dc-secondary {
    background: var(--secondary);
    color: #FFFFFF !important;
}

.btn-dc-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-glow-purple);
}

.btn-dc-outline {
    background: var(--bg-surface);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-dc-outline:hover {
    border-color: var(--text-primary);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-md);
}

.btn-dc-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-dc-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1.5px);
}

/* Forms */
.form-group-modern {
    margin-bottom: 20px;
}

.form-label-modern {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.form-input-modern {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.form-input-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.dc-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-top {
    position: relative;
    z-index: 5;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.navbar-brand .brand-name {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1.2px;
}

.navbar-brand .brand-name::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin-left: 2px;
}

.navbar-brand .brand-tagline {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header Search */
.header-search-container {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 30px;
}

.search-group {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px;
    transition: var(--transition);
}

.search-group .dropdown {
    flex-shrink: 0;
}

.search-group:focus-within {
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.search-category-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.search-group input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 0.9rem;
    outline: none;
    color: var(--text-primary);
}

.search-group .search-submit {
    background: var(--primary);
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-group .search-submit:hover {
    background: var(--secondary);
    transform: scale(1.04);
}

.dc-search {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 380px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.search-results.show {
    opacity: 1;
    visibility: visible;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.search-item:hover {
    background: var(--bg-secondary);
}

.search-item img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-item .info h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.search-item .info small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-circle {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.nav-icon-circle:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.nav-icon-circle .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    border: 2px solid #FFFFFF;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-weight: 700;
}

.btn-signin-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-surface);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-signin-outline:hover {
    background: var(--text-primary);
    color: #FFFFFF;
    border-color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Header Bottom Nav Row */
.header-nav-row {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: var(--backdrop-blur);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.all-cat-btn {
    background: var(--text-primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.all-cat-btn:hover {
    background: var(--primary);
}

.nav-links-row {
    display: flex;
    gap: 28px;
    margin-left: 24px;
}

.nav-links-row a {
    color: var(--text-secondary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links-row a:hover, .nav-links-row a.active {
    color: var(--text-primary);
}

.nav-links-row a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.header-support-info a {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.header-support-info a:hover {
    background: #128C7E;
    color: #FFFFFF;
    border-color: #128C7E;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.2);
}

.header-support-info a:hover i {
    color: #FFFFFF !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.dc-hero {
    background: var(--gradient-hero), var(--bg-primary);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.dc-hero h1 {
    font-family: var(--font-title);
    font-size: 4rem; /* 64px */
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.dc-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Hero Stat Boxes */
.dc-hero-stat-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 14px 22px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
    transition: var(--transition);
}

.dc-hero-stat-float:hover {
    transform: translateY(-5px) scale(1.04) rotate(1.5deg) !important;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary);
}

.dc-hero-stat-float i {
    font-size: 1.4rem;
    color: var(--primary);
}

.dc-hero-stat-float strong {
    display: block;
    font-size: 1.05rem;
    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;
}

.stat-box-1 {
    top: 10%;
    left: -15%;
    animation: floatAnim 4s ease-in-out infinite;
}

.stat-box-2 {
    top: 45%;
    right: -12%;
    animation: floatAnim 5s ease-in-out infinite reverse;
}

.stat-box-3 {
    bottom: 12%;
    left: -8%;
    animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-12px) translateX(6px) rotate(1deg); }
    66% { transform: translateY(4px) translateX(-4px) 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; }
}

/* ==========================================
   CATEGORY & PRODUCT CARDS
   ========================================== */
/* ==========================================
   EXPLORE CATEGORIES
   ========================================== */
.dc-category-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 10px 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: none !important;
    position: relative;
    overflow: visible;
    max-width: 110px;
    margin: 0 auto;
}

.dc-category-card:hover {
    transform: translateY(-4px);
    background: transparent !important;
    box-shadow: none !important;
}

.dc-category-card .cat-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
    border: 1.5px solid #BFDBFE !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: #2563EB;
    position: relative;
    z-index: 2;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-category-card:hover .cat-icon {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transform: scale(1.05) rotate(4deg);
}

.dc-category-card h5 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.dc-category-card:hover h5 {
    color: var(--primary);
}

.dc-category-card .cat-count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    z-index: 5;
    transition: all 0.3s ease;
}

.dc-category-card:hover .cat-count-badge {
    transform: scale(1.1);
}

.category-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.category-scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 20px !important;
    padding-bottom: 10px !important;
}

.category-scroll-row::-webkit-scrollbar {
    display: none !important;
}

.category-slide-item {
    flex: 0 0 125px !important;
    width: 125px !important;
    max-width: 125px !important;
}

/* Compact category strip: keeps the homepage focused on products. */
.dc-category-section {
    padding: 26px 0 22px;
}

.dc-category-section .dc-section-header {
    margin-bottom: 8px;
}

.dc-category-section .category-slider-container {
    padding: 0;
}

.dc-category-section .category-scroll-row {
    padding-bottom: 0 !important;
}

.dc-category-section .dc-category-card {
    padding: 4px 0;
}

.dc-category-section .dc-category-card .cat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 7px;
}

@media (max-width: 768px) {
    .dc-section.dc-category-section {
        padding: 18px 0 14px !important;
    }

    .dc-category-section .dc-section-header {
        margin-bottom: 4px !important;
    }

    .dc-category-section .dc-section-header h2 {
        font-size: 1.35rem !important;
    }

    .dc-category-section .dc-section-header .accent-line {
        margin-top: 5px !important;
    }

    .dc-category-section .category-scroll-row {
        gap: 14px !important;
    }

    .dc-category-section .category-slide-item {
        flex-basis: 105px !important;
        width: 105px !important;
        max-width: 105px !important;
    }

    .dc-category-section .dc-category-card {
        padding: 3px 0 !important;
    }

    .dc-category-section .dc-category-card .cat-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 5px !important;
    }

    .dc-category-section .dc-category-card h5 {
        font-size: 0.74rem !important;
        line-height: 1.18;
    }
}

.dc-product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.dc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.3);
}

.card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dc-product-card:hover .card-thumb img {
    transform: scale(1.03);
}

.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, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.badge-new {
    background: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.card-discount-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 10;
    cursor: pointer;
}

.has-discount .wishlist-btn-pill {
    top: 52px;
}

.wishlist-btn-pill:hover {
    background: var(--bg-secondary);
    color: var(--danger);
    transform: scale(1.05);
}

.wishlist-btn-pill.active {
    color: var(--danger);
    border-color: var(--danger);
}

.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.meta-cat {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.dc-product-card .card-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dc-product-card .card-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.dc-product-card .card-title a:hover {
    color: var(--primary);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
    margin-top: 6px;
}

.price-sale {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-mrp {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-add-cart {
    flex-grow: 1;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.btn-preview {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-preview:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.dc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.25);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-product-card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-muted);
    font-size: 2.4rem;
}

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-new {
    background: var(--accent);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: var(--shadow-sm);
}

.badge-hot {
    background: linear-gradient(135deg, #f43f5e, #ef4444);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: var(--shadow-sm);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: var(--transition);
    z-index: 8;
}

.dc-product-card:hover .card-thumb-overlay {
    opacity: 1;
}

.overlay-text {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    transform: translateY(8px);
    transition: var(--transition);
}

.dc-product-card:hover .overlay-text {
    transform: translateY(0);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.meta-cat {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-rating {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--primary);
}

.card-specs {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.spec-item i {
    font-size: 0.8rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-sale {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-title);
}

.price-mrp {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-cart {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-wishlist {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-wishlist:hover {
    background: #FEE2E2;
    color: var(--danger);
    border-color: var(--danger);
    transform: translateY(-2px);
}

.btn-wishlist.active {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

.btn-preview {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-preview:hover {
    background: var(--border-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    .card-body {
        padding: 14px;
    }
    .card-title {
        font-size: 0.92rem;
    }
    .price-sale {
        font-size: 1.1rem;
    }
    .btn-add-cart,
    .btn-wishlist,
    .btn-preview {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

.dc-product-card-wrapper {
    margin-bottom: 24px;
}

/* ==========================================
   STATISTICS & COUNTERS
   ========================================== */
.dc-stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.dc-stat-item {
    text-align: center;
}

.dc-stat-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -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;
}

/* ==========================================
   WHY CHOOSE DIGIWS CARDS
   ========================================== */
.dc-choose-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.dc-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dc-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

.dc-choose-card:hover::before {
    opacity: 1;
}

.dc-choose-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    transition: var(--transition);
}

.dc-choose-icon.icon-blue {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.dc-choose-icon.icon-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.dc-choose-icon.icon-rose {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
}

.dc-choose-card:hover .dc-choose-icon {
    transform: scale(1.1) rotate(-3deg);
}

.dc-choose-card h5 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.dc-choose-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   TESTIMONIAL CARDS
   ========================================== */
.dc-testimonial {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.dc-testimonial::before {
    display: none;
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(37, 99, 235, 0.06);
    font-family: Georgia, serif;
    pointer-events: none;
}

.dc-testimonial:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-4px);
}

.dc-testimonial .stars {
    color: var(--warning);
    margin-bottom: 14px;
    font-size: 0.88rem;
    display: flex;
    gap: 2px;
}

.dc-testimonial > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.dc-testimonial .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.dc-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.dc-author-avatar.avatar-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.dc-author-avatar.avatar-purple {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary);
}

.dc-author-avatar.avatar-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.dc-testimonial .author h6 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.dc-testimonial .author small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.dc-cta {
    padding: 90px 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.06), transparent 50%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.dc-cta-inner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dc-cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: ctaGlowPulse 4s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.dc-cta-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: badgeShine 3s ease-in-out infinite;
}

.dc-cta-badge i {
    font-size: 0.9rem;
    animation: boltBounce 1.5s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 20px 2px rgba(245, 158, 11, 0.2); }
}

@keyframes boltBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.15); }
}

.dc-cta-inner h2 {
    position: relative;
    z-index: 1;
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 18px;
    color: #FFFFFF;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dc-cta-inner p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.dc-cta-inner p strong {
    color: #FFFFFF;
    font-weight: 800;
}

.dc-cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    padding: 16px 36px !important;
    font-size: 1.05rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-glow {
    position: relative;
    overflow: hidden;
    padding: 16px 36px !important;
    font-size: 1.05rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.4s ease;
}

.btn-outline-glow:hover {
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.1) !important;
}

.dc-cta-trust {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.dc-cta-trust span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.dc-cta-trust span:hover {
    color: #FFFFFF;
}

.dc-cta-trust span i {
    color: #10B981;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .dc-cta {
        padding: 60px 0;
    }

    .dc-cta-inner {
        padding: 48px 24px;
        border-radius: 20px;
    }

    .dc-cta-inner h2 {
        font-size: 2rem;
    }

    .dc-cta-inner p {
        font-size: 1rem;
    }

    .btn-glow,
    .btn-outline-glow {
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
    }

    .dc-cta-trust {
        gap: 16px;
    }

    .dc-cta-trust span {
        font-size: 0.78rem;
    }
}

/* ==========================================
   PRODUCTS PAGE — FILTER SIDEBAR
   ========================================== */

/* Products Page Hero Strip */
.dc-page-hero {
    background: radial-gradient(circle at top right, rgba(37,99,235,0.06), transparent 50%),
                radial-gradient(circle at bottom left, rgba(124,58,237,0.04), transparent 50%),
                var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0 30px;
}

.dc-page-hero h1 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dc-page-hero p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* Breadcrumb */
.dc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    list-style: none;
    padding: 0;
}

.dc-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.dc-breadcrumb a:hover {
    color: var(--primary);
}

.dc-breadcrumb .separator {
    font-size: 0.7rem;
    color: var(--border-color);
}

.dc-breadcrumb .active {
    color: var(--text-primary);
}

/* Filter Sidebar Card */
.dc-filters {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.dc-filters h5 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    letter-spacing: -0.3px;
}

.filter-group {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h6 {
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    margin-bottom: 2px;
}

.filter-option:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-option input:checked ~ span,
.filter-option input:checked {
    color: var(--primary);
}

/* Count Badge inside filter option */
.filter-option .count {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 1px 7px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Filter action buttons */
.filter-actions {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    flex-direction: column;
}

/* ==========================================
   FORM CONTROLS
   ========================================== */
.dc-form-control {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.dc-form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

select.dc-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239CA3AF' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ==========================================
   PRODUCTS SORT BAR
   ========================================== */
.dc-sort-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.dc-sort-bar .results-info h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.dc-sort-bar .results-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.dc-sort-bar .sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dc-sort-bar .sort-controls label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.dc-sort-bar select.dc-form-control {
    width: auto;
    min-width: 170px;
    font-size: 0.85rem;
    padding: 8px 36px 8px 12px;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.dc-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.dc-empty-state .empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--text-muted);
}

.dc-empty-state h5 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dc-empty-state p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

/* ==========================================
   PAGINATION
   ========================================== */
.dc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.dc-pagination .page-link,
.dc-pagination a,
.dc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: var(--bg-surface);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.dc-pagination a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

.dc-pagination .active,
.dc-pagination .current {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-glow) !important;
}

.dc-pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Bootstrap pagination override */
.pagination {
    gap: 4px;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    border-radius: var(--radius-md) !important;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    min-width: 40px;
    text-align: center;
}

.pagination .page-item .page-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* ==========================================
   BUTTON VARIANTS
   ========================================== */
.btn-dc-dark {
    background: var(--text-primary);
    color: #FFFFFF !important;
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-dc-dark:hover {
    background: #334155;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.btn-dc-sm {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
}

/* ==========================================
   ACTIVE FILTER TAGS
   ========================================== */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-title);
}

.active-filter-tag button {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary);
    font-size: 0.9rem;
}

/* ==========================================
   LUXURY FOOTER
   ========================================== */
.dc-footer {
    background: #090D16;
    color: #94A3B8;
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dc-footer::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.dc-footer-top {
    padding-bottom: 60px;
}

.footer-brand {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -1.2px;
    display: inline-block;
}

.footer-brand::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin-left: 2px;
}

.dc-footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94A3B8;
    margin-bottom: 24px;
}

.dc-footer h5 {
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.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.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.dc-newsletter-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dc-newsletter-group input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 8px 14px;
    color: #FFFFFF;
    font-size: 0.88rem;
    outline: none;
}

.dc-newsletter-group input::placeholder {
    color: #475569;
}

.dc-newsletter-group button {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.88rem;
}

.dc-newsletter-group button:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 28px;
    border-radius: 4px;
    background: #FFFFFF;
    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 & DRAWERS
   ========================================== */
.dc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--backdrop-blur);
    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 25px rgba(0,0,0,0.06);
    z-index: 1040;
    border-top: 1px solid var(--border-color);
    height: 65px;
}

.dc-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    transition: var(--transition);
}

.dc-bottom-nav .nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.dc-bottom-nav .nav-item.active {
    color: var(--primary);
}

/* slide menu drawer */
.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: var(--transition);
}

.dc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background: var(--bg-surface);
    z-index: 9999;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    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;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header .brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-close-drawer {
    background: var(--bg-secondary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    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: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 5px;
    transition: var(--transition);
}

.drawer-menu-item:hover {
    background: var(--bg-secondary);
}

.drawer-menu-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* ==========================================
   FAB GROUP & WHATSAPP
   ========================================== */
.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: var(--radius-full);
    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: var(--transition);
    border: none;
    cursor: pointer;
}

.dc-fab:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.dc-fab-whatsapp {
    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(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.dc-fab-scroll.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN RULES
   ========================================== */
@media (max-width: 991px) {
    body {
        padding-top: 60px !important;
        padding-bottom: 75px;
    }
    .header-top {
        height: 60px !important;
        padding: 0 15px !important;
        display: flex !important;
        align-items: center !important;
        box-shadow: var(--shadow-sm) !important;
        background: var(--bg-surface) !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;
    }
    .navbar-brand {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin-right: auto !important;
    }
    .navbar-brand .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: var(--text-secondary) !important;
    }
    #mobileMenuToggle {
        font-size: 1.8rem !important;
        padding: 0 !important;
        color: var(--text-primary) !important;
        background: none !important;
        border: none !important;
        cursor: pointer;
    }
    .dc-hero {
        padding: 45px 0 55px !important;
        text-align: center !important;
    }
    .dc-hero h1 {
        font-size: 2.25rem !important;
        margin-bottom: 12px !important;
        line-height: 1.25 !important;
        letter-spacing: -1.2px !important;
    }
    .dc-hero p {
        margin: 0 auto 25px !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !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: var(--radius-md) !important;
    }
    .dc-category-card {
        padding: 16px 12px !important;
    }
    .dc-category-card .cat-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    .dc-category-card h5 {
        font-size: 0.8rem !important;
    }
    .dc-category-card span {
        display: none !important;
    }
    .dc-section {
        padding: 48px 0 !important;
    }
    .dc-section-header {
        margin-bottom: 28px !important;
    }
}

/* ==========================================
   MICRO INTERACTIONS & UTILS
   ========================================== */
.dc-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-revealed {
    opacity: 1;
    transform: translateY(0);
}

.dc-reveal-stagger > * {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-revealed.dc-reveal-stagger > * {
    opacity: 1;
    transform: translateY(0);
}

.dc-revealed.dc-reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.dc-revealed.dc-reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

/* ==========================================
   SHOPPING CART PAGE STYLES
   ========================================== */
.dc-cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dc-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}

.dc-cart-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.dc-cart-item .item-info {
    flex-grow: 1;
}

.dc-cart-item .item-info h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dc-cart-item .item-price {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.dc-cart-item .item-remove {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.dc-cart-item .item-remove:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.dc-cart-summary {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}

.dc-cart-summary h5 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.dc-cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dc-cart-summary .summary-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.dc-cart-summary .summary-row.discount {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 576px) {
    .dc-cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        position: relative;
    }
    .dc-cart-item img {
        width: 100%;
        height: 120px;
    }
    .dc-cart-item .d-flex {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }
    .dc-cart-item form {
        position: absolute;
        top: 12px;
        right: 12px;
        background: var(--bg-surface);
        width: 32px;
        height: 32px;
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
    }
}

/* ==========================================
   AUTH PAGES (LOGIN & REGISTER) STYLES
   ========================================== */
.dc-auth-wrapper {
    min-height: calc(100vh - 185px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.05) 0px, transparent 50%),
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
}

.dc-auth-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 
        0 25px 50px -12px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(15, 23, 42, 0.02),
        var(--shadow-sm);
    transition: var(--transition);
}

.dc-auth-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 
        0 30px 60px -10px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.05),
        var(--shadow-md);
}

.dc-auth-card h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 6px;
    text-align: center;
    color: var(--text-primary);
}

.dc-auth-card .subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 28px;
    font-weight: 500;
}

.dc-social-login {
    display: flex;
    gap: 12px;
}

.btn-social {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-social:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-md);
}

.dc-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 24px 0;
}

.dc-divider::before,
.dc-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
    opacity: 0.6;
}

.dc-divider::before {
    margin-right: 14px;
}

.dc-divider::after {
    margin-left: 14px;
}

.dc-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.dc-password-input {
    position: relative;
}

.dc-password-input input {
    padding-right: 44px;
}

.dc-password-input .btn-toggle-pwd {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.dc-password-input .btn-toggle-pwd:hover {
    color: var(--text-primary);
}

@media (max-width: 576px) {
    .dc-auth-wrapper {
        padding: 40px 16px;
    }
    .dc-auth-card {
        padding: 32px 24px;
    }
}

/* ==========================================
   PRODUCT VARIANT GROUPS & CARDS
   ========================================== */
.dc-variant-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Accordion Header */
.group-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.group-header:hover {
    background: var(--bg-secondary);
    border-color: var(--secondary);
}

.dc-variant-group.expanded .group-header {
    border-color: var(--secondary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--bg-surface);
}

.dc-variant-group .group-title {
    display: flex;
    align-items: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
}

/* Status Badge in Header */
.group-status-badge {
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-left: auto;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition-fast);
}

.group-status-badge.badge-free {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.group-status-badge.badge-paid {
    background: var(--secondary-soft);
    color: var(--secondary);
}

/* Chevron Arrow */
.chevron-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-variant-group.expanded .chevron-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Accordion Body */
.group-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-variant-group.expanded .group-body {
    max-height: 600px;
    border: 1.5px solid var(--secondary);
    border-top: none;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    background: var(--bg-surface);
    padding: 16px;
}

.dc-variant-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variant-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    position: relative;
    user-select: none;
}

.variant-card:hover {
    background: var(--bg-secondary);
    border-color: var(--secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.variant-card.selected {
    background: var(--secondary-soft);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* Radio Dot Indicator */
.card-radio-dot {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background: var(--bg-surface);
}

.variant-card.selected .card-radio-dot {
    border-color: var(--secondary);
}

.variant-card.selected .card-radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    display: block;
}

/* Card Icon */
.card-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card Content text */
.card-content {
    flex-grow: 1;
    min-width: 0;
}

.card-content .card-title {
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.card-content .card-desc {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.variant-card.selected .card-content .card-desc {
    color: var(--text-secondary);
}

/* Card Price tag */
.card-price {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    text-align: right;
}

.variant-card.selected .card-price {
    color: var(--secondary);
}

/* Popular Tag Badge */
.badge-card-popular {
    position: absolute;
    top: -9px;
    right: 20px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
    z-index: 2;
}

@media (max-width: 576px) {
    .variant-card {
        padding: 10px 12px;
        gap: 10px;
    }
    .card-icon {
        font-size: 1.15rem;
    }
    .card-content .card-title {
        font-size: 0.82rem;
    }
    .card-content .card-desc {
        font-size: 0.7rem;
    }
    .card-price {
        font-size: 0.85rem;
    }
}

/* ============ STATUS BADGE CAPSULES ============ */
.status-badge-custom {
    padding: 5px 12px;
    border-radius: var(--radius-full, 20px);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
}

.status-badge-custom.status-pending,
.status-badge-custom.status-draft {
    background: rgba(245, 158, 11, 0.08);
    color: var(--warning, #f59e0b);
}

.status-badge-custom.status-completed,
.status-badge-custom.status-active,
.status-badge-custom.status-resolved,
.status-badge-custom.status-paid,
.status-badge-custom.status-approved,
.status-badge-custom.status-available {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent, #10b981);
}

.status-badge-custom.status-failed,
.status-badge-custom.status-cancelled,
.status-badge-custom.status-rejected,
.status-badge-custom.status-revoked,
.status-badge-custom.status-banned {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger, #ef4444);
}

.status-badge-custom.status-processing,
.status-badge-custom.status-contacted,
.status-badge-custom.status-assigned {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary, #3b82f6);
}

.status-badge-custom.status-inactive,
.status-badge-custom.status-refunded {
    background: rgba(100, 116, 139, 0.08);
    color: var(--text-muted, #64748b);
}

/* ==========================================
   MOBILE & MOBILE 2-COLUMN OPTIMIZATIONS
   ========================================== */
@media (max-width: 576px) {
    /* Floating Action Buttons Auto Adjust */
    .dc-fab-group {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
    }
    .dc-fab {
        width: 46px !important;
        height: 46px !important;
        font-size: 20px !important;
        box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important;
    }
    
    /* 2-Column Product Cards Optimization */
    .dc-product-card .card-info {
        padding: 12px 10px !important;
    }
    .dc-product-card .card-title {
        font-size: 0.82rem !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
        /* Keep long product names readable in the two-column mobile carousel. */
        height: 5.4em !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
    }
    .card-thumb {
        aspect-ratio: 16/9 !important;
    }
    .card-badges-left {
        top: 6px !important;
        left: 6px !important;
        gap: 4px !important;
    }
    .badge-featured, .badge-new {
        font-size: 0.52rem !important;
        padding: 2px 6px !important;
        letter-spacing: 0.2px !important;
    }
    .card-discount-tag {
        top: 6px !important;
        right: 6px !important;
        font-size: 0.58rem !important;
        padding: 0 !important;
        width: 26px !important;
        height: 26px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .wishlist-btn-pill {
        top: 6px !important;
        right: 6px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 0.85rem !important;
    }
    .has-discount .wishlist-btn-pill {
        top: 38px !important;
    }
    .meta-cat {
        font-size: 0.58rem !important;
        margin-bottom: 2px !important;
        letter-spacing: 0.5px !important;
    }
    .dc-product-card .card-info .gap-3 {
        gap: 8px !important;
        margin-bottom: 10px !important;
        font-size: 0.68rem !important;
    }
    .card-price-row {
        margin-bottom: 10px !important;
        gap: 6px !important;
    }
    .price-sale {
        font-size: 0.98rem !important;
    }
    .price-mrp {
        font-size: 0.76rem !important;
    }
    .card-actions {
        gap: 6px !important;
    }
    .btn-add-cart {
        padding: 6px 8px !important;
        font-size: 0.78rem !important;
        border-radius: var(--radius-sm) !important;
        gap: 4px !important;
    }
    .btn-preview {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.88rem !important;
        border-radius: var(--radius-sm) !important;
    }
}

/* ==========================================
   HERO SECTION TITLE, SEARCH & BUTTONS
   ========================================== */
.dc-hero h1.hero-title {
    font-size: clamp(1.4rem, 2.5vw, 2.1rem) !important; /* Increased font size for desktop to make it larger and bold */
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title-line-1, .hero-title-line-2 {
    display: inline-block;
    white-space: nowrap; /* Fit exactly in single line per span to prevent wrapping on PC */
}

/* Gradient text colors */
.gradient-text-purple {
    background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}



@media (min-width: 992px) {
    .hero-left-col {
        flex: 0 0 60% !important;
        width: 60% !important;
        max-width: 60% !important;
    }
    .hero-right-col {
        flex: 0 0 40% !important;
        width: 40% !important;
        max-width: 40% !important;
    }
}

/* Custom Redesigned Hero Search Bar */
.hero-search-form-gradient {
    display: flex;
    align-items: center;
    background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box, linear-gradient(135deg, #3B82F6, #8B5CF6) border-box;
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(124, 58, 237, 0.08);
    transition: var(--transition);
}

.hero-search-form-gradient:focus-within {
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.25), 0 8px 15px -6px rgba(124, 58, 237, 0.15);
}

.hero-search-input-custom {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
}

.hero-search-input-custom::placeholder {
    color: #94A3B8;
}

.hero-search-btn-custom {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.2);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.hero-search-btn-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.3);
}

/* Custom Redesigned Action Buttons */
.btn-hero-primary-glossy {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-primary-glossy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.btn-hero-outline-light {
    background: #F8FAFC;
    color: #334155 !important;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-full);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-outline-light:hover {
    transform: translateY(-2px);
    background: #F1F5F9;
    border-color: #CBD5E1;
}

@media (max-width: 991px) {
    .hero-search-form-gradient {
        border-radius: var(--radius-full) !important;
        padding: 4px !important;
    }
    .hero-search-input-custom {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    .hero-search-btn-custom {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    .hero-action-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
    }
    .btn-hero-primary-glossy, .btn-hero-outline-light {
        flex: 1;
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
        justify-content: center;
    }
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-full);
    padding: 6px;
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}

.hero-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.hero-search-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 0.95rem;
    outline: none;
    color: var(--text-primary);
}

.hero-search-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-action-buttons a {
    padding: 14px 28px;
    text-align: center;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 1.15rem !important; /* Scaled down to prevent text wrapping into 4 lines on tablets */
        letter-spacing: -0.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 15px !important;
    }
    .hero-title-line-1, .hero-title-line-2 {
        white-space: nowrap !important; /* Force single line on mobile/tablet where there is 100% width and no overlap */
    }
    .hero-search-form {
        flex-direction: row !important; /* Side-by-side on mobile */
        border-radius: var(--radius-full) !important; /* Premium pill shape */
        padding: 4px !important; /* Compact padding */
        gap: 0 !important;
    }
    .hero-search-input {
        width: auto !important;
        flex-grow: 1 !important;
        padding: 10px 16px !important; /* Comfortable padding */
        border-bottom: none !important; /* Removed separator line */
        border-radius: 0 !important;
        text-align: left !important; /* Left-aligned for natural search feel */
        font-size: 0.88rem !important; /* Clear readable font size */
    }
    .hero-search-btn {
        width: 38px !important; /* Exact square width */
        height: 38px !important; /* Exact square height */
        max-width: none !important; /* Overrides the .dc-hero max-width override */
        padding: 0 !important; /* Removed text padding */
        font-size: 0.9rem !important; /* Clear search icon size */
        border-radius: var(--radius-full) !important; /* Circular button */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        flex: none !important; /* Prevents button from stretching into a pill */
    }
    .hero-action-buttons {
        display: flex !important;
        flex-direction: row !important; /* Side-by-side layout on mobile */
        align-items: center !important;
        justify-content: center !important; /* Centers the buttons container horizontally */
        gap: 8px !important; /* Compact gap */
        width: 100% !important;
        margin: 0 auto !important;
        max-width: 480px !important; /* Limits width on phablets and keeps it aligned */
    }
    .hero-action-buttons a {
        flex: 1 !important; /* Forces equal 50% width distribution */
        width: auto !important;
        max-width: none !important; /* Overrides the .dc-hero max-width override */
        padding: 11px 4px !important; /* Height matched, narrow horizontal padding to fit text */
        font-size: 0.72rem !important; /* Optimally sized to prevent clipping while staying legible */
        white-space: nowrap !important; /* Guarantees single-line text */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important; /* Centers icon and text exactly inside the button */
        gap: 4px !important; /* Spacing between icon and text */
        border-radius: var(--radius-md) !important;
        text-align: center !important;
    }
    .hero-action-buttons a i {
        font-size: 0.82rem !important;
        margin: 0 !important; /* Removes Bootstrap me-2 margin to center icon + text correctly */
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.08rem !important; /* Extra scale down on mobile to prevent overflow/overlap */
    }
}

/* ==========================================
   USER DASHBOARD STYLES
   ========================================== */
.dc-dash-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.dc-dash-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dc-dash-sidebar .user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 2px solid rgba(37,99,235,0.1);
}

.dc-dash-sidebar .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-dash-sidebar .user-info h6 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.dc-dash-sidebar .user-info small {
    color: var(--text-muted);
}

.dc-dash-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dc-dash-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dc-dash-sidebar .nav-link i {
    font-size: 1.1rem;
}

.dc-dash-sidebar .nav-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.dc-dash-sidebar .nav-link.active {
    background: var(--primary-soft);
    color: var(--primary);
}

/* Stat Cards */
.dc-dash-stat {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.dc-dash-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dc-dash-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.dc-dash-stat h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.dc-dash-stat p {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Overrides for Mobile Dashboard */
@media (max-width: 991px) {
    .dc-dash-sidebar {
        padding: 16px !important;
        margin-bottom: 8px !important;
    }
    .dc-dash-sidebar .user-info {
        display: flex;
        align-items: center;
        text-align: left;
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
        gap: 12px !important;
        border-bottom: none !important;
    }
    .dc-dash-sidebar .user-avatar {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        font-size: 1.2rem !important;
    }
    .dc-dash-sidebar .user-info h6 {
        margin-bottom: 2px !important;
        font-size: 0.9rem !important;
    }
    .dc-dash-sidebar .user-info small {
        font-size: 0.75rem !important;
    }
    .dc-dash-sidebar nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        gap: 8px !important;
        margin-left: -8px !important;
        margin-right: -8px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        border-top: 1px solid var(--border-color);
        padding-top: 12px !important;
    }
    .dc-dash-sidebar nav::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for clean look */
    }
    .dc-dash-sidebar .nav-link {
        white-space: nowrap !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
    }
    .dc-dash-stat {
        padding: 16px !important;
    }
    .dc-dash-stat .stat-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.15rem !important;
    }
    .dc-dash-stat h3 {
        font-size: 1.25rem !important;
    }
}

/* Premium Table Styles */
.dc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    vertical-align: middle;
}

.dc-table th, .dc-table td {
    padding: 14px 18px; /* High cell padding to prevent squishing */
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    white-space: nowrap; /* Prevents cell content wrapping and keeps it clean */
}

.dc-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.dc-table tbody tr {
    transition: background-color 0.2s ease;
}

.dc-table tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.02); /* Soft highlight on hover */
}

.dc-table td strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Decrease container width on desktop for a cleaner, more compact layout */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px !important;
    }
}

/* ==========================================
   WORLD-CLASS PRODUCTS PAGE
   ========================================== */

/* Products Hero */
.products-hero {
    background: radial-gradient(circle at top right, rgba(37,99,235,0.06), transparent 50%),
                radial-gradient(circle at bottom left, rgba(124,58,237,0.04), transparent 50%),
                var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(37,99,235,0.15);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-title);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.hero-stats-row {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.hero-stat {
    text-align: center;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    min-width: 100px;
    box-shadow: var(--shadow-sm);
}

.hero-stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Category Chips */
.category-chips-wrapper {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.category-chips-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.category-chips-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-title);
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.category-chip:hover {
    background: var(--bg-primary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.category-chip.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.category-chip .chip-count {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.category-chip.active .chip-count {
    background: rgba(255,255,255,0.25);
}

/* Active Filters Bar */
.active-filters-bar {
    background: var(--primary-soft);
    border-bottom: 1px solid rgba(37,99,235,0.12);
    padding: 12px 0;
}

.active-filters-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-all-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.clear-all-btn:hover {
    color: var(--danger);
}

/* Products Main Content */
.products-main-content {
    padding: 30px 0 60px;
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.products-toolbar .results-info h2 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
    letter-spacing: -0.3px;
}

.products-toolbar .results-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.btn-filter-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.btn-filter-mobile:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-badge {
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    display: none;
}

@media (min-width: 576px) {
    .sort-label {
        display: inline-flex;
        align-items: center;
    }
}

.sort-select {
    width: auto;
    min-width: 150px;
    font-size: 0.85rem;
    padding: 10px 36px 10px 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Product Card Wrapper (for grid) */
.dc-product-card-wrapper {
    height: 100%;
}

/* Updated Product Card */
.dc-product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.dc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Card Thumbnail */
.card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    overflow: hidden;
}

.card-thumb .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-product-card:hover .card-thumb .product-img {
    transform: scale(1.05);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 2.5rem;
}

/* Card Badges */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.badge-new {
    background: var(--accent);
    color: #FFFFFF;
}

.badge-featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

/* Hover Overlay */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.dc-product-card:hover .card-hover-overlay {
    opacity: 1;
}

.overlay-actions {
    display: flex;
    gap: 10px;
}

.overlay-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.overlay-btn:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.add-to-cart-btn-quick {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.add-to-cart-btn-quick:hover {
    background: var(--primary-hover) !important;
    color: #FFFFFF !important;
}

/* Card Info */
.card-info {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-category {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.dc-product-card .card-title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dc-product-card .card-title a {
    color: var(--text-primary);
    transition: var(--transition-fast);
    text-decoration: none;
}

.dc-product-card .card-title a:hover {
    color: var(--primary);
}

/* Card Meta */
.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Rating */
.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.card-rating .stars {
    display: flex;
    gap: 2px;
    font-size: 0.7rem;
}

.card-rating .rating-number {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-sale {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-title);
}

.price-mrp {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Card Actions */
.card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-cart {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-wishlist {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.btn-wishlist:hover {
    background: var(--bg-primary);
    color: var(--danger);
    border-color: var(--danger);
    transform: translateY(-1px);
}

.btn-wishlist.active {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}





@media (max-width: 991px) {
    .products-hero {
        padding: 30px 0 25px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats-row {
        display: none;
    }

    .category-chips-wrapper {
        top: 60px;
    }

    .products-toolbar {
        padding: 12px 16px;
    }

    .products-toolbar .results-info h2 {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .products-hero {
        padding: 24px 0 20px;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .category-chip {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .products-toolbar {
        padding: 12px;
        gap: 10px;
    }

    .btn-filter-mobile {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .sort-select {
        min-width: 120px;
        font-size: 0.82rem;
    }

    .card-info {
        padding: 14px;
    }

    .dc-product-card .card-title {
        font-size: 0.92rem;
    }

    .price-sale {
        font-size: 1.05rem;
    }

    .btn-add-cart {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
}

/* Smooth scroll for category chips */
.category-chips-scroll {
    scroll-behavior: smooth;
}

/* Reveal animation for product cards */
.dc-product-card.dc-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.dc-product-card.dc-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Quick view overlay for touch devices (tap instead of hover) */
@media (hover: none) {
    .card-hover-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
        padding-bottom: 12px;
    }

    .overlay-actions {
        transform: translateY(0);
    }

    .dc-product-card .card-thumb .product-img {
        transform: none;
    }
}

/* ==========================================
   HOMEPAGE PREMIUM ENHANCEMENTS
   ========================================== */
.dc-hero {
    padding: 70px 0 90px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 45%),
                radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.05), transparent 45%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    z-index: 1;
    opacity: 0.30;
    pointer-events: none;
    animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: rgba(37, 99, 235, 0.16); top: 8%; left: -5%; }
.orb-2 { width: 450px; height: 450px; background: rgba(124, 58, 237, 0.10); bottom: 5%; right: -5%; }
.orb-3 { width: 280px; height: 280px; background: rgba(59, 130, 246, 0.08); top: 40%; left: 45%; }

@keyframes orbFloat {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.15); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.hero-left-col {
    position: relative;
    z-index: 10;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--font-title);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.hero-title .line {
    display: block;
    margin-top: 2px;
}
.gradient-text-purple {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
    max-width: 540px;
    margin-bottom: 28px;
}
.hero-search-form:focus-within {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 15px 24px;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    color: var(--text-primary);
    font-weight: 450;
    min-width: 0;
}
.hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-search-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 14px 28px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    margin: 4px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
}
.hero-search-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.08);
}

.hero-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-title);
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
}
.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.10);
    color: #fff;
}

.btn-hero-video {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #f43f5e, #2563eb);
    background-size: 300% 300%;
    border: none;
    color: #ffffff;
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 700;
    font-family: var(--font-title);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
    position: relative;
    z-index: 1;
    animation: gradientShift 5s ease infinite, watchPulse 2.2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
}
.btn-hero-video:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 35px rgba(124, 58, 237, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.btn-hero-video i {
    color: #fff;
    animation: playBounce 1.6s ease-in-out infinite;
    display: inline-block;
}

.video-play-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.34);
}
.video-play-icon i {
    margin-left: 2px;
    font-size: 0.95rem;
}
.video-duration {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.68rem;
    font-weight: 700;
}

/* Animated Dashboard Graphic */
.hero-right-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.ambient-glow-1 { top: -10%; right: 10%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%); }
.ambient-glow-2 { bottom: 0; left: 10%; width: 250px; height: 250px; background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%); }

/* Lottie Animation Wrapper */
.lottie-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.lottie-card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 255, 0.88) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(39, 58, 110, 0.14), 0 2px 6px rgba(39, 58, 110, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 5;
    transition: var(--transition);
    animation: lottieFloat 7s ease-in-out infinite;
}

.lottie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 75px rgba(39, 58, 110, 0.2), 0 2px 6px rgba(39, 58, 110, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lottie-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.lottie-card dotlottie-wc {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
}

@keyframes lottieFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Chart */
.hero-chart {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 300px;
}
.testimonial-trust-strip { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin:-2px 0 26px; }
.testimonial-trust-strip span { padding:7px 12px; border-radius:999px; background:#fff; border:1px solid var(--border-color); color:var(--text-secondary); font-size:.75rem; font-weight:700; }
.testimonial-trust-strip i { color:var(--primary); margin-right:4px; }
.testimonial-topline { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.dc-testimonial .quote-mark { font-size:1.65rem; color:rgba(37, 99, 235, .28); }

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.chart-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.chart-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(45, 212, 191, 0.16));
    color: var(--accent);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.08);
}

.chart-body {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-label {
    width: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.chart-bar-bg {
    flex: 1;
    height: 10px;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.7), rgba(241, 245, 249, 0.95));
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.chart-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #4f46e5 52%, #7c3aed 100%);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: chartShimmer 3s ease-in-out infinite;
}

@keyframes chartShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.chart-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    margin-top: 4px;
}

.chart-stat {
    text-align: center;
    padding: 10px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95), rgba(238, 242, 255, 0.72));
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chart-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chart-stat-value {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.chart-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

.lottie-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    animation: lottieBadgeFloat 5s ease-in-out infinite;
}

.lottie-float-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

.lottie-float-1 {
    top: -10px;
    right: -15px;
    animation-delay: 0s;
}

.lottie-float-2 {
    bottom: 20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes lottieBadgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.lottie-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lottie-badge-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.lottie-badge-value {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 800;
    font-family: var(--font-title);
    line-height: 1.2;
}

@media (max-width: 992px) {
    .lottie-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .lottie-card {
        padding: 20px;
    }
    .lottie-card dotlottie-wc {
        width: 260px !important;
        height: 260px !important;
    }
}

.hero-right-col .animate__animated {
    animation: floatIllustration 7s ease-in-out infinite;
}

@keyframes floatIllustration {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}

.social-proof-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.avatar-group {
    display: flex;
    align-items: center;
}
.avatar-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-right: -12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.avatar-bubble:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 10;
}
.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    margin-right: 0;
    flex-shrink: 0;
}
.social-proof-text .proof-text {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}
.social-proof-text .proof-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .hero-title { font-size: 2.4rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.55rem; }
    .hero-search-form {
        flex-direction: row !important;
        padding: 4px !important;
        border-radius: var(--radius-full) !important;
        background-image: linear-gradient(var(--bg-surface), var(--bg-surface)), linear-gradient(135deg, #3B82F6, #8B5CF6) !important;
        background-origin: border-box !important;
        background-clip: padding-box, border-box !important;
        border: 1.5px solid transparent !important;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08) !important;
    }
    .hero-search-input {
        padding: 9px 14px !important;
        font-size: 0.88rem !important;
        width: 100% !important;
    }
    .hero-search-btn {
        justify-content: center !important;
        padding: 9px 16px !important;
        font-size: 0.85rem !important;
        margin: 0 !important;
        gap: 4px !important;
    }

    /* Keep the marketplace title intentional and readable on small screens. */
    .dc-hero .hero-title {
        font-size: clamp(1.05rem, 5.9vw, 1.55rem) !important;
        line-height: 1.22 !important;
        letter-spacing: -0.035em !important;
    }
    .dc-hero .hero-title .line {
        white-space: nowrap;
        margin-top: 5px;
    }
    .dc-hero .hero-title-intro {
        font-size: 0.96em;
    }
    .dc-hero .hero-title-offering {
        font-size: 0.94em;
    }

    /* Mobile video CTA: clear play affordance without the oversized glow. */
    .hero-action-buttons > .btn-hero-primary,
    .hero-action-buttons > .btn-hero-video {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0;
        min-height: 52px;
    }
    .hero-action-buttons .btn-hero-video {
        height: 52px;
        min-height: 52px;
        justify-content: center;
        gap: 6px;
        padding: 7px 4px;
        border-radius: 14px;
        background: linear-gradient(135deg, #2563eb 0%, #4f46e5 52%, #7c3aed 100%);
        box-shadow: 0 10px 22px rgba(79, 70, 229, 0.24);
        animation: none;
    }
    .hero-action-buttons .btn-hero-video:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(79, 70, 229, 0.32);
    }
    .hero-action-buttons .btn-hero-video .video-play-icon {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        background: #fff;
        border: none;
        box-shadow: 0 3px 8px rgba(15, 23, 42, 0.14);
    }
    .hero-action-buttons .btn-hero-video .video-play-icon i {
        color: #4f46e5;
        animation: none;
    }
}
@media (max-width: 380px) {
    .hero-action-buttons .btn-hero-video .video-duration {
        display: none;
    }
}
@media (max-width: 400px) {
    .hero-title { font-size: 1.3rem; }
    .hero-search-btn span { display: none !important; }
    .hero-search-btn { padding: 9px 12px !important; }
}

@media (min-width: 992px) {
    .hero-left-col { flex: 0 0 55% !important; width: 55% !important; max-width: 55% !important; }
    .hero-right-col { flex: 0 0 45% !important; width: 45% !important; max-width: 45% !important; }
}

.dc-stats-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 22px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: -30px;
    position: relative;
    z-index: 20;
}
.dc-stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.dc-stat-number {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1px;
}
.dc-stat-number .accent {
    color: var(--primary);
}
.dc-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 2px;
}
.dc-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.dc-trust-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}
.dc-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.dc-trust-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Video Modal */
.dc-video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.dc-video-modal-card {
    background: #000;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.dc-video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ==========================================================================
   AURORA BACKGROUND & CURSOR GLOW (AK GRAF SYSTEM)
   ========================================================================== */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}
[data-theme="dark"] .cursor-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: var(--aurora-opacity);
}

.aurora-bg .aurora-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    animation: auroraFloat 18s ease-in-out infinite alternate;
}

.aurora-bg .aurora-layer:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, #6366F1 0%, transparent 70%);
    animation-delay: 0s;
    animation-duration: 20s;
}
.aurora-bg .aurora-layer:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    animation-delay: -6s;
    animation-duration: 22s;
}
.aurora-bg .aurora-layer:nth-child(3) {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
    animation-delay: -12s;
    animation-duration: 18s;
}
.aurora-bg .aurora-layer:nth-child(4) {
    width: 350px;
    height: 350px;
    top: 20%;
    right: 20%;
    background: radial-gradient(circle, #A78BFA 0%, transparent 70%);
    animation-delay: -4s;
    animation-duration: 24s;
}

@keyframes auroraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(60px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 60px) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
    100% {
        transform: translate(-50px, -20px) scale(1);
    }
}

/* ==========================================================================
   GLOBAL DARK MODE & TEXT CONTRAST FIXES
   ========================================================================== */

/* 1. All Categories Button Branding & Visibility */
.all-cat-btn {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border: none !important;
}
.all-cat-btn:hover {
    background: var(--primary-hover) !important;
    color: #FFFFFF !important;
}

/* 2. Dropdown Menu Opaque Styling & Text Readability */
.dropdown-menu,
.dropdown-menu-dark {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 8px 0 !important;
    z-index: 2000 !important;
}

.dropdown-menu .dropdown-item,
.dropdown-menu-dark .dropdown-item {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    background: transparent !important;
    transition: var(--transition) !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:hover {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary) !important;
}

.dropdown-menu .dropdown-divider,
.dropdown-menu-dark .dropdown-divider {
    border-color: var(--border-color) !important;
}

.dropdown-menu .dropdown-item-text,
.dropdown-menu-dark .dropdown-item-text {
    color: var(--text-primary) !important;
}

/* 3. Dark Mode Header Styling overrides */
[data-theme="dark"] .dc-header {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}

[data-theme="dark"] .header-top {
    background: transparent !important;
}

[data-theme="dark"] .header-nav-row {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .nav-links-row a {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .nav-links-row a:hover,
[data-theme="dark"] .nav-links-row a.active {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-icon-circle {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .btn-signin-outline {
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .btn-signin-outline:hover {
    background: var(--bg-tertiary) !important;
}

/* 4. Fix btn-dc-dark contrast in both modes */
.btn-dc-dark {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
}
.btn-dc-dark:hover {
    background: var(--bg-secondary) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* 5. Fix dc-testimonial background and text contrast in dark mode */
[data-theme="dark"] .dc-testimonial {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}
[data-theme="dark"] .dc-testimonial .author {
    border-top: 1px solid var(--border-color) !important;
}
[data-theme="dark"] .dc-author-avatar {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}
[data-theme="dark"] .dc-testimonial .author h6 {
    color: var(--text-primary) !important;
}

/* 6. Fix auth card and contact card background in dark mode */
[data-theme="dark"] .dc-auth-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* 7. Fix categories strip cards icon background in dark mode */
[data-theme="dark"] .dc-category-card .cat-icon {
    background: var(--bg-tertiary) !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* 8. Fix testimonial strip tags background in dark mode */
[data-theme="dark"] .testimonial-trust-strip span {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* 9. Fix lottie-card and illustration badges contrast in dark mode */
[data-theme="dark"] .lottie-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-xl) !important;
}
[data-theme="dark"] .lottie-float-badge {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}
[data-theme="dark"] .lottie-badge-value,
[data-theme="dark"] .chart-title,
[data-theme="dark"] .chart-label,
[data-theme="dark"] .chart-stat-value {
    color: var(--text-primary) !important;
}
[data-theme="dark"] .chart-stat-label,
[data-theme="dark"] .lottie-badge-label {
    color: var(--text-secondary) !important;
}
[data-theme="dark"] .chart-bar-bg {
    background: var(--bg-tertiary) !important;
}

/* 10. Dynamic typing cursor & sliding coding bars inside hero illustration */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.typing-cursor {
    display: inline-block;
    width: 6px;
    height: 12px;
    background: #38bdf8;
    margin-left: 3px;
    animation: cursorBlink 0.9s step-end infinite;
    vertical-align: middle;
}
@keyframes fillBar {
    from { width: 0; }
    to { width: var(--fill-to); }
}
.chart-bar-animate {
    animation: fillBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
@keyframes floatEditor {
    0% { transform: translateY(0px) rotate(-1.5deg); }
    100% { transform: translateY(-8px) rotate(1deg); }
}
.lottie-code-editor {
    animation: floatEditor 5s ease-in-out infinite alternate;
}

/* 11. PC Monitor Mockup IDE editor styling */
.pc-mockup {
    position: relative;
    width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}
.monitor-frame {
    width: 320px;
    height: 220px;
    background: #1e1e2e;
    border: 10px solid #2d2d3d;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.screen-glare {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 3;
}
.monitor-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0f0f16;
}
.ide-header {
    height: 24px;
    background: #181824;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}
.ide-dots {
    display: flex;
    gap: 5px;
}
.ide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.ide-dot.red { background: #EF4444; }
.ide-dot.yellow { background: #FBBF24; }
.ide-dot.green { background: #10B981; }
.ide-title {
    font-size: 0.65rem;
    color: #94A3B8;
    font-family: var(--font-body);
    font-weight: 500;
}
.ide-body {
    flex: 1;
    display: flex;
    padding: 10px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.68rem;
    line-height: 1.4;
    text-align: left;
    overflow: hidden;
}
.line-numbers {
    display: flex;
    flex-direction: column;
    color: #4a4a6a;
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    text-align: right;
    user-select: none;
}
.code-lines {
    padding-left: 8px;
    flex: 1;
}
.code-line {
    white-space: nowrap;
}
.code-line.indent { padding-left: 8px; }
.code-line.indent2 { padding-left: 16px; }
.code-line.indent3 { padding-left: 24px; }
.code-tag { color: #818cf8; font-weight: bold; }
.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #f472b6; }
.code-class { color: #38bdf8; }
.code-var { color: #fbbf24; }
.code-str { color: #34d399; }
.code-func { color: #60a5fa; }

.ide-footer {
    height: 18px;
    background: #141420;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 0.58rem;
    color: #4a4a6a;
}
.monitor-neck {
    width: 24px;
    height: 28px;
    background: #232333;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.monitor-base {
    width: 80px;
    height: 6px;
    background: #2d2d3d;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* 12. Floating Language Logos around monitor mockup */
.lottie-lang-logo {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}
.lottie-lang-logo:hover {
    transform: scale(1.15) rotate(12deg) !important;
    box-shadow: var(--shadow-lg);
}

@keyframes floatHtml {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-8px, -12px) rotate(8deg); }
}
@keyframes floatCss {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, 8px) rotate(-10deg); }
}
@keyframes floatPhp {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(8px, -10px) rotate(12deg); }
}
@keyframes floatNode {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-10px, 10px) rotate(-8deg); }
}

.lottie-lang-html {
    top: 5%;
    left: -20px;
    animation: floatHtml 4s ease-in-out infinite alternate;
}
.lottie-lang-css {
    bottom: 10%;
    right: -30px;
    animation: floatCss 5s ease-in-out infinite alternate 1s;
}
.lottie-lang-php {
    top: 15%;
    right: -40px;
    animation: floatPhp 4.5s ease-in-out infinite alternate 0.5s;
}
.lottie-lang-node {
    bottom: -15px;
    left: 20px;
    animation: floatNode 4.8s ease-in-out infinite alternate 1.5s;
}

/* Clean background style overrides for Light Mode */
.cursor-glow,
.orb-1,
.orb-2,
.orb-3,
.ambient-glow-1,
.ambient-glow-2 {
    opacity: 0 !important;
    display: none !important;
}

.dc-hero,
.dc-cta {
    background: #FFFFFF !important;
}
.dc-page-hero,
.products-hero {
    background: var(--bg-secondary) !important;
}

/* Enable background orbs and cursor glow in Dark Mode only */
[data-theme="dark"] .cursor-glow {
    opacity: 1 !important;
    display: block !important;
}
[data-theme="dark"] .orb-1,
[data-theme="dark"] .orb-2,
[data-theme="dark"] .orb-3,
[data-theme="dark"] .ambient-glow-1,
[data-theme="dark"] .ambient-glow-2 {
    opacity: 1 !important;
    display: block !important;
}

[data-theme="dark"] .dc-hero,
[data-theme="dark"] .dc-cta {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.07), transparent 45%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 45%),
                var(--bg-primary) !important;
}
[data-theme="dark"] .dc-page-hero,
[data-theme="dark"] .products-hero {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.06), transparent 50%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.04), transparent 50%),
                var(--bg-secondary) !important;
}
