/* index.css - Heladería Sirvent Premium Style Sheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    /* Color Palette */
    --bg-primary: rgba(255, 255, 255, 0.92);
    --bg-secondary: rgba(255, 248, 249, 0.92);
    /* Soft blush pink background with glassmorphism */
    --bg-tertiary: #ffeef1;
    /* Soft rose quartz for cards/accents */
    --primary: #ff5c7c;
    /* Sweet strawberry pink */
    --primary-hover: #e03f60;
    /* Vibrant raspberry pink */
    --primary-light: #ffb3c1;
    /* Pastel blossom pink */
    --primary-ultra-light: #fff0f3;

    --text-dark: #2d2325;
    /* Soft cocoa dark gray (very elegant, warm) */
    --text-muted: #6e5e61;
    /* Warm brownish gray */
    --text-light: #9e8e91;
    /* Light warm gray */

    --border-color: rgba(255, 224, 229, 0.6);
    /* Delicate pink border */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 92, 124, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(255, 92, 124, 0.05);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(255, 92, 124, 0.03);
    --shadow-md: 0 12px 30px rgba(255, 92, 124, 0.06);
    --shadow-lg: 0 20px 50px rgba(255, 92, 124, 0.10);

    /* Layout & Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff8f9;
    /* Solid soft blush pink matching screenshots */
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

button,
input,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 248, 249, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-round);
    border: 3px solid rgba(255, 248, 249, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-container {
    height: 64px;
}

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

.brand-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 22px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    background-color: rgba(255, 238, 241, 0.6);
    border-radius: var(--radius-round);
    padding: 3px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 92, 124, 0.2);
}

/* --- ROULETTE GRID CARD (inside product grid) --- */
.roulette-grid-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 248, 249, 0.95), rgba(255, 235, 240, 0.8));
    border: 1px dashed var(--primary-light);
}

.roulette-grid-card:hover {
    border-color: var(--primary);
}

.roulette-grid-content {
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.roulette-grid-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.roulette-grid-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.roulette-wheel-wrapper-sm {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.combos-grid-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 4px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        background-color: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-md);
    }

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

    .menu-toggle {
        display: block;
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    background-image: url('img/Productos/fondo nuevo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .hero-content {
        align-items: center;
    }
}

.hero-badge {
    background-color: rgba(255, 240, 243, 0.85);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-round);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 64px;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 92, 124, 0.15);
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 44px;
    }
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-round);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 92, 124, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 92, 124, 0.35);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 12px rgba(255, 92, 124, 0.06);
}

.btn-secondary:hover {
    background-color: var(--primary-ultra-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 92, 124, 0.12);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.hero-image-bg {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color: var(--primary-ultra-light);
    border-radius: 43% 57% 65% 35% / 47% 45% 55% 53%;
    /* Beautiful organic blob */
    animation: blobMorph 10s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-image {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(255, 92, 124, 0.1));
    animation: float 6s ease-in-out infinite;
}

/* --- HISTORIA SECTION --- */
.history {
    background-color: #fff8f9;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.history-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .history-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.history-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    background-color: white;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(255, 92, 124, 0.08);
    border: 1px solid rgba(255, 92, 124, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.history-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    transition: var(--transition-smooth);
}

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

.section-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.history-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.history-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 24px;
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.highlight-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.highlight-info p {
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .history-highlights {
        grid-template-columns: 1fr;
    }
}

/* --- LA CARTA SECTION --- */
.carta {
    background-image: url('img/Productos/fondo nuevo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.carta-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Filter controls & Search bar */
.carta-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-input {
    width: 100%;
    background-color: var(--glass-bg);
    border: 2px solid var(--border-color);
    padding: 16px 20px 16px 50px;
    border-radius: var(--radius-round);
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.search-input:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-round);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--glass-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 92, 124, 0.15);
}

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

.product-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius-round);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    border: 1px solid var(--border-color);
}

.product-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: rgba(255, 248, 249, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.product-subtitle {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-item {
    font-size: 10px;
    padding: 2px 8px;
    background-color: var(--primary-ultra-light);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 4px;
    text-transform: uppercase;
}

/* No results state */
.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 0;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-light);
}

/* --- WHATSAPP BUTTON --- */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
    padding: 16px 24px;
    background: #25d366;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-round);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-whatsapp i { font-size: 1.3rem; }
.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

/* --- CONTACT & OPENING HOURS --- */
.contact {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

    .combos-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.contact-card-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 20px;
    color: var(--primary);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.contact-detail h5 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-detail p,
.contact-detail a {
    font-size: 14px;
    color: var(--text-muted);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-round);
    margin-bottom: 20px;
}

.status-badge.open {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.closed {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: blink 1.5s infinite;
}

/* --- FLAVOR ROULETTE --- */
.flavor-roulette-panel {
    display: flex;
}

.roulette-card {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roulette-card .contact-card-title {
    text-align: center;
}

.roulette-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

/* --- SABORES COMBINADOS PANEL --- */
.combos-panel {
    display: flex;
}

.combos-card {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.combos-card .contact-card-title {
    text-align: center;
}

.combos-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.combos-img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin-bottom: 8px;
}

.roulette-wheel-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 28px;
}

.roulette-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border-color);
    transform: rotate(0deg);
    transition: transform 3.6s cubic-bezier(0.17, 0.84, 0.42, 1);
}

.roulette-wheel.spinning {
    box-shadow: var(--shadow-lg), 0 0 0 6px var(--primary-ultra-light);
}

.roulette-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: var(--text-dark);
    z-index: 3;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.roulette-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.btn-spin-roulette {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-round);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 92, 124, 0.25);
}

.btn-spin-roulette:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 92, 124, 0.35);
}

.btn-spin-roulette:disabled {
    opacity: 0.7;
    cursor: default;
}

.roulette-result {
    display: none;
    flex-direction: column;
    margin-top: 22px;
    padding: 14px 22px;
    background-color: var(--primary-ultra-light);
    border: 1px dashed var(--primary-light);
    border-radius: var(--radius-md);
    width: 100%;
}

.roulette-result.show {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

.roulette-result-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 4px;
}

.roulette-result strong {
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

/* Map selector */
.map-selector {
    display: flex;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-round);
    padding: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    width: fit-content;
}

.map-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-tab-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 92, 124, 0.2);
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-secondary);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.map-iframe.active {
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        min-height: 300px;
    }
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.reviews-header {
    text-align: center;
    margin-bottom: 48px;
}

.reviews-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.reviews-rating-global {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-ultra-light);
    border: 1px solid rgba(255, 92, 124, 0.15);
    padding: 10px 20px;
    border-radius: var(--radius-round);
}

.stars-global i {
    color: #f5a623;
    font-size: 1.1rem;
}

.rating-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.rating-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 3px;
}

.review-stars i {
    color: #f5a623;
    font-size: 0.78rem;
}

.google-logo {
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-style: italic;
}

.reviews-cta {
    text-align: center;
}

.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-round);
    border: 2px solid var(--border-color);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-google-reviews i {
    color: #4285F4;
    font-size: 1.1rem;
}

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

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

/* --- FOOTER --- */
.footer {
    background-color: #241a1c;
    color: white;
    padding: 60px 0 30px 0;
    border-top: 2px solid var(--primary);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-title {
    font-size: 26px;
    color: var(--primary-light);
}

.footer-desc {
    color: #bfaeb1;
    font-size: 14px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-light);
    transition: var(--transition-fast);
}

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

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    color: white;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: #bfaeb1;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: #9e8e91;
}

.footer-credits {
    font-size: 13px;
    color: #9e8e91;
}

.footer-credits span {
    color: var(--primary-light);
}

/* --- POPUP SABORES --- */
.modal-sabores {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    justify-content: center;
    align-items: center;
}

.modal-sabores-content {
    width: 85%;
    max-width: 720px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-image: url("img/Productos/fondo nuevo.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.modal-sabores-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    border-radius: 20px;
}

.modal-sabores-close {
    position: absolute;
    top: 14px;
    right: 20px;
    z-index: 3;
    font-size: 36px;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-sabores-close:hover {
    color: var(--primary-light);
    transform: scale(1.15);
}

.modal-sabores-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 44px 40px 36px;
    overflow-y: auto;
    max-height: 85vh;
}

.modal-sabores-text h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 30px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.sabores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.sabor-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sabor-item i {
    color: var(--primary-light);
    font-size: 10px;
    flex-shrink: 0;
}

.sabor-badge {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1px 7px;
    margin-left: 4px;
    white-space: nowrap;
}

.btn-ver-sabores {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 9px 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-round);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-ver-sabores:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 92, 124, 0.35);
}

@media (max-width: 600px) {
    .modal-sabores-content {
        width: 95%;
    }

    .modal-sabores-text {
        padding: 40px 20px 24px;
    }

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

    .modal-sabores-text h2 {
        font-size: 22px;
    }
}

/* --- FROZEN COCKTAILS POPUP --- */
.modal-cocktails-wide {
    max-width: 900px;
}

.cocktails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 4px;
}

.cocktail-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, background 0.2s;
    cursor: default;
}

.cocktail-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.cocktail-card-img-wrap {
    width: 100%;
}

.cocktail-card-img {
    width: 100%;
    height: auto;
    display: block;
}

.cocktail-card-body {
    padding: 10px 10px 12px;
}

.cocktail-card-name {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.cocktail-card-desc {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

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

    .modal-cocktails-wide {
        max-width: 95%;
    }
}

/* --- ANIMATIONS --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes blobMorph {
    0% {
        border-radius: 43% 57% 65% 35% / 47% 45% 55% 53%;
    }

    50% {
        border-radius: 55% 45% 38% 62% / 55% 60% 40% 45%;
    }

    100% {
        border-radius: 43% 57% 65% 35% / 47% 45% 55% 53%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- RESPONSIVE ENHANCEMENTS --- */

/* background-attachment: fixed no funciona en móviles (iOS/Android) */
@media (max-width: 992px) {

    .hero,
    .carta {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .history.section-padding {
        padding-top: 120px !important;
    }

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

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image-wrapper {
        max-width: 320px;
    }

    /* Evita desbordamiento: minmax(280px) supera el ancho útil en pantallas pequeñas */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .contact-card,
    .roulette-card,
    .combos-card {
        padding: 24px 18px;
    }

    .history-image-frame {
        padding: 10px;
    }

    .nav-actions {
        gap: 12px;
    }

    .brand-title {
        font-size: 19px;
    }

    .brand-subtitle {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 380px) {
    .roulette-wheel-wrapper {
        width: 180px;
        height: 180px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 460px;
    margin: 0 auto;
    z-index: 4000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px 26px;
    transform: translateY(160%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-round);
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    font-size: 20px;
}

.cookie-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-banner-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1 1 auto;
    min-width: 130px;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-btn-accept {
    background-color: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.cookie-btn-reject {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

.cookie-btn-reject:hover {
    background-color: var(--primary-ultra-light);
    border-color: var(--primary);
}

@media (max-width: 520px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }
}