/**
 * COPITO DE NIEVE - Estilos principales
 * Diseño: Frío, limpio, moderno (azules/blancos)
 */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Colores principales - Paleta fría */
    --color-primary: #2563EB;
    --color-primary-dark: #1D4ED8;
    --color-primary-light: #3B82F6;
    --color-primary-pale: #DBEAFE;
    
    /* Acentos */
    --color-accent: #0EA5E9;
    --color-accent-light: #38BDF8;
    --color-accent-pale: #E0F2FE;
    
    /* Neutros */
    --color-white: #FFFFFF;
    --color-snow: #F8FAFC;
    --color-ice: #F1F5F9;
    --color-frost: #E2E8F0;
    --color-slate-100: #CBD5E1;
    --color-slate-200: #94A3B8;
    --color-slate-300: #64748B;
    --color-slate-400: #475569;
    --color-slate-500: #334155;
    --color-slate-600: #1E293B;
    --color-dark: #0F172A;
    
    /* Estados */
    --color-success: #10B981;
    --color-success-light: #D1FAE5;
    --color-warning: #F59E0B;
    --color-warning-light: #FEF3C7;
    --color-error: #EF4444;
    --color-error-light: #FEE2E2;
    
    /* Tipografía */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Tamaños de fuente */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Espaciado */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Bordes */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-toast: 500;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1rem;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-slate-500);
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-slate-600);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.free-shipping-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 500;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.top-bar-link:hover {
    opacity: 1;
}

.top-bar-divider {
    opacity: 0.5;
}

.top-bar-hours {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    opacity: 0.9;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background: var(--color-white);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-frost);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-slate-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Form */
.search-form {
    flex: 1;
    max-width: 500px;
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    padding-right: 50px;
    border: 2px solid var(--color-frost);
    border-radius: var(--radius-full);
    background: var(--color-snow);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary-light);
    background: var(--color-white);
    box-shadow: 0 0 0 3px var(--color-primary-pale);
}

.search-input::placeholder {
    color: var(--color-slate-200);
}

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

.search-btn:hover {
    background: var(--color-primary-dark);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-frost);
    overflow: hidden;
    z-index: 250;
    max-height: 500px;
    overflow-y: auto;
}

.search-loading,
.search-error,
.search-no-results {
    padding: var(--space-6);
    text-align: center;
    color: var(--color-slate-400);
    font-size: var(--text-sm);
}

.search-error {
    color: var(--color-error);
}

.search-results-list {
    padding: var(--space-2);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    color: inherit;
    text-decoration: none;
}

.search-result-item:hover {
    background: var(--color-primary-pale);
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-ice);
    flex-shrink: 0;
}

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

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 500;
    color: var(--color-slate-600);
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-category {
    font-size: var(--text-xs);
    color: var(--color-slate-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-price {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--color-snow);
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--text-sm);
    border-top: 1px solid var(--color-frost);
    transition: all var(--transition-fast);
}

.search-view-all:hover {
    background: var(--color-primary-pale);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary-pale);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.cart-icon-wrapper {
    position: relative;
    display: flex;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-error);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.cart-text {
    font-size: var(--text-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-slate-500);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-frost);
    position: relative;
    z-index: 190;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-4) var(--space-5);
    font-weight: 500;
    color: var(--color-slate-400);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--color-primary);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-5);
    right: var(--space-5);
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-fixed);
    margin-top: 8px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-left: 1px solid var(--color-frost);
    border-top: 1px solid var(--color-frost);
    transform: translateX(-50%) rotate(45deg);
}

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

.dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-slate-400);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.dropdown-divider {
    height: 1px;
    background: var(--color-frost);
    margin: var(--space-2) 0;
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
.main-content {
    flex: 1;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: var(--color-snow);
    padding: var(--space-4) 0;
}

.hero-inner {
    position: relative;
}

.hero-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    cursor: pointer;
    /* Ajustar según la posición del botón en cada banner */
    /* El botón "VER COMBOS" generalmente está en la parte inferior izquierda */
}

.hero-slide-link-1,
.hero-slide-link-2,
.hero-slide-link-3 {
    /* Área clickeable sobre el botón "VER COMBOS" */
    /* Aproximadamente en la parte inferior izquierda del banner */
    top: auto;
    bottom: 80px;
    left: 80px;
    right: auto;
    width: 200px;
    height: 50px;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
}

.hero-slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: var(--space-8);
}

.hero-slide-text {
    max-width: 550px;
    color: var(--color-white);
}

.hero-slide-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.hero-slide-desc {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    opacity: 0.5;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    opacity: 1;
    width: 32px;
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    pointer-events: none;
    z-index: 10;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-slate-500);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    transition: all var(--transition-fast);
}

.hero-arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 500;
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

.btn-success:hover {
    background: #059669;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.section {
    padding: var(--space-16) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-slate-600);
    margin-bottom: var(--space-3);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-slate-300);
}

.section-bg-light {
    background: var(--color-snow);
}

.section-bg-gradient {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-pale) 100%);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

/* Categories Carousel */
.categories-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.categories-carousel {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: var(--space-4) 0;
}

.categories-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 2px solid var(--color-slate-200);
    color: var(--color-slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.carousel-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.carousel-arrow-left {
    left: -20px;
}

.carousel-arrow-right {
    right: -20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    width: 140px;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-4);
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
}

.category-card:hover .category-image {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-glow);
}

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

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

.category-name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-slate-500);
    transition: color var(--transition-fast);
}

.category-card:hover .category-name {
    color: var(--color-primary);
}

/* =====================================================
   FEATURED TABS (Novedades, Ofertas, Combos)
   ===================================================== */
.featured-tabs {
    margin-top: var(--space-8);
}

.featured-tabs-header {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    border-bottom: 2px solid var(--color-slate-100);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.featured-tabs-header::-webkit-scrollbar {
    display: none;
}

.featured-tab {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-slate-500);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    margin-bottom: -2px;
}

.featured-tab:hover {
    color: var(--color-primary);
    background: var(--color-primary-pale);
}

.featured-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.featured-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

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

/* Tab Banners */
.tab-banner {
    margin-bottom: var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tab-banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

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

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-6);
}

/* Product Card */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-ice);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-2);
    transition: transform var(--transition-base);
}

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

.product-badges {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.badge-offer {
    background: var(--color-error);
    color: var(--color-white);
}

.badge-featured {
    background: var(--color-warning);
    color: var(--color-dark);
}

.product-quick-add {
    position: absolute;
    bottom: var(--space-3);
    right: var(--space-3);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.product-card:hover .product-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: var(--space-4);
}

.product-category {
    font-size: var(--text-xs);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}

.product-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-slate-600);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--color-primary);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.price-current {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.price-original {
    font-size: var(--text-sm);
    color: var(--color-slate-200);
    text-decoration: line-through;
}

.price-discount {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-error);
    background: var(--color-error-light);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.product-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.product-actions .btn {
    flex: 1;
}

/* =====================================================
   PRODUCTS PAGE
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-pale) 0%, var(--color-accent-pale) 100%);
    padding: var(--space-12) 0;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--color-slate-600);
    margin-bottom: var(--space-2);
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

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

.page-breadcrumb a:hover {
    text-decoration: underline;
}

/* Filters */
.filters-bar {
    background: var(--color-white);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-frost);
    position: sticky;
    top: 73px;
    z-index: 100;
}

.filters-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.filters-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.filter-label {
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

.filter-select {
    padding: var(--space-2) var(--space-4);
    padding-right: var(--space-8);
    border: 1px solid var(--color-frost);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-size: var(--text-sm);
    color: var(--color-slate-500);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary-light);
}

.results-count {
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

.results-count strong {
    color: var(--color-slate-500);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    border: 1px solid var(--color-frost);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-slate-400);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.product-detail {
    padding: var(--space-12) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-ice);
    margin-bottom: var(--space-4);
}

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

.product-detail-info {
    padding: var(--space-4) 0;
}

.product-detail-category {
    font-size: var(--text-sm);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-slate-600);
    margin-bottom: var(--space-4);
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-frost);
}

.product-detail-price .price-current {
    font-size: var(--text-4xl);
}

.product-detail-price .price-original {
    font-size: var(--text-xl);
}

.product-detail-desc {
    color: var(--color-slate-400);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.quantity-label {
    font-weight: 500;
    color: var(--color-slate-500);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-frost);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-snow);
    color: var(--color-slate-500);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

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

.quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-slate-600);
}

.quantity-input:focus {
    outline: none;
}

.product-detail-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.product-detail-actions .btn {
    flex: 1;
    padding: var(--space-4) var(--space-6);
}

.product-meta {
    padding: var(--space-6);
    background: var(--color-snow);
    border-radius: var(--radius-xl);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--color-slate-400);
    font-size: var(--text-sm);
}

.product-meta-item:not(:last-child) {
    border-bottom: 1px solid var(--color-frost);
}

.product-meta-item svg {
    color: var(--color-primary);
}

/* Related Products */
.related-products {
    padding: var(--space-16) 0;
    background: var(--color-snow);
}

/* =====================================================
   CART PAGE
   ===================================================== */
.cart-page {
    padding: var(--space-12) 0;
}

.cart-empty {
    text-align: center;
    padding: var(--space-16) 0;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-pale);
    border-radius: var(--radius-full);
    color: var(--color-primary);
}

.cart-empty h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
}

.cart-empty p {
    color: var(--color-slate-300);
    margin-bottom: var(--space-6);
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    align-items: start;
}

.cart-items {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--color-snow);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    align-items: center;
    border-bottom: 1px solid var(--color-frost);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-ice);
}

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

.cart-product-name {
    font-weight: 500;
    color: var(--color-slate-600);
}

.cart-product-name a:hover {
    color: var(--color-primary);
}

.cart-price {
    font-weight: 600;
    color: var(--color-slate-500);
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-frost);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-snow);
    color: var(--color-slate-400);
    transition: all var(--transition-fast);
}

.cart-quantity button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.cart-quantity input {
    width: 40px;
    height: 32px;
    border: none;
    text-align: center;
    font-weight: 500;
}

.cart-quantity input:focus {
    outline: none;
}

.cart-subtotal {
    font-weight: 700;
    color: var(--color-primary);
}

.cart-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.cart-remove:hover {
    background: var(--color-error-light);
    color: var(--color-error);
}

/* Cart Summary */
.cart-summary {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-frost);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
}

.cart-summary-row.total {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-slate-600);
    padding-top: var(--space-4);
    margin-top: var(--space-4);
    border-top: 2px solid var(--color-frost);
}

.cart-summary-row.total .cart-summary-value {
    color: var(--color-primary);
    font-size: var(--text-2xl);
}

.shipping-notice {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
    font-size: var(--text-sm);
}

.shipping-notice.free {
    background: var(--color-success-light);
    color: var(--color-success);
}

.shipping-notice.remaining {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.cart-summary-actions {
    margin-top: var(--space-6);
}

.cart-summary-actions .btn {
    width: 100%;
    margin-bottom: var(--space-3);
}

.continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--color-slate-300);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
}

.continue-shopping:hover {
    color: var(--color-primary);
}

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.checkout-page {
    padding: var(--space-12) 0;
    background: var(--color-snow);
    min-height: 80vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
    align-items: start;
}

.checkout-form-section {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-8);
}

.checkout-section-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-frost);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.checkout-section-title svg {
    color: var(--color-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-slate-500);
    margin-bottom: var(--space-2);
}

.form-label .required {
    color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--color-frost);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    color: var(--color-slate-600);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px var(--color-primary-pale);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-slate-200);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: var(--space-1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.payment-method {
    position: relative;
}

.payment-method input {
    position: absolute;
    opacity: 0;
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 2px solid var(--color-frost);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method input:checked + .payment-method-label {
    border-color: var(--color-primary);
    background: var(--color-primary-pale);
}

.payment-method input:disabled + .payment-method-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.payment-method-info {
    flex: 1;
}

.payment-method-name {
    font-weight: 600;
    color: var(--color-slate-600);
    margin-bottom: var(--space-1);
}

.payment-method-desc {
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

.payment-method-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
    background: var(--color-slate-200);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

/* Checkout Summary */
.checkout-summary {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
}

.checkout-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-frost);
}

.checkout-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
}

.checkout-item:not(:last-child) {
    border-bottom: 1px solid var(--color-frost);
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-ice);
}

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

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-slate-600);
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-qty {
    font-size: var(--text-xs);
    color: var(--color-slate-300);
}

.checkout-item-price {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

/* =====================================================
   ORDER SUCCESS
   ===================================================== */
.order-success {
    text-align: center;
    padding: var(--space-16) 0;
    max-width: 600px;
    margin: 0 auto;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success-light);
    border-radius: var(--radius-full);
    color: var(--color-success);
}

.order-success h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.order-success p {
    color: var(--color-slate-300);
    margin-bottom: var(--space-6);
}

.order-number {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary-pale);
    border-radius: var(--radius-lg);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-8);
}

.order-success-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

/* =====================================================
   RECIPES PAGE
   ===================================================== */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-8);
}

.recipe-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.recipe-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-ice);
}

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

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

.recipe-info {
    padding: var(--space-6);
}

.recipe-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

.recipe-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.recipe-title a:hover {
    color: var(--color-primary);
}

.recipe-intro {
    color: var(--color-slate-400);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Recipe Detail */
.recipe-detail {
    padding: var(--space-12) 0;
}

.recipe-detail-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.recipe-detail-image {
    aspect-ratio: 21/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-8);
}

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

.recipe-content {
    max-width: 800px;
    margin: 0 auto;
}

.recipe-content h3 {
    font-size: var(--text-xl);
    margin: var(--space-8) 0 var(--space-4);
    color: var(--color-primary);
}

.recipe-content ul,
.recipe-content ol {
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.recipe-content li {
    margin-bottom: var(--space-2);
    line-height: 1.8;
}

.recipe-content ul li {
    list-style: disc;
}

.recipe-content ol li {
    list-style: decimal;
}

.recipe-content p {
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

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

.about-hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.about-hero p {
    font-size: var(--text-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: var(--space-16) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
}

.about-text p {
    color: var(--color-slate-400);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
}

/* Values */
.values-section {
    background: var(--color-snow);
    padding: var(--space-16) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.value-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-pale);
    border-radius: var(--radius-full);
    color: var(--color-primary);
}

.value-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.value-card p {
    color: var(--color-slate-400);
    font-size: var(--text-sm);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-section {
    padding: var(--space-16) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.contact-info > p {
    color: var(--color-slate-400);
    margin-bottom: var(--space-8);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-snow);
    border-radius: var(--radius-lg);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-pale);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-method-info h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-method-info p {
    color: var(--color-slate-400);
    font-size: var(--text-sm);
}

.contact-method-info a {
    color: var(--color-primary);
}

.contact-method-info a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--color-slate-600);
    color: var(--color-slate-100);
    margin-top: auto;
}

.footer-top {
    padding: var(--space-16) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: var(--color-slate-200);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-slate-500);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

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

.footer-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--color-slate-200);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-slate-200);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-light);
}

.footer-bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--color-slate-500);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-slate-200);
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer-payment span {
    font-size: var(--text-sm);
    color: var(--color-slate-200);
}

.payment-icons {
    display: flex;
    gap: var(--space-2);
}

.payment-icon {
    width: 40px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-slate-500);
    border-radius: var(--radius-sm);
    color: var(--color-slate-100);
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

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

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: var(--color-success-light);
    color: var(--color-success);
}

.toast-error .toast-icon {
    background: var(--color-error-light);
    color: var(--color-error);
}

.toast-warning .toast-icon {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--color-slate-600);
    margin-bottom: var(--space-1);
}

.toast-message {
    font-size: var(--text-sm);
    color: var(--color-slate-400);
}

.toast-close {
    color: var(--color-slate-300);
    padding: var(--space-1);
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--color-slate-500);
}

/* =====================================================
   LOADING STATES
   ===================================================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-frost);
    border-top-color: var(--color-primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-frost) 25%, var(--color-ice) 50%, var(--color-frost) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .checkout-summary {
        position: static;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    /* Top Bar */
    .top-bar-content {
        justify-content: center;
    }
    
    .top-bar-right {
        display: none;
    }
    
    /* Header */
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-form {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: var(--space-4);
    }
    
    /* Search Results Mobile */
    .search-results {
        max-height: 400px;
    }
    
    .search-result-item {
        padding: var(--space-2);
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
    }
    
    .search-result-name {
        font-size: var(--text-sm);
    }
    
    .logo-tagline {
        display: none;
    }
    
    .cart-text {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Navigation */
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: var(--space-4) 0;
    }
    
    .nav-link {
        padding: var(--space-3) var(--space-4);
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        padding-left: var(--space-4);
        display: none;
        margin-top: 0;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .hero-slide-title {
        font-size: var(--text-2xl);
    }
    
    .hero-slide-desc {
        font-size: var(--text-base);
    }
    
    .hero-arrows {
        display: none;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--space-4);
    }
    
    .categories-carousel {
        gap: var(--space-4);
        padding: var(--space-3) 0;
    }
    
    .category-card {
        width: 100px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow-left {
        left: -10px;
    }
    
    .carousel-arrow-right {
        right: -10px;
    }
    
    .category-image {
        width: 80px;
        height: 80px;
    }
    
    /* Featured Tabs */
    .featured-tab {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-4);
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    /* Cart */
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-details {
        display: flex;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
        gap: var(--space-3);
    }
    
    /* Filters */
    .filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-left {
        flex-wrap: wrap;
    }
    
    /* About */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: var(--text-3xl);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Sections */
    .section {
        padding: var(--space-10) 0;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    /* Page Header */
    .page-title {
        font-size: var(--text-2xl);
    }
    
    /* Recipes */
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    /* Order Success */
    .order-success-actions {
        flex-direction: column;
    }
    
    /* Form */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slide-content {
        padding: var(--space-4);
    }
    
    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-sm);
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .top-bar,
    .header,
    .nav,
    .footer,
    .toast-container,
    .btn,
    .cart-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .main-content {
        padding: 0;
    }
}

/* =====================================================
   USER MENU
   ===================================================== */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-ice);
    border-radius: var(--radius-full);
    color: var(--color-slate-400);
    font-weight: 500;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.user-btn:hover {
    background: var(--color-frost);
    color: var(--color-slate-500);
}

.user-name {
    font-size: var(--text-sm);
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 180px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-frost);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

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

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-slate-400);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-decoration: none;
}

.user-dropdown-item.danger:hover {
    background: var(--color-error-light);
    color: var(--color-error);
}

/* =====================================================
   AUTH PAGES
   ===================================================== */
.auth-section {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
}

.auth-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-12);
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}

.auth-card-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
    text-align: center;
}

.auth-card-subtitle {
    color: var(--color-slate-300);
    font-size: var(--text-sm);
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.btn-block {
    width: 100%;
    padding: var(--space-4);
    margin-top: var(--space-4);
    font-size: var(--text-base);
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.auth-alert.error {
    background: var(--color-error-light);
    color: var(--color-error);
}

.auth-divider {
    text-align: center;
    color: var(--color-slate-200);
    font-size: var(--text-sm);
    margin: var(--space-6) 0 var(--space-4);
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 16px);
    height: 1px;
    background: var(--color-frost);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

.auth-link {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-slate-300);
}

.auth-link a {
    color: var(--color-primary);
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-card {
        padding: var(--space-8) var(--space-6);
    }

    .user-name {
        display: none;
    }
}

