/* ==========================================================================
   SilentParrot Homepage - Complete CSS Styles
   ========================================================================== */

/* CSS Custom Properties for Consistent Design System */
:root {
    /* Rose Gold Color Palette */
    --primary: #B76E79;
    --primary-50: #F8F4F5;
    --primary-100: #F1E7E9;
    --primary-200: #E8D4D7;
    --primary-300: #D7A7A3;
    --primary-400: #C58D8F;
    
    --secondary: #E1B7B3;
    --secondary-100: #F3E4E3;
    --secondary-200: #EACCC9;
    --secondary-400: #D4A5A1;
    
    --accent: #DF0558;
    --accent-50: #FDF2F5;
    --accent-100: #FCE7ED;
    --accent-200: #F9D0DB;
    --accent-400: #E63870;
    
    --success: #03E78B;
    --warning: #FFB800;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #69727D;
    
    /* Background Colors */
    --surface: #F3E4E3;
    --bg-gradient-start: #F8F4F5;
    --bg-gradient-end: #F1E7E9;
    
    /* Shadows */
    --shadow-gentle: 0 2px 8px rgba(183, 110, 121, 0.08);
    --shadow-medium: 0 4px 16px rgba(183, 110, 121, 0.12);
    
    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    
    /* Layout */
    --container-max-width: 1280px;
    --section-spacing: 4rem;
    --card-border-radius: 1rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: white;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

/* Container */
/* Ensure no elements exceed viewport */
.container {
  width: 100%; /* Changed from max-width: 100vw */
  max-width: 1280px; /* Restored to a safe max-width */
  margin: 0 auto;
  padding: 0 15px;
}
/* ==========================================================================
   SilentParrot Homepage - Complete CSS Styles
   ========================================================================== */

/* E-commerce Header CSS - SilentParrot Theme */
/* IMMEDIATE WHITESPACE FIX */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* Fix main content spacing */
.main-content {
  margin: 0 !important;
  padding: 15px 0 !important;
}

.page-header {
  margin: 0 auto 25px auto !important;
  padding: 0 15px !important;
}

/* Fix category tabs excessive spacing */
.category-tabs {
  margin: 0 auto 20px auto !important;
  padding: 8px 10px !important;
  gap: 8px !important;
}

.category-tab {
  min-width: 90px !important;
  padding: 8px 6px !important;
}

/* Remove footer excessive margin */
.footer {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

/* Ensure no elements exceed viewport */
.container {
  max-width: 100vw;
  padding: 0 8px;
}

/* Fix responsive issues */
@media (max-width: 768px) {
  .header-content {
    padding: 8px 0 !important;
  }
  
  .breadcrumb {
    padding: 8px 0 !important;
  }
  
  .filter-sort-bar {
    margin: 15px 0 !important;
    padding: 12px !important;
  }
  
  .category-tabs {
    padding: 5px !important;
    margin-bottom: 15px !important;
  }
  
  .page-header h1 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
  }
  
  .page-description {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
  }
}

/* Force elements to not create unexpected space */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove any pseudo-element spacing */
.main-content::before,
.main-content::after,
.page-header::before,
.page-header::after {
  display: none !important;
}

:root {
    --primary: #B76E79;
    --primary-light: #F8F4F5;
    --primary-dark: #9A5A66;
    --accent: #DF0558;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --border-light: #eee;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* Header Container */
.header {
    background: white;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

/* Header Content Layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    min-height: 70px;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 14px;
    transition: var(--transition);
    background: #fafafa;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    border: none;
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-toggle {
    position: relative;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
}

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

/* Header Icons Section */
.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 6px;
    position: relative;
}

.header-icon:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.header-icon span {
    font-size: 12px;
    font-weight: 500;
}

/* Cart Button Special Styling */
.cart-container {
    position: relative;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: rgb(4, 4, 4);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    font-size: 17px;
}

.cart-btn:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.cart-text {
    /* font-weight: 600; */
}

/* Badges */
.wishlist-badge{
    position: absolute;
    top: -12px;
    right: -5px;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none;
    line-height: 1.2;
}
.cart-badge {
    position: absolute;
    top: 0px;
    right: 6px;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none;
    line-height: 1.2;
}

.wishlist-badge.show,
.cart-badge.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Help Dropdown */
.help-dropdown {
    position: relative;
}

.help-btn {
    padding: 8px;
}

.help-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid var(--border-light);
}

.help-dropdown:hover .help-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.help-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.help-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.help-item img {
    filter: grayscale(1);
    transition: var(--transition);
}

.help-item:hover img {
    filter: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 16px 0;
    box-shadow: var(--shadow-light);
}

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

.mobile-nav-item {
    padding: 8px 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .search-container {
        max-width: 300px;
        margin: 0 10px;
    }
    
    .nav {
        gap: 12px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .header-icon {
        padding: 8px 10px;
    }
    
    .header-icon span {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        padding: 12px 0;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .search-container {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 12px 0 0 0;
    }
    
    .header-icons {
        gap: 4px;
    }
    
    .help-dropdown {
        display: none;
    }
    
    .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        gap: 12px;
    }
    
    .logo-image {
        height: 65px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .search-input {
        padding: 10px 45px 10px 14px;
        font-size: 14px;
    }
    
    .search-btn {
        width: 34px;
        height: 34px;
        right: 3px;
    }
    
    .cart-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .header-icon {
        padding: 8px;
    }
    
    .mobile-nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }
}

/* Animation for smooth interactions */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    animation: fadeInDown 0.3s ease when entering;
}

.help-menu {
    animation: fadeInDown 0.3s ease when entering;
}

/* Focus states for accessibility */
.search-input:focus,
.nav-link:focus,
.dropdown-item:focus,
.header-icon:focus,
.cart-btn:focus,
.help-item:focus,
.mobile-nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .header {
        border-bottom: 2px solid var(--text-primary);
    }
    
    .nav-link,
    .dropdown-item,
    .header-icon {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .dropdown-item:hover,
    .header-icon:hover {
        border-color: var(--primary);
    }
}

/* Print styles */
@media print {
    .header {
        box-shadow: none;
        border-bottom: 1px solid #000;
        position: static;
    }
    
    .search-container,
    .header-icons,
    .help-dropdown,
    .mobile-menu-toggle {
        display: none;
    }
}
/* ==========================================================================
   Video Banner Section
   ========================================================================== */
.video-banner-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(183, 110, 121, 0.4), rgba(225, 183, 179, 0.3));
    z-index: -1;
}

.video-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.video-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.video-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 110, 121, 0.3);
}

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar span {
    display: inline-block;
    animation: fadeInDown 0.6s ease-out;
}

/* Crazy Deals Section - Fantastic Styling */
/* Crazy Deals Section - Compact Styling */
        .crazy-deals-section {
            position: relative;
            min-height: 60vh; /* Reduced from 100vh */
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: white;
            padding: 2rem 0; /* Added padding for better spacing */
        }

        /* Background Setup */
        .deals-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .deals-bg-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.4) blur(1px);
            transform: scale(1.1);
            transition: transform 10s ease-in-out; /* Reduced animation time */
        }

        .deals-bg-image:hover {
            transform: scale(1.15); /* Reduced hover effect */
        }

        .deals-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(183, 110, 121, 0.9) 0%,
                rgba(223, 5, 88, 0.8) 50%,
                rgba(0, 0, 0, 0.7) 100%
            );
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }

        /* Floating Elements - Smaller and fewer */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .float-element {
            position: absolute;
            background: linear-gradient(45deg, #FFD700, #FFA500);
            color: #333;
            padding: 6px 12px; /* Reduced padding */
            border-radius: 20px; /* Slightly smaller radius */
            font-weight: 800;
            font-size: 12px; /* Smaller font */
            box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4); /* Reduced shadow */
            animation: float 4s ease-in-out infinite; /* Faster animation */
        }

        .float-element:nth-child(1) {
            top: 15%; /* Adjusted position */
            left: 10%;
            animation-delay: 0s;
        }

        .float-element:nth-child(2) {
            top: 25%; /* Adjusted position */
            right: 15%;
            animation-delay: 1.5s; /* Reduced delay */
        }

        /* Removed the third floating element */

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            25% { transform: translateY(-15px) rotate(5deg); } /* Reduced movement */
            50% { transform: translateY(-8px) rotate(0deg); }
            75% { transform: translateY(-12px) rotate(-5deg); }
        }

        /* Container adjustments */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            z-index: 3;
        }

        /* Content adjustments */
        .deals-content {
            text-align: center;
            width: 100%;
            padding: 1.5rem; /* Reduced padding */
        }

        .deals-header {
            margin-bottom: 1.5rem; /* Reduced margin */
        }

        .deals-label {
            font-size: 0.8rem; /* Smaller font */
            font-weight: 700;
            color: #FFD700;
            margin-bottom: 0.8rem; /* Reduced margin */
            display: inline-block;
            padding: 0.3rem 0.8rem; /* Reduced padding */
            background: rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            backdrop-filter: blur(5px);
        }

        .deals-title {
            font-size: 2.5rem; /* Reduced font size */
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 0.8rem; /* Reduced margin */
        }

        .title-line {
            display: block;
        }

        .title-line.highlight {
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .deals-subtitle {
            font-size: 1rem; /* Reduced font size */
            max-width: 500px;
            margin: 0 auto 1.5rem; /* Reduced margin */
            opacity: 0.9;
            line-height: 1.5;
        }

        /* Countdown Timer adjustments */
        .countdown-timer {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.5rem; /* Reduced margin */
            gap: 0.5rem; /* Reduced gap */
        }

        .timer-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem; /* Reduced padding */
            border-radius: 10px;
            min-width: 60px; /* Reduced width */
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .timer-number {
            font-size: 1.5rem; /* Reduced font size */
            font-weight: 800;
            color: #FFD700;
        }

        .timer-label {
            font-size: 0.7rem; /* Reduced font size */
            text-transform: uppercase;
            opacity: 0.8;
            margin-top: 0.3rem; /* Reduced margin */
        }

        .timer-separator {
            font-size: 1.2rem; /* Reduced font size */
            font-weight: 700;
            color: #FFD700;
            margin: 0 0.2rem; /* Reduced margin */
        }

        /* CTA Button adjustments */
        .deals-actions {
            display: flex;
            justify-content: center;
            gap: 1rem; /* Reduced gap */
        }

        .btn-crazy-deal {
            display: inline-flex;
            align-items: center;
            padding: 0.8rem 1.5rem; /* Reduced padding */
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .btn-crazy-deal.primary {
            background: linear-gradient(45deg, #FFD700, #FF8C00);
            color: #333;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        }

        .btn-crazy-deal:hover {
            transform: translateY(-3px); /* Reduced hover effect */
            box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
        }

        .btn-text {
            margin-right: 0.5rem; /* Reduced margin */
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .crazy-deals-section {
                min-height: 50vh; /* Even smaller on mobile */
                padding: 1.5rem 0; /* Reduced padding */
            }
            
            .deals-title {
                font-size: 2rem; /* Smaller on mobile */
            }
            
            .countdown-timer {
                gap: 0.3rem; /* Tighter gap */
            }
            
            .timer-item {
                min-width: 50px; /* Smaller on mobile */
                padding: 0.4rem; /* Less padding */
            }
            
            .timer-number {
                font-size: 1.2rem; /* Smaller on mobile */
            }
        }
        
/* Main Content */
.deals-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.deals-header {
    margin-bottom: 3rem;
}

.deals-label {
    display: inline-block;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(255, 107, 107, 0.6); }
}

.deals-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.title-line {
    display: block;
    animation: slideInUp 1s ease 0.5s both;
}

.title-line.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6B6B);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease 0.7s both, gradientShift 3s ease infinite;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.deals-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.timer-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.timer-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700;
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 900;
    color: #FFD700;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Deals Stats */
.deals-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FFD700;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* CTA Buttons */
.deals-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-crazy-deal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-crazy-deal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-crazy-deal:hover::before {
    left: 100%;
}

.btn-crazy-deal.primary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-crazy-deal.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
}

.btn-crazy-deal.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-crazy-deal.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-crazy-deal:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Quick Deals */
.quick-deals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-deal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-deal-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.quick-deal-icon {
    font-size: 2rem;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.quick-deal-item:hover .quick-deal-icon {
    transform: scale(1.2) rotate(5deg);
}

.quick-deal-text {
    display: flex;
    flex-direction: column;
}

.quick-deal-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.quick-deal-discount {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .deals-title {
        font-size: 3.5rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .timer-number {
        font-size: 2rem;
    }
    
    .deals-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .deals-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-crazy-deal {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .quick-deals {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-deal-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .crazy-deals-section {
        min-height: 90vh;
    }
    
    .deals-title {
        font-size: 2.8rem;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .timer-separator {
        display: none;
    }
    
    .deals-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Category Showcase
   ========================================================================== */
.category-showcase {
    padding: 60px 0;
    background: var(--surface);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

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

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 24px 16px 16px;
}

.category-tag {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
}

.category-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================================================
   Utility Classes for New Sections
   ========================================================================== */
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-gradient-to-b {
    background: linear-gradient(to bottom, white, var(--bg-gradient-end));
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--primary-50), var(--accent-50));
}

.bg-gradient-to-r {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.max-w-7xl {
    max-width: var(--container-max-width);
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-lg {
    max-width: 32rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

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

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* Color Utilities */
.text-text-primary {
    color: var(--text-primary);
}

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

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

.text-accent {
    color: var(--accent);
}

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

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-white {
    color: white;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary-50 {
    background-color: var(--primary-50);
}

.bg-primary-100 {
    background-color: var(--primary-100);
}

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

.bg-accent {
    background-color: var(--accent);
}

.bg-surface {
    background-color: var(--surface);
}

.bg-white {
    background-color: white;
}

/* Typography Utilities */
.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

.font-medium {
    font-weight: 500;
}

.leading-tight {
    line-height: 1.25;
}

/* Layout Utilities */
.w-full {
    width: 100%;
}

.w-16 {
    width: 4rem;
}

.w-12 {
    width: 3rem;
}

.w-8 {
    width: 2rem;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.h-16 {
    height: 4rem;
}

.h-12 {
    height: 3rem;
}

.h-8 {
    height: 2rem;
}

.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.h-64 {
    height: 16rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 50rem;
}

.shadow-gentle {
    box-shadow: var(--shadow-gentle);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

/* Position Utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.bottom-4 {
    bottom: 1rem;
}

.bottom-6 {
    bottom: 1.5rem;
}

.left-4 {
    left: 1rem;
}

.left-6 {
    left: 1.5rem;
}

.right-0 {
    right: 0;
}

.-top-4 {
    top: -1rem;
}

.-right-4 {
    right: -1rem;
}

.-bottom-4 {
    bottom: -1rem;
}

.-left-4 {
    left: -1rem;
}

/* Transition Utilities */
.transition-smooth {
    transition: var(--transition-smooth);
}

/* Hover Effects */
.hover\:bg-primary-300:hover {
    background-color: var(--primary-300);
}

.hover\:bg-primary:hover {
    background-color: var(--primary);
}

.hover\:bg-secondary-400:hover {
    background-color: var(--secondary-400);
}

.hover\:bg-accent-400:hover {
    background-color: var(--accent-400);
}

.hover\:text-white:hover {
    color: white;
}

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

.hover\:text-primary-400:hover {
    color: var(--primary-400);
}

.hover\:text-accent-400:hover {
    color: var(--accent-400);
}

.hover\:text-secondary-400:hover {
    color: var(--secondary-400);
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:bg-primary-200 {
    background-color: var(--primary-200);
}

.group:hover .group-hover\:bg-accent-200 {
    background-color: var(--accent-200);
}

.group:hover .group-hover\:bg-secondary-200 {
    background-color: var(--secondary-200);
}

.group:hover .group-hover\:bg-opacity-30 {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Special Elements */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.overflow-hidden {
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.opacity-90 {
    opacity: 0.9;
}

.bg-opacity-20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1.5rem;
    border-radius: var(--card-border-radius);
    background: white;
    box-shadow: var(--shadow-gentle);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.feature-icon .icon {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Icon Colors */
.bg-blue-50 {
    background-color: #eff6ff;
}

.border-blue-100 {
    border-color: #dbeafe;
}

.text-blue-600 {
    color: #2563eb;
}

.bg-pink-50 {
    background-color: var(--primary-50);
}

.border-pink-100 {
    border-color: var(--primary-100);
}

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

.bg-green-50 {
    background-color: #f0fdf4;
}

.border-green-100 {
    border-color: #dcfce7;
}

.text-green-600 {
    color: var(--success);
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.border-purple-100 {
    border-color: #e9d5ff;
}

.text-purple-600 {
    color: #9333ea;
}

.bg-yellow-50 {
    background-color: #fefce8;
}

.border-yellow-100 {
    border-color: #fef3c7;
}

.text-yellow-600 {
    color: var(--warning);
}

.border-2 {
    border-width: 2px;
}

.border {
    border-width: 1px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-primary-100 {
    border-color: var(--primary-100);
}

.border-primary {
    border-color: var(--primary);
}

.border-white {
    border-color: white;
}

/* Focus States */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--primary);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Links */
.inline-flex {
    display: inline-flex;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

.list-disc {
    list-style-type: disc;
}

/* Backdrop Effects */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 60px 0;
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 16px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    min-width: 300px;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-50);
    transform: translateY(-1px);
}

.newsletter-disclaimer {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--surface);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-medium);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--primary-100);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.modal-body {
    padding: 24px;
}

/* Profile Modal */
.profile-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--primary-50);
    border-radius: 8px;
}

.profile-avatar {
    font-size: 48px;
    color: var(--primary);
}

.profile-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.profile-item:hover {
    background: var(--primary-50);
}

.profile-item i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
}

.profile-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-200);
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Cart Summary */
.cart-summary {
    border-top: 1px solid var(--primary-100);
    padding-top: 20px;
    margin-top: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-line.total {
    font-weight: 600;
    font-size: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--primary-100);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.btn--full-width {
    width: 100%;
}

.checkout-btn {
    margin-top: 16px;
}

/* Size Guide Modal */
.size-guide-content {
    max-width: 700px;
}

.size-guide-tabs {
    display: flex;
    border-bottom: 1px solid var(--primary-100);
    margin-bottom: 20px;
}

.size-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.size-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.size-tab:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.size-tab-content {
    display: none;
}

.size-tab-content.active {
    display: block;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.size-chart th,
.size-chart td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--primary-100);
}

.size-chart th {
    background: var(--primary-50);
    font-weight: 600;
    color: var(--text-primary);
}

.size-chart tr:hover {
    background: var(--primary-50);
}

/* FAQ Section */
.faq-item {
    transition: var(--transition-smooth);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.faq-question {
    position: relative;
    padding-right: 2rem;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    transition: var(--transition-smooth);
    line-height: 1.6;
}

.hidden {
    display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:w-auto {
        width: auto;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-input {
        min-width: 250px;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .video-banner-section {
        height: 90vh;
    }
    
    .video-content h1 {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    .lg\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .lg\:text-hero {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .search-container {
        order: 3;
        flex-basis: 100%;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.hidden {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .video-banner-section {
        height: 40vh;
    }
    
    .video-content h1 {
        font-size: 2.5rem;
    }
    
    .deals-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .deals-banner h2 {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .deals-container, .category-container {
        padding: 0;
    }
    
    .card-equal {
        min-width: 180px;
        width: 180px;
    }
    
    .product-card {
        height: 300px;
    }
    
    .category-card {
        height: 220px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-input {
        min-width: auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .video-content h1 {
        font-size: 2rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.875rem;
    }
    
    .py-16 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* ==========================================================================
   Accessibility & Focus States
   ========================================================================== */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #8B0000;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-300);
}

/* Loading States */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print Styles */
@media print {
    .header,
    .video-banner-section,
    .deals-section,
    .category-showcase,
    .newsletter-section,
    .footer {
        display: none !important;
    }
    
    .modal {
        display: none !important;
    }
}
.category-showcase img[loading="lazy"] {
  opacity: 1 !important;
  transition: none !important;
}

/* ==========================================================================
   DASHBOARD / PROFILE PAGE STYLES
   ========================================================================== */

/* Layout Wrapper */
.dashboard-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
}

/* Sidebar Navigation */
.profile-nav {
    background: #fff;
    padding: 15px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-gentle);
    border: 1px solid var(--primary-100);
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: -webkit-sticky;
    position: sticky;
    top: 90px; /* Adjust based on your header height */
    z-index: 90;
}

/* Sidebar Buttons */
.profile-nav-btn {
    background: transparent;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-family: var(--font-sans);
}

.profile-nav-btn:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.profile-nav-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.3);
}

/* Dashboard Content Area */
.profile-content {
    background: #fff;
    padding: 30px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-gentle);
    border: 1px solid var(--primary-100);
    flex-grow: 1;
    width: 100%;
}

.profile-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.profile-section.active {
    display: block;
}

/* Dashboard Header Card */
.profile-header-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-gentle);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--primary-100);
}

.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* Form Styles for Dashboard */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-primary);
}

.form-group input, 
.form-group select {
    padding: 12px;
    border: 1px solid var(--primary-200);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

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

/* Mobile Responsiveness for Dashboard */
@media (max-width: 991px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    
    .profile-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        position: static;
        padding: 10px;
        border-bottom: 2px solid var(--primary-50);
    }
    
    .profile-nav-btn {
        width: auto;
        white-space: nowrap;
        padding: 10px 15px;
        background: var(--surface);
    }
    
    .profile-nav-btn.active {
        background: var(--primary);
    }
    
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
}
