/* Cello E-Commerce - Premium Stylesheet */

:root {
    /* Brand Colors */
    --primary: #0F172A;
    /* Slate 900 */
    --primary-light: #1E293B;
    /* Slate 800 */
    --accent: #F59E0B;
    /* Amber 500 */
    --accent-hover: #D97706;
    /* Amber 600 */
    --accent-light: #FEF3C7;
    /* Amber 100 */

    /* Semantic Colors */
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows - Premium Soft Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 10px 25px -5px rgba(245, 158, 11, 0.25);

    /* Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on mobile */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--gray-50);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Components: Buttons */
.btn,
.search-btn,
.btn-hero,
.view-all-link,
.add-to-cart-btn,
.feature-btn,
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

/* --- Layout Sections --- */

/* Promo Strip */
.mobile-only-item {
    display: none;
}

.promo-strip {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    z-index: 1100;
}

.promo-strip-inner {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.promo-item {
    opacity: 0.7;
    transition: var(--transition-fast);
}

.promo-item:hover,
.promo-item.active {
    opacity: 1;
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
}

.logo-text .dot {
    color: var(--accent);
}

.logo-img {
    height: 85px;
    /* Increased size for clear visibility */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Search Bar */
.search-wrapper {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-form {
    display: flex;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 4px;
    transition: var(--transition);
}

.search-form:focus-within {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-form input {
    flex: 1;
    padding: 0 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--gray-900);
}

.search-form input:focus {
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
}

.search-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang-selector {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lang-selector:hover {
    color: var(--primary);
}

.header-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link .icon {
    font-size: 24px;
    color: var(--gray-700);
    transition: transform var(--transition-fast);
}

.header-link:hover .icon {
    color: var(--accent);
    transform: scale(1.1);
}

.header-link .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-link .text small {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
}

.header-link .text strong {
    font-size: 14px;
    font-weight: 700;
}

.cart-link {
    background: var(--gray-100);
    padding: 10px 18px;
    border-radius: var(--radius-full);
}

.cart-link:hover {
    background: var(--gray-200);
}

.cart-link .text {
    display: none;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

/* Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.main-nav .container {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-item a {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    position: relative;
    padding: 8px 0;
}

.nav-item a:hover {
    color: var(--primary);
}

.nav-item a.highlight {
    color: var(--accent);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item .arrow {
    font-size: 10px;
    opacity: 0.5;
    margin-left: 4px;
}

/* Dropdown & Mega Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1050;
    border: 1px solid var(--gray-100);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: 1200px;
    min-width: unset;
    padding: 40px;
}

.nav-item:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.mega-menu-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 16px;
    display: block;
    padding: 12px;
    border-radius: var(--radius-sm);
}

.mega-menu-title:hover {
    background: var(--gray-50);
    color: var(--accent);
}

.nav-right {
    display: flex;
    gap: 32px;
}

.nav-right a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}

.nav-right a:hover {
    color: var(--primary);
}

/* Hero Carousel */
.hero-carousel {
    height: 600px;
    background: var(--gray-900);
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: 2rem;
}

.carousel-slide {
    height: 100%;
    width: 100%;
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.carousel-slide.active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content h1 {
    font-size: 72px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 800px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 20px;
    color: var(--gray-300);
    margin-bottom: 48px;
    max-width: 600px;
}

.slide-buttons {
    display: flex;
    gap: 20px;
}

.btn-hero {
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 700;
}

.btn-hero.primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn-hero.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.5);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

.carousel-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    transform: scale(2);
}

/* Sections Global */
section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--gray-500);
    font-size: 16px;
}

.view-all-link {
    color: var(--primary);
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
}

.view-all-link:hover {
    background: var(--primary);
    color: var(--white);
}

.section-nav {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-900);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.collection-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.collection-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}

.collection-card:hover .collection-icon {
    background: var(--accent-light);
    transform: scale(1.1) rotate(5deg);
}

.collection-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.collection-info .item-count {
    color: var(--gray-500);
    font-size: 14px;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.star {
    font-size: 14px;
    color: var(--gray-300);
}

.star.filled {
    color: var(--warning);
}

.star.half {
    position: relative;
    color: var(--warning);
}

/* Products Layout */
.products-grid,
.products-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.products-track {
    /* Override for carousel behavior */
    display: flex;
    overflow-x: auto;
    padding-bottom: 40px;
    /* Space for shadow */
    scroll-snap-type: x mandatory;
}

.carousel-slides {
    height: 100%;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    min-width: 260px;
    /* For carousel */
    scroll-snap-align: start;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
}

.product-image {
    aspect-ratio: 1;
    background: var(--gray-50);
    padding: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: multiply;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
}

.badge.new {
    background: var(--info);
}

.badge.sale {
    background: var(--danger);
}

.badge.deal {
    background: var(--accent);
}

.product-actions {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 5;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.product-title a {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: var(--accent);
}

.product-price {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.original-price {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-colors {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.color-dot:hover {
    transform: scale(1.2);
}

.add-to-cart-btn {
    width: 100%;
    background: var(--gray-900);
    color: var(--white);
    padding: 0;
    margin-top: 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
    height: 48px;
    padding: 12px;
    margin-top: 16px;
}

/* Feature Grid */
.category-features {
    background: var(--gray-50);
}

.feature-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    height: 500px;
}

.feature-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition);
}

.feature-block:hover {
    transform: scale(1.01);
}

.feature-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.feature-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.feature-label {
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.feature-block h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-btn {
    background: var(--white);
    color: var(--gray-900);
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.feature-block.smartphones {
    background-color: #000;
    /* Add background image here if available */
}

.feature-block.earbuds {
    background-color: #333;
}

.feature-block.tablets {
    background-color: #1a1a1a;
}

/* Promo Banner Strip Animation */
.promo-banner-strip {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 16px 0;
    overflow: hidden;
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 40px 0;
}

.promo-scroll {
    display: flex;
    animation: scrollText 30s linear infinite;
    gap: 4rem;
}

.promo-scroll span {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--gray-300);
    padding-top: 80px;
    margin-top: 80px;
}

/* Newsletter */
.whatsapp-channel-btn {
    background: var(--gray-900);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-channel-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.newsletter-section {
    background: var(--accent);
    padding: 60px 0;
    margin-bottom: -80px;
    /* Pull footer up or section down logic? No, let's just style it */
    position: relative;
    z-index: 10;
    margin-top: 80px;
    margin-bottom: 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background: var(--white);
    color: var(--gray-900);
    font-size: 15px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Main Footer */
.main-footer {
    background: var(--primary);
    color: var(--gray-400);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 64px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-img {
    height: 28px;
    /* Extra compact for footer */
    filter: brightness(0) invert(1);
    /* Assuming white logo version is needed for footer */
}

.footer-col p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.contact-info li {
    font-size: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--white);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    margin: 20px;
    position: relative;
    box-shadow: var(--shadow-colored);
    transform: scale(0.95) translateY(20px);
    transition: var(--transition);
    overflow: hidden;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gray-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-500);
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
    transform: rotate(90deg);
}

.quick-view-content {
    /* Style content that comes from ajax */
    display: flex;
    height: 600px;
    /* Start with fixed height for animation smoothness */
}

/* Quick View Content */
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    height: 100%;
}

.quick-view-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
}

.quick-view-image img {
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.quick-view-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-view-brand {
    color: var(--gray-500);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-view-title {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.quick-view-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quick-view-price .current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.quick-view-price .original {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 18px;
}

.quick-view-desc {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 15px;
}

.quick-view-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.btn-add-cart-large {
    flex: 2;
    padding: 16px;
    background: var(--gray-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart-large:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-view-details {
    flex: 1;
    padding: 16px;
    background: var(--gray-100);
    color: var(--gray-900);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-view-details:hover {
    background: var(--gray-200);
}


/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.quote-icon {
    font-size: 80px;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info strong {
    display: block;
    font-size: 18px;
    color: var(--primary);
}

.author-info span {
    font-size: 14px;
    color: var(--gray-400);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-900);
    padding: 4px;
    line-height: 1;
}

/* --- New Page Sections (Consolidated) --- */

/* Delivery Info Section */
.delivery-info-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
}

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.delivery-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.delivery-card .icon-box {
    font-size: 32px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.delivery-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.delivery-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* Bundle Purchasing Section */
.bundle-purchasing-section {
    padding: 40px 0 80px;
    background: var(--white);
}

.bundle-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 300px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.bundle-content {
    padding: 60px;
}

.bundle-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.bundle-card p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
}

.bundle-highlight {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}

.bundle-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    font-size: 100px;
}

/* Retailer CTA Section */
.retailer-cta-section {
    padding: 80px 0;
    background: var(--white);
}

.retailer-cta-card {
    background: var(--gray-900);
    color: white;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 300px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    padding: 60px;
}

.cta-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profit-highlight {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}

.cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    font-size: 100px;
}

/* --- Responsive System --- */

/* Tablet & Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .promo-strip {
        display: none;
    }

    .main-header {
        padding: 12px 0;
        position: relative;
    }

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* Logo stays on the left */
    .logo {
        order: 1;
        flex-shrink: 0;
    }

    /* Header actions (cart, etc.) */
    .header-actions {
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Hide non-essential header items */
    .lang-selector,
    .header-link.highlight-btn,
    .header-link.account-link {
        display: none !important;
    }

    /* Keep cart visible */
    .cart-link {
        display: flex !important;
        position: relative;
    }

    .cart-link .text {
        display: none;
    }

    /* Hamburger menu toggle */
    .mobile-menu-toggle {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--gray-100);
        border: none;
        border-radius: var(--radius-sm);
        font-size: 24px;
        cursor: pointer;
        color: var(--gray-900);
        transition: var(--transition);
    }

    .mobile-menu-toggle:hover {
        background: var(--gray-200);
    }

    /* Search wrapper full width below */
    .search-wrapper {
        order: 4;
        width: 100%;
        flex-basis: 100%;
        margin-top: 12px;
        max-width: 100%;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        font-size: 14px;
    }

    .search-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .search-btn span {
        display: none;
    }

    /* Main Navigation - Hidden by default, shown when active */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        z-index: 1100;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .container {
        padding: 0;
        height: auto;
        flex-direction: column;
    }

    .main-nav .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-item a {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        width: 100%;
    }

    .nav-item a::after {
        display: none;
    }

    .dropdown-menu,
    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        display: none;
        background: var(--gray-50);
        max-width: none;
        border-radius: 0;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item:hover .mega-menu,
    .nav-item.active .dropdown-menu,
    .nav-item.active .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px 0;
    }

    .mega-menu-col {
        margin-bottom: 0;
    }

    .nav-right {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 0;
        border-top: 1px solid var(--gray-200);
        padding: 0;
    }

    .nav-right a {
        padding: 16px 20px;
        display: block;
        font-weight: 600;
        border-bottom: 1px solid var(--gray-100);
    }

    /* Mobile only items in menu */
    .mobile-only-item {
        display: block !important;
        background: var(--gray-50);
    }

    .mobile-only-item a {
        color: var(--primary) !important;
        font-weight: 700 !important;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .feature-block {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-carousel {
        height: 450px;
        clip-path: none;
    }

    .slide-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 40px 0;
    }

    /* Header Adjustments */
    .logo-img {
        height: 28px;
    }

    .search-wrapper {
        margin-top: 10px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    /* Layout Grids */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collection-card {
        padding: 20px;
    }

    /* Hero */
    .hero-carousel {
        height: auto;
        min-height: 400px;
    }

    .slide-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .slide-content p {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .btn-hero {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Section Specifics */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .bundle-card,
    .retailer-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bundle-content,
    .cta-content {
        padding: 40px 20px;
    }

    .bundle-image,
    .cta-image {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .delivery-info-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Very small header adjustments */
    .logo-img {
        height: 24px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .search-form input {
        padding: 0 12px;
        font-size: 13px;
    }

    .search-btn {
        padding: 8px 12px;
    }

    .cart-link {
        padding: 8px 12px;
    }

    .products-grid {
        gap: 12px;
    }

    .product-card {
        /* Ensure 2 columns fit */
        min-width: 0;
    }

    .product-image {
        padding: 12px;
    }

    .product-badges {
        top: 8px;
        left: 8px;
    }

    .badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    /* Make add to cart visible permanently on mobile or easier to access */
    .add-to-cart-btn {
        opacity: 1;
        height: 40px;
        margin-top: 10px;
        position: static;
        width: 100%;
        padding: 8px;
    }

    .product-actions {
        position: absolute;
        top: 8px;
        right: 8px;
        bottom: auto;
        left: auto;
        flex-direction: column;
        gap: 6px;
        opacity: 1;
        transform: none;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .product-info {
        padding: 12px;
    }

    .product-brand {
        font-size: 10px;
    }

    .product-title a {
        font-size: 14px;
    }

    .current-price {
        font-size: 16px;
    }

    .original-price {
        font-size: 12px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    /* Hide some less critical elements */
    .home-testimonials .testimonial-card:nth-child(n+2) {
        display: none;
        /* Show only 1 on very small screens? Optional optimization */
    }
}

/* Cart Sidebar Styles */
.cart-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    background: var(--white);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: 0.2s;
}

.close-sidebar:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-sidebar-footer {
    padding: 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.cart-subtotal strong {
    color: var(--primary);
    font-size: 22px;
}

.cart-mini-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    animation: slideInRight 0.3s ease;
}

.cart-mini-item:last-child {
    border-bottom: none;
}

.cart-mini-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}

.cart-mini-details {
    flex: 1;
}

.cart-mini-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: var(--gray-900);
    line-height: 1.3;
}

.cart-mini-price {
    font-size: 14px;
    color: var(--gray-600);
}

.cart-mini-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.qty-pill {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.btn-remove-mini {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
}

.btn-remove-mini:hover {
    opacity: 1;
}

.cart-empty-state {
    text-align: center;
    padding-top: 100px;
    color: var(--gray-500);
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* ===========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   Ensuring everything fits on mobile screens
   =========================================== */

/* Global mobile overflow prevention */
@media (max-width: 768px) {

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure all containers respect boundaries */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        overflow-x: hidden;
    }

    /* Text wrapping for long content */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    a,
    label {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Form elements - prevent overflow */
    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Inline styles override for mobile */
    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap;
    }
}

/* Checkout Page Mobile Fixes */
@media (max-width: 768px) {
    .checkout-page {
        padding: 20px 0 40px;
    }

    .checkout-page .container {
        padding: 0 12px;
    }

    .checkout-section {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    .checkout-section .section-header {
        margin-bottom: 16px;
    }

    .checkout-section .section-header h2 {
        font-size: 18px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .checkout-input {
        padding: 12px 14px;
        font-size: 16px;
        /* Prevent iOS zoom */
    }

    .summary-box {
        padding: 20px 16px;
        position: static;
    }

    .summary-box h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .summary-item {
        gap: 12px;
        margin-bottom: 16px;
    }

    .summary-img {
        width: 56px;
        height: 56px;
    }

    .summary-info h4 {
        font-size: 14px;
        line-height: 1.3;
    }

    .summary-totals .row {
        font-size: 14px;
    }

    .summary-totals .row.total {
        font-size: 18px;
    }

    .security-badge {
        padding: 16px;
        gap: 12px;
    }

    .badge-icon {
        font-size: 20px;
    }

    .delivery-method-grid {
        gap: 12px;
    }

    .delivery-option {
        padding: 16px;
    }

    .delivery-option .option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .payment-option {
        padding: 16px;
    }

    .payment-option .option-content {
        flex-direction: column;
        gap: 12px;
    }

    .payment-option .option-info {
        width: 100%;
    }

    .payment-option .option-icons {
        align-self: flex-start;
    }

    .payment-actions {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .payment-actions .btn-text {
        text-align: center;
        padding: 12px;
    }

    .payment-instructions-card {
        padding: 16px !important;
    }

    .admin-account-details {
        padding: 12px !important;
    }

    .delivery-options {
        padding: 16px !important;
    }

    .urgent-delivery-label {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

/* Products Page Mobile Fixes */
@media (max-width: 768px) {

    .warning-banner,
    .disclaimer-banner {
        padding: 16px !important;
        margin-bottom: 20px !important;
    }

    .warning-banner>div,
    .disclaimer-banner>div {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .warning-banner h3,
    .disclaimer-banner h3 {
        font-size: 16px !important;
    }

    .warning-banner p,
    .disclaimer-banner p {
        font-size: 13px !important;
    }

    .warning-banner ul {
        grid-template-columns: 1fr !important;
    }

    .products-header {
        padding: 0 0 12px;
    }

    .sort-options {
        width: 100%;
    }

    .sort-options select {
        flex: 1;
        width: 100%;
    }

    .products-main .products-grid {
        gap: 10px;
    }
}

/* Header Mobile Fixes */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .header-inner {
        gap: 8px;
    }

    .search-wrapper {
        margin-top: 8px;
    }

    .search-form {
        padding: 2px;
    }

    .search-form input {
        padding: 8px 12px;
        min-width: 0;
    }

    .search-btn {
        padding: 8px 14px;
        white-space: nowrap;
    }

    .cart-link {
        padding: 8px 10px;
    }

    .cart-badge {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Navigation Mobile Menu Fixes */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1100;
        padding-top: 60px;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .nav-item a {
        padding: 14px 16px;
    }
}

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {
    .hero-carousel {
        height: auto;
        min-height: 350px;
        padding: 20px 0;
    }

    .slide-content {
        padding: 0 16px;
    }

    .slide-content h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .slide-buttons {
        gap: 12px;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 13px;
    }

    .carousel-dots {
        bottom: 20px;
    }
}

/* Collections Grid Mobile Fixes */
@media (max-width: 480px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .collection-card {
        padding: 16px;
        gap: 12px;
    }

    .collection-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .collection-info h4 {
        font-size: 14px;
    }

    .collection-info .item-count {
        font-size: 12px;
    }
}

/* Footer Mobile Fixes */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 0;
    }

    .newsletter-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-text h3 {
        font-size: 22px;
    }

    .newsletter-text p {
        font-size: 14px;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .main-footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-logo .logo-img {
        height: 24px;
    }

    .contact-info li {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links a {
        font-size: 12px;
    }
}

/* Modal Mobile Fixes */
@media (max-width: 768px) {
    .modal {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .quick-view-content {
        height: auto;
        max-height: calc(100vh - 60px);
    }

    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }

    .quick-view-image {
        height: 200px;
    }

    .quick-view-title {
        font-size: 22px;
    }

    .quick-view-price .current {
        font-size: 26px;
    }

    .quick-view-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .quick-view-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-add-cart-large,
    .btn-view-details {
        width: 100%;
    }
}

/* Bundle & CTA Cards Mobile Fixes */
@media (max-width: 768px) {

    .bundle-card,
    .retailer-cta-card {
        border-radius: var(--radius);
    }

    .bundle-card h2,
    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .bundle-card p,
    .cta-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .bundle-highlight,
    .profit-highlight {
        font-size: 13px;
    }
}

/* Delivery Cards Mobile Fixes */
@media (max-width: 768px) {
    .delivery-info-section {
        padding: 40px 0;
    }

    .delivery-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .delivery-card .icon-box {
        margin: 0 auto;
    }

    .delivery-card h3 {
        font-size: 16px;
    }

    .delivery-card p {
        font-size: 13px;
    }
}

/* Testimonials Mobile Fixes */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .author-info strong {
        font-size: 16px;
    }
}

/* Cart Page Mobile Fixes */
@media (max-width: 768px) {
    .cart-sidebar-header {
        padding: 16px;
    }

    .cart-sidebar-header h3 {
        font-size: 18px;
    }

    .cart-sidebar-body {
        padding: 16px;
    }

    .cart-mini-item {
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .cart-mini-img {
        width: 60px;
        height: 60px;
    }

    .cart-mini-title {
        font-size: 13px;
    }

    .cart-sidebar-footer {
        padding: 16px;
    }

    .cart-subtotal {
        font-size: 16px;
    }

    .cart-subtotal strong {
        font-size: 20px;
    }
}

/* Feature Grid Mobile Fixes */
@media (max-width: 768px) {
    .feature-grid {
        gap: 16px;
    }

    .feature-block {
        min-height: 250px;
        padding: 24px;
    }

    .feature-block h3 {
        font-size: 22px;
    }

    .feature-btn {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* Section Headers Mobile Fixes */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2::after {
        width: 30px;
        height: 3px;
    }

    .view-all-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .section-nav {
        display: none;
    }
}

/* Breadcrumb Mobile Fixes */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 10px 0;
    }

    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* Form Elements Mobile Fixes */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-row {
        gap: 16px;
    }

    select {
        font-size: 16px;
        /* Prevent iOS zoom */
        padding: 12px;
    }
}

/* Button Mobile Fixes */
@media (max-width: 768px) {

    .btn,
    .btn-primary,
    button[type="submit"] {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
        /* Touch-friendly */
    }
}

/* Promo Banner Strip Mobile Fixes */
@media (max-width: 768px) {
    .promo-banner-strip {
        margin: 20px 0;
        padding: 12px 0;
        transform: none;
    }

    .promo-scroll span {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* Empty State Mobile Fixes */
@media (max-width: 768px) {
    .empty-state {
        padding: 50px 20px;
    }

    .empty-state .icon {
        font-size: 48px;
    }

    .empty-state h3 {
        font-size: 20px;
    }

    .empty-state p {
        font-size: 14px;
    }
}

/* Pagination Mobile Fixes */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }
}

/* Very Small Screen Fixes (320px - 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .checkout-section {
        padding: 16px 12px;
    }

    .summary-box {
        padding: 16px 12px;
    }

    .header-inner {
        gap: 6px;
    }

    .logo-img {
        height: 22px;
    }

    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .cart-link {
        padding: 6px 8px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title a {
        font-size: 13px;
    }

    .current-price {
        font-size: 14px;
    }

    .slide-content h1 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 13px;
    }

    .btn-hero {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* =====================================================
   ULTIMATE MOBILE RESPONSIVENESS - PERMANENT FIXES
   Comprehensive fixes for all mobile edge cases
   ===================================================== */

/* Force all elements to respect container boundaries */
* {
    max-width: 100%;
}

/* Prevent inline elements from causing horizontal scroll */
@media (max-width: 768px) {

    /* Header actions - hide non-essential on mobile */
    .header-actions .lang-selector,
    .header-actions .highlight-btn,
    .header-actions .account-link {
        display: none !important;
    }

    /* Only show cart on mobile header */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-actions .cart-link {
        display: flex !important;
    }

    /* Header inner layout fix */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    /* Logo size */
    .logo {
        flex-shrink: 0;
    }

    .logo-img {
        height: 28px;
        width: auto;
    }

    /* Search wrapper responsive */
    .search-wrapper {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        order: 2;
        width: 100%;
        margin-top: 10px;
    }

    /* Make search go full width on second row */
    .header-inner {
        flex-wrap: wrap;
    }

    /* Search form mobile */
    .search-form {
        width: 100%;
        max-width: 100%;
    }

    .search-form input {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        font-size: 16px;
    }

    .search-btn {
        flex-shrink: 0;
        padding: 10px 14px;
    }

    .search-btn span {
        display: none;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 22px;
        background: var(--gray-100);
        border: none;
        border-radius: var(--radius-sm);
        cursor: pointer;
        flex-shrink: 0;
        order: 3;
    }

    /* Cart link mobile */
    .cart-link {
        position: relative;
        padding: 8px 10px;
        flex-shrink: 0;
    }

    .cart-link .text {
        display: none;
    }

    .cart-link .icon {
        font-size: 20px;
    }

    /* Promo strip mobile */
    .promo-strip {
        padding: 8px 12px;
        font-size: 12px;
    }

    .promo-item {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Mobile nav full screen */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        z-index: 2000;
        padding: 60px 0 30px;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav .container {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-item a {
        display: block;
        padding: 15px 20px;
        font-size: 15px;
    }

    .nav-right {
        flex-direction: column;
        margin-top: 20px;
        padding: 20px;
        background: var(--gray-50);
    }

    .nav-right a {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    /* Close button for mobile nav */
    .main-nav::before {
        content: '✕';
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gray-100);
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        z-index: 10;
    }

    /* Dropdown menus mobile */
    .dropdown-menu,
    .mega-menu {
        position: static;
        display: none;
        background: var(--gray-50);
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 20px;
    }

    .nav-item.active .dropdown-menu,
    .nav-item.active .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 0;
    }

    /* Hero carousel mobile */
    .hero-carousel {
        min-height: 300px;
        height: auto;
    }

    .carousel-slide {
        padding: 0;
    }

    .slide-content {
        padding: 30px 16px;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    /* Collections grid mobile */
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .collection-card {
        padding: 16px 12px;
        gap: 10px;
    }

    .collection-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .collection-info h4 {
        font-size: 13px;
    }

    .collection-info .item-count {
        font-size: 11px;
    }

    /* Products grid mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        min-width: 0;
    }

    .product-image {
        padding: 16px;
    }

    .product-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .badge {
        padding: 4px 8px;
        font-size: 9px;
    }

    .product-actions {
        opacity: 1;
        position: absolute;
        top: 8px;
        right: 8px;
        flex-direction: column;
        gap: 6px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .action-btn.quick-view {
        display: none;
    }

    .product-info {
        padding: 12px;
    }

    .product-brand {
        font-size: 10px;
    }

    .product-title {
        margin: 4px 0;
    }

    .product-title a {
        font-size: 13px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-price {
        gap: 6px;
    }

    .current-price {
        font-size: 15px;
    }

    .original-price {
        font-size: 11px;
    }

    .product-colors {
        margin: 6px 0;
    }

    .color-dot {
        width: 14px;
        height: 14px;
    }

    .product-rating {
        font-size: 11px;
    }

    .add-to-cart-btn {
        height: 40px;
        font-size: 16px;
        border-radius: 0 0 var(--radius) var(--radius);
        opacity: 1;
        position: static;
        margin-top: 0;
    }

    /* Section headers mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 13px;
    }

    .section-nav {
        display: none;
    }

    .view-all-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* Deal section mobile */
    .deal-section .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .countdown-timer {
        width: 100%;
        justify-content: center;
    }

    .countdown-item {
        padding: 8px 10px;
    }

    .countdown-value {
        font-size: 18px;
    }

    .countdown-label {
        font-size: 9px;
    }

    .countdown-separator {
        font-size: 16px;
    }

    /* Feature blocks mobile */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-block {
        min-height: 200px;
        padding: 24px;
    }

    .feature-label {
        font-size: 11px;
    }

    .feature-block h3 {
        font-size: 20px;
    }

    .feature-block p {
        font-size: 13px;
    }

    .feature-btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    /* Delivery info mobile */
    .delivery-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .delivery-card {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .delivery-card .icon-box {
        width: 44px;
        height: 44px;
        font-size: 24px;
        flex-shrink: 0;
    }

    .delivery-card h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .delivery-card p {
        font-size: 13px;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .quote-icon {
        font-size: 36px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    /* Bundle and CTA sections mobile */
    .bundle-card,
    .retailer-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .bundle-content,
    .cta-content {
        order: 2;
    }

    .bundle-image,
    .cta-image {
        order: 1;
        margin-bottom: 20px;
    }

    .bundle-visual,
    .partnership-visual {
        font-size: 48px;
    }

    .cta-label {
        font-size: 11px;
    }

    .bundle-card h2,
    .cta-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .bundle-card p,
    .cta-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .bundle-highlight,
    .profit-highlight {
        font-size: 12px;
    }

    /* Newsletter section mobile */
    .newsletter-section {
        padding: 40px 0;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .newsletter-text h3 {
        font-size: 20px;
    }

    .newsletter-text p {
        font-size: 14px;
    }

    .newsletter-cta {
        width: 100%;
    }

    .whatsapp-channel-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Footer mobile */
    .main-footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-col ul li {
        margin-bottom: 12px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .footer-logo {
        display: inline-block;
    }

    .footer-logo .logo-img {
        height: 28px;
    }

    .contact-info li {
        font-size: 13px;
        text-align: center;
        word-break: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }

    /* Cart sidebar mobile - full width */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart-sidebar.active {
        right: 0;
    }

    .cart-sidebar-header {
        padding: 16px;
    }

    .cart-sidebar-header h3 {
        font-size: 18px;
    }

    .close-sidebar {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .cart-sidebar-body {
        padding: 16px;
    }

    .cart-mini-item {
        gap: 12px;
    }

    .cart-mini-img {
        width: 60px;
        height: 60px;
    }

    .cart-mini-title {
        font-size: 13px;
    }

    .cart-sidebar-footer {
        padding: 16px;
    }

    /* Modal mobile */
    .modal-overlay {
        padding: 10px;
    }

    .modal {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 40px);
        margin: auto;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 16px;
    }

    .quick-view-image {
        aspect-ratio: 1;
        height: auto;
        max-height: 250px;
    }

    .quick-view-title {
        font-size: 20px;
    }

    .quick-view-price .current {
        font-size: 24px;
    }

    .quick-view-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-add-cart-large,
    .btn-view-details {
        width: 100%;
        text-align: center;
    }

    /* Tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Inline style overrides for mobile */
    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap !important;
    }

    [style*="display: grid"] {
        display: block !important;
    }

    [style*="width:"][style*="px"] {
        max-width: 100% !important;
        width: auto !important;
    }
}

/* Extra small devices (smaller than 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .logo-img {
        height: 24px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .search-form input {
        padding: 8px 10px;
        font-size: 14px;
    }

    .search-btn {
        padding: 8px 12px;
    }

    .collections-grid {
        gap: 8px;
    }

    .collection-card {
        padding: 12px 10px;
    }

    .collection-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .collection-info h4 {
        font-size: 11px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-image {
        padding: 12px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title a {
        font-size: 12px;
    }

    .current-price {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .slide-content h1 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 12px;
    }

    .btn-hero {
        padding: 10px 14px;
        font-size: 11px;
    }

    .countdown-item {
        padding: 6px 8px;
    }

    .countdown-value {
        font-size: 16px;
    }

    .feature-block {
        min-height: 180px;
        padding: 20px;
    }

    .feature-block h3 {
        font-size: 18px;
    }

    .bundle-card h2,
    .cta-content h2 {
        font-size: 20px;
    }

    .newsletter-text h3 {
        font-size: 18px;
    }

    .footer-col h4 {
        font-size: 15px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-carousel {
        min-height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 22px;
    }

    .main-nav {
        padding-top: 50px;
    }

    .modal {
        max-height: 90vh;
    }
}

/* Print styles - hide non-essential */
@media print {

    .main-header,
    .main-nav,
}

.quick-view-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px;
}

.quick-view-image {
    aspect-ratio: 1;
    height: auto;
    max-height: 250px;
}

.quick-view-title {
    font-size: 20px;
}

.quick-view-price .current {
    font-size: 24px;
}

.quick-view-actions {
    flex-direction: column;
    gap: 12px;
}

.btn-add-cart-large,
.btn-view-details {
    width: 100%;
    text-align: center;
}

/* Tables responsive */
table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/* Inline style overrides for mobile */
[style*="display: flex"][style*="gap"] {
    flex-wrap: wrap !important;
}

[style*="display: grid"] {
    display: block !important;
}

[style*="width:"][style*="px"] {
    max-width: 100% !important;
    width: auto !important;
}
}

/* Extra small devices (smaller than 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .logo-img {
        height: 24px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .search-form input {
        padding: 8px 10px;
        font-size: 14px;
    }

    .search-btn {
        padding: 8px 12px;
    }

    .collections-grid {
        gap: 8px;
    }

    .collection-card {
        padding: 12px 10px;
    }

    .collection-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .collection-info h4 {
        font-size: 11px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-image {
        padding: 12px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title a {
        font-size: 12px;
    }

    .current-price {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .slide-content h1 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 12px;
    }

    .btn-hero {
        padding: 10px 14px;
        font-size: 11px;
    }

    .countdown-item {
        padding: 6px 8px;
    }

    .countdown-value {
        font-size: 16px;
    }

    .feature-block {
        min-height: 180px;
        padding: 20px;
    }

    .feature-block h3 {
        font-size: 18px;
    }

    .bundle-card h2,
    .cta-content h2 {
        font-size: 20px;
    }

    .newsletter-text h3 {
        font-size: 18px;
    }

    .footer-col h4 {
        font-size: 15px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-carousel {
        min-height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 22px;
    }

    .main-nav {
        padding-top: 50px;
    }

    .modal {
        max-height: 90vh;
    }
}

/* Print styles - hide non-essential */
@media print {

    .main-header,
    .main-nav,
    .cart-sidebar,
    .newsletter-section,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* The Gents Section */
.gents-section {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}

.gents-card {
    padding: 10px;
    /* Reduced padding for images */
    overflow: hidden;
    aspect-ratio: 1/1;
    /* Make them square like typical category cards often appear */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gents-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.gents-card:hover .gents-img {
    transform: scale(1.05);
}. h e a d e r - e x t r a - i m g   {  
         h e i g h t :   8 5 p x ;  
         / *   M a t c h e s   l o g o   s i z e   * /  
         w i d t h :   a u t o ;  
         o b j e c t - f i t :   c o n t a i n ;  
         m a r g i n - l e f t :   1 2 p x ;  
 }  
 