/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance Optimizations */
a, button, input, select, textarea {
    touch-action: manipulation;
}

.product-card, .modal-content, .toast, .v-item {
    will-change: transform, opacity;
}

:root {
    --color-cream: #fbf3ed;
    /* Color principal de fondo claro */
    --color-chocolate: #6b3c0f;
    /* Color de texto y acento principal */
    --color-cinnamon: #d68c45;
    /* Color para botones y detalles */
    --color-dark-chocolate: #21120a;
    /* Color para títulos oscuros */
    --color-light-cream: #f4e8df;
    /* Color secundario de fondo */
    --color-peach: #f2d3bd;
    /* Color suave para tarjetas/detalles */
    --color-white: #FFFFFF;
    --color-gray: #F5F5F5;
    --shadow-soft: 0 4px 20px rgba(107, 60, 15, 0.1);
    --shadow-medium: 0 8px 30px rgba(107, 60, 15, 0.15);
    --shadow-strong: 0 12px 40px rgba(107, 60, 15, 0.2);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    color: var(--color-chocolate);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cherry Bomb One', cursive;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    color: var(--color-chocolate);
}

h2 {
    font-size: 2.2rem;
    color: var(--color-chocolate);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-chocolate);
}

p {
    font-size: 1rem;
    color: var(--color-dark-chocolate);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--color-chocolate);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(75, 44, 32, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 70px;
    /* Aumentado un poco más ya que ahora es el único elemento */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 1.2rem;
    /* Aumentado de 1rem a 1.2rem */
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cream);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 3px 0;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 89vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 80px 80px 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark-chocolate);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(33, 18, 10, 0.7) 0%, rgba(33, 18, 10, 0.4) 50%, rgba(33, 18, 10, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-slogan {
    font-size: 1.8rem;
    color: var(--color-cinnamon);
    font-family: 'Cherry Bomb One', cursive;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Heart in slogan */
.hero-slogan .heart {
    display: inline-block;
    color: #FF6B6B;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.hero-slogan .heart::before {
    content: '♥';
    font-size: 1.2em;
    position: relative;
    top: 2px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-light-cream);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-floating-elements {
    flex: 1;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border: none;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 400;
    /* Ajustado para Cherry Bomb One */
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Cherry Bomb One', cursive;
    /* Tipografía de marca en botones */
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-chocolate);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(75, 44, 32, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--color-dark-chocolate);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(75, 44, 32, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid var(--color-white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-chocolate);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.section-header.animated {
    animation: fadeInUpReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-chocolate);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-cinnamon);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-dark-chocolate);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background: var(--color-white);
}

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

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(75, 44, 32, 0.05);
}

.product-card::before {
    content: 'Ver Detalles';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--color-chocolate);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    z-index: 10;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(75, 44, 32, 0.15);
}

.product-card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--color-cinnamon), var(--color-chocolate));
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover .product-image {
    filter: brightness(0.8);
    transform: scale(1.05);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(75, 44, 32, 0.1);
}

.product-image::after {
    content: '🍩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-image::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
}

.product-info {
    padding: 2rem;
    background: white;
}

.product-name {
    font-size: 1.5rem;
    color: var(--color-chocolate);
    margin-bottom: 0.5rem;
    font-family: 'Cherry Bomb One', cursive;
}

.product-price {
    font-size: 1.8rem;
    color: var(--color-cinnamon);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-dark-chocolate);
    line-height: 1.6;
    opacity: 0.8;
}

/* Reservation Section */
.reservation {
    padding: 80px 0;
    background: var(--color-light-cream);
}

/* Layout de Reserva - Secciones Independientes */
.reservation-grid {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Columna Visual - Estilo Galería Premium */
.reservation-visual-column {
    flex: 1;
    background: var(--color-light-cream);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    height: 1347px;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: center;
}

.v-gallery {
    width: 100%;
    height: 100%;
}

.v-track {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 4rem;
    animation: vScroll 12s linear infinite;
    will-change: transform;
}

@keyframes vScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-60%); }
}

/* Pausar la animación al pasar el mouse por la galería */
.reservation-visual-column:hover .v-track {
    animation-play-state: paused;
}

.v-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.5s ease;
    border: 5px solid var(--color-white);
}

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

/* Variedades de Tamaño y Posición */
.size-s { width: 140px; height: 140px; }
.size-m { width: 180px; height: 180px; }
.size-l { width: 220px; height: 220px; }

.pos-1 { margin-left: 0; transform: rotate(-3deg); }
.pos-2 { margin-left: auto; margin-right: 0; transform: rotate(5deg); }
.pos-3 { margin-left: auto; margin-right: auto; transform: rotate(-2deg); }

.v-item:hover {
    transform: scale(1.1) rotate(0deg);
    z-index: 10;
}

/* Columna Formulario - Card Independiente */
.reservation-form-card {
    flex: 1.6;
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.delivery-option {
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid var(--color-peach);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    text-align: center;
    background: var(--color-white);
    height: 100%;
}

.delivery-card i {
    font-size: 1.5rem;
    color: var(--color-chocolate);
}

.delivery-card span {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-chocolate);
}

.delivery-option input[type="radio"]:checked + .delivery-card {
    border-color: var(--color-cinnamon);
    background: var(--color-light-cream);
    box-shadow: var(--shadow-soft);
}

.delivery-option input[type="radio"]:checked + .delivery-card i {
    color: var(--color-cinnamon);
}

.delivery-notice-info {
    margin-top: 1rem;
    padding: 1.25rem;
    background: #fffafa;
    border-left: 4px solid var(--color-cinnamon);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #5d4037;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.delivery-notice-info i {
    color: var(--color-cinnamon);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Calendar Styles */
.calendar-wrapper {
    position: relative;
    width: 100%;
}

.calendar-wrapper input[type="text"] {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    border: 2px solid var(--color-peach);
    border-radius: var(--border-radius-small);
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    color: var(--color-dark-chocolate);
    background: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-wrapper input[type="text"]:focus {
    outline: none;
    border-color: var(--color-cinnamon);
    box-shadow: 0 0 0 3px rgba(214, 140, 69, 0.1);
}

.calendar-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-cinnamon);
    pointer-events: none;
    font-size: 1.1rem;
}

.calendar-picker {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    border: 2px solid var(--color-peach);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    animation: calendarSlideDown 0.3s ease;
}

.calendar-picker.active {
    display: block;
}

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

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-peach);
}

.calendar-month-year {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.1rem;
    color: var(--color-chocolate);
    text-transform: capitalize;
}

.calendar-nav {
    background: none;
    border: 2px solid var(--color-peach);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-chocolate);
}

.calendar-nav:hover {
    background: var(--color-cinnamon);
    border-color: var(--color-cinnamon);
    color: white;
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.calendar-weekdays > div {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-chocolate);
    padding: 0.5rem;
    opacity: 0.7;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-dark-chocolate);
    background: transparent;
    border: 2px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.blocked) {
    background: var(--color-light-cream);
    border-color: var(--color-peach);
    transform: scale(1.1);
}

.calendar-day.selected {
    background: var(--color-cinnamon);
    color: white;
    border-color: var(--color-cinnamon);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(214, 140, 69, 0.3);
}

.calendar-day.today {
    border-color: var(--color-chocolate);
    font-weight: 700;
}

.calendar-day.disabled,
.calendar-day.blocked {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    color: #999;
}

.calendar-day.blocked {
    background: rgba(244, 67, 54, 0.05);
    position: relative;
}

.calendar-day.blocked::after {
    content: '🔒';
    position: absolute;
    font-size: 0.6rem;
    bottom: 2px;
    right: 2px;
}

.calendar-day.other-month {
    opacity: 0.2;
}

.calendar-notice {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(214, 140, 69, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-chocolate);
}

.calendar-notice i {
    color: var(--color-cinnamon);
    font-size: 1rem;
}

#direccion {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-peach);
    border-radius: var(--border-radius-small);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
    min-height: 80px;
    background-color: var(--color-white);
}

#direccion:focus {
    outline: none;
    border-color: var(--color-cinnamon);
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.1);
}

.form-help-text {
    color: #d15c7e;
    font-size: 0.9em;
    margin-top: -5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-chocolate);
    letter-spacing: 0.5px;
}

.form-help-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-canela);
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--color-peach);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Fredoka', sans-serif;
    background-color: var(--color-white);
    color: var(--color-dark-chocolate);
}

.form-group small {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    color: var(--color-chocolate);
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Rediseño del Selector de Sabores */
.flavors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
    background: var(--color-light-cream);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px dashed var(--color-cinnamon);
}

.flavor-chip {
    padding: 15px;
    border: 2px solid var(--color-peach);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-white);
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(107, 60, 15, 0.05);
}

.flavor-chip:hover {
    border-color: var(--color-cinnamon);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 60, 15, 0.1);
}

.flavor-chip.selected {
    background: var(--color-cinnamon);
    border-color: var(--color-cinnamon);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(214, 140, 69, 0.3);
}

/* Reservation Notice Checkbox */
.reservation-notice-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    padding: 16px 18px;
    background: var(--color-light-cream);
    border: 2px dashed var(--color-cinnamon);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: 'Fredoka', sans-serif !important;
    font-size: 0.95rem !important;
    letter-spacing: 0 !important;
}

.reservation-notice:hover {
    background: var(--color-peach);
    border-color: var(--color-chocolate);
}

.reservation-notice input[type="checkbox"] {
    display: none;
}

.notice-checkmark {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border: 2px solid var(--color-cinnamon);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: var(--color-white);
    margin-top: 1px;
}

.notice-checkmark i {
    font-size: 0.75rem;
    color: var(--color-white);
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.reservation-notice input:checked~.notice-checkmark {
    background: var(--color-cinnamon);
    border-color: var(--color-cinnamon);
    box-shadow: 0 3px 10px rgba(214, 140, 69, 0.3);
}

.reservation-notice input:checked~.notice-checkmark i {
    opacity: 1;
    transform: scale(1);
}

.notice-text {
    color: var(--color-chocolate);
    line-height: 1.5;
    font-weight: 500;
}

.flavor-chip-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.flavor-chip.selected .flavor-chip-icon {
    transform: rotate(20deg) scale(1.2);
}

.flavor-chip-name {
    font-weight: 600;
}

/* Ocultar el select original pero mantenerlo para el formulario */
#sabores {
    display: none;
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-light-cream);
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 2rem;
    color: var(--color-chocolate);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--color-cinnamon);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-cinnamon);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--color-chocolate);
    color: var(--color-white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--color-cinnamon);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-cinnamon);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-chocolate);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-cinnamon);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--color-chocolate);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-strong);
    z-index: 2000;
    transition: right 0.3s ease;
    max-width: 350px;
}

.toast.show {
    right: 20px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    font-size: 1.5rem;
    color: #4CAF50;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes floatRotate {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -25px) rotate(10deg);
    }

    66% {
        transform: translate(-10px, -15px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatRotateSlow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-15deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Hero Floating Donuts */
.floating-donut {
    position: absolute;
    width: 160px;
    height: 160px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    filter: drop-shadow(0 15px 35px rgba(75, 44, 32, 0.3));
    z-index: 1;
    transition: transform 0.1s ease-out;
    /* Para que el parallax sea fluido */
}

/* Si no hay imagen, mantenemos el estilo por defecto con el emoji */
.floating-donut:not([style*="background-image"]) {
    background: var(--color-cinnamon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-donut:not([style*="background-image"])::before {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background: var(--color-cream);
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.floating-donut:not([style*="background-image"])::after {
    content: '🍩';
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.donut-1 {
    top: 15%;
    right: 15%;
    animation: floatRotate 8s ease-in-out infinite;
}

.donut-2 {
    top: 45%;
    right: 35%;
    animation: floatRotateSlow 12s ease-in-out infinite;
}

.donut-3 {
    top: 65%;
    right: 10%;
    animation: floatRotate 10s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(75, 44, 32, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 2500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu a {
        font-size: 2.5rem;
        font-family: 'Cherry Bomb One', cursive;
        color: var(--color-white);
    }

    .hamburger {
        display: flex;
        z-index: 2600;
        position: relative;
    }

    .hero {
        flex-direction: column;
        justify-content: flex-end;
        text-align: center;
        padding: 40px 20px 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-slogan {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-floating-elements {
        display: none;
    }

    .hero-overlay {
        background: rgba(33, 18, 10, 0.6);
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .reservation-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .reservation-visual-column {
        height: 250px;
    }

    .v-track {
        flex-direction: row;
        animation: vScrollH 12s linear infinite;
        width: max-content;
        gap: 1.5rem;
    }

    .size-s, .size-m, .size-l {
        width: 130px;
        height: 130px;
        flex-shrink: 0;
    }

    @keyframes vScrollH {
        0% { transform: translateX(0); }
        100% { transform: translateX(-60%); }
    }

    .reservation-form-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .toast {
        right: -100%;
        left: auto;
        max-width: calc(100% - 40px);
        cursor: pointer;
    }

    .toast.show {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slogan {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Product Detail Modal
   ============================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 18, 10, 0.7);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.modal-container {
    background: var(--color-white);
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(33, 18, 10, 0.35);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-chocolate);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-light-cream);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.modal-image {
    background: linear-gradient(135deg, var(--color-cinnamon), var(--color-chocolate));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    overflow: hidden;
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.modal-image-placeholder {
    font-size: 8rem;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
    animation: floatRotateSlow 6s ease-in-out infinite;
}

.modal-image.has-image .modal-image-placeholder {
    display: none;
}

.modal-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.modal-product-name {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 2rem;
    color: var(--color-chocolate);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0;
}

.modal-product-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--color-dark-chocolate);
    font-weight: 600;
    margin-bottom: 0;
}

.modal-tax-info {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    color: var(--color-chocolate);
    opacity: 0.7;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.modal-product-description {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    color: var(--color-dark-chocolate);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-peach);
}

.modal-controls {
    display: flex;
    gap: 1.2rem;
    align-items: flex-end;
    margin: 0.5rem 0;
}

.modal-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-chocolate);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.modal-select {
    font-family: 'Fredoka', sans-serif;
    padding: 10px 35px 10px 14px;
    border: 1px solid #d1c4b7;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--color-dark-chocolate);
    background: var(--color-white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b3c0f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 150px;
    transition: var(--transition);
}

.modal-select:hover,
.modal-select:focus {
    border-color: var(--color-cinnamon);
    outline: none;
}

.modal-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #d1c4b7;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 38px;
    height: 40px;
    background: var(--color-white);
    border: none;
    font-size: 1.2rem;
    color: var(--color-chocolate);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
}

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

.qty-input {
    width: 45px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #d1c4b7;
    border-right: 1px solid #d1c4b7;
    font-size: 1rem;
    font-family: 'Fredoka', sans-serif;
    color: var(--color-dark-chocolate);
    background: var(--color-white);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart {
    width: 100%;
    padding: 14px 24px;
    background: var(--color-chocolate);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: all 0.5s ease;
}

.btn-add-cart:hover::before {
    left: 100%;
}

.btn-add-cart:hover {
    background: var(--color-dark-chocolate);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 44, 32, 0.3);
}

.btn-add-cart:active {
    transform: translateY(0);
}

.modal-anticipation {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.82rem;
    color: var(--color-chocolate);
    opacity: 0.7;
    margin: 0;
}

.modal-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-peach);
    margin-top: auto;
}

.modal-share span {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    color: var(--color-chocolate);
    opacity: 0.8;
}

.modal-share-icons {
    display: flex;
    gap: 0.8rem;
}

.modal-share-icons a {
    color: var(--color-chocolate);
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0.7;
}

.modal-share-icons a:hover {
    color: var(--color-cinnamon);
    opacity: 1;
    transform: translateY(-2px);
}

/* ============================
   Floating Cart Button
   ============================ */
.cart-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-chocolate);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2500;
    box-shadow: 0 6px 25px rgba(75, 44, 32, 0.35);
    transition: var(--transition);
    border: none;
}

.cart-float:hover {
    background: var(--color-dark-chocolate);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 35px rgba(75, 44, 32, 0.45);
}

.cart-float.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-cinnamon);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    transition: var(--transition);
}

.cart-badge.pulse {
    animation: badgePulse 0.5s ease;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================
   Cart Sidebar
   ============================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 18, 10, 0.5);
    z-index: 3500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--color-white);
    z-index: 4000;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 35px rgba(33, 18, 10, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.8rem;
    border-bottom: 2px solid var(--color-peach);
    background: var(--color-light-cream);
}

.cart-sidebar-header h3 {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.5rem;
    color: var(--color-chocolate);
    margin: 0;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-chocolate);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-sidebar-close:hover {
    background: var(--color-peach);
    transform: rotate(90deg);
}

.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-checkout-form {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-checkout-form::-webkit-scrollbar {
    width: 6px;
}

.cart-checkout-form::-webkit-scrollbar-track {
    background: var(--color-light-cream);
}

.cart-checkout-form::-webkit-scrollbar-thumb {
    background: var(--color-cinnamon);
    border-radius: 3px;
}

.cart-checkout-form::-webkit-scrollbar-thumb:hover {
    background: var(--color-chocolate);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-chocolate);
    opacity: 0.5;
    gap: 0.8rem;
    min-height: 200px;
}

.cart-empty i {
    font-size: 3rem;
}

.cart-empty p {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.2rem;
    margin: 0;
    color: var(--color-chocolate);
}

.cart-empty span {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-peach);
    align-items: center;
    animation: fadeInUp 0.3s ease;
}

.cart-item-image {
    width: 65px;
    height: 65px;
    border-radius: var(--border-radius-small);
    background: linear-gradient(135deg, var(--color-cinnamon), var(--color-chocolate));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1rem;
    color: var(--color-chocolate);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    color: var(--color-chocolate);
    opacity: 0.7;
}

.cart-item-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-cinnamon);
    margin-top: 0.2rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #fdecea;
    transform: scale(1.15);
}

.cart-sidebar-footer {
    padding: 1.5rem 1.8rem;
    border-top: 2px solid var(--color-peach);
    background: var(--color-light-cream);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total span:first-child {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.2rem;
    color: var(--color-chocolate);
}

.cart-total-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-cinnamon);
}

.btn-checkout {
    width: 100%;
    padding: 14px 24px;
    background: #25D366;
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-small);
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-checkout:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-checkout:active {
    transform: translateY(0);
}

/* Cart Checkout Form */
.form-control-simple {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    color: var(--color-chocolate);
    background: #fff;
    margin-top: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control-simple.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-control-simple:focus {
    outline: none;
    border-color: var(--color-chocolate);
}

.form-control-simple.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.btn-checkout.btn-secondary {
    background: #eee;
    color: #333;
}

.btn-checkout.btn-secondary:hover {
    background: #ddd;
}

/* ============================
   Modal & Cart Responsive
   ============================ */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        min-height: 250px;
    }

    .modal-info {
        padding: 1.8rem;
        align-items: center;
        text-align: center;
    }

    .modal-product-name {
        font-size: 1.6rem;
    }

    .modal-controls {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
    }

    .modal-select {
        min-width: 100%;
    }

    .modal-quantity {
        width: fit-content;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }

    .cart-checkout-form {
        max-height: none;
    }

    .cart-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
}

/* ============================
   Custom Design Modal (Improved)
   ============================ */
.custom-design-modal .modal-container {
    max-width: 600px;
}

.modal-header-center {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header-center h2 {
    margin-bottom: 8px;
    font-size: 2.2rem;
    color: var(--color-chocolate);
}

.modal-header-center h3 {
    margin-bottom: 12px;
    color: var(--color-cinnamon);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
}

.modal-header-center p {
    font-size: 1.05rem;
    color: var(--color-dark-chocolate);
    margin-bottom: 0;
}

.design-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.design-option {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    background: var(--color-white);
}

.design-option.active {
    border-color: var(--color-cinnamon) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.design-option:hover:not(.active) {
    border-color: var(--color-peach);
    transform: translateY(-2px);
}

.design-option img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.design-option-label {
    padding: 10px 5px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-chocolate);
}

.modal-info-full {
    text-align: center;
    padding: 0;
}

.modal-confirm-btn {
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 16px;
    width: 100%;
}

/* Comments Section */
.comments-section {
    padding: 40px 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--color-light-cream), transparent);
}

.comments-carousel {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.comments-track-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.comments-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.comment-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--color-light-cream);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(107, 60, 15, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.comment-stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comment-text {
    font-style: italic;
    color: var(--color-dark-chocolate);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    word-break: break-word;
}

.comment-author {
    color: var(--color-cinnamon);
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .comment-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .comment-card {
        flex: 0 0 100%;
    }
    .comments-carousel {
        padding: 0 10px;
    }
}

/* Yape Payment Modal Styles */
.yape-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.yape-modal-content {
    background: var(--color-white);
    border-radius: var(--border-radius-medium);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.yape-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-peach);
    background: linear-gradient(135deg, var(--color-chocolate) 0%, var(--color-cinnamon) 100%);
    color: var(--color-white);
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.yape-modal-header h3 {
    margin: 0;
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.yape-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.yape-modal-close:hover {
    transform: rotate(90deg);
}

.yape-modal-body {
    padding: 2rem 1.5rem;
}

.yape-info-box {
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.yape-message {
    margin: 0;
    color: #856404;
    font-weight: 600;
    font-size: 0.95rem;
}

.yape-payment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.yape-qr-section {
    text-align: center;
}

.yape-qr-image {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    border: 2px solid var(--color-peach);
}

.yape-qr-text {
    margin-top: 0.5rem;
    color: var(--color-chocolate);
    font-size: 0.9rem;
}

.yape-number-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-chocolate);
}

.yape-phone {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cinnamon);
    font-family: 'Fredoka', sans-serif;
    margin: 0.3rem 0;
}

.yape-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-chocolate);
    margin: 0.2rem 0;
}

.yape-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-cinnamon);
    font-family: 'Cherry Bomb One', cursive;
    margin: 0.3rem 0;
}

.yape-upload-section {
    margin-bottom: 1.5rem;
}

.yape-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-chocolate) 0%, var(--color-cinnamon) 100%);
    color: var(--color-white);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    justify-content: center;
}

.yape-upload-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 60, 15, 0.3);
}

.yape-upload-label i {
    font-size: 1.2rem;
}

.yape-preview {
    position: relative;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-peach);
}

.yape-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.yape-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.yape-remove-btn:hover {
    background: #DC3545;
    transform: scale(1.1);
}

.btn-yape-confirm {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-chocolate) 0%, var(--color-cinnamon) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-yape-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 60, 15, 0.4);
}

.btn-yape-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-yape-confirm:active:not(:disabled) {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .yape-payment-details {
        grid-template-columns: 1fr;
    }
    
    .yape-modal-content {
        max-height: 95vh;
    }
    
    .yape-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .yape-phone {
        font-size: 1.5rem;
    }
    
    .yape-amount {
        font-size: 1.4rem;
    }
}

/* Modal de Confirmación de Reserva */
.reservation-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reservation-confirmation-modal.show {
    opacity: 1;
}

.reservation-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reservation-confirmation-modal.show .reservation-modal-content {
    transform: scale(1) translateY(0);
}

.reservation-modal-header {
    background: linear-gradient(135deg, #4B2C20 0%, #D68C45 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.reservation-modal-header h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-family: 'Cherry Bomb One', cursive;
}

.reservation-modal-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.reservation-modal-body {
    padding: 30px;
}

.reservation-details {
    background: #faf7f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0e0d6;
}

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

.detail-item i {
    font-size: 1.5rem;
    color: #D68C45;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    color: #4B2C20;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-item span {
    display: block;
    color: #5d4037;
    font-size: 1rem;
    line-height: 1.5;
}

.reservation-notice {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4CAF50;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 25px;
}

.reservation-notice .notice-icon {
    background: #4CAF50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.reservation-notice .notice-content h3 {
    color: #2e7d32;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-family: 'Cherry Bomb One', cursive;
}

.reservation-notice .notice-content p {
    color: #2e7d32;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.reservation-modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
}

.btn-close-modal {
    flex: 1;
    background: linear-gradient(135deg, #6b3c0f 0%, #4b2c20 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-close-modal:hover {
    background: #D68C45;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .reservation-modal-content {
        max-width: 100%;
    }
    
    .reservation-modal-header {
        padding: 30px 20px;
    }
    
    .reservation-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .reservation-modal-body {
        padding: 20px;
    }
    
    .reservation-modal-footer {
        flex-direction: column;
        padding: 20px;
    }
    
    .btn-close-modal {
        flex: none;
        width: 100%;
    }
    
    .reservation-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
