/* ========================================
   LUNABEL - Salud y Bienestar
   Paleta: Azul petróleo, Beige/Crema, Blanco
   Estilo: Moderno y Profesional
======================================== */

/* ========================================
   VARIABLES DE COLOR
======================================== */
:root {
    /* Azul Petróleo */
    --petroleo-dark: #0f2d2d;
    --petroleo: #1a4a4a;
    --petroleo-light: #2d6a6a;
    --petroleo-soft: #3d8a8a;
    
    /* Beige/Crema */
    --crema-dark: #c9b8a8;
    --crema: #e0d5c7;
    --crema-light: #f0ebe5;
    --crema-white: #faf8f6;
    
    /* Blanco */
    --white: #ffffff;
    --white-soft: #fefefe;
    
    /* Textos */
    --text-dark: #0f2d2d;
    --text-medium: #3d5a5a;
    --text-light: #6a8a8a;
    --text-muted: #9aa5a5;
    
    /* Fondos */
    --bg-light: #faf8f6;
    --bg-crema: #f0ebe5;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(15, 45, 45, 0.08);
    --shadow: 0 4px 20px rgba(15, 45, 45, 0.12);
    --shadow-lg: 0 10px 40px rgba(15, 45, 45, 0.18);
    --shadow-hover: 0 15px 50px rgba(15, 45, 45, 0.25);
    
    /* Bordes */
    --border-light: #e0d5c7;
    --border-medium: #c9b8a8;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--petroleo) 0%, var(--petroleo-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 45, 45, 0.92) 0%, rgba(26, 74, 74, 0.88) 100%);
    --gradient-crema: linear-gradient(135deg, var(--crema-light) 0%, var(--crema) 100%);
    --gradient-accent: linear-gradient(135deg, var(--crema-dark) 0%, var(--crema) 100%);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
}

/* ========================================
   RESET Y BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVEGACIÓN
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f2d2d;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
    height: 85px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: #0f2d2d;
    height: 75px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(232, 221, 212, 0.5));
}

/* Menú Centrado */
.nav-menu {
    display: flex;
    gap: 45px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: rgba(232, 221, 212, 0.85);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 0;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

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

.nav-menu-header,
.nav-menu-footer,
.close-menu-btn,
.nav-menu-logo,
.nav-menu-social,
.nav-menu-contact {
    display: none !important;
}

.nav-menu a i {
    display: none !important;
}

/* Iconos Derecha */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   BUSCADOR
======================================== */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 5px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.search-form.active {
    opacity: 1;
    visibility: visible;
    width: 300px;
}

.search-input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-family: inherit;
    flex: 1;
    outline: none;
    color: var(--text-dark);
}

.search-submit-btn {
    background: var(--petroleo);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: var(--petroleo-light);
    transform: scale(1.05);
}

.search-toggle {
    display: flex;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
}

.search-toggle i {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-toggle:hover i {
    color: var(--accent);
}

/* Botones de Iconos */
.nav-icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-icon-btn:hover {
    background: rgba(201, 168, 124, 0.3);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 124, 0.3);
    border-color: transparent;
}

.favorites-count,
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #1a4a4a;
    z-index: 10;
    transition: all 0.3s ease;
}

.cart-count.has-items {
    background: #ff4757;
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(255, 71, 87, 0.6);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/banners/baneer-1-1.png') no-repeat center center/cover;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 45, 45, 0.65) 0%, rgba(15, 45, 45, 0.45) 50%, rgba(15, 45, 45, 0.65) 100%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 12px 60px rgba(0, 0, 0, 0.9), 0 0 100px rgba(201, 184, 168, 0.7), 0 0 150px rgba(201, 184, 168, 0.5);
    letter-spacing: -3px;
    animation: titleGlow 3s ease-in-out infinite;
    text-transform: uppercase;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 12px 60px rgba(0, 0, 0, 0.9), 0 0 100px rgba(201, 184, 168, 0.7), 0 0 150px rgba(201, 184, 168, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 12px 60px rgba(0, 0, 0, 1), 0 0 150px rgba(201, 184, 168, 1), 0 0 200px rgba(201, 184, 168, 0.7);
        transform: scale(1.02);
    }
}

.hero-title .highlight {
    color: #c9b8a8;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #c9b8a8 0%, #f0ebe5 50%, #e0d5c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite, highlightPulse 3s ease-in-out infinite;
    font-weight: 900;
}

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

@keyframes highlightPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(201, 184, 168, 0.8));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(201, 184, 168, 1));
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 45px;
    opacity: 1;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.7), 0 0 100px rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    color: #ffffff;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0.7;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ========================================
   BOTONES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--petroleo) 0%, var(--petroleo-light) 50%, var(--petroleo) 100%);
    background-size: 200% auto;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(26, 74, 74, 0.5), 0 0 30px rgba(201, 184, 168, 0.3);
    animation: buttonFlow 3s ease infinite;
}

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

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 74, 74, 0.7), 0 0 50px rgba(201, 184, 168, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--crema-dark) 0%, var(--crema) 100%);
    color: var(--petroleo-dark);
    box-shadow: 0 8px 25px rgba(201, 184, 168, 0.5);
}

.btn-accent:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 184, 168, 0.7);
}

.btn-light {
    background: var(--white);
    color: var(--petroleo);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-light:hover {
    background: var(--crema-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1rem;
}

/* ========================================
   ANIMACIONES
======================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

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

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones del Hero */
.hero-title {
    opacity: 0;
    animation: heroTitleEnter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

@keyframes heroTitleEnter {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-subtitle {
    opacity: 0;
    animation: heroSubtitleEnter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes heroSubtitleEnter {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-buttons {
    opacity: 0;
    animation: heroButtonsEnter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

@keyframes heroButtonsEnter {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-buttons .btn {
    opacity: 0;
    animation: buttonEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-buttons .btn:first-child {
    animation-delay: 1.1s;
}

.hero-buttons .btn:last-child {
    animation-delay: 1.3s;
}

@keyframes buttonEnter {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-content {
    opacity: 0;
    animation: contentFadeIn 1s ease 0.1s forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ========================================
   SECCIONES GENERALES
======================================== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--petroleo-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CATEGORÍAS
======================================== */
.categories-section {
    padding: 100px 0;
    background: var(--bg-crema);
}

.categories-header {
    text-align: center;
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    justify-items: center;
}

.category-card {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    padding: 20px 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 180px;
}

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

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FFFDD0;
    background: var(--gradient-primary);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(26, 74, 74, 0.3);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 0.75rem;
    color: var(--petroleo-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ========================================
   PRODUCTOS
======================================== */
.featured-products {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-accent);
    color: var(--petroleo-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(201, 184, 168, 0.4);
}

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.btn-favorite:hover,
.btn-favorite.active {
    background: var(--petroleo);
    color: var(--white);
    transform: scale(1.1);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--bg-crema);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--petroleo-light);
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.05rem;
    color: var(--petroleo-dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 50px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.product-rating i {
    color: var(--crema-dark);
}

.product-rating span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-new {
    color: var(--petroleo-dark);
    font-size: 1.4rem;
    font-weight: 700;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 74, 74, 0.4);
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    padding: 150px 0 60px;
    background: url('../img/banners/baneer-1-1.png') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 45, 45, 0.7) 0%, rgba(15, 45, 45, 0.5) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 184, 168, 0.4);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ========================================
   PRODUCTOS PAGE
======================================== */
.products-page {
    padding: 60px 0;
    background: var(--bg-light);
}

.products-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: 110px;
}

.filter-group {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.filter-group h3 {
    font-size: 1.2rem;
    color: var(--petroleo-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-category h4,
.filter-price h4 {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 15px;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label:hover {
    color: var(--petroleo-light);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--petroleo);
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.price-range {
    padding: 10px 0;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--crema);
    outline: none;
    -webkit-appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--petroleo);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26, 74, 74, 0.3);
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   PROMOCIONAL
======================================== */
.promo-banner {
    padding: 80px 0;
    background: var(--gradient-crema);
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 50px;
    color: var(--white);
}

.promo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.promo-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.promo-code {
    margin-top: 15px;
    font-size: 1.1rem;
}

.promo-code span {
    background: var(--accent);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-left: 10px;
}

/* ========================================
   TESTIMONIOS
======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-crema);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--crema-dark);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--petroleo-dark);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

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

.newsletter-content {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

.newsletter-icon {
    font-size: 2.5rem;
    color: var(--white);
    animation: envelopeFly 2s ease-in-out infinite;
}

@keyframes envelopeFly {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.newsletter-content p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    animation: formSlideUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes formSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-form input {
    flex: 1;
    min-width: 280px;
    padding: 18px 28px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form input:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.newsletter-form .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(26, 74, 74, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.newsletter-form .btn:hover::after {
    width: 300px;
    height: 300px;
}

.newsletter-form .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ========================================
   CONTACTO
======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.8rem;
    color: var(--petroleo-dark);
    margin-bottom: 10px;
}

.contact-form-wrapper > p,
.contact-info-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Form Bootstrap Style */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--petroleo-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--petroleo-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--petroleo-light);
    box-shadow: 0 0 0 4px rgba(26, 74, 74, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--petroleo);
}

.checkbox-group span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-crema);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--crema-light);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card-content h3 {
    font-size: 1rem;
    color: var(--petroleo-dark);
    margin-bottom: 5px;
}

.contact-card-content p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Social Links */
.social-section h3 {
    font-size: 1.2rem;
    color: var(--petroleo-dark);
    margin-bottom: 20px;
}

.social-links-large {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
    color: var(--white);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.whatsapp { background: #25d366; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Map */
.map-container {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    background: var(--gradient-crema);
    padding: 60px 40px;
    text-align: center;
    color: var(--text-medium);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--petroleo-light);
}

/* ========================================
   FAQ
======================================== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-crema);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: var(--crema-light);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question h3 {
    font-size: 1.05rem;
    color: var(--petroleo-dark);
    font-weight: 600;
}

.faq-question i {
    color: var(--petroleo-light);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 25px;
    color: var(--text-medium);
    line-height: 1.8;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* ========================================
   ABOUT / NOSOTROS
======================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--petroleo-dark);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 2px solid var(--crema);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--petroleo);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
    display: block;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: var(--bg-crema);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.3rem;
    color: var(--petroleo-dark);
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why-us-item:hover {
    background: var(--bg-crema);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--petroleo-dark);
    font-size: 1.5rem;
}

.why-us-item h3 {
    font-size: 1.1rem;
    color: var(--petroleo-dark);
    margin-bottom: 10px;
}

.why-us-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--petroleo-dark);
    color: var(--crema);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col .logo img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: var(--crema);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--crema);
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--crema);
}

.contact-info i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--crema);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
}

/* Powered by Link */
.powered-by-link {
    color: var(--crema);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

.powered-by-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--crema-dark), var(--white));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.powered-by-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.powered-by-link:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(201, 184, 168, 0.3);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.powered-by-link:hover::before {
    width: 100%;
}

.powered-by-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* E-PYME Logo */
.epyme-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.epyme-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
    filter: blur(10px);
}

.epyme-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.epyme-logo:hover img {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(201, 184, 168, 0.4));
}

.epyme-logo:hover::before {
    opacity: 1;
    width: 120px;
    height: 120px;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.epyme-logo:hover {
    animation: logoFloat 0.6s ease-in-out;
}

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

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-wrapper {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        height: auto;
        min-height: 70px;
        padding: 10px 0;
    }

    /* Hero spacing for mobile - closer to header but not touching */
    .hero {
        padding-top: 85px;
        min-height: 600px;
    }

    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo img {
        height: 45px;
    }

    .nav-icons {
        gap: 10px;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .favorites-count,
    .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.55rem;
        top: -6px;
        right: -6px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -1px;
        text-shadow: 0 8px 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(201, 184, 168, 0.5);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 15px 20px;
        letter-spacing: 0.5px;
    }
    
    .hero-content {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--petroleo-dark);
        flex-direction: column;
        padding: 80px 30px;
        gap: 20px;
        transition: var(--transition);
        transform: none;
        left: auto;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu-header,
    .nav-menu-footer {
        display: block !important;
    }
    
    .nav-menu-logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 20px;
    }
    
    .close-menu-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav-menu-social,
    .nav-menu-contact {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu-contact {
        font-size: 0.85rem;
        color: var(--crema);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Header Mobile Optimizado */
    .navbar {
        height: auto;
        min-height: 65px;
        padding: 8px 0;
    }

    /* Hero spacing for small mobile - balanced and centered */
    .hero {
        padding-top: 80px;
        min-height: 550px;
    }

    .nav-container {
        padding: 0 12px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .logo img {
        height: 40px;
    }

    .nav-icons {
        gap: 8px;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .favorites-count,
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.5rem;
        top: -5px;
        right: -5px;
    }

    .hamburger {
        gap: 4px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    /* Menú lateral mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--petroleo-dark);
        flex-direction: column;
        padding: 80px 25px 30px;
        gap: 18px;
        transition: var(--transition);
        transform: none;
        left: auto;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu-header,
    .nav-menu-footer {
        display: block !important;
    }

    .nav-menu-logo {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 15px;
        display: block !important;
    }

    .close-menu-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.4rem;
        cursor: pointer;
        display: block !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .nav-menu a i {
        display: inline-block !important;
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }

    .nav-menu-social,
    .nav-menu-contact {
        display: block !important;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu-social {
        display: flex !important;
        gap: 15px;
    }

    .nav-menu-social a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-contact {
        font-size: 0.8rem;
        color: var(--crema);
        line-height: 1.6;
    }

    .nav-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 12px 15px;
        letter-spacing: 0.3px;
    }

    .hero-content {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 30px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 15px 35px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    .categories-section,
    .featured-products {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILIDADES
======================================== */
.center-btn {
    text-align: center;
    margin-top: 50px;
}

.no-results {
    grid-column: 1 / -1 !important;
    text-align: center;
    padding: 60px 20px !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--petroleo-dark), var(--petroleo));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

/* Scroll Up Button */
.scroll-up-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.scroll-up-button.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-up-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: var(--petroleo-light);
    color: var(--white);
}

.notification-error {
    background: var(--crema-dark);
    color: var(--petroleo-dark);
}

.notification-info {
    background: var(--petroleo);
    color: var(--white);
}

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

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