:root {
    --primary: #DF1623; /* High-Octane Xports Red */
    --primary-hover: #C0141E;
    --accent: #FFD400; /* Racing Yellow Accent */
    --bg-dark: #121212; /* Deep Asphalt */
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --white: #ffffff;
    --radius-sm: 2px; /* Sharper edges for sporty look */
    --radius-md: 4px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Section Layout */
.section {
    padding: 80px 0;
}

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

@media (max-width: 991px) {
    .section {
        padding: 40px 0 !important;
    }
    .section.featured {
        padding-top: 0 !important;
    }
    .section-header {
        margin-bottom: 30px !important;
    }
    .hero-sidebar, .col-lg-3 {
        display: none !important;
    }
    .col-lg-9 {
        width: 100% !important;
    }
}

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

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.secondary-font {
    font-family: 'Outfit', sans-serif;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: none;
}

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

.red-text {
    color: var(--primary);
}

.humberger-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    visibility: hidden;
    transition: all, 0.5s;
}

.humberger-menu-overlay.active {
    visibility: visible;
}

.humberger-menu-wrapper {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 30px;
    z-index: 999;
    overflow-y: auto;
    transition: all, 0.5s;
    box-shadow: 10px 0 20px rgba(0,0,0,0.05);
}

.humberger-menu-wrapper.active {
    left: 0;
}

.humberger-menu-logo {
    margin-bottom: 30px;
}

.humberger-menu-logo a {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
}

.humberger-menu-logo a span {
    color: var(--primary);
    font-style: italic; /* Dynamic racing slant */
}

.humberger-menu-cart {
    margin-bottom: 25px;
}

.humberger-menu-cart ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.humberger-menu-cart ul li a {
    color: var(--text-dark);
    font-size: 18px;
    position: relative;
}

.humberger-menu-cart ul li a span {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 0; /* Square sporty badges */
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.humberger-menu-nav {
    margin-bottom: 30px;
}

.humberger-menu-nav ul {
    list-style: none;
}

.humberger-menu-nav ul li {
    border-bottom: 1px solid #f2f2f2;
}

.humberger-menu-nav ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Mobile Social Icons */
.humberger-menu-wrapper .header-top-right-social {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-left: 5px;
}

.humberger-menu-wrapper .header-top-right-social a {
    font-size: 18px;
    color: var(--text-dark);
    transition: 0.3s;
}

.humberger-menu-wrapper .header-top-right-social a:hover {
    color: var(--primary);
}

.humberger-menu-contact {
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}

.humberger-menu-contact ul {
    list-style: none;
}

.humberger-menu-contact ul li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.humberger-menu-contact ul li i {
    color: var(--primary);
    margin-right: 5px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header-top {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 0;
}

.header-top a {
    color: var(--text-light) !important;
}

.secondary-font {
    font-family: 'Outfit', sans-serif;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

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

.header-menu ul li a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    position: relative;
    color: var(--primary);
}

.mobile-only-nav {
    display: none;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.user-login {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-login span {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-icon {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding-bottom: 50px;
}

.hero-sidebar {
    border: 1px solid #ebebeb;
    padding-bottom: 20px;
}

.hero-sidebar-title {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.hero-sidebar-title::after {
    content: "\f107";
    font-family: "FontAwesome";
    font-size: 14px;
    transition: all 0.3s;
}

.hero-sidebar-title.active::after {
    transform: rotate(180deg);
}

.hero-sidebar ul {
    list-style: none;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

.hero-sidebar ul li a {
    display: block;
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.hero-sidebar ul li a:hover {
    color: var(--primary);
}

.hero-search {
    margin-bottom: 30px;
}

.hero-search-form {
    display: flex;
    height: 50px;
    border: 1px solid #ebebeb;
    position: relative;
    margin-bottom: 0;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hero-search-form input {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

.hero-search-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 430px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    padding: 100px 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-banner-text {
    position: relative;
    z-index: 10;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-banner-text span {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff; /* Changed to white for better contrast on red background */
    background: var(--primary);
    display: inline-block;
    padding: 4px 15px;
    margin-bottom: 15px;
    transform: skewX(-10deg); /* Matching the racing button style */
}

.hero-banner-text h2 {
    font-size: 46px;
    color: #ffffff;
    line-height: 52px;
    font-weight: 700;
    margin: 10px 0 20px;
    font-family: 'Oswald', sans-serif;
}

.hero-banner-text p {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 80px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.5);
}

.btn {
    padding: 14px 32px;
    border-radius: 0; /* Pure technical square edges */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform: skewX(-10deg); /* Skewed racing style */
}

.btn > * {
    transform: skewX(10deg); /* Counter-skew text */
    display: inline-block;
}

.site-btn {
    padding: 14px 35px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(209, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-5px);
}

/* Section Styles */
.section {
    padding: 60px 0; /* Reduced from 120px */
}

h2.section-title, .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 90px;
    height: 4px;
    background: var(--primary);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns for better density */
    gap: 20px;
}

.category-card {
    position: relative;
    height: 270px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.category-card-label {
    position: absolute;
    height: 45px;
    bottom: 20px;
    background: var(--white);
    width: 80%;
    left: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card-label h3 {
    font-size: 16px;
    color: #1c1c1c;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.category-card:hover .category-card-label {
    background: var(--primary);
}

.category-card:hover .category-card-label h3 {
    color: var(--white);
}


.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #ffffff;
}

.category-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.btn-small {
    padding: 10px 30px;
    background: var(--white);
    color: var(--text-light);
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.category-card:hover .btn-small {
    background: var(--primary);
}

/* --- Products (Modern Luxe) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 50px;
}

.product-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    text-align: left;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.product-card:hover, .product-card:active {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 35px -10px rgba(223, 22, 35, 0.15), 0 15px 15px -10px rgba(223, 22, 35, 0.08);
    border-color: var(--primary);
    z-index: 5;
}

.product-image {
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
    padding: 30px;
}

.product-image img {
    width: 100% !important;
    height: 100%;
    object-fit: contain;
    /* padding: 15px; - Removed to make image bigger */
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #a50f1a 100%);
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0;
    z-index: 5;
    letter-spacing: 1.5px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
    transform: skewX(-15deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.btn-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    transform: skewX(-10deg);
}

.btn-cart i {
    transform: skewX(10deg);
}

.btn-cart span {
    transform: skewX(10deg);
}

.product-info {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif; /* High performance font */
    line-height: 1.4;
    min-height: 2.8em;
}

.product-info h3 small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 12px;
    color: #FBBF24;
    font-size: 11px;
}

.rating span {
    color: #94a3b8;
    font-weight: 500;
    margin-left: 5px;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: auto;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.add-to-cart:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(214, 33, 33, 0.2);
}

/* Features */
.features {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.features .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px 20px;
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    background: var(--white);
    transform: scale(1.05);
    border-color: var(--primary);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

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

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

/* Promo */
.promo {
    background: var(--bg-darker);
    padding: 80px 0;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 2px;
    padding: 60px 80px;
    border: 1px solid var(--glass-border);
    overflow: visible;
}

.promo-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.promo-text h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.promo-image {
    max-width: 400px;
}

.promo-image img {
    width: 100%;
    transform: rotate(-5deg) scale(1.1);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding-top: 100px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 25px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-col i {
    color: var(--primary);
    font-size: 14px;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    z-index: 10;
    text-transform: uppercase;
    pointer-events: none;
}

@keyframes slideIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsiveness */
@media (max-width: 991px) {
    .category-grid, .products-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 4rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-content {
        justify-content: space-between;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    .promo-image {
        margin-top: 40px;
    }

    .user-login {
        display: none;
    }
    
    .mobile-only-nav {
        display: block;
    }
    
    .nav-icons {
        gap: 15px;
    }


    .section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-btns {
        justify-content: center;
    }

    .cart-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop Cart Styles (Default) */
.cart-item-card {
    display: flex; 
    gap: 20px; 
    align-items: center; 
    padding: 20px; 
    margin-bottom: 20px;
}
.cart-item-image img { width: 100px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-item-details { flex: 1; }
.cart-item-details h3 { font-size: 1rem; margin-bottom: 5px; }
.cart-item-details .subtitle { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-details .price-unit { font-weight: 700; margin-top: 5px; }

.quantity-selector {
    display: flex; align-items: center; gap: 15px; 
    background: #f1f5f9; padding: 5px 15px; 
    border-radius: 6px; border: 1px solid var(--glass-border);
}
.quantity-selector a { color: var(--text-light); text-decoration: none; }

.cart-item-total { text-align: right; min-width: 100px; }
.cart-item-total p { font-weight: 800; }
.remove-link { color: #ef4444; font-size: 0.8rem; text-decoration: none; margin-top: 5px; display: block; }

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.details-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery-main {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid #f2f2f2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.product-details-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 10px 0 20px;
    font-family: 'Cairo', sans-serif;
    line-height: 1.2;
}

.product-details-content .price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.product-details-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

@media only screen and (max-width: 767px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-details-content h1 {
        font-size: 30px;
    }
}

/* Responsive Media Queries */
@media only screen and (max-width: 991px) {
    .header-top {
        display: none;
    }
    
    .header-menu {
        display: none;
    }
    
    .header-cart {
        display: none;
    }
    
    .humberger-open {
        display: block !important;
    }
    
    .header-logo {
        width: auto !important;
    }
    
    .hero-sidebar {
        margin-bottom: 0px;
    }
    
    .hero-search {
        margin-bottom: 20px;
    }
    
    .row {
        flex-direction: column;
    }

    .footer {
        padding-top: 40px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .footer-grid .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-grid .footer-col {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .footer-grid .footer-col:nth-child(2), .footer-grid .footer-col:nth-child(3) {
        border-bottom: none;
    }

    .footer-col h4 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        letter-spacing: 2px !important;
        color: var(--text-dark) !important;
    }

    .footer-col ul li a {
        font-size: 0.9rem !important;
    }
    
    .col-lg-3, .col-lg-9 {
        width: 100% !important;
    }

    .footer-bottom {
        padding-top: 0 !important;
    }
    
    .hero-slider {
        height: 300px !important;
        border-radius: 4px !important;
    }

    .hero-slide {
        padding: 10px 20px !important;
        text-align: center;
    }

    .hero {
        padding-bottom: 0 !important;
    }

    .hero-banner-text h2 {
        font-size: 28px !important;
    }

    .hero-search-form {
        border-radius: 8px; /* Slightly less rounded on mobile search stack */
    }

    .hero-banner-text h2 {
        font-size: 28px !important;
        margin: 5px 0 10px !important;
    }

    .hero-banner-text .btn-primary {
        display: none !important;
    }

    .hero-banner-text p {
        margin-bottom: 15px !important;
    }

    .hero-sidebar ul {
        display: none;
    }

    .hero-sidebar ul.active {
        display: block;
    }

    .header .row {
        flex-direction: row !important;
        padding: 0 !important;
        margin: 10px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(15px) saturate(180%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        justify-content: flex-end !important; /* Dock items to right */
    }

    .header-logo {
        width: auto !important;
        margin-right: auto !important; /* Push logo to left */
    }

    .hero-search {
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 8px;
        padding: 10px !important;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    }

    .header-logo a {
        font-size: 24px !important;
    }

    .search-trigger-mobile {
        display: block !important;
    }

    .humberger-open {
        display: block !important;
        margin-left: 0 !important;
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .hero-search {
        display: none !important;
    }

    .site-btn {
        padding: 1px 8px !important;
    }
    
    /* Header Mobile Adjustments */
    .header .row {
        height: 46px !important;
    }
    .header-cart {
        gap: 15px !important; /* Gap between search and cart */
        width: auto !important; /* Let content dictate width */
        margin-right: 20px !important; /* Exact 20px gap to hamburger */
        justify-content: flex-end !important;
    }
    
    .header-cart ul {
        gap: 15px !important;
    }
    
    /* Mobile Cart Card UI */
    .cart-grid {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .cart-item-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
        position: relative;
    }

    .cart-item-image {
        width: 100%;
        height: 120px;
        border-radius: 8px;
        overflow: hidden;
    }

    .cart-item-image img {
        width: 100% !important; /* Ensure override */
        height: 100%;
        object-fit: cover;
    }

    .cart-item-details {
        width: 100%;
    }

    .cart-item-details h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .cart-item-controls {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .cart-item-total {
        text-align: right;
        min-width: auto;
    }

    .cart-item-total p {
        font-size: 18px;
        color: var(--primary);
    }
    .category-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .product-image {
        height: 160px !important;
        padding: 15px !important;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .product-image img {
        padding: 6px !important;
    }
    
    .btn-cart span {
        display: none;
    }

    .btn-cart {
        padding: 10px !important;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .product-actions {
        flex-direction: row !important;
    }
    
    .price {
        font-size: 16px;
    }
    
    .hero-search-phone {
        display: none !important;
    }
    
    .hero-banner h2 {
        font-size: 30px !important;
    }
    
    h2.section-title, .section-title {
        font-size: 26px !important;
        letter-spacing: 1px !important;
    }

    .section {
        padding: 0 !important;
    }

    .section-header {
        margin-top: 15px !important;
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 479px) {
    .category-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px !important;
    }
    
    .product-card {
        margin: 4px !important;
        transform: none !important;
        transition: none !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        border: 1px solid #eee !important;
    }

    .product-card:hover, .product-card:active {
        transform: none !important;
        box-shadow: none !important;
        border-color: var(--primary) !important;
    }

    .product-badge {
        padding: 2px 6px !important;
        font-size: 8px !important;
        font-weight: 600 !important;
    }

    .product-info h3 {
        font-size: 13px !important;
        letter-spacing: -0.2px;
        line-height: 1.3 !important;
        min-height: 0px !important;
    }
    
    .price {
        font-size: 15px !important;
        font-weight: 900 !important;
        letter-spacing: -0.5px;
        margin: auto !important;
    }

    .btn-cart {
        width: 33px !important;
        height: 27px !important;
        padding: 0 !important;
    }

    .product-actions {
        margin-top: 0px !important;
    }

    /* Limit category showcase products to 4 on small screens */
    }

    .header-logo a {
        font-size: 24px !important;
    }

    .search-trigger-mobile {
        display: block !important;
    }

    .humberger-open {
        display: block !important;
        margin-left: 0 !important;
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .hero-search {
        display: none !important;
    }

    .site-btn {
        padding: 1px 8px !important;
    }
    
    /* Header Mobile Adjustments */
    .header .row {
        height: 46px !important;
    }
    .header-cart {
        gap: 15px !important; /* Gap between search and cart */
        width: auto !important; /* Let content dictate width */
        margin-right: 20px !important; /* Exact 20px gap to hamburger */
        justify-content: flex-end !important;
    }
    
    .header-cart ul {
        gap: 15px !important;
    }
    
    /* Mobile Cart Card UI */
    /* Mobile Cart Card UI Standardized */
    .cart-grid {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
    }

    .cart-item-card {
        flex-direction: row !important; /* Force side-by-side layout */
        align-items: flex-start;
        padding: 12px;
        gap: 12px;
        position: relative;
        border: 1px solid #eee;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    }

    .cart-item-image {
        width: 90px;
        height: 90px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        background: #f8f9fa;
        border: 1px solid #eee;
    }

    .cart-item-image img {
        width: 100% !important;
        height: 100%;
        object-fit: contain;
        padding: 5px;
    }

    .cart-item-details {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .cart-item-details h3 {
        font-size: 15px;
        margin-bottom: 2px;
        font-weight: 700;
        line-height: 1.2;
    }

    .cart-item-details .subtitle {
        font-size: 11px;
        color: #888;
        margin-bottom: 5px;
    }

    .cart-item-details .price-unit {
        font-size: 14px;
        font-weight: 700;
        color: var(--primary);
    }

    /* Controls Row */
    .cart-item-controls {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
        padding-top: 0;
        border-top: none;
    }

    /* New Cart Layout Styles (Flipkart-like) */
    .cart-item-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 4px; /* Flatter look */
        padding: 12px;
        margin-bottom: 10px;
        box-shadow: none !important;
    }

    .cart-product-title {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 4px;
        color: #212121;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 200px;
    }

    .cart-product-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .cart-subtitle {
        font-size: 12px;
        color: #878787;
    }

    .cart-rating {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .rating-box {
        background: #388e3c;
        color: white;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 3px;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    
    .rating-box i {
        font-size: 8px;
    }

    .review-count {
        font-size: 11px;
        color: #878787;
    }

    /* Pricing Row */
    .cart-pricing-row {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 12px;
    }

    .price-original {
        font-size: 12px;
        color: #878787;
        text-decoration: line-through;
    }

    .current-price {
        font-size: 16px;
        font-weight: 600;
        color: #212121;
    }

    .discount-tag {
        font-size: 12px;
        color: #388e3c;
        font-weight: 500;
    }

    /* Actions Row (Qty + Remove) */
    .cart-actions-row {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 5px;
    }

    .qty-control {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 1px solid #c2c2c2;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #212121;
        font-size: 14px;
        text-decoration: none;
        background: white;
    }

    .qty-btn.disabled {
        opacity: 0.3;
        pointer-events: none;
    }

    .qty-input {
        width: 30px;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        border: 1px solid #c2c2c2;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
    }

    .remove-btn {
        font-size: 14px;
        font-weight: 500;
        color: #212121;
        text-transform: uppercase;
        cursor: pointer;
        text-decoration: none;
    }
    
    .remove-btn:hover {
        color: var(--primary);
    }
    .category-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .product-image {
        height: 160px !important;
        padding: 15px !important;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .product-image img {
        padding: 6px !important;
    }
    
    .btn-cart span {
        display: none;
    }

    .btn-cart {
        padding: 10px !important;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .product-actions {
        flex-direction: row !important;
    }
    
    .price {
        font-size: 16px;
    }
    
    .hero-search-phone {
        display: none !important;
    }
    
    .hero-banner h2 {
        font-size: 30px !important;
    }
    
    h2.section-title, .section-title {
        font-size: 26px !important;
        letter-spacing: 1px !important;
    }

    .section {
        padding: 0 !important;
    }

    .section-header {
        margin-top: 15px !important;
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 479px) {
    .category-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px !important;
    }
    
    .product-card {
        margin: 4px !important;
        transform: none !important;
        transition: none !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        border: 1px solid #eee !important;
    }

    .product-card:hover, .product-card:active {
        transform: none !important;
        box-shadow: none !important;
        border-color: var(--primary) !important;
    }

    .product-badge {
        padding: 2px 6px !important;
        font-size: 8px !important;
        font-weight: 600 !important;
    }

    .product-info h3 {
        font-size: 13px !important;
        letter-spacing: -0.2px;
        line-height: 1.3 !important;
        min-height: 0px !important;
    }
    
    .price {
        font-size: 15px !important;
        font-weight: 900 !important;
        letter-spacing: -0.5px;
    }

    .btn-cart {
        width: 35px !important;
        height: 35px !important;
        padding: 0 !important;
        background: linear-gradient(135deg, var(--primary), #a80000) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
        border-radius: 4px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }

    .btn-cart:active {
        transform: scale(0.95);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    }

    .product-actions {
        margin-top: 0px !important;
    }

    /* Limit category showcase products to 4 on small screens */
    .category-showcase .product-card:nth-child(n+5) {
        display: none !important;
    }

    h2.section-title, .section-title {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* Category Card Styles */
.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    background: #fff;
    aspect-ratio: 1/1; /* Ensure square aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or cover, depending on image */
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 2;
}

.category-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.category-overlay .btn-small {
    font-size: 0.8rem;
    color: var(--primary);
    background: white;
    padding: 5px 12px;
    border-radius: 4px;
    margin-top: 10px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
}

/* Special Offer Banner */
.special-offer-banner {
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 60px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.special-offer-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 40px;
}

.special-offer-banner h2 {
    font-size: 3rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.special-offer-banner p {
    font-size: 1.2rem;
    color: #cecece;
    margin-bottom: 30px;
}

.special-offer-img {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    z-index: 1;
}

.special-offer-img img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
    .special-offer-banner {
        text-align: center;
        padding: 40px 20px;
    }
    
    .special-offer-content {
        margin: 0 auto;
        padding-left: 0;
    }

    .special-offer-img {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 30px;
    }

    .special-offer-banner h2 {
        font-size: 2rem;
    }
}

/* Premium Slider */
.premium-slider-section {
    padding: 0;
    margin-bottom: 50px;
}

.premium-slider-wrapper {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.premium-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.premium-slide.active {
    opacity: 1;
    z-index: 1;
}

.premium-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 1;
}

.premium-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
    color: white;
}

.premium-content h4 {
    color: #ffd700;
    letter-spacing: 3px;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.premium-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.premium-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.btn-premium {
    background: linear-gradient(45deg, #ffd700, #b8860b);
    color: black;
    padding: 12px 30px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    color: black;
}

.premium-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 60px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.premium-slider-dots .dot {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-slider-dots .dot.active {
    background: #ffd700;
    width: 60px;
}

@media (max-width: 768px) {
    .premium-slider-wrapper {
        height: 500px;
    }
    
    .premium-content {
        padding: 30px;
        text-align: center;
        margin: 0 auto;
    }
    
    .premium-slide::after {
        background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    }

    .premium-content h2 {
        font-size: 2.5rem;
    }

    .premium-slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

/* Featured Product Slider */
.product-slider-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 30px; /* Bottom padding for shadow/hover space */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.product-slider-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.product-slider-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slider-card {
    flex: 0 0 280px; /* Fixed width for slider cards */
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section Polish */
    .hero-banner h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .hero-banner p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-slide {
        height: 400px;
        background-position: center bottom;
    }

    /* Section Spacing */
    .section {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }
    
    .category-showcase {
        margin-bottom: 40px !important; /* Reduced from 60px for mobile */
    }

    h2.section-title, .section-title {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }
    
    .section-header p {
        font-size: 13px !important;
    }

    /* Product Slider Polish */
    .slider-card {
        flex: 0 0 160px; /* narrowed for better fit */
    }
    
    .product-slider-container {
        gap: 12px;
        padding-bottom: 20px;
    }

    /* Special Offer Banner Polish */
    .special-offer-banner {
        padding: 30px 15px;
        margin: 30px 0;
        text-align: center;
    }
    
    .special-offer-banner h2 {
        font-size: 24px !important;
        margin-bottom: 10px;
    }
    
    .special-offer-banner p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .special-offer-img {
        margin-top: 20px;
    }

    /* Premium Slider Polish */
    .premium-slider-wrapper {
        height: 450px;
    }
    
    .premium-content h2 {
        font-size: 32px;
        line-height: 1.1;
    }
    
    .premium-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .premium-slider-dots {
        bottom: 15px;
    }

    /* Product Grid Polish */
    .category-grid, .products-grid {
        gap: 15px 10px !important; /* Balanced gap */
    }
    
    .product-info {
        padding: 10px !important;
    }
}

@media (max-width: 479px) {
    /* Further tweaks for very small screens */
    .hero-banner h2 {
        font-size: 24px !important;
    }
    
    .slider-card {
        flex: 0 0 150px;
    }

    .premium-content h2 {
        font-size: 28px;
    }
}

/* =========================================
   FORCE OVERRIDES FOR CART LAYOUT (FLIPKART STYLE)
   ========================================= */
.cart-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.cart-item-card {
    display: flex !important;
    flex-direction: row !important; /* Image Left, Content Right */
    align-items: flex-start !important;
    padding: 12px !important;
    background: #fff;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.cart-item-image {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
    margin-right: 15px !important;
    border-radius: 4px;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
}

.cart-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 5px !important;
    margin: 0 !important;
}

.cart-item-details {
    flex: 1 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.cart-product-title {
    font-size: 15px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
    white-space: normal !important; /* Allow wrapping */
}

/* Specific Mobile Overrides */
@media (max-width: 480px) {
    /* Edge-to-Edge Cart Layout with Premium Feel */
    .cart-grid {
        width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        gap: 0 !important;
        background: #f5f5f5; /* Light gray background for separation */
    }

    .cart-item-card {
        flex-direction: row !important;
        padding: 20px 15px !important; /* More breathing room */
        margin-bottom: 8px !important; /* Separation between cards */
        border: none !important;
        width: 100% !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
        background: #fff !important;
        align-items: flex-start !important;
    }
    
    .cart-items {
        width: 100% !important;
    }
    
    .cart-item-image {
        width: 100px !important;
        flex: 0 0 100px !important;
        height: 100px !important;
        margin-right: 15px !important;
        background: #fff !important;
        border-radius: 8px !important;
        border: 1px solid #f0f0f0 !important;
        padding: 2px !important; /* Reduced padding for larger image */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .cart-product-title {
        font-family: 'Oswald', sans-serif !important;
        font-size: 17px !important; /* Slightly larger */
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 4px !important;
        color: #1a1a1a !important;
        text-transform: uppercase;
        line-height: 1.2 !important;
    }
    
    .cart-subtitle {
        font-size: 11px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #999 !important;
        margin-bottom: 4px !important;
        display: block !important;
    }
    
    .cart-product-meta {
        margin-bottom: 8px !important;
    }
    
    /* Premium Pricing */
    .cart-pricing-row {
        margin-bottom: 12px !important;
        align-items: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .current-price {
        font-size: 18px !important;
        color: #ce1111 !important; /* Brand Red */
        font-weight: 700 !important;
    }
    
    .price-original {
        font-size: 13px !important;
        color: #aaa !important;
    }

    /* Modern Pill Quantity Control */
    .qty-control {
        background: #fff !important;
        border-radius: 4px !important; /* Flatter/Standard look */
        padding: 0 !important;
        border: 1px solid #ddd !important;
        gap: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        height: 30px !important;
    }
    
    .cart-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important; /* Push Remove to right */
        width: 100% !important;
        margin-top: 5px !important;
    }

    .qty-btn {
        width: 30px !important;
        height: 30px !important;
        background: #f9f9f9 !important;
        border: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #333 !important;
    }
    
    .qty-input {
        width: 34px !important;
        height: 30px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-left: 1px solid #eee !important;
        border-right: 1px solid #eee !important;
        background: #fff !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .remove-btn {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #555 !important;
        letter-spacing: 0.5px !important;
        border-bottom: 1px solid #ccc;
        padding-bottom: 0px;
        margin-left: auto !important; /* Ensure sticking to right if flex fails */
        text-decoration: none !important;
    }

    /* Sticky Bottom Bar Styles */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        padding: 12px 20px;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #eee;
    }

    .mobile-total {
        display: flex;
        flex-direction: column;
    }

    .mobile-total-label {
        font-size: 12px;
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
    }

    .mobile-total-price {
        font-size: 20px;
        color: #1a1a1a;
        font-weight: 800;
        font-family: 'Cairo', sans-serif;
    }

    .mobile-checkout-btn {
        background: #fb641b; /* Flipkart Orange/Yellow or Brand Red */
        color: white;
        font-weight: 700;
        padding: 12px 30px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 10px rgba(251, 100, 27, 0.3);
        text-decoration: none;
    }

    .desktop-checkout-btn {
        display: none !important;
    }

    /* Add spacing for sticky footer */
    .cart-summary {
        margin-bottom: 80px !important;
        padding-bottom: 20px !important;
    }
}

/* Hide mobile bar on desktop */
@media (min-width: 481px) {
    .mobile-bottom-bar {
        display: none;
    }
}

/* =========================================
   CATEGORIES PAGE FIXES
   ========================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.category-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Cairo', sans-serif;
    line-height: 1.1;
}

.category-overlay .btn-small {
    background: white;
    color: black;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: all 0.3s ease;
    border: none;
}

.category-overlay .btn-small:hover {
    background: var(--primary);
    color: white;
}

/* Mobile Overrides for Categories */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
        gap: 15px;
    }
    
    .category-card {
        aspect-ratio: 1/1; /* Square cards on tablet */
    }

    .category-overlay {
        padding: 15px;
    }

    .category-overlay h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns as requested */
        gap: 15px !important;
    }

    .category-card {
        border-radius: 12px;
        aspect-ratio: 1/1; /* Square cards for 2-column layout */
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Ensure only 1 column always */
    .products-grid {
        /* If products grid needs to stay 2-col, keep it separate from category grid here */
    }

    .category-overlay {
        padding: 15px; /* Reduce padding for smaller cards */
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
    }

    .category-overlay h3 {
        font-size: 1.2rem; /* Reduce font size for smaller cards */
        margin-bottom: 8px;
    }
    
    .category-overlay .btn-small {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}

/* =========================================
   CONTACT PAGE FIXES
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
    color: #333 !important; /* Force dark text */
}

.contact-info-item span {
    color: #333 !important;
}

.contact-info-item i {
    color: var(--primary);
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.contact-grid .feature-card {
    border: none;
    box-shadow: none;
    padding: 0 !important;
    background: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5; /* Light gray background for visibility */
    color: #333; /* Dark text */
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important; /* Stack on mobile */
        gap: 30px !important;
    }
    
    .contact-form {
        margin-top: 20px;
    }
}
/* PC View Styles */
@media (min-width: 992px) {
    .hero {
        padding-bottom: 50px;
        margin-top: 29px;
    }
}
