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

:root {
    --primary-color: #0A1F44; /* Executive Deep Navy */
    --deep-navy: #061329;     /* Deep Navy Base */
    --accent-color: #0D9488;  /* KESYO Teal */
    --km-teal: #0D9488;       /* KESYO Teal */
    --km-teal-dark: #0F766E;  /* KESYO Dark Teal */
    --km-teal-light: #CCFBF1; /* KESYO Light Teal */
    --gold-color: #F59E0B;    /* Warm Gold Accent */
    --green-color: #059669;   /* Emerald Green Purity */
    --purple-color: #7C3AED;  /* Accent Purple */
    --orange-color: #FF7000;  /* High-priority CTA Orange */
    --orange-dark: #EA580C;   /* Dark Orange Hover */
    --light-bg: #F8FAFC;      /* Warm Off-White Background */
    --white: #FFFFFF;
    --surface-white: #FFFFFF;
    --text-dark: #0F172A;     /* Slate Dark Text */
    --text-muted: #64748B;    /* Muted Slate Text */
    --border-color: #E2E8F0;  /* Subtle Border */
    --border-subtle: #F1F5F9;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-max: 1240px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.07);
    --shadow-lg: 0 16px 36px rgba(10, 31, 68, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations & Glassmorphism Utilities */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
    .fade-in-up { animation: none; opacity: 1; transform: none; }
}
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(11, 31, 58, 0.05);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 194, 255, 0.4);
}

.btn-primary:hover {
    background-color: #00a3d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

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

.action-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.action-icon:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2a5c 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    object-fit: cover;
    max-height: 500px;
    width: 100%;
}

/* Categories Section */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.category-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Featured Products */
.products-bg {
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.product-img-wrap {
    height: 220px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.product-img-wrap img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-rating {
    color: var(--gold-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    background-color: rgba(0, 194, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* How It Works */
.steps-bg {
    background-color: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Banner Sections */
.promo-banner {
    background-color: var(--primary-color);
    border-radius: 16px;
    padding: 60px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.promo-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.promo-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.promo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.promo-tag {
    background-color: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.promo-image img {
    max-height: 350px;
    object-fit: contain;
}

.banner-grocery {
    background-color: #064e3b;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.trust-item h3 {
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00C2FF 0%, #0088b3 100%);
    text-align: center;
    padding: 100px 20px;
    color: var(--white);
}

.cta-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--light-bg);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--white);
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a0aec0;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .promo-banner {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }
    
    .promo-tags {
        justify-content: center;
    }
    
    .promo-image {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .section {
        padding: 40px 0; /* Reduced from 60px/80px */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .nav-links, .header-actions {
        display: none; /* In a real app, you'd toggle a class via JS for the mobile menu */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 60px 0; /* Reduced from 100px */
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .cta-section {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .category-grid, .features-grid, .trust-grid, .steps-container {
        gap: 15px; /* Reduced gap on mobile */
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
}
/* --- New Additions (Authentication, Dashboard, Explore, Mobile Menu) --- */

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.explore-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: block;
}
.explore-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}
.explore-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.explore-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.explore-card p {
    color: var(--accent-color);
    font-weight: 600;
}

/* Auth Cards - Premium UI */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background: linear-gradient(135deg, #F9FBFC 0%, #E6F3FA 100%);
}
.auth-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(11, 27, 53, 0.04);
    border: 1px solid #DCE7EF;
    width: 100%;
    max-width: 520px;
}
.auth-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 800;
    color: #0B1B35;
}
.auth-subtitle {
    text-align: center;
    margin-bottom: 24px;
    font-size: 15px;
    color: #667085;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #172033;
}
.form-control {
    width: 100%;
    height: 54px;
    padding: 14px 16px;
    border: 1px solid #DCE7EF;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.2s ease;
    background: #FFFFFF;
}
.form-control:focus {
    outline: none;
    border-color: #16B1D0;
    box-shadow: 0 0 0 3px rgba(22,177,208,0.12);
}
.password-wrap {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #667085;
    font-size: 20px;
    padding: 5px; /* Increase touch target */
}
.btn-auth {
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(to right, #16B1D0, #22D3EE);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 177, 208, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-auth:hover {
    box-shadow: 0 6px 16px rgba(22, 177, 208, 0.35);
    transform: translateY(-1px);
}
.btn-auth:active {
    transform: scale(0.98);
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #667085;
}
.auth-link {
    color: #16B1D0;
    font-weight: 600;
}
.terms-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 24px;
    color: #667085;
}
.terms-row input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #16B1D0;
}
.terms-row label {
    font-weight: 400 !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

@keyframes authFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-fade-in {
    animation: authFadeInUp 0.35s ease-out forwards;
}

/* Auth Mobile Optimization */
@media (max-width: 576px) {
    .auth-wrapper {
        padding: 14px;
        align-items: flex-start;
    }
    .auth-card {
        width: calc(100% - 28px);
        margin: 14px auto;
        padding: 24px 20px;
        border-radius: 20px;
    }
    .auth-title {
        font-size: 28px; /* Slightly scaled for small phones */
    }
    .form-group label {
        font-size: 16px;
    }
    .form-control, .btn-auth {
        height: 52px;
    }
}

/* Mobile Menu Overlay & Animation */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.mobile-menu-overlay.active {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
}
.mobile-menu-content {
    background: var(--white);
    position: absolute;
    right: -100%; /* Start off-screen */
    top: 0;
    height: 100%;
    width: min(85vw, 320px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}
.mobile-menu-overlay.active .mobile-menu-content {
    right: 0; /* Slide in */
}

/* Menu Header */
.mobile-menu-header {
    background: #ffffff;
    color: var(--primary-color);
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: white;
}
.mobile-logo span {
    color: var(--gold-color);
}
.close-menu-btn {
    background: transparent;
    border: none;
    color: #64748b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.close-menu-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* Menu Links */
.mobile-menu-links {
    padding: 20px 15px;
    flex: 1;
}
.mobile-menu-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #334155;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(15px);
}
.mobile-menu-overlay.active .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-menu-links a:nth-child(8) { transition-delay: 0.4s; }

.mobile-menu-links a:hover {
    background: #f8fafc;
    color: var(--primary-color);
    transform: translateX(5px) !important; /* override the slide-up transform on hover */
}

.menu-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.menu-icon {
    font-size: 1.1rem;
    transition: color 0.3s;
}

.menu-separator {
    height: 1px;
    background: #f1f5f9;
    margin: 15px 0 20px;
    width: 100%;
}

/* Menu Footer (Buttons) */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s;
}
.menu-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}
.premium-cta-btn {
    background: var(--accent-color) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(255, 112, 0, 0.3);
    border: none;
}
.premium-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 112, 0, 0.4);
}
.menu-btn-outline {
    background: white;
    border: 1px solid #cbd5e1;
    color: var(--primary-color) !important;
}
.menu-btn-outline:hover {
    background: #f1f5f9;
}

/* General Page formatting */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-title {
    color: var(--white);
    font-size: 2.5rem;
}
/* --- DASHBOARD SPECIFIC STYLES --- */
.dash-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--light-bg);
}
.dash-sidebar {
    width: 275px;
    background: linear-gradient(180deg, #062B52 0%, #082F55 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: hidden;
    z-index: 1000;
    transition: transform 0.3s ease;
}
.dash-brand {
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.dash-brand a {
    color: var(--white);
}
.dash-nav {
    padding: 20px 10px;
    flex: 1;
}
.dash-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #D7E7F5;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 4px;
    margin-bottom: 4px;
}
.dash-nav a.income-nav {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #FFFFFF;
}
.dash-nav a.income-nav i {
    font-size: 20px;
    color: #FFFFFF;
}
.dash-nav a:hover, .dash-nav a.active {
    background-color: #16B8E8;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(22,184,232,0.3);
}
.dash-nav a:hover i, .dash-nav a.active i {
    color: #FFFFFF;
}
.dash-nav i {
    width: 28px;
    font-size: 18px;
    margin-right: 10px;
}
.sidebar-section-title {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.sidebar-section-title:hover {
    color: var(--white);
}
.sidebar-section-title .accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.sidebar-section-title.open .accordion-icon {
    transform: rotate(180deg);
}
.sidebar-section-content {
    display: none;
    flex-direction: column;
}
.sidebar-section-content.open {
    display: flex;
}
.dash-support {
    padding: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.dash-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}
.dash-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 999;
}
.dash-header-left {
    display: flex;
    align-items: center;
}
.dash-mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    margin-right: 20px;
    cursor: pointer;
}
.dash-search {
    position: relative;
    width: 300px;
}
.dash-search input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    background: var(--light-bg);
}
.dash-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.dash-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.dash-header-right a {
    color: var(--text-color);
    font-size: 1.2rem;
    position: relative;
}
.dash-header-right a .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #e11d48;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
}
.dash-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.dash-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}
.dash-content {
    padding: 30px;
    flex: 1;
}
.dash-welcome {
    margin-bottom: 30px;
}
.dash-welcome h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.dash-welcome p {
    color: var(--text-muted);
}
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.dash-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--accent-color);
}
.dash-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(0, 194, 255, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
}
.dash-card-info h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.dash-card-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.dash-section {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.dash-section-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.action-btn {
    display: block;
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}
.action-btn i {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}
.action-btn:hover {
    border-color: var(--accent-color);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.empty-state {
    text-align: center;
    padding: 40px 20px;
}
.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 15px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Dashboard Table */
.dash-table {
    width: 100%;
    border-collapse: collapse;
}
.dash-table th, .dash-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.dash-table th {
    background: var(--light-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================================
   KESYO MART — COMPREHENSIVE MOBILE DASHBOARD RESPONSIVE CSS
   Card-Row Table Approach: Converts wide tables to stacked cards
   on mobile. Applied to ALL pages using dash_header.php.
   ============================================================ */

/* Global overflow guard */
html, body {
    overflow-x: hidden;
}

/* ========== CARD-ROW RESPONSIVE TABLE ========== */
/* On mobile, .mlm-table rows behave like cards, not rows.    */
/* Each <td> shows its label (from data-label attr) on the left */
/* and its value on the right — readable on any width.         */
@media (max-width: 768px) {

    /* Force full-width content area, no overflow */
    .dash-main, .dash-content {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .dash-content {
        padding: 12px !important;
    }
    .mlm-section {
        padding: 14px 12px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-bottom: 16px !important;
    }
    .mlm-section h3 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        font-weight: 700 !important;
        white-space: normal !important;
    }

    /* --- Income Overview Cards: 2 per row --- */
    .mlm-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .mlm-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .mlm-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .mlm-card-colored {
        padding: 14px 10px !important;
        min-height: 110px !important;
        border-radius: 14px !important;
    }
    .mlm-card-colored h4 {
        font-size: 11px !important;
        margin-bottom: 6px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    .mlm-card-colored h2 {
        font-size: 18px !important;
        white-space: nowrap !important;
    }
    .mlm-card-icon { font-size: 18px !important; margin-bottom: 6px !important; }

    /* --- CARD-ROW TABLE: Main transform --- */
    .mlm-table-wrap {
        overflow: visible !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        margin-top: 0 !important;
    }
    .mlm-table {
        border: none !important;
        width: 100% !important;
    }
    /* Hide table header row on mobile */
    .mlm-table thead { display: none !important; }
    /* Each row becomes a card */
    .mlm-table tbody tr {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 12px 14px !important;
        margin-bottom: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }
    .mlm-table tbody tr:last-child { margin-bottom: 0 !important; }
    /* Each cell becomes a label+value row */
    .mlm-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 5px 0 !important;
        border-bottom: 1px dashed #f1f5f9 !important;
        font-size: 13px !important;
        white-space: normal !important;
        word-break: break-word !important;
        min-height: 0 !important;
    }
    .mlm-table tbody td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    /* data-label shown as left column */
    .mlm-table tbody td::before {
        content: attr(data-label);
        font-weight: 700 !important;
        font-size: 11px !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        min-width: 90px !important;
        max-width: 95px !important;
        flex-shrink: 0 !important;
        padding-right: 8px !important;
        line-height: 1.4 !important;
        padding-top: 1px;
    }
    /* Cell value on the right */
    .mlm-table tbody td > * {
        text-align: right !important;
        word-break: break-word !important;
    }
    /* Badge/span still readable */
    .mlm-badge {
        font-size: 10px !important;
        padding: 3px 7px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* --- Stack flex sections vertically --- */
    .mlm-flex-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .mlm-flex-between > div, .mlm-flex-between > a {
        width: 100% !important;
    }
    .mlm-flex-between .btn { width: 100% !important; justify-content: center !important; }

    /* --- Referral link --- */
    .ref-link-box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 14px !important;
    }
    .ref-link-btn { width: 100% !important; padding: 14px !important; }

    /* --- Withdrawal page: use Bootstrap responsive table --- */
    .table-responsive { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .table-responsive table { min-width: 540px; }

    /* --- Purchase Wallet section --- */
    .mlm-section > div[style*="justify-content: space-between"] {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* --- Withdrawal page header --- */
    .page-title {
        font-size: 20px !important;
        padding: 14px 16px !important;
        color: #0A1F44 !important;
        font-weight: 700 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .content .container-fluid {
        padding: 12px !important;
    }
    .card { border-radius: 14px !important; }
    .card-header { padding: 14px 16px !important; }
    .card-body { padding: 14px 16px !important; }
}
@media (max-width: 992px) {
    .dash-content { padding: 16px; }
    
    .dash-sidebar {
        top: 70px;
        height: calc(100dvh - 70px);
        min-height: calc(100dvh - 70px);
        max-height: none;
        width: 275px; /* Slightly more compact */
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        overflow-y: auto !important; /* Allow scroll if items are large */
    }
    .dash-sidebar.active {
        transform: translateX(0);
    }
    
    .dash-brand { display: none; }
    
    .dash-nav {
        padding: 8px 12px;
        overflow-y: visible !important;
        height: auto;
        max-height: none;
    }
    
    .dash-nav a {
        padding: 10px 12px;
        margin-bottom: 4px;
        font-size: 15px; /* Text 14-15px */
        line-height: 1.3;
        min-height: 44px; /* Touch target 44px */
        display: flex;
        align-items: center;
    }
    
    .dash-nav a.income-nav {
        font-size: 16px;
    }
    
    .dash-nav a:hover, .dash-nav a.active {
        background: linear-gradient(90deg, #13B5D1, #0a8a9f);
    }
    
    .dash-nav a i {
        font-size: 20px; /* Standard icon size */
        margin-right: 10px;
        width: 24px;
    }
    
    .sidebar-section-title {
        margin: 15px 0 10px 10px;
        font-size: 14px;
        letter-spacing: 0.5px;
        line-height: 1.2;
        color: #13B5D1;
    }
    
    .dash-support {
        padding: 15px;
        font-size: 14px;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    
    .dash-main {
        margin-left: 0 !important;
    }
    
    .dash-header-left h2 {
        display: none;
    }
    
    .dash-mobile-toggle {
        display: block;
        font-size: 32px !important;
        font-weight: 900;
        padding: 12px;
    }
    .dash-sidebar-overlay {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.50);
        z-index: 999;
    }
    .dash-sidebar-overlay.active {
        display: block;
    }
}
@media (max-width: 576px) {
    .dash-search {
        display: none; /* Hide search bar on very small screens for space */
    }
    .dash-header {
        padding: 0 10px;
        height: 55px !important;
    }
    /* Brand in header for mobile (Removed text injection to prevent logo overlap) */
    .dash-header-right {
        gap: 8px !important;
    }
    .dash-header-right a {
        font-size: 18px !important; /* Smaller action icons */
        padding: 5px;
    }
    .dash-user img {
        width: 30px !important;
        height: 30px !important;
    }
    .dash-content {
        padding: 12px 10px;
    }
    .dash-user span {
        display: none;
    }
    
    .mlm-card, .mlm-card-primary, .mlm-card-accent, .mlm-card-green, .mlm-card-purple, .mlm-card-orange {
        border-radius: 12px;
    }
}
/* --- SHOP & CART SYSTEM CSS --- */
.shop-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}
.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.shop-sidebar h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}
.cat-list {
    list-style: none;
    padding: 0;
}
.cat-list li {
    margin-bottom: 10px;
}
.cat-list a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    transition: var(--transition);
}
.cat-list a:hover, .cat-list a.active {
    background: var(--light-bg);
    color: var(--primary-color);
    font-weight: 600;
}
.shop-main {
    flex-grow: 1;
}
.shop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: var(--light-bg);
    padding: 10px 20px;
    border-radius: 8px;
}
.shop-search {
    display: flex;
    width: 100%;
    max-width: 400px;
}
.shop-search input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    outline: none;
}
.shop-search button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 15px;
    background: #f9f9f9;
}
.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-cat {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-decoration: none;
}
.product-title:hover {
    color: var(--accent-color);
}
.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: auto;
}
.product-dp {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.product-mrp {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.btn-add-cart {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-add-cart:hover {
    background: var(--primary-color);
}

/* Product Details Page */
.pd-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.pd-img-wrap {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.pd-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.pd-info h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.pd-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.pd-price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: normal;
}
.pd-desc {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}
.pd-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
.qty-input {
    width: 70px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
}
.btn-large-cart {
    flex-grow: 1;
    padding: 14px;
    font-size: 1.1rem;
}

/* Cart Page */
.cart-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.cart-table th {
    background: var(--light-bg);
    padding: 15px;
    text-align: left;
    color: var(--text-muted);
}
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.cart-item-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item-flex img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 5px;
}
.btn-remove {
    color: #e11d48;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}
.cart-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    float: right;
    width: 300px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cart-summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Toast Notification */
#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}
#toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    .shop-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    .pd-container {
        grid-template-columns: 1fr;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        padding: 10px;
        border-radius: 8px;
    }
    .cart-summary {
        width: 100%;
        float: none;
    }
}

/* Mobile Fixes for Redesign */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding: 120px 0 40px !important;
    }
    .hero-container {
        grid-template-columns: 1fr !important;
    }
    .hero-title {
        font-size: 2.2rem !important;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    .section {
        padding: 50px 0 !important;
    }
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px !important;
    }
    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-grid {
        gap: 20px !important;
    }
    .step-card, .why-card, .bonanza-card {
        padding: 20px !important;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .journey-container {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .container {
        padding: 0 15px;
    }
    .hero-title {
        font-size: 1.8rem !important;
    }
    .trust-strip {
        gap: 10px !important;
        flex-direction: column;
    }
}

/* Responsive Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline-block { display: inline-block !important; }
}

@media (max-width: 767.98px) {
    .d-md-block { display: none !important; }
}

/* End of style.css */