/* ========================================
   CSS VARIABLES (Design System)
   ======================================== */
:root {
    --background: hsl(36, 45%, 96%);
    --foreground: hsl(20, 14%, 20%);
    --primary: hsl(356, 65%, 35%);
    --primary-foreground: hsl(36, 45%, 96%);
    --secondary: hsl(36, 55%, 88%);
    --muted: hsl(36, 30%, 92%);
    --muted-foreground: hsl(20, 10%, 45%);
    --accent: hsl(42, 88%, 65%);
    --border: hsl(36, 25%, 88%);
    --wine-pastel: hsl(356, 55%, 75%);
    
    --font-playfair: 'Playfair Display', serif;
    --font-lato: 'Lato', sans-serif;
    
    --radius: 0.75rem;
    --shadow-elegant: 0 10px 40px -10px hsla(356, 65%, 35%, 0.2);
    --shadow-soft: 0 8px 24px -6px hsla(20, 14%, 20%, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-lato);
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-playfair);
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    gap: 0.5rem;
    font-family: var(--font-lato);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(356, 65%, 30%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.btn-wine {
    background-color: var(--wine-pastel);
    color: var(--foreground);
}

.btn-wine:hover {
    background-color: hsl(356, 55%, 70%);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-foreground);
    color: var(--primary-foreground);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--wine-pastel);
    color: var(--foreground);
    border-color: var(--wine-pastel);
}

.btn-ghost {
    background-color: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background-color: var(--muted);
    color: var(--primary);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: transparent;
    color: var(--foreground);
    transition: var(--transition-smooth);
    padding: 0;
}

.btn-icon:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.btn-block {
    width: 100%;
}

.btn-add-cart {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-elegant);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-add-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(139, 34, 45, 0.4);
}

/* Animación de producto volando al carrito */
.flying-item {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(139, 34, 45, 0.5);
    animation: flyToCart 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.flying-item i {
    color: white;
    font-size: 1.5rem;
}

@keyframes flyToCart {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-brand {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    transition: color 0.3s;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--foreground);
    transition: var(--transition-smooth);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

.nav-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-btn {
    display: flex;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, hsl(356, 55%, 40%) 0%, hsl(356, 60%, 35%) 100%);
    color: #ffffff;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu-header h2 {
    font-family: var(--font-playfair);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.mobile-menu-header .btn-icon {
    background-color: transparent;
    color: #ffffff;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
}

.mobile-menu-header .btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.mobile-menu-nav {
    flex: 1;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-nav a {
    padding: 1rem 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.mobile-menu-nav a i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    opacity: 0.95;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    padding-left: 1.75rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

/* Hero Carousel Styles */
.hero-carousel-image {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.hero-carousel-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
}

.hero-contact-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 20;
    background: rgba(139, 38, 48, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-contact-btn:hover {
    background: rgba(139, 38, 48, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-text-box {
    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
    align-items: flex-start;
}

.hero-buttons .btn {
    width: auto;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 639px) {
    .hero-buttons .btn {
        min-width: 160px;
        max-width: 200px;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero-contact-btn {
        top: 2rem;
        right: 4rem;
    }
    
    .hero-delivery {
        bottom: 2rem;
        right: 5rem;
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(var(--primary), 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge .star-left {
    font-size: 1.25rem;
    animation: starPulse 4s ease-in-out infinite;
}

.section-badge .star-right {
    font-size: 1.25rem;
    animation: starPulse 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.section-badge.light {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-foreground);
}

.section-header.light h2,
.section-header.light p {
    color: var(--primary-foreground);
}

.section-header.centered {
    text-align: center;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

/* ========================================
   PRODUCTS SECTION (Nuestras Tablas)
   ⚠️ PRECIOS EN .product-price
   ======================================== */
.section-tablas {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--background), rgba(237, 224, 212, 0.3));
}

.products-grid {
    display: grid;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid hsla(36, 25%, 88%, 0.5);
}

.product-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--muted);
}

.product-image img:not(.country-badge) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover .product-image img:not(.country-badge) {
    transform: scale(1.1);
}

.country-badge {
    position: absolute !important;
    top: 0.5rem !important;
    left: 0.5rem !important;
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    z-index: 10 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: none !important;
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-people {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.product-title-row h3 {
    font-size: 1.25rem;
    flex: 1;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: hsla(356, 65%, 35%, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-description {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.product-dimensions {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.ingredients-toggle {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.ingredients-toggle:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.ingredients-toggle.active {
    background-color: var(--muted);
    color: var(--foreground);
}

.ingredients-toggle.active i {
    transform: rotate(180deg);
}

.ingredients-list {
    list-style: none;
    margin-top: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    display: none;
}

.ingredients-list.active {
    display: block;
}

.ingredients-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.ingredients-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

/* ⚠️ PRECIO DEL PRODUCTO - Modificar aquí */
.product-price {
    font-family: var(--font-lato);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   SPECIALTIES SECTION (Especialidades Francesas)
   ⚠️ PRECIOS EN .specialty-price
   ======================================== */
.section-specialties {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--background), hsla(356, 65%, 35%, 0.05), var(--background));
    position: relative;
    overflow: hidden;
}

.subsection-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--foreground);
    margin: 3rem 0 2rem;
}

.specialties-grid {
    display: grid;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.specialty-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid hsla(356, 65%, 35%, 0.2);
}

.specialty-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.specialty-image {
    aspect-ratio: 1;
    background-color: hsla(356, 65%, 35%, 0.1);
    overflow: hidden;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-content {
    padding: 1rem;
}

.specialty-content h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.specialty-content p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.specialty-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

/* ⚠️ PRECIO DE ESPECIALIDADES - Modificar aquí */
.specialty-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   OFFERS SECTION (Promociones)
   ======================================== */
.section-offers {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.christmas-promo {
    background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(185, 128, 130, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .christmas-promo {
        flex-direction: row;
        padding: 3rem;
        gap: 3rem;
        align-items: flex-start;
    }
}

.christmas-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.christmas-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.christmas-content {
    flex: 1;
}

.christmas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(185, 128, 130, 0.15);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(185, 128, 130, 0.2);
}

.christmas-promo h3 {
    font-family: var(--font-playfair);
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .christmas-promo h3 {
        font-size: 2.5rem;
    }
}

.christmas-promo p {
    color: var(--muted-foreground);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.christmas-promo strong {
    color: var(--primary);
    font-weight: 700;
}

.christmas-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

@media (min-width: 640px) {
    .christmas-details {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.detail-item i {
    color: var(--primary);
}

.christmas-note {
    font-size: 0.75rem !important;
    font-style: italic;
    margin-top: 1rem !important;
}

.offers-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offer-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offer-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.offer-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.offer-icon i {
    font-size: 1.75rem;
}

.offer-content {
    flex: 1;
}

.offer-content h4 {
    font-family: var(--font-playfair);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.offer-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
}

.offer-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.offers-disclaimer {
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

/* ========================================
   CORPORATE SERVICES SECTION
   ======================================== */
.section-corporate {
    padding: 5rem 0;
    background-color: #f5f1ed;
}

.corporate-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .corporate-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.corporate-content h2 {
    font-family: var(--font-playfair);
    font-size: 2.25rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .corporate-content h2 {
        font-size: 2.75rem;
    }
}

.corporate-intro {
    font-size: 1rem;
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.service-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.service-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(185, 128, 130, 0.15);
    border-radius: 50%;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-text h4 {
    font-family: var(--font-playfair);
    font-size: 1.35rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-text p {
    color: #6b6b6b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.corporate-image {
    position: relative;
    order: 2;
}

@media (min-width: 1024px) {
    .corporate-image {
        order: 0;
    }
}

.corporate-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CONTACT SECTION
   ⚠️ FORMULARIO DE CONTACTO
   ======================================== */
.section-contact {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--background), hsla(36, 55%, 88%, 0.3));
}

.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid hsla(36, 25%, 88%, 0.5);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* ⚠️ FORMULARIO - Estilos de campos */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 0.25rem);
    font-family: var(--font-lato);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(356, 65%, 35%, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid hsla(36, 25%, 88%, 0.5);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsla(356, 65%, 35%, 0.1);
    border-radius: var(--radius);
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.info-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-text a,
.info-text p {
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--primary);
}

.schedule-card {
    background: linear-gradient(to bottom right, hsla(356, 65%, 35%, 0.05), hsla(42, 88%, 65%, 0.05));
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-list p {
    color: var(--muted-foreground);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p {
    color: hsla(36, 45%, 96%, 0.8);
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact li {
    color: hsla(36, 45%, 96%, 0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--background);
}

.footer-bottom {
    border-top: 1px solid hsla(36, 45%, 96%, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: hsla(36, 45%, 96%, 0.6);
}

/* ========================================
   DRAWER (Cart)
   ======================================== */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.drawer.active {
    right: 0;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.drawer-header h3 {
    font-size: 1.5rem;
    color: var(--foreground);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.empty-state-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

/* ========================================
   POPUP (Christmas Promotion)
   ======================================== */
.popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup.active {
    display: flex;
}

.popup-content {
    background-color: white;
    max-width: 500px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius);
    position: relative;
    padding: 1.5rem;
    border: 2px solid hsla(356, 65%, 35%, 0.2);
    animation: popupSlideIn 0.4s ease-out;
}

@media (max-width: 640px) {
    .popup-content {
        max-width: 95vw;
        padding: 1.25rem;
        max-height: 95vh;
    }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.popup-icon {
    position: relative;
    flex-shrink: 0;
}

.popup-icon i {
    font-size: 2rem;
    color: var(--primary);
    animation: bounce 2s ease-in-out infinite;
}

@media (max-width: 640px) {
    .popup-icon i {
        font-size: 1.5rem;
    }
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: hsla(356, 65%, 35%, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .popup-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

.popup-badge i {
    font-size: 0.875rem;
}

.popup-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .popup-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 400px) {
    .popup-title {
        font-size: 1.1rem;
    }
}

.popup-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .popup-description {
        font-size: 0.8rem;
    }
}

.popup-description strong {
    color: var(--primary);
}

.popup-details {
    background-color: hsla(36, 30%, 92%, 0.5);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .popup-details {
        padding: 0.75rem;
    }
}

.popup-details .detail-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

@media (max-width: 640px) {
    .popup-details .detail-item p {
        font-size: 0.85rem;
    }
}

.detail-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.popup-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 640px) {
    .popup-note {
        font-size: 0.7rem;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .subsection-title {
        font-size: 2rem;
    }
}

@media (min-width: 640px) {
    .drawer {
        max-width: 500px;
    }
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */
.section-checkout {
    padding: 6rem 0 4rem;
    background-color: var(--background);
    min-height: calc(100vh - 80px);
}

.checkout-header {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-lato);
    font-size: 0.95rem;
    color: var(--foreground);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-back:hover {
    background-color: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 968px) {
    .checkout-grid {
        grid-template-columns: 1fr 480px;
        align-items: start;
    }
}

.checkout-form-card,
.checkout-summary-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.checkout-form-card h2,
.checkout-summary-card h2 {
    font-family: var(--font-playfair);
    font-size: 1.75rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.checkout-form .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.95rem;
}

.required {
    color: var(--primary);
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form input[type="date"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.75);
    font-family: var(--font-lato);
    font-size: 0.95rem;
    background-color: #faf9f7;
    color: var(--foreground);
    transition: var(--transition-smooth);
}

.checkout-form input::placeholder {
    color: var(--muted-foreground);
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--primary);
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--border);
    position: relative;
    background-color: #fff;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--foreground);
}

/* File Input Styles */
.file-input-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.75);
    background-color: #faf9f7;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.file-input-label:hover {
    border-color: var(--primary);
    background-color: #fff;
}

.file-input-label i {
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

.file-input-label span {
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.file-note {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
    line-height: 1.4;
}

#invoiceFields {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

/* Order Summary */
.checkout-summary-card {
    position: sticky;
    top: 100px;
}

.order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: calc(var(--radius) * 0.75);
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    font-family: var(--font-playfair);
    font-size: 1rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.item-quantity {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.order-item-price {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1.05rem;
}

.order-totals {
    padding: 1.5rem 0;
    border-top: 2px solid var(--border);
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.total-row span:first-child {
    color: var(--muted-foreground);
}

.total-row span:last-child {
    font-weight: 600;
    color: var(--foreground);
}

.shipping-free {
    color: var(--primary) !important;
    font-weight: 600;
}

.total-final {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 1.25rem;
}

.total-final span {
    color: var(--primary);
    font-family: var(--font-lato);
    font-weight: 700;
}

.payment-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
    line-height: 1.4;
}

.empty-order {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-order i {
    font-size: 4rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    display: block;
}

.empty-order p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .section-checkout {
        padding: 5rem 0 3rem;
    }
    
    .checkout-form-card,
    .checkout-summary-card {
        padding: 1.5rem;
    }
    
    .checkout-summary-card {
        position: static;
    }
}

/* ========================================
   CHAT WIDGET MOBILE FIXES
   ======================================== */
@media (max-width: 768px) {
    /* Contenedor principal del widget de chat */
    [class*="chat-widget"],
    [class*="ChatWidget"],
    [class*="chat-container"],
    [id*="chat-widget"],
    [id*="ChatWidget"] {
        max-width: 90vw !important;
        max-height: 80vh !important;
        bottom: 10px !important;
        right: 10px !important;
        left: auto !important;
        transform: none !important;
    }
    
    /* Área de texto del chat - font-size 16px evita zoom automático en iOS */
    [class*="chat-input"] input,
    [class*="chat-input"] textarea,
    [class*="chat"] input[type="text"],
    [class*="chat"] textarea,
    [class*="message-input"],
    [id*="chat-input"] {
        font-size: 16px !important;
        max-width: 100% !important;
        -webkit-text-size-adjust: 100% !important;
    }
    
    /* Botón flotante del chat - SOLO el icono circular */
    [class*="chat-fab"],
    [class*="chat-toggle"],
    [id*="chat-fab"],
    [id*="chat-toggle"] {
        width: 60px !important;
        height: 60px !important;
        bottom: 20px !important;
        right: 20px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    /* Botones de acción DENTRO del chat */
    [class*="chat"] button,
    [class*="chat"] [role="button"],
    [class*="message"] button {
        width: auto !important;
        max-width: 100% !important;
        min-height: 44px !important;
        height: auto !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }
    
    /* Ventana de chat abierta */
    [class*="chat-window"],
    [class*="chat-box"],
    [class*="chat-panel"] {
        max-width: 90vw !important;
        max-height: 80vh !important;
        width: 90vw !important;
        overflow: hidden !important;
    }
    
    /* Mensajes del chat */
    [class*="chat-messages"],
    [class*="message-list"] {
        max-height: calc(80vh - 150px) !important;
        overflow-y: auto !important;
    }
    
    /* Contenedor de botones de acción */
    [class*="chat"] [class*="button-container"],
    [class*="chat"] [class*="action-buttons"],
    [class*="chat"] [class*="options"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 10px !important;
    }
    
    /* Prevenir zoom en focus de inputs */
    [class*="chat"] input,
    [class*="chat"] textarea,
    [class*="chat"] select {
        font-size: 16px !important;
    }
}
