/* styles.css */
body {
    font-family: 'Manrope', sans-serif;
    background-color: #F7F7F5;
    color: #0B0B0B;
}

/* Smooth scroll for all anchors */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed header */
section {
    scroll-margin-top: 80px;
}

.sticky-header {
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    background: rgba(11, 11, 11, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.sticky-header.scrolled .nav-item,
.sticky-header.scrolled .dropdown button {
    /* color: #0B0B0B !important; */
}

.sticky-header.scrolled .logo h1 {
    color: #0B0B0B !important;
}

/* Fix for hamburger color on scroll */
.sticky-header.scrolled .hamburger-line {
    background-color: #0B0B0B !important;
}

/* Smooth transition for logo text */
.logo-text {
    transition: color 0.3s ease;
}

/* Forzar el cambio de color del texto japonés cuando el header hace scroll */
.sticky-header.scrolled .logo-text {
    /* color: #0B0B0B !important; */
}

/* Asegurar que el texto mantenga el color blanco cuando no hay scroll */
.sticky-header:not(.scrolled) .logo-text {
    color: #F7F7F5 !important;
}

.menu-item-card {
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.open {
    max-height: 600px;
    opacity: 1;
}

.hamburger-line {
    transition: all 0.3s ease;
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.dropdown-menu {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.japanese-accent {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.7), rgba(11, 11, 11, 0.4));
    z-index: -1;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .video-controls {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

.logo-svg {
    width: 120px;
    height: auto;
    transition: color 0.3s ease;
}

.sticky-header .logo-svg {
    color: #F7F7F5;
    /* Warm white */
}

.sticky-header.scrolled .logo-svg {
    color: #0B0B0B !important;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Button styles */
.map-button {
    display: inline-flex;
    align-items: center;
    background-color: #1a1a1a;
    color: #f5f5f0;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.map-button:hover {
    background-color: #333;
}

.map-button i {
    margin-right: 0.5rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    width: 100%;
    aspect-ratio: 16/9;
    /* Proporción 16:9 para el contenedor */
    background-color: #000;
    /* Fondo negro para las imágenes verticales */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    /* Fondo negro para cada slide */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cambio de cover a contain */
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(11, 11, 11, 0.7);
    color: #F7F7F5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(244, 81, 30, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(247, 247, 245, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #F4511E;
    border-color: #F7F7F5;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: #F4511E;
}

.nav-item-highlight {
    position: relative;
}

.nav-item-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F4511E;
    transition: width 0.3s ease;
}

.nav-item-highlight:hover::after {
    width: 100%;
}

/* =========================================================
   SENDA MENU REDESIGN · ALTERNATIVA 2 · MOBILE FIRST
   Accordion + compact list + search + filters + detail sheet
   ========================================================= */

.senda-menu {
    background: #F1F2F3;
}

.menu-intro {
    max-width: 760px;
    margin: 0 auto;
}

.menu-search {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.menu-search input {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 3rem 0.85rem 1rem;
    background: #F7F7F5;
    border: 1px solid #D1D5DB;
    border-radius: 9999px;
    outline: none;
    color: #0B0B0B;
    transition: all .25s ease;
}

.menu-search input:focus {
    border-color: #F4511E;
    box-shadow: 0 0 0 3px rgba(244, 81, 30, .10);
}

.menu-search-icon {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
}

.menu-search-clear {
    position: absolute;
    right: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #6B7280;
    cursor: pointer;
}

.menu-category-scroll {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .15rem .1rem .65rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.menu-category-scroll::-webkit-scrollbar {
    display: none;
}

.menu-filter-btn,
.menu-category-btn {
    flex: 0 0 auto;
    min-height: 40px;
    border-radius: 9999px;
    border: 1px solid #D1D5DB;
    padding: .55rem .9rem;
    background: #F7F7F5;
    color: #252525;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.menu-category-btn.active,
.menu-filter-btn.active {
    background: #0B0B0B;
    border-color: #0B0B0B;
    color: #F7F7F5;
}

.menu-filter-btn.has-filter {
    background: #FFF0EA;
    border-color: #F4511E;
    color: #D93E12;
}

.menu-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    max-width: 980px;
    margin: 0 auto;
}

.menu-filter-summary {
    font-size: .78rem;
    color: #6B7280;
}

.menu-filter-panel {
    max-width: 980px;
    margin: .8rem auto 0;
    padding: 1rem;
    background: #F7F7F5;
    border: 1px solid #D1D5DB;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.filter-group+.filter-group {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.filter-group-title {
    margin-bottom: .65rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 36px;
    padding: .45rem .7rem;
    border: 1px solid #D1D5DB;
    border-radius: 9999px;
    background: #FFFFFF;
    color: #252525;
    font-size: .75rem;
    cursor: pointer;
    user-select: none;
}

.filter-chip.active {
    border-color: #F4511E;
    background: #FFF0EA;
    color: #D93E12;
    font-weight: 700;
}

.menu-accordion-list {
    max-width: 980px;
    margin: 0 auto;
}

.menu-category-block {
    overflow: hidden;
    background: #F7F7F5;
    border: 1px solid #D1D5DB;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .04);
}

.menu-category-block+.menu-category-block {
    margin-top: .7rem;
}

.menu-category-header {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1rem;
    border: 0;
    background: transparent;
    color: #0B0B0B;
    cursor: pointer;
    text-align: left;
}

.menu-category-header:hover {
    background: rgba(244, 81, 30, .035);
}

.menu-category-header-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.menu-category-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFF0EA;
    color: #F4511E;
}

.menu-category-name {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.menu-category-count {
    margin-left: .35rem;
    font-size: .72rem;
    font-weight: 500;
    color: #9CA3AF;
}

.menu-category-chevron {
    transition: transform .25s ease;
    color: #6B7280;
}

.menu-category-chevron.open {
    transform: rotate(180deg);
    color: #F4511E;
}

.menu-category-body {
    padding: 0 .65rem .65rem;
    border-top: 1px solid #E5E7EB;
}

.compact-product {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .35rem;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
    text-align: left;
    background: transparent;
    transition: background .2s ease;
}

.compact-product:last-child {
    border-bottom: 0;
}

.compact-product:hover,
.compact-product:focus-visible {
    background: rgba(244, 81, 30, .035);
    outline: none;
}

.compact-product-info {
    flex: 1;
    min-width: 0;
}

.compact-product-title-row {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    flex-wrap: wrap;
}

.compact-product-title {
    font-size: .86rem;
    font-weight: 800;
    color: #0B0B0B;
}

.compact-product-subtitle {
    font-size: .7rem;
    font-weight: 600;
    color: #9CA3AF;
}

.compact-product-description {
    margin-top: .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .7rem;
    line-height: 1.4;
    color: #6B7280;
}

.compact-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .35rem;
}

.compact-tag {
    display: inline-flex;
    align-items: center;
    padding: .16rem .38rem;
    border-radius: 9999px;
    font-size: .58rem;
    font-weight: 700;
}

.compact-product-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
}

.compact-product-price {
    font-size: .78rem;
    font-weight: 800;
    color: #F4511E;
    white-space: nowrap;
}

.compact-product-plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: #0B0B0B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .7rem .5rem .25rem;
    border: 0;
    background: transparent;
    color: #F4511E;
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
}

.menu-empty-state {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    border: 1px dashed #D1D5DB;
    border-radius: 1rem;
    color: #6B7280;
    background: #F7F7F5;
}

/* Product detail bottom sheet */
.menu-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.menu-detail-sheet {
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    overflow-y: auto;
    background: #F7F7F5;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, .25);
    padding: 1.25rem;
    animation: menuSheetIn .25s ease-out;
}

@keyframes menuSheetIn {
    from {
        transform: translateY(100%);
        opacity: .6;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.menu-detail-handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    background: #D1D5DB;
}

.menu-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.menu-detail-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid #D1D5DB;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0B0B0B;
    cursor: pointer;
}

.menu-detail-kicker {
    margin-bottom: .25rem;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #F4511E;
}

.menu-detail-title {
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0B0B0B;
}

.menu-detail-subtitle {
    margin-top: .2rem;
    color: #6B7280;
    font-size: .8rem;
    font-weight: 600;
}

.menu-detail-description {
    margin-top: 1rem;
    color: #4B5563;
    font-size: .85rem;
    line-height: 1.65;
}

.menu-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .9rem;
}

.menu-detail-options {
    margin-top: 1.2rem;
}

.menu-detail-options-title {
    margin-bottom: .55rem;
    font-size: .75rem;
    font-weight: 800;
    color: #0B0B0B;
}

.menu-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.menu-option {
    min-height: 40px;
    padding: .5rem .8rem;
    border: 1px solid #D1D5DB;
    border-radius: .75rem;
    background: #FFFFFF;
    color: #252525;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}

.menu-option.active {
    background: #0B0B0B;
    color: #FFFFFF;
    border-color: #0B0B0B;
}

.menu-detail-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1.25rem;
    padding-top: .9rem;
    background: linear-gradient(to bottom, rgba(247, 247, 245, 0), #F7F7F5 18%);
}

.menu-detail-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #F4511E;
    white-space: nowrap;
}

.menu-detail-order {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .75rem 1rem;
    border-radius: 9999px;
    background: #0B0B0B;
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.menu-detail-order:hover {
    background: #F4511E;
    transform: translateY(-1px);
}

.menu-lock-scroll {
    overflow: hidden;
}

@media (min-width: 769px) {
    .menu-detail-overlay {
        align-items: center;
        padding: 1.5rem;
    }

    .menu-detail-sheet {
        border-radius: 1.25rem;
        max-height: 82vh;
        box-shadow: 0 20px 70px rgba(0, 0, 0, .3);
    }

    .menu-category-header {
        min-height: 64px;
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .menu-category-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .compact-product {
        padding: .9rem .5rem;
    }

    .compact-product-description {
        -webkit-line-clamp: 2;
    }
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity .2s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* Footer Background Image */
.footer-bg {
    background-image: url('assets/pie_de_pagina.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.85);
    z-index: 1;
}

.footer-bg>* {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .md\:flex-row {
        flex-direction: column;
    }

    .md\:w-1\/2 {
        width: 100%;
    }

    .h-96 {
        height: 20rem;
    }

    .gap-12 {
        gap: 2rem;
    }
}
.menu-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

/* Nuevos estilos para filtros de segmentación */
.menu-category-scroll .menu-category-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
}

/* Filtros con íconos más descriptivos */
.filter-chip .fas {
    font-size: 0.65rem;
}

/* Badges para flags en el detalle */
.compact-tag.bg-purple-100 {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.compact-tag.bg-emerald-100 {
    background-color: #d1fae5;
    color: #065f46;
}

.compact-tag.bg-yellow-200 {
    background-color: #fef08a;
    color: #854d0e;
}

/* Mejora visual de variantes en detalle */
.menu-option-list .menu-option {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
}

/* Categorías más compactas */
.menu-category-name {
    font-size: 0.85rem;
}

@media (min-width: 640px) {
    .menu-category-scroll .menu-category-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .menu-option-list .menu-option {
        font-size: 0.78rem;
        padding: 0.5rem 0.8rem;
    }
}