/*
 * ==========================================
 * INNOVE FASHION THEME - CUSTOM CSS
 * Modern & Luxury E-commerce Template
 * ==========================================
 * Bootstrap 5.3 Override
 * Sector: Fashion/Giyim
 * Style: Modern & Elegant
 * ==========================================
 */

/* ============================================
   1. ROOT VARIABLES & COLOR PALETTE
   ============================================ */
:root {
    /* Primary Colors - Luxury Fashion Palette */
    --color-primary: #1a1a1a;
    --color-secondary: #c9a96e;
    --color-accent: #2d2d2d;
    --color-light: #f8f8f8;
    --color-white: #ffffff;
    --color-dark: #0a0a0a;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   2. GLOBAL STYLES & TYPOGRAPHY
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

h1, .h1 { font-size: 3rem; }
h2, .h2 { font-size: 2.25rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

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

/* ============================================
   3. BOOTSTRAP OVERRIDES - BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    border: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

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

.btn-secondary:hover {
    background-color: #b89a5f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

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

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

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-white);
}

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

/* ============================================
   4. BOOTSTRAP OVERRIDES - FORMS
   ============================================ */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
    outline: none;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 3rem;
    border-radius: var(--radius-pill);
    border: 1px solid #e0e0e0;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* ============================================
   5. BOOTSTRAP OVERRIDES - CARDS
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #666;
    font-size: 0.9375rem;
}

/* ============================================
   6. HEADER STYLES
   ============================================ */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar a:hover {
    color: var(--color-white);
}

/* Main Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header .container {
    position: relative;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    white-space: nowrap;
}

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

/* Navigation */
.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-toggler {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.navbar-toggler:hover {
    opacity: 0.7;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    color: var(--color-primary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-secondary);
}

/* Mega Menu */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon {
    position: relative;
    font-size: 1.125rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.header-icon:hover {
    color: var(--color-secondary);
}

.header-icon .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.6875rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Icons */
.mobile-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-icon {
    position: relative;
    font-size: 1.125rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.mobile-icon:hover {
    color: var(--color-secondary);
}

/* Header Right (Desktop) */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Box */
.search-box {
    position: relative;
}

/* Search Toggle Button */
.search-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-primary);
    font-size: 1.125rem;
}

.search-toggle:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

.search-toggle.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Search Input Container */
.search-input-wrapper {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 0.75rem;
    background-color: var(--color-white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

.search-input-wrapper.active {
    opacity: 1;
    visibility: visible;
    right: 0;
    transform: translateY(-50%) translateX(-22%);
    margin-right: 0.5rem;
}

.search-input-wrapper input {
    width: 250px;
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.search-input-wrapper .fa-search {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.875rem;
    pointer-events: none;
}

/* Search Close Button */
.search-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: #666;
    transition: all var(--transition-fast);
}

.search-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Desktop header layout */
@media (min-width: 992px) {
    .site-header .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo - Sol */
    .site-header .navbar-brand {
        flex: 0 0 auto;
    }

    /* Menü - Orta */
    .site-header .navbar-collapse {
        flex: 1 1 auto;
        display: flex !important;
        justify-content: center;
    }

    .site-header .navbar-nav {
        flex-direction: row;
    }

    /* Sağ taraf - Search ve Icons */
    .site-header .header-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .site-header .navbar-toggler {
        display: none;
    }
}

/* Mobile header layout */
@media (max-width: 991px) {
    .header-right {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
    }

    .search-box {
        display: none;
    }

    .header-icons.d-lg-none {
        display: flex !important;
    }
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 2rem;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Hero Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

/* ============================================
   8. SECTION HEADINGS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.section-desc {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   9. PRODUCT CARDS
   ============================================ */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Product Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.badge-new {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.badge-sale {
    background-color: #e74c3c;
    color: var(--color-white);
}

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

/* Product Actions Overlay */
.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    transition: bottom var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-primary);
}

.action-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1);
}

.wishlist-btn.active {
    background-color: #e74c3c;
    color: var(--color-white);
}

/* Product Info */
.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.price-old {
    font-size: 0.9375rem;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.8125rem;
    color: #e74c3c;
    font-weight: 500;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #f1c40f;
    font-size: 0.875rem;
}

.rating-count {
    font-size: 0.75rem;
    color: #999;
}

/* ============================================
   10. CATEGORY CARDS
   ============================================ */
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.category-info {
    color: var(--color-white);
}

.category-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   11. BANNER SECTIONS
   ============================================ */
.banner-section {
    padding: 4rem 0;
}

.banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.banner-content h3 {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.banner-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ============================================
   12. BRANDS SLIDER
   ============================================ */
.brands-section {
    background-color: var(--color-light);
    padding: 3rem 0;
    overflow: hidden;
}

.brands-slider-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.brands-section:hover .brands-slider-track {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item img {
    max-height: 50px;
    max-width: 120px;
    width: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* ============================================
   13. FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

.footer-section {
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: var(--radius-pill);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #b89a5f;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.payment-methods img {
    height: 30px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.payment-methods img:hover {
    opacity: 1;
}

/* ============================================
   14. PRODUCT LISTING PAGE
   ============================================ */
.page-header {
    background-color: var(--color-light);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-item {
    color: #999;
}

.breadcrumb-item a {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: #999;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #ccc;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Filter Checkboxes */
.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-item input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.filter-item label {
    font-size: 0.9375rem;
    color: var(--color-primary);
    cursor: pointer;
    margin: 0;
}

.filter-count {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #999;
}

/* Price Range */
.price-range {
    margin-top: 1rem;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

/* Product Toolbar */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-info {
    font-size: 0.9375rem;
    color: #666;
}

.toolbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background-color: var(--color-white);
}

.view-toggle {
    display: flex;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-btn {
    padding: 0.5rem 0.75rem;
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    background-color: var(--color-white);
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.page-link:hover,
.page-link.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   15. PRODUCT DETAIL PAGE
   ============================================ */
.product-gallery {
    display: grid;
    gap: 1rem;
}

.main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumb-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--color-secondary);
}

.thumb-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Product Info */
.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-sku {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 1rem;
}

.detail-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.detail-price .price-current {
    font-size: 1.75rem;
    font-weight: 600;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.qty-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    font-size: 1rem;
}

/* Product Actions */
.product-actions-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-add-cart-large {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-wishlist-large {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-pill);
    border: 2px solid #ddd;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-wishlist-large:hover {
    border-color: var(--color-secondary);
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: #666;
    transition: all var(--transition-fast);
}

.nav-tabs .nav-link.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    background-color: transparent;
}

.tab-content {
    padding: 1.5rem 0;
}

/* Reviews */
.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.8125rem;
    color: #999;
}

.review-body {
    color: #666;
}

/* ============================================
   16. BLOG
   ============================================ */
.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #999;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.blog-link:hover {
    color: var(--color-secondary);
}

/* Blog Sidebar */
.sidebar-widget {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.widget-links li:last-child {
    border-bottom: none;
}

.widget-links a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.widget-links a:hover {
    color: var(--color-secondary);
}

.widget-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.widget-post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-title {
    font-size: 0.9375rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   17. ABOUT PAGE
   ============================================ */
.about-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-story {
    padding: 4rem 0;
}

.story-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-light);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* ============================================
   18. CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-info-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #666;
    font-size: 0.9375rem;
}

.contact-form {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.map-section {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   19. UTILITY CLASSES
   ============================================ */
.section {
    padding: 4rem 0;
}

.section-lg {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--color-light) !important;
}

.text-primary {
    color: var(--color-secondary) !important;
}

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 2rem; }

/* ============================================
   20. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse:hover {
    animation: pulse 0.5s ease;
}

/* ============================================
   21. LOADING SPINNER
   ============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   22. TOAST NOTIFICATIONS
   ============================================ */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

/* ============================================
   23. QUICK VIEW MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}
/*
 * ==========================================
 * INNOVE FASHION THEME - RESPONSIVE CSS
 * Mobile-First Responsive Breakpoints
 * ==========================================
 * Breakpoints:
 * - Mobile: 320px - 767px
 * - Tablet: 768px - 991px
 * - Desktop: 992px - 1199px
 * - Large Desktop: 1200px+
 * ==========================================
 */

/* ============================================
   1. MOBILE FIRST (Base Styles)
   ============================================ */

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    /* Hero Section */
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9375rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    /* Section Headings */
    .section-title {
        font-size: 1.5rem;
    }

    /* Product Cards */
    .product-actions {
        justify-content: flex-start;
        bottom: 0;
        padding: 0.75rem;
    }

    /* Header */
    .logo {
        font-size: 1.25rem;
    }

    .search-box input {
        min-width: 150px;
    }

    /* Footer */
    .footer-section {
        margin-bottom: 2rem;
    }

    /* Product Detail */
    .product-gallery {
        gap: 0.5rem;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }

    .detail-price .price-current {
        font-size: 1.5rem;
    }

    /* Contact */
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.25rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   2. TABLET (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.75rem;
    }

    /* Header */
    .search-box input {
        min-width: 200px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Banner Section */
    .banner-card {
        min-height: 250px;
        padding: 2rem;
    }

    .banner-content h3 {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-section {
        margin-bottom: 2rem;
    }
}

/* ============================================
   3. DESKTOP (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3rem;
    }

    /* Product Cards */
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   4. LARGE DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3.5rem;
    }

    /* Product Cards */
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================
   4.5. DESKTOP NAVBAR LAYOUT (992px+)
   ============================================ */
@media (min-width: 992px) {
    /* Navbar flex layout for three-column design */
    .site-header .navbar {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .site-header .navbar-brand {
        flex: 0 0 auto;
        order: 0 !important;
    }

    .site-header .navbar-collapse {
        flex: 1 1 auto;
        display: flex !important;
        justify-content: center;
        order: 1 !important;
    }

    .site-header .header-right {
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
        gap: 1rem;
        order: 2 !important;
    }

    /* Hide mobile icons on desktop */
    .mobile-icons {
        display: none !important;
    }
}

/* ============================================
   5. MOBILE-SPECIFIC OVERRIDES
   ============================================ */

/* Hamburger Menu Styles - Drawer Menu */
@media (max-width: 991px) {
    /* Mobile Navbar Layout */
    .site-header .navbar {
        padding: 0.5rem 0;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1051;
    }

    .navbar-toggler i {
        font-size: 1.25rem;
        color: var(--color-primary);
    }

    /* Mobile Drawer Menu - Slide from Left */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        background-color: var(--color-white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.3s ease;
        padding: 0;
        margin: 0;
        border: none;
        display: block !important;
    }

    /* When menu is open */
    .navbar-collapse.show {
        left: 0;
        z-index: 9999;
    }

    /* Mobile Drawer Close Button */
    .mobile-drawer-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        border: none;
        background: #f5f5f5;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.125rem;
        color: var(--color-primary);
        transition: all var(--transition-fast);
        z-index: 10;
    }

    .mobile-drawer-close:hover {
        background: var(--color-secondary);
        color: var(--color-white);
    }

    /* Mobile Nav Styling */
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 4rem 0 1rem 0;
        height: 100%;
        min-height: 100vh;
        box-sizing: border-box;
    }

    .navbar-nav .nav-link {
        padding: 0.875rem 1.5rem !important;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Dropdown on mobile - drawer style */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
        background-color: #f9f9f9;
        border-radius: 0;
    }

    /* Mobile Icons */
    .mobile-icons {
        display: flex !important;
    }

    /* Mobile Search Box */
    .mobile-search-box {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 1060;
        transition: left 0.3s ease;
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }

    .mobile-search-box.active {
        left: 0;
    }

    .mobile-search-box .search-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
        margin-bottom: 1rem;
    }

    .mobile-search-box .search-back {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-search-box input {
        flex: 1;
        border: none;
        border-bottom: 2px solid var(--color-secondary);
        padding: 0.75rem;
        font-size: 1.125rem;
        outline: none;
    }

    .mobile-search-box .search-close-mobile {
        background: none;
        border: none;
        font-size: 1.25rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Mobile Filter Modal */
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        z-index: 1050;
        overflow-y: auto;
        transition: left var(--transition-normal);
    }

    .filter-sidebar.active {
        left: 0;
    }

    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid #eee;
        margin: -1.5rem -1.5rem 1.5rem;
    }

    .filter-close {
        width: 32px;
        height: 32px;
        border: none;
        background-color: #f5f5f5;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   6. TOUCH-FRIENDLY ELEMENTS (Mobile)
   ============================================ */
@media (max-width: 767px) {
    /* Increase touch target sizes */
    .action-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .view-btn,
    .page-link {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .btn {
        min-height: 44px;
    }

    /* Mobile Product Card */
    .product-card {
        margin-bottom: 1rem;
    }

    /* Mobile Product Actions - Always Visible */
    .product-actions {
        position: static;
        background: none;
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    /* Mobile Filter Button */
    .filter-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background-color: var(--color-white);
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        font-size: 0.875rem;
        cursor: pointer;
    }

    .filter-toggle i {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .filter-toggle {
        display: none;
    }
}

/* ============================================
   7. ORIENTATION-SPECIFIC STYLES
   ============================================ */

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .slider-controls {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ============================================
   8. PRINT STYLES
   ============================================ */
@media print {
    .top-bar,
    .header-icons,
    .hero-section,
    .product-actions,
    .pagination,
    .footer-bottom,
    .social-links,
    .newsletter-form {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        page-break-inside: avoid;
    }

    .product-card,
    .blog-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* ============================================
   9. REDUCED MOTION PREFERENCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   10. HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000000;
        --color-white: #ffffff;
    }

    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }

    .product-card,
    .card {
        border: 2px solid var(--color-primary);
    }
}

/* ============================================
   11. DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --color-primary: #f5f5f5;
        --color-white: #1a1a1a;
        --color-light: #2d2d2d;
        --color-dark: #ffffff;
    }

    body {
        background-color: var(--color-dark);
        color: var(--color-primary);
    }

    .site-header,
    .card,
    .product-card,
    .filter-sidebar,
    .contact-info-card,
    .contact-form {
        background-color: #252525;
    }

    .form-control,
    .form-select {
        background-color: #333;
        border-color: #444;
        color: var(--color-primary);
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
    }
    */
}

/* ============================================
   12. ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus Visible for Keyboard Navigation */
@media (max-width: 767px) {
    :focus-visible {
        outline: 2px solid var(--color-secondary);
        outline-offset: 2px;
    }

    /* Skip to Content Link (Mobile) */
    .skip-link {
        position: fixed;
        top: -40px;
        left: 0;
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 0.5rem 1rem;
        z-index: 10000;
        transition: top var(--transition-fast);
    }

    .skip-link:focus {
        top: 0;
    }
}

/* ============================================
   13. GRID LAYOUT ADJUSTMENTS
   ============================================ */

/* Responsive Product Grids */
@media (max-width: 575px) {
    .product-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .product-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-grid-2 {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .product-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   14. FONT SIZE ADJUSTMENTS
   ============================================ */

/* Small Mobile */
@media (max-width: 479px) {
    html {
        font-size: 14px;
    }

    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    h5, .h5 { font-size: 1rem; }
    h6, .h6 { font-size: 0.875rem; }
}

/* Mobile */
@media (min-width: 480px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 15px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

/* ============================================
   15. CONTAINER ADJUSTMENTS
   ============================================ */

@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .section {
        padding: 3rem 0;
    }
}

/* ============================================
   16. MOBILE NAVIGATION SPECIFIC
   ============================================ */

@media (max-width: 991px) {
    /* Close button for mobile menu */
    .menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        border: none;
        background-color: #f5f5f5;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    /* Mobile menu item styling */
    .nav-item {
        position: relative;
    }

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

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-icon {
        transition: transform var(--transition-fast);
    }

    .nav-item.show .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Mega Menu on Mobile */
    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .mega-menu-title {
        font-weight: 600;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .mega-menu-links {
        list-style: none;
        padding-left: 1rem;
    }

    .mega-menu-links li {
        padding: 0.375rem 0;
    }
}

/* ============================================
   17. TABLET-SPECIFIC ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    .search-box {
        max-width: 200px;
    }
}

/* ============================================
   18. UTILITY CLASSES FOR RESPONSIVE
   ============================================ */

/* Hide on specific breakpoints */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }

    .hide-tablet {
        display: none;
    }
}

@media (min-width: 992px) {
    .hide-tablet {
        display: block;
    }

    .hide-desktop {
        display: none;
    }
}

/* Show only on mobile */
.show-mobile {
    display: block;
}

@media (min-width: 768px) {
    .show-mobile {
        display: none;
    }
}

/* Show only on tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .show-tablet {
        display: block;
    }
}

/* Show only on desktop */
.show-desktop {
    display: none;
}

@media (min-width: 992px) {
    .show-desktop {
        display: block;
    }
}

/* ============================================
   19. LANDSCAPE MOBILE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }

    .hero-content {
        padding: 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .slider-controls {
        bottom: 0.5rem;
        right: 0.5rem;
    }
}

/* ============================================
   20. SPECIAL CASES
   ============================================ */

/* Extra Small Devices */
@media (max-width: 374px) {
    .logo {
        font-size: 1.25rem;
    }

    .header-icons {
        gap: 0.5rem;
    }

    .header-icon {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }

    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Extra Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .product-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Ultra Wide Screen (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    html {
        font-size: 18px;
    }
}
