/*
Theme Name: EliteDealsPlaza Premium
Theme URI: https://elitedealsplaza.com
Author: EliteDealsPlaza
Author URI: https://elitedealsplaza.com
Description: Tema premium y moderno para tienda de ofertas exclusivas. Diseño elegante con animaciones suaves, tipografía refinada y experiencia de compra de lujo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elitedealsplaza
Tags: e-commerce, woocommerce, custom-colors, custom-menu, featured-images, full-width-template
WooCommerce: 8.0
*/

/* ============================================
   VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Palette - Modern Black & Electric Gold */
    --color-primary: #0d0d0d;
    --color-primary-light: #1a1a1a;
    --color-secondary: #d4af37;
    --color-secondary-light: #e8c866;
    --color-accent: #ff6b35;
    --color-accent-dark: #e55a2b;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-cream: #f9f9f9;
    --color-light: #f2f2f2;
    --color-gray-100: #e5e5e5;
    --color-gray-200: #cccccc;
    --color-gray-300: #888888;
    --color-gray-400: #555555;
    --color-dark: #1a1a1a;
    --color-black: #0d0d0d;
    
    /* Semantic Colors */
    --color-success: #4a7c59;
    --color-error: #c54b4b;
    --color-warning: #d4a94b;
    
    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --font-accent: 'Playfair Display', 'Georgia', serif;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;
    --header-height: 90px;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(26, 31, 61, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 31, 61, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 31, 61, 0.12);
    --shadow-xl: 0 20px 50px rgba(26, 31, 61, 0.15);
    --shadow-glow: 0 0 40px rgba(201, 168, 124, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-md);
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
}

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

.text-center { text-align: center; }
.text-uppercase { 
    text-transform: uppercase; 
    letter-spacing: 0.15em;
    font-size: var(--text-sm);
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-3xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 124, 0.1);
    transition: var(--transition-base);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.site-logo .logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo .logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.site-logo .logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-gray-300);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: -2px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.main-nav a {
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    position: relative;
    padding: var(--space-sm) 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

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

.header-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border-radius: 50%;
    transition: var(--transition-base);
}

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

.header-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-2xl);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-base);
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav a {
        font-size: var(--text-xl);
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(201, 168, 124, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-title span {
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-accent);
    font-style: italic;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-image-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-floating-card {
    position: absolute;
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    bottom: 20%;
    left: -10%;
    animation-delay: -2s;
}

.hero-floating-card.card-2 {
    top: 10%;
    right: -5%;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.floating-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.floating-card-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
}

.floating-card-subtext {
    font-size: var(--text-xs);
    color: var(--color-gray-300);
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 54px;
}

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

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

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

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

.btn-gold {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

.btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

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

.feature-card {
    text-align: center;
    padding: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    background: var(--color-cream);
    transform: translateY(-4px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--color-cream), var(--color-white));
    border: 1px solid var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    border-color: var(--color-secondary);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-secondary);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon svg {
    color: var(--color-white);
}

.feature-title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.feature-text {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--color-secondary);
}

.section-label::before {
    right: calc(100% + 15px);
}

.section-label::after {
    left: calc(100% + 15px);
}

.section-title {
    margin-bottom: var(--space-md);
}

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

/* ============================================
   PRODUCTS
   ============================================ */
.products-section {
    background: var(--color-cream);
}

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

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
    group: product;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-light);
}

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

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

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

.product-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
}

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

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

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

.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.product-action-btn svg {
    width: 18px;
    height: 18px;
}

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

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

.product-title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.product-stars {
    display: flex;
    gap: 2px;
    color: var(--color-secondary);
}

.product-stars svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.product-rating-count {
    font-size: var(--text-xs);
    color: var(--color-gray-300);
}

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

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

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

.product-add-cart {
    display: block;
    width: 100%;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-cream);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

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

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a87c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.categories-section .section-label {
    color: var(--color-secondary-light);
}

.categories-section .section-label::before,
.categories-section .section-label::after {
    background: var(--color-secondary-light);
}

.categories-section .section-title {
    color: var(--color-white);
}

.categories-section .section-subtitle {
    color: var(--color-gray-200);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.category-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-secondary);
    transform: translateY(-4px);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(201, 168, 124, 0.2), rgba(201, 168, 124, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--color-secondary);
}

.category-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-secondary);
    transition: var(--transition-base);
}

.category-card:hover .category-icon svg {
    color: var(--color-white);
}

.category-title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

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

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.promo-content {
    max-width: 600px;
}

.promo-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.promo-title {
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.promo-text {
    font-size: var(--text-lg);
    opacity: 0.9;
}

.promo-code {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

.promo-code-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.promo-code-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .promo-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xl);
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-cream);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--color-secondary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testimonial-text {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-gray-400);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-100);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-date {
    font-size: var(--text-sm);
    color: var(--color-gray-300);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    background: var(--color-cream);
    position: relative;
}

.newsletter-inner {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-4xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.newsletter-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: 0 0 4px 4px;
}

.newsletter-title {
    margin-bottom: var(--space-md);
}

.newsletter-text {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.newsletter-input::placeholder {
    color: var(--color-gray-300);
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-inner {
        padding: var(--space-2xl);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding-top: var(--space-5xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-4xl);
    padding-bottom: var(--space-4xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: var(--color-gray-300);
    margin-bottom: var(--space-xl);
    max-width: 300px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul a {
    color: var(--color-gray-300);
    font-size: var(--text-sm);
}

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

.footer-bottom {
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--color-gray-300);
}

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

.footer-payments img {
    height: 28px;
    opacity: 0.7;
    transition: var(--transition-base);
}

.footer-payments img:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products li.product {
    margin-bottom: var(--space-xl);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary);
    padding: var(--space-sm) 0;
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-primary);
}

.woocommerce ul.products li.product .price del {
    color: var(--color-gray-300);
    font-size: var(--text-sm);
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--color-secondary) !important;
}

.woocommerce span.onsale {
    background: var(--color-error);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
    border-radius: var(--border-radius);
}

/* Single Product */
.woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-primary);
}

.woocommerce div.product p.price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--color-secondary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cart */
.woocommerce-cart table.cart {
    border-collapse: collapse;
}

.woocommerce-cart table.cart th {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    padding: var(--space-md);
    background: var(--color-cream);
}

.woocommerce-cart table.cart td {
    padding: var(--space-md);
    vertical-align: middle;
}

/* Checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--color-cream);
    border-color: var(--color-secondary);
    color: var(--color-primary);
}

.woocommerce form .form-row label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--color-secondary);
    outline: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .newsletter-section,
    .promo-banner {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
