/* ==========================================================================
   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: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-soft: rgba(37, 99, 235, 0.08);
    --secondary: #7C3AED;
    --secondary-hover: #6D28D9;
    --secondary-soft: rgba(124, 58, 237, 0.08);
    --accent: #10B981;
    --accent-hover: #059669;
    --accent-soft: rgba(16, 185, 129, 0.08);
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Neutrals */
    --bg-primary: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-color: #E5E7EB;
    --border-light: #F1F5F9;
    --border-glass: rgba(229, 231, 235, 0.5);

    /* Typography Color */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;

    /* Fonts */
    --font-title: 'Plus Jakarta Sans', 'Poppins', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Shadows (Stripe-Style Layered Shadows) */
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.04), 0 1px 3px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 20px -8px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 25px 40px -15px rgba(0, 0, 0, 0.06), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 10px 40px -10px rgba(37, 99, 235, 0.12);
    --shadow-glow-purple: 0 10px 40px -10px rgba(124, 58, 237, 0.12);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Layout & Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --backdrop-blur: blur(16px);
}

/* ==========================================
   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 p:first-child::first-letter {
    float: left;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #2563EB;
    margin-right: 12px;
    margin-top: 8px;
}

.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
   ========================================== */
.dc-category-card {
    background: transparent !important; /* Transparent background */
    border: none !important; /* Removed outer border */
    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; /* Removed outer shadow */
    position: relative;
    overflow: visible; /* Prevent badge clipping */
    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%; /* Perfect circle icon box */
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important; /* Light blue gradient background */
    border: 1.5px solid #BFDBFE !important; /* Soft blue border outline */
    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; /* Allow absolute count badge to float outside */
    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; /* Rich blue color on hover */
    color: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); /* Glow shadow */
    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);
}

/* absolute positioned circle badge on top-right of circular icon container */
.dc-category-card .cat-count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3B82F6; /* Vibrate blue count badge */
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF; /* Crisp white border */
    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 and scroller styles */
.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;
}

/* Product Cards */
.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: 2038/1558;
    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;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.wishlist-btn-pill {
    position: absolute;
    top: 48px;
    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;
}

.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; /* 22px */
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.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);
}

/* ==========================================
   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;
}

/* ==========================================
   TESTIMONIALS & FAQ & CTA
   ========================================== */
.dc-testimonial {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.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: 16px;
    font-size: 0.95rem;
}

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

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

.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.8rem;
    font-weight: 500;
}

/* CTA */
.dc-cta {
    padding: 60px 0;
}

.dc-cta-inner {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 45%), var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.dc-cta-inner h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.dc-cta-inner p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================
   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;
        height: 2.7em !important; /* Forces title to exactly 2 lines height */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    .card-thumb {
        aspect-ratio: 2038/1558 !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: 2px 6px !important;
    }
    .wishlist-btn-pill {
        top: 32px !important;
        right: 6px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 0.85rem !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;
    }

    /* Category horizontal scroll/slider */
    .category-scroll-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: none !important;
        padding-bottom: 10px !important;
    }
    .category-scroll-row::-webkit-scrollbar {
        display: none !important; /* Hides scrollbar */
    }
    .category-scroll-row > div, .category-scroll-row .category-slide-item {
        flex: 0 0 125px !important;
        width: 125px !important;
        max-width: 125px !important;
    }
}

@media (max-width: 576px) {
    .category-scroll-row > div, .category-scroll-row .category-slide-item {
        flex: 0 0 125px !important;
        width: 125px !important;
        max-width: 125px !important;
    }
    .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;
}
