/* Gift Cards Store - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0070BA;
    --primary-dark-blue: #003087;
    --primary-light-blue: #009CDE;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --border-color: #E0E0E0;
    --bg-light: #F5F7FA;
    --white: #FFFFFF;
    --bg-section: #F8F9FA;
    
    /* Modern additions */
    --gradient-primary: linear-gradient(135deg, #0070BA 0%, #009CDE 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(0, 112, 186, 0.08) 0%, rgba(0, 156, 222, 0.08) 100%);
    --gradient-accent: linear-gradient(135deg, rgba(0, 112, 186, 0.05) 0%, rgba(0, 156, 222, 0.05) 100%);
    --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, 112, 186, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
    background-color: #F8F9FA;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.cookie-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
}

.btn-accept,
.btn-decline {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-accept {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.btn-accept:hover {
    background: linear-gradient(135deg, #005a94 0%, #007bb8 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-decline:hover {
    background: var(--bg-light);
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    min-width: 48px;
    height: 48px;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all var(--transition-base);
    text-transform: uppercase;
}

.logo:hover .logo-text {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.header-nav {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    margin-left: 16px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 112, 186, 0.06);
}

.nav-link:hover::before {
    width: calc(100% - 32px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-link-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 15px;
    background: transparent;
    border: 1px solid transparent;
}

.cart-link-header:hover {
    color: var(--primary-blue);
    background: rgba(0, 112, 186, 0.06);
    border-color: rgba(0, 112, 186, 0.1);
    transform: translateY(-1px);
}

.cart-link-header svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.cart-link-header .cart-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background: linear-gradient(135deg, #FF4444 0%, #FF6B6B 100%);
    color: var(--white);
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    border: 2px solid var(--white);
}

.btn-login {
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.1);
}

.user-icon-header {
    color: var(--text-secondary);
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: all var(--transition-base);
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.user-icon-header:hover {
    color: var(--primary-blue);
    background: rgba(0, 112, 186, 0.06);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.05) 0%, rgba(0, 156, 222, 0.05) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-menu-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.mobile-menu-close {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid #FF4757;
    padding: 8px;
    cursor: pointer;
    color: #FF4757;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.mobile-menu-close:hover {
    background: #FF4757;
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    margin: 0 8px;
    border-radius: 10px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
}

.mobile-nav-link svg {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    width: 22px;
    height: 22px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: linear-gradient(90deg, rgba(0, 112, 186, 0.1) 0%, rgba(0, 156, 222, 0.05) 100%);
    color: var(--primary-blue);
    padding-left: 28px;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 112, 186, 0.15);
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
    height: 60%;
}

.mobile-nav-link:hover svg,
.mobile-nav-link:active svg {
    color: var(--primary-blue);
    transform: scale(1.15);
}

/* Mobile Menu Search */
.mobile-menu-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 112, 186, 0.02);
}

.mobile-search-box {
    position: relative;
}

.mobile-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.1);
}

.mobile-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
}

.mobile-search-results {
    display: flex;
    flex-direction: column;
}

.mobile-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.mobile-search-result-item:last-child {
    border-bottom: none;
}

.mobile-search-result-item:hover {
    background: rgba(0, 112, 186, 0.05);
}

.mobile-search-result-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bg-light);
}

.mobile-search-result-name {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Menu Theme Toggle */
.mobile-menu-theme {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 112, 186, 0.02);
}

.mobile-menu-language {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 112, 186, 0.02);
}

.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.language-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.theme-toggle-wrapper svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-left: auto;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.theme-switch input:checked + .theme-slider {
    background: var(--gradient-primary);
}

.theme-switch input:checked + .theme-slider:before {
    transform: translateX(24px);
}

/* ============================================
   DARK THEME - Full Implementation
   Modern color palette inspired by GitHub Dark, VS Code, Material Design
   ============================================ */

body.dark-theme {
    /* Base colors */
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #1C2128;
    --bg-elevated: #21262D;
    --bg-hover: #30363D;
    
    /* Text colors */
    --text-primary: #E6EDF3;
    --text-secondary: #C9D1D9;
    --text-tertiary: #8B949E;
    --text-disabled: #6E7681;
    
    /* Border colors */
    --border-primary: #30363D;
    --border-secondary: #21262D;
    --border-hover: #484F58;
    
    /* Accent colors (primary blue adapted for dark) */
    --accent-primary: #58A6FF;
    --accent-secondary: #1F6FEB;
    --accent-hover: #79C0FF;
    
    /* Status colors */
    --success: #3FB950;
    --warning: #D29922;
    --error: #F85149;
    --info: #58A6FF;
    
    /* Shadows for dark theme */
    --shadow-sm-dark: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md-dark: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Gradients for dark theme */
    --gradient-primary-dark: linear-gradient(135deg, #1F6FEB 0%, #58A6FF 100%);
    --gradient-secondary-dark: linear-gradient(135deg, rgba(31, 111, 235, 0.15) 0%, rgba(88, 166, 255, 0.15) 100%);
    
    background: var(--bg-primary);
    background-image: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header & Navigation */
body.dark-theme .header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
    box-shadow: var(--shadow-md-dark);
}

body.dark-theme .logo-text {
    background: var(--gradient-primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .header-nav-link {
    color: var(--text-secondary);
}

body.dark-theme .header-nav-link:hover {
    color: var(--accent-primary);
}

body.dark-theme .btn-login {
    background: transparent;
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .btn-login:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
}

body.dark-theme .cart-link {
    color: var(--text-primary);
}

body.dark-theme .cart-link:hover {
    color: var(--accent-primary);
}

/* Announcement Bar */
body.dark-theme .announcement-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

body.dark-theme .announcement-item {
    color: var(--text-secondary);
}

body.dark-theme .announcement-item svg {
    color: var(--accent-primary);
}

/* Hero Section */
body.dark-theme .hero-section {
    background: var(--bg-secondary);
}

body.dark-theme .hero-title-line1,
body.dark-theme .hero-title-line2,
body.dark-theme .hero-title-line3 {
    color: var(--text-primary);
}

body.dark-theme .hero-section::before,
body.dark-theme .hero-section::after {
    opacity: 0.1;
}

/* Search */
body.dark-theme .header-search-input,
body.dark-theme .search-input,
body.dark-theme .mobile-search-input {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .header-search-input:focus,
body.dark-theme .search-input:focus,
body.dark-theme .mobile-search-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

body.dark-theme .header-search-dropdown,
body.dark-theme .search-dropdown,
body.dark-theme .mobile-search-dropdown {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg-dark);
}

body.dark-theme .search-result-item:hover,
body.dark-theme .mobile-search-result-item:hover {
    background: var(--bg-hover);
}

/* Product Cards */
body.dark-theme .product-card {
    background: transparent;
}

body.dark-theme .product-name {
    color: var(--text-primary);
}

body.dark-theme .product-category {
    color: var(--text-tertiary);
}

body.dark-theme .product-card:hover .product-name {
    color: var(--accent-primary);
}

body.dark-theme .product-card-discount-badge {
    background: linear-gradient(135deg, #F85149 0%, #FF6B6B 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(248, 81, 73, 0.4);
}

/* Sections */
body.dark-theme .products-section,
body.dark-theme .stats-section,
body.dark-theme .why-choose-section,
body.dark-theme .reviews-widget-section,
body.dark-theme .faq-section,
body.dark-theme .deals-carousel-section {
    background: var(--bg-primary);
}

body.dark-theme .section-title {
    color: var(--text-primary);
}

body.dark-theme .section-subtitle {
    color: var(--text-secondary);
}

/* Buttons */
body.dark-theme .btn-primary {
    background: var(--gradient-primary-dark);
    color: var(--white);
}

body.dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #58A6FF 0%, #79C0FF 100%);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.3);
}

body.dark-theme .btn-secondary {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

/* Mobile Menu */
body.dark-theme .mobile-menu {
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg-dark);
}

body.dark-theme .mobile-menu-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-primary);
}

body.dark-theme .mobile-menu-title {
    color: var(--text-primary);
}

body.dark-theme .mobile-menu-close {
    background: rgba(248, 81, 73, 0.1);
    border-color: #F85149;
    color: #F85149;
}

body.dark-theme .mobile-menu-close:hover {
    background: #F85149;
    color: var(--white);
}

body.dark-theme .mobile-nav-link {
    color: var(--text-secondary);
    border-left: 4px solid transparent;
}

body.dark-theme .mobile-nav-link:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
}

body.dark-theme .mobile-menu-search {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-primary);
}

body.dark-theme .mobile-menu-theme {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-primary);
}

body.dark-theme .mobile-menu-language {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-primary);
}

body.dark-theme .theme-toggle-wrapper {
    color: var(--text-primary);
}

body.dark-theme .language-toggle-wrapper {
    color: var(--text-primary);
}

body.dark-theme .theme-toggle-wrapper svg {
    color: var(--text-secondary);
}

body.dark-theme .language-toggle-wrapper svg {
    color: var(--text-secondary);
}
}

body.dark-theme .mobile-menu-social {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-primary);
}

body.dark-theme .mobile-menu-social-title {
    color: var(--text-secondary);
}

body.dark-theme .mobile-social-link {
    background: var(--bg-hover);
    border-color: var(--border-primary);
    color: var(--accent-primary);
}

body.dark-theme .mobile-social-link:hover {
    background: var(--gradient-primary-dark);
    border-color: var(--accent-primary);
}

/* Footer */
body.dark-theme .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}

body.dark-theme .footer-brand .logo-text {
    background: var(--gradient-primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-theme .footer-tagline {
    color: var(--text-secondary);
}

body.dark-theme .footer-links-title {
    color: var(--text-primary);
}

body.dark-theme .footer-link {
    color: var(--text-secondary);
}

body.dark-theme .footer-link:hover {
    color: var(--accent-primary);
}

body.dark-theme .footer-payment {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-primary);
}

body.dark-theme .footer-payment-title {
    color: var(--text-primary);
}

body.dark-theme .payment-method {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
}

body.dark-theme .footer-bottom {
    border-top: 1px solid var(--border-primary);
    color: var(--text-tertiary);
}

/* Product Page */
body.dark-theme .purchase-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
}

body.dark-theme .product-title {
    color: var(--text-primary);
}

body.dark-theme .product-discount-badge {
    background: linear-gradient(135deg, #F85149 0%, #FF6B6B 100%);
    color: var(--white);
}

body.dark-theme .denomination-label {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .denomination-label:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

body.dark-theme .denomination-label input:checked + .denomination-amount {
    color: var(--accent-primary);
}

body.dark-theme .selected-price-container {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
}

body.dark-theme .selected-price-label {
    color: var(--text-secondary);
}

body.dark-theme .selected-price-single,
body.dark-theme .selected-price-discounted {
    color: var(--accent-primary);
}

body.dark-theme .selected-price-original {
    color: var(--text-tertiary);
}

body.dark-theme .gift-option-btn {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
}

body.dark-theme .gift-option-btn.active {
    background: var(--gradient-primary-dark);
    border-color: var(--accent-primary);
    color: var(--white);
}

body.dark-theme .form-input,
body.dark-theme .form-textarea,
body.dark-theme .date-input {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .form-input:focus,
body.dark-theme .form-textarea:focus,
body.dark-theme .date-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

body.dark-theme .form-input::placeholder,
body.dark-theme .form-textarea::placeholder {
    color: var(--text-disabled);
}

body.dark-theme .form-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.2);
}

body.dark-theme .form-error-message {
    color: var(--error);
}

body.dark-theme .btn-add-to-cart {
    background: var(--gradient-primary-dark);
    color: var(--white);
}

body.dark-theme .btn-add-to-cart:hover {
    background: linear-gradient(135deg, #58A6FF 0%, #79C0FF 100%);
}

body.dark-theme .purchase-info {
    color: var(--text-secondary);
}

body.dark-theme .floating-cart-btn {
    background: var(--gradient-primary-dark);
    box-shadow: var(--shadow-lg-dark);
}

body.dark-theme .floating-cart-btn:hover {
    background: linear-gradient(135deg, #58A6FF 0%, #79C0FF 100%);
}

/* Benefits Section */
body.dark-theme .benefit-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
}

body.dark-theme .benefit-title {
    color: var(--text-primary);
}

body.dark-theme .benefit-text {
    color: var(--text-secondary);
}

body.dark-theme .benefit-icon {
    color: var(--accent-primary);
}

/* Reviews */
body.dark-theme .review-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .review-author {
    color: var(--text-primary);
    font-weight: 600;
}

body.dark-theme .review-date {
    color: var(--text-secondary);
}

body.dark-theme .review-text {
    color: var(--text-primary);
    line-height: 1.6;
}

body.dark-theme .review-rating {
    color: #FFD700;
}

body.dark-theme .review-verified {
    color: var(--accent-primary);
}

body.dark-theme .pagination-btn {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .pagination-btn:hover:not(:disabled) {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

body.dark-theme .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Deals Carousel */
body.dark-theme .deals-carousel-section {
    background: var(--bg-primary);
}

body.dark-theme .deal-card {
    background: transparent;
}

body.dark-theme .deal-badge {
    background: linear-gradient(135deg, #F85149 0%, #FF6B6B 100%);
    color: var(--white);
}

body.dark-theme .carousel-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .carousel-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

body.dark-theme .carousel-dot {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
}

body.dark-theme .carousel-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Stats Section */
body.dark-theme .stat-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
}

body.dark-theme .stat-number {
    color: var(--accent-primary);
}

body.dark-theme .stat-label {
    color: var(--text-secondary);
}

/* FAQ */
body.dark-theme .faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
}

body.dark-theme .faq-question {
    color: var(--text-primary);
}

body.dark-theme .faq-answer {
    color: var(--text-secondary);
}

/* Toast Notifications */
body.dark-theme .toast {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg-dark);
    color: var(--text-primary);
}

/* Breadcrumbs */
body.dark-theme .breadcrumbs a {
    color: var(--text-secondary);
}

body.dark-theme .breadcrumbs a:hover {
    color: var(--accent-primary);
}

body.dark-theme .breadcrumbs-separator {
    color: var(--text-tertiary);
}

body.dark-theme .breadcrumbs-current {
    color: var(--text-primary);
}

/* Cookie Banner */
body.dark-theme .cookie-banner {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-primary);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-theme .cookie-content p {
    color: var(--text-secondary);
}

body.dark-theme .cookie-content a {
    color: var(--accent-primary);
}

/* Cart */
body.dark-theme .cart-modal {
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg-dark);
}

body.dark-theme .cart-header {
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .cart-header h2 {
    color: var(--text-primary);
}

body.dark-theme .cart-close {
    color: var(--text-primary);
}

body.dark-theme .cart-close:hover {
    color: var(--accent-primary);
}

body.dark-theme .cart-item {
    border-bottom: 1px solid var(--border-primary);
    background: transparent;
}

body.dark-theme .cart-item-name {
    color: var(--text-primary);
}

body.dark-theme .cart-item-price {
    color: var(--text-primary);
    font-weight: 600;
}

body.dark-theme .cart-item-remove {
    color: var(--text-secondary);
}

body.dark-theme .cart-item-remove:hover {
    color: var(--accent-primary);
}

body.dark-theme .cart-empty {
    color: var(--text-secondary);
}

body.dark-theme .cart-total {
    border-top: 1px solid var(--border-primary);
    background: var(--bg-elevated);
    color: var(--text-primary);
}

body.dark-theme .cart-total-label {
    color: var(--text-primary);
}

body.dark-theme .cart-total-amount {
    color: var(--text-primary);
    font-weight: 700;
}

body.dark-theme .cart-checkout-btn {
    background: var(--gradient-primary-dark);
    color: var(--white);
}

body.dark-theme .cart-checkout-btn:hover {
    background: linear-gradient(135deg, #58A6FF 0%, #79C0FF 100%);
}

/* Additional Dark Theme Styles */
body.dark-theme .stats-section,
body.dark-theme .why-choose-section,
body.dark-theme .reviews-widget-section,
body.dark-theme .faq-section {
    background: var(--bg-primary);
}

body.dark-theme .why-choose-card,
body.dark-theme .reviews-widget-card,
body.dark-theme .faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
}

body.dark-theme .why-choose-card:hover,
body.dark-theme .reviews-widget-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

body.dark-theme .why-choose-icon {
    color: var(--accent-primary);
}

body.dark-theme .reviews-widget-author {
    color: var(--text-primary);
}

body.dark-theme .reviews-widget-text {
    color: var(--text-primary);
}

body.dark-theme .reviews-widget-card,
body.dark-theme .reviews-widget-card * {
    color: var(--text-primary);
}

/* Country selector text color (light theme) */
.country-btn {
    color: #0b0f14;
}

/* Country selector (dark theme) */
body.dark-theme .country-btn {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-color: var(--border-primary);
}

body.dark-theme .country-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

body.dark-theme .country-dropdown {
    background: var(--bg-elevated);
    border-color: var(--border-primary);
}

body.dark-theme .country-option {
    color: var(--text-primary);
}

body.dark-theme .country-option:hover {
    background: var(--bg-hover);
}

body.dark-theme .newsletter-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
}

body.dark-theme .newsletter-title {
    color: var(--text-primary);
}

body.dark-theme .newsletter-text {
    color: var(--text-secondary);
}

body.dark-theme .newsletter-input {
    background: var(--bg-hover);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .newsletter-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

body.dark-theme .newsletter-btn {
    background: var(--gradient-primary-dark);
    color: var(--white);
}

body.dark-theme .newsletter-btn:hover {
    background: linear-gradient(135deg, #58A6FF 0%, #79C0FF 100%);
}

/* Smooth transitions for theme switch */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Mobile Menu Social Links */
.mobile-menu-social {
    padding: 24px;
    border-top: 2px solid var(--border-color);
    background: linear-gradient(180deg, rgba(0, 112, 186, 0.03) 0%, transparent 100%);
    margin-top: auto;
}

.mobile-menu-social-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-align: center;
}

.mobile-menu-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.1) 0%, rgba(0, 156, 222, 0.1) 100%);
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.mobile-social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
    border-color: var(--primary-blue);
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile search and cart in header (hidden on desktop) */
.header-actions-mobile {
    display: none;
}

.country-selector {
    position: relative;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.country-btn:hover {
    border-color: var(--primary-blue);
    background: var(--bg-light);
}

.country-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.footer .country-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
}

.country-dropdown.active {
    display: block;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.country-option:last-child {
    border-bottom: none;
}

.country-option:hover {
    background: var(--bg-light);
}

.country-option.active {
    background: var(--primary-light-blue);
    color: var(--white);
}

.country-option-flag {
    font-size: 20px;
}

.country-option-name {
    flex: 1;
    font-size: 14px;
}


.btn-login {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-signup {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #005a94 0%, #007bb8 100%);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #005a94 0%, #007bb8 100%);
}

/* Main Navigation */

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.search-input {
    padding: 10px 16px 10px 44px;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    width: 200px;
    transition: all var(--transition-base);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    width: 280px;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 4px;
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results {
    padding: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: var(--gradient-secondary);
    transform: translateX(6px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bg-light);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-name mark {
    background: #fff3cd;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-category {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.cart-link:hover {
    color: var(--primary-blue);
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 5px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.05) 0%, rgba(0, 156, 222, 0.05) 100%);
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Simple Animated Banner Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 112, 186, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 156, 222, 0.08) 0%, transparent 50%);
    z-index: 0;
    animation: simpleBannerMove 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 40%, rgba(0, 112, 186, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(0, 156, 222, 0.06) 0%, transparent 40%);
    z-index: 0;
    animation: simpleBannerMove 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes simpleBannerMove {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.hero-search {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.search-box-large {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input-large {
    width: 100%;
    padding: 18px 24px 18px 56px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all var(--transition-base);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-input-large:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.search-box-large .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.search-dropdown-large {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    max-height: 450px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-dropdown-large .search-result-item {
    padding: 16px;
}

.search-dropdown-large .search-result-image {
    width: 60px;
    height: 60px;
}

.search-dropdown-large .search-result-name {
    font-size: 16px;
}

.search-dropdown-large .search-result-category {
    font-size: 13px;
}

.category-filters-section {
    padding: 24px;
    background: var(--bg-light);
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

body.dark-theme .category-filters-section {
    background: var(--bg-primary);
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 28px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

body.dark-theme .filter-btn {
    background: var(--bg-elevated);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

body.dark-theme .filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-hover);
}

body.dark-theme .filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    background: var(--white);
}

.products-section:nth-child(even) {
    background: var(--bg-section);
}

.section-header {
    margin-bottom: 20px;
    text-align: center;
}

.section-label {
    font-size: 14px;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover::before {
    display: none;
}

.product-image {
    width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform var(--transition-base);
    border-radius: 8px;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.product-card:hover .product-name {
    color: var(--primary-blue);
}

.product-card.hidden {
    display: none !important;
}

/* Product Card Discount Badge */
.product-card-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    border-top: 2px solid var(--border-color);
    padding: 50px 0 20px;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    opacity: 0.3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    max-width: 250px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* Payment Methods */
.footer-payment {
    margin-bottom: 30px;
    padding: 32px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.02) 0%, rgba(0, 156, 222, 0.02) 100%);
    border-radius: var(--radius-md);
}

.footer-payment-title {
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.footer-payment-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px;
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.payment-method img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0);
    transition: filter var(--transition-fast);
}

.payment-method:hover img {
    filter: grayscale(0);
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}

.footer-address-text {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-selectors {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer .country-selector,
.footer .language-selector {
    position: relative;
}

.footer .country-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide hero section on mobile */
    .hero-section {
        display: none;
    }
    
    /* Reduce section padding on mobile */
    .products-section,
    .stats-section,
    .why-choose-section,
    .reviews-widget-section,
    .faq-section,
    .deals-carousel-section {
        padding: 0;
    }
    
    .section-header {
        margin-bottom: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .header-container {
        padding: 0 16px;
        height: 64px;
        gap: 12px;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .logo {
        min-width: auto;
        height: 40px;
        padding: 0;
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-actions {
        gap: 8px;
        order: 3;
    }
    
    .header-search-box {
        display: none !important;
    }
    
    .cart-link-header {
        padding: 8px;
        font-size: 0;
        gap: 0;
        min-width: 40px;
        justify-content: center;
    }
    
    .cart-link-header svg {
        width: 22px;
        height: 22px;
    }
    
    .cart-link-header span:first-child {
        display: none;
    }
    
    .btn-login {
        display: none;
    }
    
    .user-icon-header {
        display: none;
    }
    
    /* Mobile: Hide signup button */
    .header-actions .btn-signup {
        display: none;
    }
    
    
    .search-result-item {
        padding: 10px;
    }
    
    .search-result-image {
        width: 45px;
        height: 45px;
    }
    
    .search-result-name {
        font-size: 13px;
    }
    
    .search-dropdown-large {
        max-height: 350px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-title-line1 {
        font-size: 24px;
    }
    
    .hero-title-line2 {
        font-size: 42px;
    }
    
    .hero-title-line3 {
        font-size: 18px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .product-card {
        padding: 0;
    }
    
    .product-card-discount-badge {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .product-image {
        height: 120px;
        border-radius: 8px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-selectors {
        width: 100%;
        justify-content: flex-start;
    }
    
    .payment-methods {
        gap: 4px;
    }
    
    .payment-method {
        width: 60px;
        height: 38px;
    }
    
    .cookie-banner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
    
    .btn-accept,
    .btn-decline {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
        height: 60px;
        gap: 8px;
    }
    
    .logo {
        min-width: 36px;
        height: 36px;
        padding: 0;
    }
    
    .logo-text {
        font-size: 18px;
        letter-spacing: 0.3px;
    }
    
    .header-search-box {
        display: none !important;
    }
    
    /* Further reduce padding on small mobile */
    .products-section,
    .stats-section,
    .why-choose-section,
    .reviews-widget-section,
    .faq-section,
    .deals-carousel-section {
        padding: 0;
    }
    
    .section-header {
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cart-link-header {
        padding: 6px 10px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .user-icon-header {
        width: 16px;
        height: 16px;
        padding: 6px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 8px 12px 8px 36px;
    }
    
    .search-dropdown {
        max-height: 250px;
        border-radius: 8px;
    }
    
    .search-result-item {
        padding: 8px;
        gap: 10px;
    }
    
    .search-result-image {
        width: 40px;
        height: 40px;
    }
    
    .search-result-name {
        font-size: 12px;
    }
    
    .search-result-category {
        font-size: 11px;
    }
    
    .search-dropdown-large {
        max-height: 300px;
    }
    
    .search-dropdown-large .search-result-item {
        padding: 12px;
    }
    
    .search-dropdown-large .search-result-image {
        width: 50px;
        height: 50px;
    }
    
    .search-dropdown-large .search-result-name {
        font-size: 14px;
    }
    
    .cart-link {
        padding: 8px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-title-line1 {
        font-size: 20px;
    }
    
    .hero-title-line2 {
        font-size: 32px;
    }
    
    .hero-title-line3 {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        padding: 0;
    }
    
    .product-card-discount-badge {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .product-image {
        height: 100px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-main {
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-column-title {
        font-size: 15px;
    }
    
    .footer-column a {
        font-size: 13px;
    }
    
    .footer-payment {
        margin-bottom: 16px;
        padding: 20px 16px;
    }
    
    .footer-payment-title {
        margin-bottom: 12px;
        font-size: 13px;
    }
    
    .payment-methods {
        gap: 6px;
    }
    
    .payment-method {
        width: 70px;
        height: 46px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-copyright,
    .footer-address-text {
        font-size: 11px;
    }
    
    .footer-selectors {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-selectors .country-btn,
    .footer-selectors .language-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner {
        padding: 12px;
    }
    
    .cookie-content p {
        font-size: 12px;
    }
    
    .btn-accept,
    .btn-decline {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-base);
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #005a94 0%, #007bb8 100%);
}

.floating-cart-btn svg {
    width: 24px;
    height: 24px;
}

.cart-badge-floating {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF4444;
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid var(--white);
}

@media (max-width: 768px) {
    .floating-cart-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cart-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-badge-floating {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* ============================================
   ENHANCED DESIGN IMPROVEMENTS
   ============================================ */

/* Fade-in Animation for Product Cards */
.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Hover Effects */
.btn-primary, .btn-add-to-cart, .filter-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-add-to-cart::before, .filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before, .btn-add-to-cart:hover::before, .filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-blue);
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.success {
    border-left-color: #10B981;
}

.toast.error {
    border-left-color: #EF4444;
}

.toast.info {
    border-left-color: var(--primary-blue);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--primary-blue);
}

.breadcrumbs-separator {
    color: var(--border-color);
}

.breadcrumbs-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 24px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.trust-badge-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

body.dark-theme .social-links {
    background: #21262d;
    padding: 16px;
    border-radius: var(--radius-md);
}

body.dark-theme .social-link {
    background: #21262d;
    border-color: var(--border-primary);
    color: #ffffff;
}

body.dark-theme .social-link svg {
    color: #ffffff;
}

body.dark-theme .social-link:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

/* Newsletter Subscription */
.newsletter-section {
    background: var(--gradient-secondary);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
    text-align: center;
}

.newsletter-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.newsletter-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--white);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.1);
}

.newsletter-btn {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Lazy Loading - Native browser support, no custom hiding */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Mobile Responsive for New Elements */
@media (max-width: 768px) {
    .toast {
        min-width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .trust-badges {
        gap: 16px;
        padding: 16px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
}

/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

/* Theme Toggle Button Desktop */
.theme-toggle-btn-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    margin-right: 12px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.theme-toggle-btn-desktop:hover {
    border-color: var(--primary-blue);
    background: var(--bg-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.theme-toggle-btn-desktop:active {
    transform: scale(0.95);
}

.theme-toggle-btn-desktop .theme-icon-sun,
.theme-toggle-btn-desktop .theme-icon-moon {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    pointer-events: none;
}

.theme-toggle-btn-desktop .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle-btn-desktop .theme-icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

body.dark-theme .theme-toggle-btn-desktop .theme-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

body.dark-theme .theme-toggle-btn-desktop .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-theme .theme-toggle-btn-desktop {
    background: var(--bg-elevated);
    border-color: var(--border-primary);
}

body.dark-theme .theme-toggle-btn-desktop:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

@media (max-width: 768px) {
    .theme-toggle-btn-desktop {
        display: none;
    }
}

/* Header Search Box */
.header-search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.header-search-box .search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.header-search-input {
    padding: 10px 16px 10px 44px;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    width: 300px;
    transition: all var(--transition-base);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    width: 350px;
    box-shadow: var(--shadow-md);
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 350px;
    max-width: 450px;
}

/* Popular Cards Home Section */
.popular-cards-home {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 0;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    margin-top: -8px;
    margin-bottom: 15px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.06) 0%, rgba(0, 156, 222, 0.06) 100%);
    padding: 40px 24px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 112, 186, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 156, 222, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 40px 24px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
}

.why-choose-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.why-choose-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.why-choose-icon {
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.why-choose-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.why-choose-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Reviews Widget Section */
.reviews-widget-section {
    padding: 40px 24px;
    background: var(--bg-light);
}

.reviews-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.review-widget-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

body.dark-theme .review-widget-card {
    background: #0d1117;
    border-color: var(--border-primary);
}

.review-widget-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-widget-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-widget-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.review-widget-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.review-widget-stars {
    display: flex;
    gap: 2px;
    color: #FFB800;
}

.review-widget-verified {
    font-size: 12px;
    padding: 4px 8px;
    background: #10B981;
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
}

.review-widget-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-widget-date {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}


/* FAQ Section */
.faq-section {
    padding: 40px 24px;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 48px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-secondary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Deals Carousel Section */
.deals-carousel-section {
    padding: 40px 24px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
}

.deals-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.deals-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    touch-action: pan-x pan-y; /* Allow both horizontal and vertical scrolling */
}

.deals-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x pan-y; /* Allow both directions */
}

.deal-card {
    flex: 0 0 calc(33.333% - 16px);
    background: transparent;
    border-radius: var(--radius-md);
    overflow: visible;
    transition: all var(--transition-base);
    position: relative;
    border: none;
    aspect-ratio: 1;
}

/* Animation for deal cards sliding in from right */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.deal-card-animate {
    animation: slideInFromRight 0.6s ease-out forwards;
    opacity: 0;
}

.deal-card:hover {
    opacity: 0.9;
}

.deal-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.deal-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
    line-height: 1;
    pointer-events: none;
}

.deal-image {
    object-fit: contain;
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: none;
    transition: transform var(--transition-base);
}

.deal-card:hover .deal-image {
    transform: scale(1.05);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: var(--primary-light-blue);
}

/* Mobile Responsive for Home Page */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-widget-container {
        grid-template-columns: 1fr;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        margin-top: 32px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* Deals Carousel Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .deal-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .deals-carousel-container {
        gap: 8px;
    }
    
    .deals-carousel-track {
        gap: 12px;
    }
    
    .deal-card {
        flex: 0 0 calc(50% - 6px);
        min-width: 0;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        display: none; /* Hide buttons on mobile, use swipe instead */
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .deal-badge {
        top: 6px;
        right: 6px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .deals-carousel-track {
        gap: 10px;
    }
    
    .deal-card {
        flex: 0 0 calc(50% - 5px);
    }
    
    .deal-badge {
        top: 4px;
        right: 4px;
        padding: 5px 8px;
        font-size: 11px;
    }
}
