/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #014A96;
    --primary-dark: #013566;
    --primary-light: #0263C7;
    --secondary-color: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-grey: #f5f6f8;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
        overflow-x: hidden !important;
    overflow-y: auto;
}

body.index-page {
    overflow-x: hidden !important;
    overflow-y: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-grey {
    background-color: var(--light-grey);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Hamburger to X animation */
.hamburger {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: none;
     display: none;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    position: relative;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Enhanced Hero Section */
.hero-enhanced {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 40px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content-enhanced {
    padding: 20px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content-enhanced h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content-enhanced p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.05rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.hero-deals {
    display: grid;
    gap: 20px;
}

.deal-card {
    background: white;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.deal-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.deal-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.deal-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.deal-link {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.deal-link:hover {
    text-decoration: underline;
}

.deal-primary {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
}

.deal-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Categories Section */
.categories-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-grey);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-chip:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Brand Logos Grid */
.brand-logos-section {
    background: var(--light-grey);
}

.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.brand-logo-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-logo-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.brand-logo-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.brand-logo-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Section Headers Enhanced */
.section-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 5px;
    font-weight: 400;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
}

.view-all-link:hover {
    text-decoration: underline;
}

.section-deals {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.section-premium {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-section {
    background: var(--light-grey);
}

/* ========================================
   PAGE HEADER
   ======================================== */
/* --- Page Header Modern Design --- */
.page-header {
    background: linear-gradient(120deg, #fafdff 60%, #e8f0ff 100%);
    padding: 60px 0 50px 0;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 6px 24px rgba(1,74,150,0.07);
    margin-bottom: 0;
}

.page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.page-header-icon {
    background: linear-gradient(135deg, #e8f0ff 0%, #fafdff 100%);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.08);
}

.page-header-icon svg {
    color: var(--primary-color);
    width: 48px;
    height: 48px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    opacity: 0.96;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .page-header {
        padding: 32px 0 24px 0;
        border-radius: 0 0 18px 18px;
    }
    .page-header-content {
        gap: 10px;
    }
    .page-header-icon {
        width: 48px;
        height: 48px;
    }
    .page-header-icon svg {
        width: 32px;
        height: 32px;
    }
    .page-header h1 {
        font-size: 1.4rem;
    }
    .page-header p {
        font-size: 1rem;
    }
}/* ========================================
   BRANDS GRID
   ======================================== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.brands-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.brand-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.brand-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
}

.brand-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* --- Brand Logos Grid (Shop by Brand) --- */
.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.brand-logo-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 18px 22px 18px;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s;
    border: 2px solid transparent;
    text-align: center;
}

.brand-logo-card:hover {
    box-shadow: 0 12px 32px rgba(1,74,150,0.13);
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.03);
}

.brand-logo-img {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.2s;
}

.brand-logo-card:hover .brand-logo-img img {
    filter: none;
}

.brand-logo-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.brand-logo-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .brand-logos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .brand-logo-card {
        padding: 18px 6px 14px 6px;
    }
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--light-grey);
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-add-cart:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* ========================================
   SEARCH & FILTER BAR
   ======================================== */
.search-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 15px;
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--white);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Products Control Bar & Toolbar --- */
.products-control-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    padding: 28px 24px 18px 24px;
}

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-grey);
    border-radius: 10px;
    padding: 0 0 0 38px;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}

.search-box svg {
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    opacity: 0.7;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 0;
    border: none;
    background: transparent;
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.filter-select {
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--light-grey);
    color: var(--text-dark);
    font-weight: 500;
    transition: border-color 0.2s;
    min-width: 140px;
}

.filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.products-view-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.product-count-display {
    font-size: 1rem;
    color: var(--text-light);
    margin-right: 18px;
    font-weight: 500;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    background: var(--light-grey);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    color: var(--primary-color);
    box-shadow: 0 1px 4px rgba(1,74,150,0.07);
    display: flex;
    align-items: center;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(1,74,150,0.10);
}

.view-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 900px) {
    .products-control-bar {
        flex-direction: column;
        gap: 18px;
        padding: 18px 10px 10px 10px;
    }
    .products-toolbar {
        gap: 10px;
    }
    .products-view-controls {
        gap: 10px;
    }
    .filter-select {
        min-width: 100px;
        font-size: 0.95rem;
    }
    .search-box {
        min-width: 120px;
    }
}

.products-grid.list-view {
    display: block;
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 24px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
    border-radius: 12px;
}

.products-grid.list-view .product-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    padding: 0;
    flex: 1;
}

.products-grid.list-view .product-footer {
    margin-top: 10px;
}

/* ========================================
   CART PAGE
   ======================================== */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--light-grey);
}

.cart-item-details {
    flex: 1;
}

.cart-item-brand {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 5px 0;
}

.cart-item-price {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
}

.quantity-controls button:hover {
    background-color: var(--primary-dark);
}

.quantity-controls span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.remove-item:hover {
    text-decoration: underline;
}

.cart-summary {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.summary-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-summary .btn {
    margin-top: 15px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart svg {
    margin: 0 auto 20px;
    color: var(--text-light);
    opacity: 0.3;
}

.empty-cart h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}



.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
}

/* --- About Hero Banner --- */
.about-hero {
    background: linear-gradient(120deg, #fafdff 60%, #e8f0ff 100%);
    padding: 70px 0 40px 0;
}
.about-hero-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.about-hero-content {
    flex: 1 1 350px;
}
.about-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--primary-color);
}
.about-hero-lead {
    font-size: 1.25rem;
    margin-bottom: 28px;
    color: var(--text-light);
    opacity: 0.95;
}
.about-hero-image {
    flex: 1 1 350px;
    text-align: center;
}
.about-hero-image img {
    max-width: 420px;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(1,74,150,0.10);
}

/* --- Mission & Vision --- */
.about-mission-vision .mission-vision-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.mission-card, .vision-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    padding: 38px 28px;
    flex: 1 1 320px;
    text-align: center;
}
.mission-card h3, .vision-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* --- Core Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-top: 32px;
}
.value-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    padding: 32px 18px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.18s;
}
.value-card:hover {
    box-shadow: 0 12px 32px rgba(1,74,150,0.13);
    transform: translateY(-4px) scale(1.03);
}
.value-icon {
    margin-bottom: 16px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
.value-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.value-card p {
    font-size: 0.97rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .about-values .values-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .about-values .values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        gap: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-actions {
        align-items: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .search-filter-bar {
        flex-direction: column;
    }

    .search-box {
        min-width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid-large {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .contact-form-container {
        padding: 25px;
    }
}


/* --- Featured Categories Grid (Browse by Category) --- */
.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.featured-category-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(1,74,150,0.07);
    background: var(--white);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
}

.featured-category-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1);
}

.featured-category-card:hover {
    box-shadow: 0 8px 24px rgba(1,74,150,0.13);
    transform: translateY(-3px) scale(1.01);
}
.featured-category-card:hover img {
    transform: scale(1.04);
}

.category-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(1,74,150,0.80) 0%, rgba(1,74,150,0.10) 80%, transparent 100%);
    color: #fff;
    padding: 18px 16px 14px 16px;
    z-index: 2;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    transition: background 0.2s;
}

.category-overlay h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.category-overlay p {
    font-size: 0.97rem;
    margin-bottom: 10px;
    opacity: 0.96;
}

.category-overlay .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 5px;
    padding: 6px 16px;
    font-size: 0.97rem;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 1px 4px rgba(1,74,150,0.07);
}
.category-overlay .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Promo Banner Section (Special Offer) --- */
.promo-banner-section {
    margin: 40px 0;
}
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, var(--primary-color) 60%, #0263C7 100%);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(1,74,150,0.10);
    overflow: hidden;
    min-height: 180px;
    position: relative;
    padding: 0;
}
.promo-content {
    flex: 1 1 0;
    padding: 32px 24px;
    color: #fff;
    z-index: 2;
}
.promo-tag {
    display: inline-block;
    background: rgba(255,255,255,0.13);
    color: #fff;
    font-weight: 600;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 0.92rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.promo-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}
.promo-content p {
    font-size: 1rem;
    margin-bottom: 14px;
    opacity: 0.96;
}
.promo-content .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 7px;
    padding: 10px 22px;
    font-size: 1rem;
    transition: background 0.18s, color 0.18s;
}
.promo-content .btn:hover {
    background: var(--primary-dark);
    color: #fff;
}
.promo-image {
    flex: 0 0 180px;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
}
.promo-image img {
    width: 180px;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .promo-banner {
        flex-direction: column;
        min-height: unset;
    }
    .promo-content {
        padding: 24px 10px 18px 10px;
        text-align: center;
    }
    .promo-image {
        flex: 1 1 0;
        width: 100%;
        justify-content: center;
    }
    .promo-image img {
        width: 100%;
        border-radius: 0 0 16px 16px;
        max-height: 120px;
    }
}
@media (max-width: 600px) {
    .featured-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .promo-content h2 {
        font-size: 1rem;
    }
    .promo-banner-section {
        margin: 18px 0;
    }
}

/* --- Featured Collections (Product Showcase Section) --- */
.product-showcase-section {
    background: linear-gradient(120deg, #f5fafd 60%, #e8f0ff 100%);
    padding: 70px 0 60px 0;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-top: 36px;
}
.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(1,74,150,0.10);
    background: #fff;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.22s, box-shadow 0.22s;
}
.showcase-item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
    transition: transform 0.33s cubic-bezier(.4,2,.6,1);
}
.showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(1,74,150,0.13);
}
.showcase-item:hover img {
    transform: scale(1.07);
}
.showcase-large {
    grid-row: span 2;
    min-height: 100%;
}
.showcase-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(1,74,150,0.93) 0%, rgba(1,74,150,0.18) 80%, transparent 100%);
    color: #fff;
    padding: 38px 30px 26px 30px;
    z-index: 2;
    border-radius: 0 0 22px 22px;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.showcase-overlay h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.showcase-overlay p {
    font-size: 1.08rem;
    margin-bottom: 18px;
    opacity: 0.97;
}
.showcase-overlay .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1.08rem;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.10);
    transition: background 0.2s, color 0.2s;
}
.showcase-overlay .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Brand Spotlight Section --- */
.brand-spotlight-section {
    background: linear-gradient(90deg, #fafdff 60%, #f0f6ff 100%);
    padding: 70px 0 60px 0;
}
.brand-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 36px;
    margin-top: 36px;
}
.brand-spotlight-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(1,74,150,0.08);
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s;
    min-height: 180px;
}
.brand-spotlight-card:hover {
    box-shadow: 0 16px 40px rgba(1,74,150,0.13);
    transform: translateY(-6px) scale(1.01);
}
.brand-spotlight-image {
    flex: 0 0 160px;
    background: linear-gradient(135deg, #e8f0ff 0%, #fafdff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.brand-spotlight-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}
.brand-spotlight-content {
    flex: 1 1 0;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-spotlight-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.brand-spotlight-content p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    opacity: 0.93;
}
.brand-spotlight-content .view-all-link {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    transition: color 0.2s;
}
.brand-spotlight-content .view-all-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* --- Newsletter Section (Stay Updated) --- */
.newsletter-section {
    background: linear-gradient(90deg, var(--primary-color) 60%, #0263C7 100%);
    color: #fff;
    padding: 70px 0 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    z-index: 0;
}
.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.10);
    border-radius: 50%;
    z-index: 0;
}
.newsletter-content {
    max-width: 540px;
    margin: 0 auto;
    padding: 38px 28px;
    background: rgba(255,255,255,0.10);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(1,74,150,0.13);
    position: relative;
    z-index: 1;
}
.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -1px;
}
.newsletter-content p {
    font-size: 1.13rem;
    margin-bottom: 28px;
    opacity: 0.98;
}
.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 12px;
    justify-content: center;
}
.newsletter-form input[type="email"] {
    padding: 16px 20px;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 1.08rem;
    outline: none;
    min-width: 0;
    flex: 1 1 0;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}
.newsletter-form input[type="email"]::placeholder {
    color: #b3c6e0;
    opacity: 1;
}
.newsletter-form button {
    padding: 16px 34px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: #fff;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}
.newsletter-form button:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* --- Responsive adjustments --- */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .brand-spotlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 700px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .showcase-item img {
        height: 180px;
    }
    .brand-spotlight-card {
        flex-direction: column;
        align-items: stretch;
        min-height: unset;
    }
    .brand-spotlight-image {
        justify-content: flex-start;
        padding: 18px 0 0 0;
    }
    .brand-spotlight-image img {
        width: 100%;
        height: 100px;
        border-radius: 18px 18px 0 0;
    }
    .brand-spotlight-content {
        padding: 20px 14px;
    }
    .newsletter-content {
        padding: 18px 8px;
    }
    .newsletter-content h2 {
        font-size: 1.2rem;
    }
}

/* --- Products Banner Section --- */
.products-banner-section {
    padding: 0 0 40px 0;
}

.products-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 8px 32px rgba(1,74,150,0.10);
    margin-bottom: 0;
    display: flex;
    align-items: stretch;
}

.products-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    filter: brightness(0.7);
}

.products-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(1,74,150,0.85) 0%, rgba(2,99,199,0.65) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 60px;
    z-index: 2;
    pointer-events: none;
}

.products-banner-overlay h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(1,74,150,0.18);
    pointer-events: auto;
}

.products-banner-overlay p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    opacity: 0.97;
    pointer-events: auto;
}

.products-banner-overlay .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 38px;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(1,74,150,0.10);
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
}

.products-banner-overlay .btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (max-width: 900px) {
    .products-banner-overlay {
        padding: 28px 18px;
    }
    .products-banner img {
        height: 200px;
    }
    .products-banner-overlay h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .products-banner {
        min-height: 140px;
    }
    .products-banner img {
        height: 140px;
    }
    .products-banner-overlay {
        padding: 14px 8px;
        align-items: center;
        text-align: center;
    }
    .products-banner-overlay h2 {
        font-size: 1rem;
    }
    .products-banner-overlay p {
        font-size: 0.95rem;
    }
}


/* --- Category Filter Section --- */
.category-filter-section {
    background: linear-gradient(120deg, #fafdff 60%, #e8f0ff 100%);
    padding: 40px 0 30px 0;
    border-radius: 0 0 32px 32px;
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.5px;
}

.category-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
}

.category-filter-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s, border 0.18s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
    position: relative;
}

.category-filter-card:hover {
    box-shadow: 0 12px 32px rgba(1,74,150,0.13);
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.03);
}

.category-filter-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1);
}

.category-filter-card:hover img {
    transform: scale(1.05);
}

.category-filter-info {
    padding: 18px 10px 12px 10px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-filter-info h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.category-filter-info span {
    display: inline-block;
    background: var(--light-grey);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 16px;
    font-size: 0.97rem;
    margin-top: 4px;
    transition: background 0.18s, color 0.18s;
}

.category-filter-card:hover .category-filter-info span {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 700px) {
    .category-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .category-filter-card {
        min-height: 140px;
        padding: 0;
    }
    .category-filter-card img {
        height: 70px;
    }
    .filter-section-title {
        font-size: 1.1rem;
    }
}

/* --- Special Offers Section --- */
.special-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.special-offer-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    overflow: hidden;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    position: relative;
}

.special-offer-card:hover {
    box-shadow: 0 12px 32px rgba(1,74,150,0.13);
    transform: translateY(-4px) scale(1.03);
}

.special-offer-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transition: transform 0.22s cubic-bezier(.4,2,.6,1);
}

.special-offer-card:hover img {
    transform: scale(1.05);
}

.special-offer-content {
    padding: 28px 20px 22px 20px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.offer-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    padding: 6px 18px;
    font-size: 0.95rem;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.special-offer-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.special-offer-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.special-offer-content .btn {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1.08rem;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(1,74,150,0.10);
    transition: background 0.2s, color 0.2s;
}

.special-offer-content .btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (max-width: 700px) {
    .special-offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .special-offer-card img {
        height: 110px;
    }
    .special-offer-content {
        padding: 14px 8px 10px 8px;
    }
    .special-offer-content h3 {
        font-size: 1rem;
    }
}


/* --- Testimonials Section --- */
.testimonials-section {
    background: linear-gradient(135deg, #fafdff 0%, #e8f0ff 100%);
    padding: 70px 0 60px 0;
}

.testimonials-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-grid {
    display: flex;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(1,74,150,0.08);
    padding: 38px 28px 32px 28px;
    text-align: center;
    min-width: 100%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s, transform 0.4s;
    position: relative;
    display: none;
}
.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    display: block;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color, #014a96);
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.08rem;
    color: var(--text-dark, #222);
    margin-bottom: 18px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 10px;
}
.testimonial-author strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-color, #014a96);
    font-weight: 700;
}
.testimonial-author span {
    font-size: 0.95rem;
    color: var(--text-light, #666);
}

.testimonial-nav {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    color: var(--primary-color, #014a96);
    box-shadow: 0 2px 8px rgba(1,74,150,0.10);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin: 0 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-nav:hover {
    background: var(--primary-color, #014a96);
    color: #fff;
    box-shadow: 0 6px 18px rgba(1,74,150,0.13);
}

@media (max-width: 700px) {
    .testimonials-carousel {
        max-width: 98vw;
    }
    .testimonial-card {
        padding: 22px 8px 18px 8px;
    }
    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }
}

/* --- Contact Page Modern Design --- */
.page-header {
    background: linear-gradient(120deg, #fafdff 60%, #e8f0ff 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 6px 24px rgba(1,74,150,0.07);
}

.contact-wrapper {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-form-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    padding: 38px 28px 32px 28px;
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 480px;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color, #e8f0ff);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--light-grey, #fafdff);
    color: var(--text-dark, #222);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    padding: 14px 0;
    font-size: 1.08rem;
    border-radius: 8px;
    margin-top: 10px;
}

.form-message {
    margin-top: 18px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    background: #e8f0ff;
    color: var(--primary-color);
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #218838;
}

.contact-info {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(1,74,150,0.08);
    padding: 38px 28px 32px 28px;
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 480px;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--primary-color);
}

.contact-info-card {
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.info-icon {
    background: linear-gradient(135deg, #e8f0ff 0%, #fafdff 100%);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.info-item p {
    font-size: 0.98rem;
    color: var(--text-light, #666);
    margin-bottom: 0;
}

.whatsapp-link {
    color: #25d366;
    font-weight: 700;
    text-decoration: none;
}

.business-hours {
    background: var(--light-grey, #fafdff);
    border-radius: 12px;
    padding: 18px 14px;
    margin-top: 18px;
}

.business-hours h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.98rem;
    color: var(--text-light, #666);
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .contact-form-container,
    .contact-info {
        max-width: 100%;
        padding: 22px 10px 18px 10px;
    }
}

.badge-trending {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e67e22;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 0.95rem;
    z-index: 2;
}
.product-card.out-of-stock {
    opacity: 0.6;
    pointer-events: none;
}
.btn-add-cart {
    margin-top: 12px;
    background: #014A96;
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s;
}
.btn-add-cart:hover {
    background: #013566;
}
.product-rating {
    margin-bottom: 8px;
}

/* Enhanced Product Card */
.product-card {
    background-color: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-image-link {
    display: block;
    position: relative;
}
.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}
.badge-trending {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #e67e22;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 0.95rem;
    z-index: 2;
}
.out-of-stock-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(231,76,60,0.7);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 14px;
}
.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-brand {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.product-rating {
    margin-bottom: 8px;
}
.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.product-category {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.product-stock {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.btn-secondary {
    background: #e8f0ff;
    color: #014A96;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
}
.btn-secondary:hover {
    background: #014A96;
    color: #fff;
}
.btn-add-cart {
    background: #014A96;
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s;
}
.btn-add-cart:hover {
    background: #013566;
}


/* Enhanced Product Page Styles */

/* Filters Section */
.filters-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 0;
    margin-bottom: 30px;
}

.toggle-filters-btn {
    display: none;
    width: 100%;
    padding: 15px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.filters-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.search-box-advanced {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-advanced svg {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
}

.search-box-advanced input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box-advanced input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(1,74,150,0.1);
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range-inputs input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
}

.price-range-inputs span {
    color: var(--text-light);
    font-weight: 600;
}

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.filter-actions .btn {
    flex: 1;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.products-count {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Enhanced Product Card */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-actions-top {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.action-btn svg {
    transition: all 0.3s;
}

.action-btn:hover svg {
    stroke: white;
}

.wishlist-btn.active {
    background: #ff4757;
}

.wishlist-btn.active svg {
    fill: white;
    stroke: white;
}

.low-stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 20;
    border-radius: 16px;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-link {
    overflow: hidden;
}

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    color: #ddd;
    font-size: 1.1rem;
}

.star.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 5px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1,74,150,0.3);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* List View */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.products-grid.list-view .product-image {
    height: 100%;
    min-height: 200px;
}

.products-grid.list-view .product-actions-top {
    right: auto;
    left: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

/* Quick View */
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quick-view-image img {
    width: 100%;
    border-radius: 12px;
}

.quick-view-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
}

.description {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}

.product-meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.product-meta p {
    margin: 10px 0;
}

.in-stock {
    color: #27ae60;
    font-weight: 600;
}

.out-of-stock {
    color: #e74c3c;
    font-weight: 600;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.05rem;
}

/* Wishlist Modal */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
}

.wishlist-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.wishlist-item .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-remove:hover {
    transform: rotate(90deg);
    background: #c0392b;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.toast-success .toast-icon {
    background: #27ae60;
    color: white;
}

.toast-error .toast-icon {
    background: #e74c3c;
    color: white;
}

.toast-info .toast-icon {
    background: #3498db;
    color: white;
}

.toast-message {
    font-weight: 600;
    color: var(--text-dark);
}

/* Loading States */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Wishlist Link */
.wishlist-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .toggle-filters-btn {
        display: flex;
    }
    
    .filters-container {
        display: none;
    }
    
    .filters-container.active {
        display: block;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }
    
    .wishlist-item {
        flex-wrap: wrap;
    }
    
    .toast {
        right: 15px;
        left: 15px;
        bottom: 15px;
    }
}

.product-thumbnails, .quick-view-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.thumbnail-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border 0.2s;
}
.thumbnail-img:hover {
    border: 2px solid var(--primary-color);
}


/* Quick View Modal Layout */
.quick-view-card {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(1,74,150,0.10);
    border-radius: 18px;
    background: #fff;
    padding: 0;
    position: relative;
}

.quick-view-card .product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}

.quick-view-card .quick-view-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.quick-view-card .thumbnail-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border 0.2s;
}

.quick-view-card .thumbnail-img.active,
.quick-view-card .thumbnail-img:focus {
    border-color: var(--primary-color);
}

.quick-view-card .product-card-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.quick-view-card .btn-wishlist {
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-view-card .btn-wishlist.active {
    background: #ff4757;
}

.quick-view-card .btn-wishlist svg {
    transition: transform 0.3s;
}

.quick-view-card .btn-wishlist.active svg {
    fill: white;
}

.quick-view-card .product-card-body {
    padding: 24px;
}

.quick-view-card .product-footer {
    margin-top: 18px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-view-card .btn-add-cart {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view-card .btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* --- Quick View Modal --- */
.quick-view-card {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(1,74,150,0.10);
    border-radius: 18px;
    background: #fff;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.quick-view-card .product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    background: var(--light-grey);
}

.quick-view-card .quick-view-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.quick-view-card .thumbnail-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border 0.2s;
}

.quick-view-card .thumbnail-img.active,
.quick-view-card .thumbnail-img:focus {
    border-color: var(--primary-color);
}

.quick-view-card .product-card-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.quick-view-card .btn-wishlist {
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-view-card .btn-wishlist.active {
    background: #ff4757;
}

.quick-view-card .btn-wishlist svg {
    transition: transform 0.3s;
}

.quick-view-card .btn-wishlist.active svg {
    fill: white;
}

.quick-view-card .product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-view-card .product-brand {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.quick-view-card .product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.quick-view-card .product-description {
    font-size: 0.97rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.quick-view-card .product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.quick-view-card .star {
    color: #ddd;
    font-size: 1.1rem;
}

.quick-view-card .star.filled {
    color: #ffc107;
}

.quick-view-card .rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 5px;
}

.quick-view-card .product-footer {
    margin-top: 18px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-view-card .price-section {
    display: flex;
    flex-direction: column;
}

.quick-view-card .product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.quick-view-card .btn-add-cart {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view-card .btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* --- Wishlist Modal --- */
.wishlist-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8f9fa;
    border-radius: 14px;
    margin-bottom: 18px;
    padding: 18px 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(1,74,150,0.07);
}

.wishlist-card .product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
}

.wishlist-card .product-card-body {
    flex: 1;
    padding: 0;
}

.wishlist-card .product-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wishlist-card .btn-add-cart {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-card .btn-remove {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-card .btn-remove:hover {
    background: #c0392b;
}


/* ...existing code... */
.cart-summary .btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
}

.cart-summary .btn + .btn {
    margin-top: 10px;
}
/* ...existing code... */


.thumbnail-img.active {
    border-color: var(--primary-color);
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 15px 0;
    flex-wrap: wrap;
}

.thumbnail-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-img:hover {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-img.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(1, 74, 150, 0.3);
}

/* Product Actions Top */
.product-actions-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    box-shadow: 0 4px 16px rgba(1, 74, 150, 0.3);
}

.action-btn:hover svg {
    stroke: white;
}

.action-btn svg {
    transition: all 0.3s ease;
}

.wishlist-btn.active {
    background: #ff4757;
}

.wishlist-btn.active svg {
    fill: white;
    stroke: white;
}

/* Out of Stock Overlay */
.product-card.out-of-stock {
    position: relative;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 15;
    border-radius: 14px;
    backdrop-filter: blur(2px);
    letter-spacing: 1px;
}

/* Special Sections Styling */
.section-deals {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.section-grey {
    background: var(--light-grey);
}

.section-premium {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

/* Section Header Enhanced */
.section-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 400;
    opacity: 0.9;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    text-decoration: underline;
    gap: 8px;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .product-thumbnails {
        padding: 8px 10px 0;
        gap: 6px;
    }
    
    .thumbnail-img {
        width: 40px;
        height: 40px;
    }
    
    .action-btn {
        width: 34px;
        height: 34px;
    }
    
    .action-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .product-thumbnails {
        gap: 4px;
    }
    
    .thumbnail-img {
        width: 35px;
        height: 35px;
    }
}

/* --- Enhanced Responsive Filters/Search Controls --- */
@media (max-width: 900px) {
    .filters-section {
        padding: 18px 0;
    }
    .filters-container {
        padding: 16px;
    }
    .filter-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .filter-group {
        gap: 6px;
    }
    .search-box-advanced input,
    .filter-select,
    .price-range-inputs input {
        font-size: 0.97rem;
        padding: 10px;
    }
    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }
    .filter-actions .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .filters-section {
        padding: 10px 0;
    }
    .filters-container {
        padding: 8px;
    }
    .filter-row {
        gap: 8px;
    }
    .search-box-advanced input,
    .filter-select,
    .price-range-inputs input {
        font-size: 0.95rem;
        padding: 8px;
    }
    .filter-actions {
        gap: 8px;
    }
}

/* --- Filter Controls Sizing & Placement --- */
.filters-container .filter-select,
.filters-container .price-range-inputs input,
.filters-container .search-box-advanced input {
    max-width: 260px;
    width: 100%;
    box-sizing: border-box;
}

.filters-container .filter-group {
    align-items: flex-start;
}

@media (max-width: 900px) {
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        max-width: 100%;
    }
    .filters-container .filter-group {
        width: 100%;
    }
}


/* --- Ensure Filter Controls Are Balanced on Small Screens --- */
@media (max-width: 900px) {
    .filters-container .filter-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .filters-container .filter-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }
    .filters-container .price-range-inputs {
        gap: 8px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .filters-container .filter-row {
        gap: 8px;
    }
    .filters-container .filter-group {
        gap: 4px;
    }
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        font-size: 0.95rem;
        padding: 8px;
        width: 100%;
        max-width: 100%;
    }
}


/* Make hero deal images cover and fill space */
.hero-deals .deal-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 900px) {
    .hero-deals .deal-card img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .hero-deals .deal-card img {
        height: 100px;
        border-radius: 12px;
    }
}

/* --- Responsive Hero Section --- */
@media (max-width: 900px) {
    .hero-enhanced .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .hero-main {
        width: 100%;
    }
    .hero-content-enhanced h1 {
        font-size: 2rem;
    }
    .hero-content-enhanced p {
        font-size: 1.05rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .hero-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .hero-feature {
        font-size: 0.98rem;
    }
    .hero-deals {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
    .deal-card img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    .hero-enhanced {
        padding: 24px 0 32px 0;
    }
    .hero-content-enhanced h1 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .hero-content-enhanced p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    .hero-buttons .btn-large {
        font-size: 1rem;
        padding: 12px 18px;
    }
    .hero-features {
        gap: 8px;
    }
    .hero-feature {
        font-size: 0.95rem;
    }
    .hero-deals {
        gap: 6px;
    }
    .deal-card img {
        border-radius: 10px;
        max-width: 100%;
        height: 80px;
        object-fit: cover;
    }
}

/* Make hero deal images cover and fill space */
.hero-deals .deal-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 900px) {
    .hero-deals .deal-card img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .hero-deals .deal-card img {
        height: 100px;
        border-radius: 12px;
    }
}


/* Make hero deal images fully cover and fill card space */
.hero-deals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hero-deals .deal-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
}

.hero-deals .deal-card img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    flex: 1;
}

@media (max-width: 900px) {
    .hero-deals .deal-card img {
        min-height: 120px;
    }
}

@media (max-width: 600px) {
    .hero-deals {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-deals .deal-card img {
        min-height: 80px;
        border-radius: 10px;
    }
}

/* Force remove border/background from images and their containers */
.hero-deals .deal-card,
.hero-deals .deal-card img,
.product-card .product-image,
.showcase-item img,
.brand-logo-img img {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Responsive: Make images block and fill width/height on small screens */
@media (max-width: 600px) {
    .product-card .product-image,
    .hero-deals .deal-card img,
    .showcase-item img,
    .brand-logo-img img {
        display: block;
        width: 100% !important;
        height: 180px !important;
        max-width: 100vw !important;
        object-fit: cover !important;
        margin: 0 auto;
        border-radius: 10px !important;
    }
}

/* --- Responsive Contact/Admin Message Cards --- */
@media (max-width: 900px) {
    .contact-message-card,
    .admin-message-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px 10px !important;
        gap: 12px !important;
    }
    .contact-message-header,
    .admin-message-header {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }
    .contact-message-details,
    .admin-message-details {
        font-size: 1rem !important;
        word-break: break-word !important;
    }
    .contact-message-actions,
    .admin-message-actions {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
}

@media (max-width: 600px) {
    .contact-message-card,
    .admin-message-card {
        padding: 12px 4px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }
    .contact-message-header h3,
    .admin-message-header h3 {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
    }
    .contact-message-details,
    .admin-message-details {
        font-size: 0.97rem !important;
    }
    .contact-message-actions .btn,
    .admin-message-actions .btn {
        width: 100% !important;
        font-size: 1rem !important;
    }
}


/* --- Enhanced Responsive Admin Dashboard --- */
@media (max-width: 1200px) {
    .main-content {
        padding: 18px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .card-header,
    .card-body {
        padding: 18px !important;
    }
    .btn-group {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

@media (max-width: 900px) {
    .main-content {
        padding: 10px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .card {
        padding: 10px;
        border-radius: 12px;
    }
    .card-header {
        padding: 12px 10px 12px 10px !important;
    }
    .card-title {
        font-size: 1.15rem;
    }
    .card-body {
        padding: 12px !important;
        font-size: 1rem;
    }
    .table-wrapper {
        overflow-x: auto;
        font-size: 0.97rem;
    }
    .table th,
    .table td {
        padding: 10px 6px;
    }
    .btn-group .btn {
        width: 100%;
        font-size: 1rem;
    }
    .alert {
        font-size: 0.98rem;
        padding: 12px;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 4px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .card {
        padding: 6px;
        border-radius: 8px;
    }
    .card-header {
        padding: 8px 6px 8px 6px !important;
    }
    .card-title {
        font-size: 1.05rem;
    }
    .card-body {
        padding: 8px !important;
        font-size: 0.97rem;
    }
    .table th,
    .table td {
        padding: 8px 4px;
        font-size: 0.95rem;
    }
    .btn-group {
        gap: 8px;
    }
    .btn-group .btn {
        width: 100%;
        font-size: 0.98rem;
    }
    .alert {
        font-size: 0.95rem;
        padding: 8px;
    }
    .d-flex,
    .justify-between,
    .align-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
}

/* Utility: Make dashboard grids stack and scroll on mobile */
.stats-grid,
.card,
.table-wrapper,
.btn-group {
    width: 100%;
    box-sizing: border-box;
}
.table-wrapper {
    overflow-x: auto;
}

/* --- Responsive Dashboard Cards & Tables --- */
@media (max-width: 900px) {
    .main-content {
        padding: 10px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card {
        padding: 10px;
        border-radius: 12px;
    }
    .card-header,
    .card-body {
        padding: 12px !important;
    }
    .table-wrapper {
        overflow-x: auto;
        font-size: 0.97rem;
    }
    .table th,
    .table td {
        padding: 10px 6px;
        font-size: 0.97rem;
    }
    .d-flex,
    .justify-between,
    .align-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .btn-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 4px;
    }
    .stats-grid {
        gap: 8px;
    }
    .card {
        padding: 6px;
        border-radius: 8px;
    }
    .card-header,
    .card-body {
        padding: 8px !important;
    }
    .table th,
    .table td {
        padding: 8px 4px;
        font-size: 0.95rem;
    }
    .table-wrapper {
        font-size: 0.95rem;
    }
    .btn-group .btn {
        width: 100%;
        font-size: 0.98rem;
    }
    .d-flex,
    .justify-between,
    .align-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
}

/* Utility: Make dashboard grids stack and scroll on mobile */
.table-wrapper {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

@media (max-width: 600px) {
    .hero-deals {
        display: block !important;
        width: 100vw !important;
        overflow-x: hidden;
    }
    .hero-deals .deal-card {
        width: 100% !important;
        margin-bottom: 16px;
        display: block !important;
    }
    .hero-deals .deal-card img {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: 180px !important;
        object-fit: cover !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 700px) {
    .quick-view-card {
        max-width: 98vw;
        margin: 16px auto;
        border-radius: 16px;
        box-shadow: 0 4px 18px rgba(1,74,150,0.12);
        padding: 0;
    }
    .quick-view-card .product-card-body {
        padding: 28px 18px !important;
        gap: 18px !important;
    }
    .quick-view-card .product-image,
    #quickViewMainImg {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        border-radius: 16px 16px 0 0 !important;
        display: block;
        margin: 0 auto;
    }
    .quick-view-thumbnails {
        gap: 12px !important;
        margin: 18px 0 !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .quick-view-card .product-footer {
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
        padding-top: 18px !important;
    }
    .quick-view-card .btn-add-cart {
        width: 100% !important;
        padding: 14px !important;
        font-size: 1.08rem !important;
    }

        .quick-view-card .product-price {
        font-size: 1.1rem !important;
}
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* ... */
}





/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #014A96;
    --primary-dark: #013566;
    --primary-light: #0263C7;
    --secondary-color: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-grey: #f5f6f8;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden !important;
    overflow-y: auto;
}

body.index-page {
    overflow-x: hidden !important;
    overflow-y: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-grey {
    background-color: var(--light-grey);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Hamburger to X animation */
.hamburger {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: none;
    display: none;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex !important;
    }
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    position: relative;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Enhanced Hero Section */
.hero-enhanced {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 40px 0 60px;
}

/* ========================================
   NEW FLASHY ECOMMERCE HERO SECTION
   ======================================== */
.hero-ecommerce {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #014A96 50%, #0263C7 100%);
    padding: 50px 0 70px;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
}

.hero-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-main-content {
    padding: 20px 0;
}

.hero-content-wrapper {
    max-width: 600px;
}

.hero-badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge.pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(255,255,255,0.2); }
}

.hero-title-big {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    font-size: 4.2rem;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6); }
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-cta-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #014A96;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.hero-trust-badges {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-badge svg {
    flex-shrink: 0;
}

/* Banner Area */
.hero-banner-area {
    position: relative;
}

.hero-banner-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.hero-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-banner:hover img {
    transform: scale(1.05);
}

.hero-banner-large {
    height: 400px;
}

.hero-banner-secondary {
    height: 200px;
}

.banner-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Flash Deals Ticker */
.hero-deals-ticker {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 15px 25px;
    margin-top: 40px;
}

.ticker-icon {
    font-size: 1.5rem;
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ticker-text {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.ticker-label {
    font-weight: 800;
    color: #FFD700;
}

.ticker-content {
    opacity: 0.95;
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero-grid-new {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-title-big {
        font-size: 2.5rem;
    }

    .highlight-text {
        font-size: 2.8rem;
    }

    .hero-banner-large {
        height: 280px;
    }

    .hero-banner-secondary {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .hero-ecommerce {
        padding: 30px 0 40px;
    }

    .hero-title-big {
        font-size: 1.8rem;
    }

    .highlight-text {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-badge-group {
        gap: 8px;
    }

    .hero-banner-large {
        height: 200px;
    }

    .hero-banner-secondary {
        height: 120px;
    }

    .hero-deals-ticker {
        padding: 12px 18px;
        flex-wrap: wrap;
    }

    .ticker-text {
        font-size: 0.9rem;
    }
}

/* Make hero deal images fully cover and fill card space */
.hero-deals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hero-deals .deal-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
}

.hero-deals .deal-card img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    flex: 1;
}

@media (max-width: 900px) {
    .hero-deals .deal-card img {
        min-height: 120px;
    }
}

@media (max-width: 600px) {
    .hero-deals {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .hero-deals .deal-card img {
        min-height: 80px;
        border-radius: 10px;
    }
}

/* Force remove border/background from images and their containers */
.hero-deals .deal-card,
.hero-deals .deal-card img,
.product-card .product-image,
.showcase-item img,
.brand-logo-img img {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Responsive: Make images block and fill width/height on small screens */
@media (max-width: 600px) {
    .product-card .product-image,
    .hero-deals .deal-card img,
    .showcase-item img,
    .brand-logo-img img {
        display: block;
        width: 100% !important;
        height: 180px !important;
        max-width: 100vw !important;
        object-fit: contain !important;
        margin: 0 auto;
        border-radius: 10px !important;
    }
}

/* ...existing code... */
.cart-summary .btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
}

.cart-summary .btn + .btn {
    margin-top: 10px;
}

/* Thumbnail and product actions styles */
.thumbnail-img.active {
    border-color: var(--primary-color);
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 15px 0;
    flex-wrap: wrap;
}

.thumbnail-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-img:hover {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-img.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(1, 74, 150, 0.3);
}

/* Product Actions Top */
.product-actions-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    box-shadow: 0 4px 16px rgba(1, 74, 150, 0.3);
}

.action-btn:hover svg {
    stroke: white;
}

.action-btn svg {
    transition: all 0.3s ease;
}

.wishlist-btn.active {
    background: #ff4757;
}

.wishlist-btn.active svg {
    fill: white;
    stroke: white;
}

/* Out of Stock Overlay */
.product-card.out-of-stock {
    position: relative;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 15;
    border-radius: 14px;
    backdrop-filter: blur(2px);
    letter-spacing: 1px;
}

/* Special Sections Styling */
.section-deals {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.section-grey {
    background: var(--light-grey);
}

.section-premium {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

/* Section Header Enhanced */
.section-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 400;
    opacity: 0.9;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    text-decoration: underline;
    gap: 8px;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .product-thumbnails {
        padding: 8px 10px 0;
        gap: 6px;
    }

    .thumbnail-img {
        width: 40px;
        height: 40px;
    }

    .action-btn {
        width: 34px;
        height: 34px;
    }

    .action-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .product-thumbnails {
        gap: 4px;
    }

    .thumbnail-img {
        width: 35px;
        height: 35px;
    }
}

/* --- Enhanced Responsive Filters/Search Controls --- */
@media (max-width: 900px) {
    .filters-section {
        padding: 18px 0;
    }
    .filters-container {
        padding: 16px;
    }
    .filter-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .filter-group {
        gap: 6px;
    }
    .search-box-advanced input,
    .filter-select,
    .price-range-inputs input {
        font-size: 0.97rem;
        padding: 10px;
    }
    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }
    .filter-actions .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .filters-section {
        padding: 10px 0;
    }
    .filters-container {
        padding: 8px;
    }
    .filter-row {
        gap: 8px;
    }
    .search-box-advanced input,
    .filter-select,
    .price-range-inputs input {
        font-size: 0.95rem;
        padding: 8px;
    }
    .filter-actions {
        gap: 8px;
    }
}

/* --- Filter Controls Sizing & Placement --- */
.filters-container .filter-select,
.filters-container .price-range-inputs input,
.filters-container .search-box-advanced input {
    max-width: 260px;
    width: 100%;
    box-sizing: border-box;
}

.filters-container .filter-group {
    align-items: flex-start;
}

@media (max-width: 900px) {
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        max-width: 100%;
    }
    .filters-container .filter-group {
        width: 100%;
    }
}

/* --- Ensure Filter Controls Are Balanced on Small Screens --- */
@media (max-width: 900px) {
    .filters-container .filter-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .filters-container .filter-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }
    .filters-container .price-range-inputs {
        gap: 8px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .filters-container .filter-row {
        gap: 8px;
    }
    .filters-container .filter-group {
        gap: 4px;
    }
    .filters-container .filter-select,
    .filters-container .price-range-inputs input,
    .filters-container .search-box-advanced input {
        font-size: 0.95rem;
        padding: 8px;
        width: 100%;
        max-width: 100%;
    }
}

/* ...existing code... */
.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    /* ... */
}


/* ========================================
   FIX PRODUCT IMAGES - SHOW FULLY
   ======================================== */
.product-card .product-image,
.product-image,
#quickViewMainImg,
.cart-item-image {
    object-fit: contain !important;
    background: #f8f9fa;
    padding: 10px;
}

/* ========================================
   MOBILE 3x3 GRID LAYOUT (JUMIA STYLE)
   ======================================== */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .product-card {
        border-radius: 8px;
        padding: 0;
    }
    
    .product-card .product-image {
        height: 110px !important;
        border-radius: 8px 8px 0 0;
    }
    
    .product-card-body {
        padding: 8px !important;
    }
    
    .product-brand {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }
    
    .product-name {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 2;
    }
    
    .product-description {
        display: none !important;
    }
    
    .product-rating {
        display: none !important;
    }
    
    .product-footer {
        flex-direction: column !important;
        gap: 6px !important;
        padding-top: 6px !important;
    }
    
    .product-price {
        font-size: 0.9rem !important;
    }
    
    .btn-add-cart {
        width: 100% !important;
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
        gap: 4px !important;
    }
    
    .btn-add-cart svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .product-actions-top {
        top: 6px;
        right: 6px;
        gap: 4px;
    }
    
    .action-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .action-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Ensure homepage product sections also use 3x3 on mobile */
@media (max-width: 600px) {
    .section .products-grid,
    #flashdeals,
    #trendingnow,
    #featuredcollections,
    #bestsellers,
    #brandspotlight,
    #newarrivals,
    #premiumselection {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
}


/* ========================================
   NEW FLASHY ECOMMERCE HERO SECTION STYLES
   ======================================== */
.hero-ecommerce {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #014A96 50%, #0263C7 100%);
    padding: 50px 0 70px;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
}

.hero-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-main-content {
    padding: 20px 0;
}

.hero-content-wrapper {
    max-width: 600px;
}

.hero-badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge.pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(255,255,255,0.2); }
}

.hero-title-big {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    font-size: 4.2rem;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6); }
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-cta-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #014A96;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.hero-trust-badges {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-badge svg {
    flex-shrink: 0;
}

.hero-banner-area {
    position: relative;
}

.hero-banner-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.hero-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-banner:hover img {
    transform: scale(1.05);
}

.hero-banner-large {
    height: 400px;
}

.hero-banner-secondary {
    height: 200px;
}

.banner-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-deals-ticker {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 15px 25px;
    margin-top: 40px;
}

.ticker-icon {
    font-size: 1.5rem;
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ticker-text {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.ticker-label {
    font-weight: 800;
    color: #FFD700;
}

.ticker-content {
    opacity: 0.95;
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero-grid-new {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .hero-title-big {
        font-size: 2.5rem;
    }
    
    .highlight-text {
        font-size: 2.8rem;
    }
    
    .hero-banner-large {
        height: 280px;
    }
    
    .hero-banner-secondary {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .hero-ecommerce {
        padding: 30px 0 40px;
    }
    
    .hero-title-big {
        font-size: 1.8rem;
    }
    
    .highlight-text {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .hero-badge-group {
        gap: 8px;
    }
    
    .hero-banner-large {
        height: 200px;
    }
    
    .hero-banner-secondary {
        height: 120px;
    }
    
    .hero-deals-ticker {
        padding: 12px 18px;
        flex-wrap: wrap;
    }
    
    .ticker-text {
        font-size: 0.9rem;
    }
}

.modal {
    display: none;
    /* ...other styles... */
}
.modal.active {
    display: flex;
}

@media (max-width: 600px) {
    .hero-banner-secondary {
        height: 220px !important;
    }
    .hero-banner-secondary img {
        height: 220px !important;
        object-fit: cover;
    }
}

/* Hamburger to X animation */
.hamburger {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: none;
    display: none; /* Hidden by default */
}
@media (max-width: 900px) {
    .hamburger {
        display: flex !important; /* Show on mobile */
    }
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary-color, #014A96);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(1,74,150,0.15);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    transition: opacity 0.2s, visibility 0.2s;
}
.back-to-top.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Ensure modal close button is always on top and visible */
/* filepath: styles.css */
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
    background: #fff;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(1,74,150,0.08);
    cursor: pointer;
}

@media (max-width: 600px) {
    .modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
    .modal-content {
        padding-top: 40px !important; /* Add space for the close button */
    }
}