/* Osbies Newcastle E-commerce Platform - Complete CSS */
/* Version: 1.3.0 - Mobile Card Click Final Fix */
/* Last Updated: 2025-11-20 */

/* Base Styles & Variables */
:root {
    /* Colors */
    --primary-color: #1a3e2d; /* Dark green */
    --primary-dark: #0f2a1f;
    --secondary-color: #c8a951; /* Gold */
    --secondary-light: #e6d7a8; /* Light gold */
    --accent-color: #e74c3c; /* Red for sale items */
    --text-dark: #2c2c2c;
    --text-light: #f0f0f0;
    --background-light: #f8f4e9; /* Cream */
    --background-white: #ffffff;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --success-color: #27ae60;
    --error-color: #e63946;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --heading-font-weight: 600;
    --body-font-weight: 400;
    --line-height: 1.6;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --gutter: 1.5rem;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 50%;
    --section-padding: 5rem 1rem;
    --transition-speed: 0.3s;
    --transition-easing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --box-shadow: 0 4px 12px var(--shadow-color);
    --box-shadow-hover: 0 8px 25px var(--shadow-hover);
    
    /* Breakpoints */
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: var(--line-height);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top var(--transition-speed);
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: var(--heading-font-weight);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Layout */
.page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Header Styles */
.site-header {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed);
}

.logo:hover {
    transform: scale(1.03);
    text-shadow: 0 0 15px rgba(200, 169, 81, 0.5);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--secondary-light);
    margin-top: -4px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
.main-navigation {
    display: block;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: var(--font-size-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.filter-toggle {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    display: none;
}

.filter-toggle:hover {
    color: var(--secondary-color);
}

.filter-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 1.5rem;
}

.header-icon {
    color: var(--text-light);
    font-size: 1.3rem;
    transition: var(--transition-speed);
}

.header-icons a {
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all var(--transition-speed);
}

.header-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.search-icon:hover,
.account-icon:hover,
.whatsapp-icon:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(26, 62, 45, 0.85), rgba(26, 62, 45, 0.85)), 
                url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 62, 45, 0.2) 0%, rgba(200, 169, 81, 0.1) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-5xl);
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-3xl);
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 1rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: #666;
    margin-top: 0.5rem;
    font-size: var(--font-size-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

/* Filter System */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Desktop Filter Sidebar */
.filter-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    transition: all var(--transition-speed);
}

.filter-section {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.reset-filters {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-speed);
    margin-bottom: 1rem;
    width: 100%;
}

.reset-filters:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-color);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group-title {
    font-size: var(--font-size-lg);
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0;
    transition: color var(--transition-speed);
}

.filter-option:hover {
    color: var(--secondary-color);
}

.filter-option input {
    cursor: pointer;
}

.filter-label-text {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

.filter-count-badge {
    background: var(--secondary-light);
    color: var(--primary-color);
    font-size: var(--font-size-xs);
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 500;
}

.filter-footer {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.apply-filters,
.reset-filters {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
    text-align: center;
}

.apply-filters:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Mobile Filter Panel */
.mobile-filter-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: var(--background-white);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right var(--transition-speed) var(--transition-easing);
    overflow-y: auto;
}

.mobile-filter-panel.active {
    right: 0;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--primary-color);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-filter-header h3 {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xl);
    margin: 0;
}

.close-filter-panel {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-filter-content {
    padding: 1.25rem;
}

/* Main Content */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Product Card */
.product-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--secondary-color);
}

.product-slideshow {
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
}

.product-slideshow img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    object-position: center;
    transition: opacity var(--transition-speed);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.product-slideshow img.active {
    opacity: 1;
}

.sale-badge,
.percent-off,
.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sale-badge {
    background: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

.percent-off {
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.new-badge {
    background: #3498db;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-info {
    padding: 1.25rem;
    background: var(--background-white);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-brand {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-name {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    margin: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.original-price {
    text-decoration: line-through;
    color: #777;
    font-size: var(--font-size-lg);
}

.sale-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.price {
    font-weight: 600;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.whatsapp-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: var(--font-size-lg);
    background: rgba(231, 76, 60, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.product-code {
    color: #555;
    font-size: var(--font-size-sm);
    margin: 0.5rem 0;
    font-weight: 500;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.order-button,
.add-to-cart {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background-white);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) var(--transition-easing);
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    margin-top: auto;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.order-button::after,
.add-to-cart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.order-button:hover,
.add-to-cart:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.order-button:hover::after,
.add-to-cart:hover::after {
    transform: translateX(100%);
}

.add-to-cart {
    background: var(--secondary-light);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.add-to-cart:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Mobile-specific card click functionality */
@media (max-width: 768px) {
    .product-card {
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px var(--shadow-color);
    }
    
    /* Hide action buttons on mobile to save space */
    .product-actions {
        display: none;
    }
    
    /* Show WhatsApp indicator on mobile */
    .mobile-whatsapp-indicator {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: #25D366;
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        z-index: 5;
    }
    
    /* Simplify product info for better mobile viewing */
    .product-info {
        padding: 1rem;
        min-height: 160px;
    }
    
    .product-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        min-height: 36px;
    }
    
    .product-price {
        margin: 0.5rem 0;
    }
    
    .product-brand {
        font-size: 0.9rem;
        opacity: 0.8;
        margin-bottom: 0.25rem;
    }
    
    .product-code {
        font-size: 0.75rem;
        opacity: 0.7;
        margin-top: 0.25rem;
    }
}

/* Sort and View Controls */
.sort-dropdown,
.view-type-toggle {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.5rem 1rem;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown:hover,
.view-type-toggle:hover {
    border-color: var(--secondary-color);
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.view-type-toggle.active {
    background: var(--secondary-light);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Brands Carousel */
.brands-carousel-container {
    margin: 0 auto;
    padding: 1.5rem 0 2.5rem;
    max-width: var(--container-width);
}

.brands-carousel {
    position: relative;
}

.brand-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: rgba(26, 62, 45, 0.03);
    border-radius: var(--border-radius-md);
    margin: 0 10px;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.brand-logo-item:hover {
    transform: scale(1.08);
    background: rgba(26, 62, 45, 0.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.brand-logo-item img {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.4s ease;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-prev,
.owl-next {
    background: var(--primary-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-speed);
    opacity: 0.7;
    position: absolute;
    z-index: 10;
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-prev:hover,
.owl-next:hover {
    opacity: 1;
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Sneakers Carousel */
.sneakers-carousel {
    padding: 1rem 0;
}

.sneakers-carousel .owl-item {
    padding: 10px;
}

.sneakers-carousel .item {
    padding: 5px;
}

/* Load More */
.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.load-more-button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.load-more-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.button-text {
    transition: opacity var(--transition-speed);
}

.button-spinner {
    opacity: 0;
    transition: opacity var(--transition-speed);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    transition: all var(--transition-speed);
}

.button-spinner i {
    animation: spin 1s linear infinite;
}

.load-more-button:disabled .button-text {
    opacity: 0;
}

.load-more-button:disabled .button-spinner {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.product-count {
    color: #666;
    font-size: var(--font-size-sm);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    margin: 4rem 0;
    color: var(--text-light);
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.newsletter-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-md);
    border: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

.newsletter-form button {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
}

.newsletter-form button:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.privacy-note {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xl);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-description {
    margin-bottom: 1.25rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    opacity: 0.85;
    transition: opacity var(--transition-speed), padding-left var(--transition-speed);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(200, 169, 81, 0.2);
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    transition: var(--transition-speed);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(200, 169, 81, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.copyright {
    color: var(--secondary-light);
    font-size: var(--font-size-sm);
}

.payment-methods {
    display: flex;
    gap: 0.75rem;
    font-size: var(--font-size-sm);
    color: var(--secondary-light);
}

.payment-methods i {
    font-size: 1.5rem;
    margin: 0 2px;
}

/* Utility Classes */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-speed);
    text-decoration: none;
    border: none;
}

.primary-button {
    background: var(--primary-color);
    color: var(--background-white);
}

.primary-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.secondary-button {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Cart Widget */
.cart-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--background-white);
    color: var(--text-dark);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    width: 300px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
    z-index: 100;
}

.cart-widget:hover .cart-tooltip {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.empty-cart-message {
    text-align: center;
    color: #666;
    font-style: italic;
}

.cart-items-container {
    max-height: 200px;
    overflow-y: auto;
    margin: 0.75rem 0;
}

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 500;
    font-size: var(--font-size-sm);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: #555;
}

.item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.item-quantity {
    color: var(--secondary-color);
    font-weight: 500;
}

.remove-from-cart {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-speed);
}

.remove-from-cart:hover {
    background: rgba(231, 76, 60, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin: 0.75rem 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-speed);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Skeleton Loaders */
.product-skeleton-loader {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: pulse 1.5s infinite;
}

.skeleton-image {
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
}

.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    border-radius: var(--border-radius-sm);
    margin: 0.75rem 0;
}

.skeleton-text.short {
    width: 60%;
    margin-left: 20%;
}

.skeleton-text.medium {
    width: 80%;
    margin-left: 10%;
}

.skeleton-carousel-item {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: pulse 1.5s infinite;
    height: 300px;
}

.skeleton-image-large {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
}

@keyframes pulse {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-layout {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: var(--font-size-xl);
        padding: 1rem 0;
        display: block;
        width: 100%;
    }
    
    /* Show filter toggle on mobile */
    .filter-toggle {
        display: flex;
    }
    
    /* Hide desktop filter sidebar on mobile */
    .filter-sidebar {
        display: none !important;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-slideshow {
        height: 220px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .load-more-button {
        width: 100%;
    }
    
    /* SNEAKERS CAROUSEL - Mobile adjustments */
    .sneakers-carousel .owl-item {
        padding: 5px;
    }
    
    .sneakers-carousel .item {
        padding: 3px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-lg);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    .product-brand {
        font-size: var(--font-size-lg);
    }
    
    .product-slideshow {
        height: 180px;
    }
    
    .product-name {
        min-height: 32px;
        font-size: var(--font-size-base);
    }
    
    .cart-widget,
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
    
    .load-more-container {
        padding: 0 1rem;
    }
    
    .sneakers-carousel .owl-dots {
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-slideshow {
        height: 200px;
    }
    
    .product-card {
        max-height: 480px;
        overflow: hidden;
    }
    
    .product-info {
        padding: 0.8rem;
        min-height: 170px;
        max-height: 170px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .product-name {
        min-height: 36px;
        max-height: 36px;
        overflow: hidden;
    }
    
    .mobile-filter-panel {
        width: 95%;
        max-width: 100%;
    }
}

/* Hide filter toggle on desktop */
@media (min-width: 769px) {
    .filter-toggle {
        display: none;
    }
    
    .mobile-filter-panel {
        display: none;
    }
    
    /* Hide Mobile WhatsApp indicator on desktop */
    .mobile-whatsapp-indicator {
        display: none;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.error {
    background: #e74c3c;
}

.notification.info {
    background: #3498db;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Reveal animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp indicator glow animation */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(37, 211, 102, 0.8); }
    50% { box-shadow: 0 0 15px rgba(37, 211, 102, 1); }
    100% { box-shadow: 0 0 5px rgba(37, 211, 102, 0.8); }
}

.mobile-whatsapp-indicator {
    animation: glow 2s infinite;
}