/*
Theme Name: Marghe1889
Version: 0.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Marghe1889
*/

@font-face {
    font-family: 'Faculty Glyphic';
    src: url('assets/fonts/FacultyGlyphic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shackleton';
    src: url('assets/fonts/Shackleton-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shackleton Condensed';
    src: url('assets/fonts/Shackleton-Condensed.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shackleton Narrow';
    src: url('assets/fonts/Shackleton-Narrow.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #1D1D1B;
}

/* Override WordPress FSE wrappers to allow full-width layout */
.wp-site-blocks {
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    height: 100vh;
    overflow: hidden;
}

.wp-site-blocks>* {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.home-logo {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 180px;
    transition: width 0.3s ease, top 0.3s ease;
}

.home-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.home-locations {
    display: flex;
    width: 100%;
    height: 100%;
}

.location-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.location-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-card:hover .location-bg {
    transform: scale(1.05);
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

/* When the locations wrapper is hovered, darken the overlays of all cards */
.home-locations:hover .location-card .location-overlay {
    opacity: 0.85;
}

/* Except the one that is currently hovered, which goes clear/normal */
.home-locations .location-card:hover .location-overlay {
    opacity: 0.6;
}

.location-content {
    position: relative;
    z-index: 3;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.location-title {
    color: #FFFFFF;
    font-family: var(--wp--preset--font-family--shackleton), "Shackleton", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.location-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    margin: 0 0 25px 0;
    max-width: 480px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.location-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.btn-ghost {
    flex: 1;
    max-width: 160px;
    display: inline-block;
    padding: 10px 0;
    font-family: var(--wp--preset--font-family--shackleton-narrow), "Shackleton Narrow", Georgia, serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    /* white border */
    background-color: transparent;
    backdrop-filter: blur(4px);
    /* blur effect */
    text-align: center;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background-color: #CB3B39;
    color: #FFFFFF;
    border: 1px solid #CB3B39;
    /* red border */
}

/* Language selector button in navbar with dropdown */
.lang-selector-nav.dropdown {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 15;
    display: inline-block;
}

.lang-nav-btn {
    background: transparent;
    border: 1px solid #FFFFFF;
    /* white border */
    color: #FFFFFF;
    padding: 8px 16px;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    /* blur effect */
}

.lang-nav-btn:hover {
    background-color: #FFFFFF;
    color: #1D1D1B;
    /* original text color */
    border: 1px solid #FFFFFF;
    /* white border */
}

.dropdown-caret {
    font-size: 0.6rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: #1D1D1B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 20;
    box-sizing: border-box;
}

.lang-dropdown-menu.show {
    display: block;
}

.lang-dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-dropdown-menu a:hover {
    background-color: #FFFFFF;
    color: #1D1D1B;
}

.lang-selector-nav.dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

.lang-modal-content {
    background-color: #1D1D1B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 50px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lang-modal.active .lang-modal-content {
    transform: translateY(0);
}

.lang-modal-title {
    color: #FFFFFF;
    font-family: var(--wp--preset--font-family--shackleton), "Shackleton", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 12px 0;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.lang-btn:hover {
    background-color: #FFFFFF;
    color: #1D1D1B;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 767px) {

    body,
    html {
        overflow: hidden;
    }

    .home-container {
        height: 100vh;
    }

    .home-locations {
        flex-direction: column;
        height: 100%;
    }

    .location-card {
        height: 33.333vh;
        min-height: 0;
        justify-content: center;
    }

    .home-logo {
        display: none;
    }

    .lang-selector-nav {
        top: 20px;
        right: 20px;
    }

    .lang-nav-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .location-content {
        padding: 20px 20px;
    }

    .location-title {
        font-size: 1.6rem;
        margin-bottom: 2px;
    }

    .location-subtitle {
        font-size: 0.7rem;
        margin-bottom: 10px;
        max-width: 280px;
    }

    .btn-ghost {
        padding: 6px 0;
        font-size: 0.7rem;
    }

    .location-overlay {
        background: rgba(0, 0, 0, 0.85);
        background-image: none;
    }
}

/* Language Selection Landing Page */
.lang-page-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1D1D1B;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.lang-page-logo {
    width: 260px;
    margin-bottom: 50px;
}

.lang-page-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.lang-page-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    padding: 12px 30px;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.lang-page-btn:hover {
    background-color: #FFFFFF;
    color: #1D1D1B;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .lang-page-logo {
        width: 180px;
        margin-bottom: 40px;
    }

    .lang-page-options {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .lang-page-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 10px 0;
        font-size: 0.8rem;
    }
}

/* Localized Menu/Carta Page Layout */
html:has(.carta-container),
body:has(.carta-container) {
    overflow: auto !important;
    height: auto !important;
}

body:has(.carta-container) .wp-site-blocks {
    overflow: visible !important;
    height: auto !important;
}

.carta-container {
    background-color: #F8F2E4;
    /* Beige theme color */
    color: #1D1D1B;
    /* Negro theme color */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 0;
}

/* Fixed Header */
.carta-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    /* taller header for more space */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(to bottom, var(--wp--preset--color--beige), transparent);
    border-bottom: none;
    /* removed bottom border line */
    z-index: 100;
    box-sizing: border-box;
}

.carta-header .lang-selector-nav.dropdown {
    position: relative;
    top: auto;
    right: auto;
    z-index: 15;
}

/* Sidebar Language Selector */
.sidebar-lang-selector {
    margin-top: auto;
    /* push it to the bottom of the sidebar menu */
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-lang-selector a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.sidebar-lang-selector a.active,
.sidebar-lang-selector a:hover {
    color: #CB3B39;
    /* brand red */
}

.sidebar-lang-selector .lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
}


.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    /* same spacing as right side buttons */
    flex: 1;
}

.hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    /* fixed height */
    padding: 0 10px;
    /* matching horizontal padding */
    box-sizing: border-box;
    background: transparent;
    border: 1px solid transparent;
    /* invisible border to align height */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hamburger-btn:hover {
    opacity: 0.7;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 76px;
    /* exactly twice the button height (38px * 2) */
    height: 38px;
    /* matches button height (38px) */
    box-sizing: border-box;
    padding: 3px 0;
    /* slight inner vertical padding for lines spacing */
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 4px;
    /* thicker line for visual balance */
    background-color: #1D1D1B;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover .hamburger-icon span {
    background-color: #CB3B39;
    /* change to red on hover */
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.logo-simple {
    height: 75px;
    /* even larger logo */
    width: auto;
    display: block;
    margin-top: 10px;
    /* moved down by 10px */
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    /* same spacing */
    flex: 1;
}

.header-right .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    /* fixed height */
    padding: 0 10px;
    /* matching horizontal padding */
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1;
    /* reset line height to ensure symmetry */
    max-width: none;
    flex: none;
    font-family: var(--wp--preset--font-family--shackleton-narrow), "Shackleton Narrow", Georgia, serif;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 2px;
}

/* Carta button (black) */
.header-right .btn-ghost.active {
    background-color: transparent;
    border: 1px solid #1D1D1B;
    color: #1D1D1B;
}

.header-right .btn-ghost.active:hover {
    background-color: #1D1D1B;
    border-color: #1D1D1B;
    color: #F8F2E4;
}

/* Reservas button (red) */
.header-right .btn-ghost:not(.active) {
    background-color: #CB3B39;
    border: 1px solid #CB3B39;
    color: var(--wp--preset--color--beige);
}

.header-right .btn-ghost:not(.active):hover {
    background-color: #1D1D1B;
    border-color: #1D1D1B;
    color: #F8F2E4;
}

/* Fullscreen Navigation Menu Overlay */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1A1A1A;
    /* Dark overlay background as requested */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

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

.menu-header {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1010;
}

.menu-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.close-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 76px;
    padding: 0 10px;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-menu-btn img {
    height: 38px;
    width: auto;
    display: block;
}

.close-menu-btn:hover {
    opacity: 0.7;
}

.menu-lang-selector {
    position: relative;
}

.menu-lang-btn {
    background: transparent;
    border: 1px solid var(--wp--preset--color--beige);
    color: var(--wp--preset--color--beige);
    padding: 8px 16px;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

.menu-lang-btn:hover {
    background-color: var(--wp--preset--color--beige);
    color: #1D1D1B;
}

.menu-lang-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1020;
    box-sizing: border-box;
    min-width: 120px;
}

.menu-lang-dropdown-menu.show {
    display: block;
}

.menu-lang-dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-align: left;
}

.menu-lang-dropdown-menu a:hover {
    background-color: var(--wp--preset--color--beige);
    color: #1D1D1B;
}

.menu-header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.fullscreen-menu .logo-simple path {
    fill: var(--wp--preset--color--beige) !important;
}

.menu-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex: 1;
}

.btn-menu-reserves {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: var(--wp--preset--font-family--shackleton-narrow), "Shackleton Narrow", Georgia, serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #CB3B39;
    border: 1px solid #CB3B39;
    color: var(--wp--preset--color--beige);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-menu-reserves:hover {
    background-color: var(--wp--preset--color--beige);
    border-color: var(--wp--preset--color--beige);
    color: #1D1D1B;
}

.menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.menu-nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-links a {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--wp--preset--color--beige);
    text-decoration: none;
    font-family: var(--wp--preset--font-family--shackleton-narrow), "Shackleton Narrow", Georgia, serif;
    font-size: 4.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.85;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.menu-links a:hover,
.menu-links a.active {
    color: var(--wp--preset--color--beige);
    transform: scale(1.05);
}

.menu-secondary-container {
    margin-top: 40px;
}

.menu-secondary-link {
    color: rgba(248, 242, 228, 0.4);
    text-decoration: none;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    display: inline-block;
}

.menu-secondary-link:hover {
    color: var(--wp--preset--color--beige);
}

.menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.75rem;
    color: rgba(248, 242, 228, 0.4);
    letter-spacing: 0.05em;
    width: 100%;
}

.menu-footer a {
    color: rgba(248, 242, 228, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-footer a:hover {
    color: var(--wp--preset--color--beige);
}

.carta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.carta-title {
    font-family: var(--wp--preset--font-family--shackleton), "Shackleton", Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1D1D1B;
}

.carta-subtitle {
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin: 10px 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #CB3B39;
}

.carta-placeholder-message {
    max-width: 400px;
    color: rgba(29, 29, 27, 0.6);
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .carta-header {
        height: 90px;
        padding: 0 20px;
        border-bottom: none;
        /* remove mobile border line too */
    }

    .carta-container {
        padding-top: 0;
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
        /* add bottom padding to prevent content overlap with bottom buttons */
    }

    .header-left {
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: 20px;
        z-index: 101;
        flex: none;
        width: auto;
        gap: 12px;
        /* proportional gap */
    }

    .hamburger-btn {
        height: 32px;
        padding: 0 8px;
        border: 1px solid transparent;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 2px;
    }

    .hamburger-icon {
        width: 64px;
        /* twice the button height of mobile buttons (32px * 2) */
        height: 32px;
        /* matches mobile button height (32px) */
        padding: 2px 0;
    }

    .hamburger-icon span {
        height: 3px;
        /* thicker lines on mobile for readability */
    }

    .logo-simple {
        height: 55px;
        /* larger logo simple on mobile */
    }

    .header-right {
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 70px !important;
        z-index: 101;
        flex: none;
        width: auto;
        gap: 12px;
        /* same gap as left */
    }

    .header-right .btn-ghost {
        height: 32px;
        padding: 0 16px;
        /* more horizontal padding for better tap target */
        font-size: 14px;
        line-height: 1;
        box-shadow: none;
    }

    /* Mobile Fullscreen Menu Styles */
    .menu-header {
        height: 90px;
        padding: 0 20px;
    }

    .menu-header-left {
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: 20px;
        z-index: 1015;
        flex: none;
        width: auto;
        gap: 10px;
    }

    .menu-header-right {
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 70px !important;
        z-index: 1015;
        flex: none;
        width: auto;
        gap: 10px;
    }

    .menu-lang-dropdown-menu {
        top: auto;
        bottom: 100%;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .close-menu-btn {
        height: 32px;
        width: 64px;
        padding: 0 8px;
    }

    .close-menu-btn img {
        height: 32px;
    }

    .menu-lang-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .btn-menu-reserves {
        height: 32px;
        padding: 0 16px;
        font-size: 14px;
        line-height: 1;
        box-shadow: none;
    }

    .menu-links a {
        font-size: 3rem;
        line-height: 0.98;
    }

    .menu-links {
        gap: 14px;
    }

    .menu-secondary-link {
        font-size: 0.75rem;
    }

    .menu-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 90px 20px 20px 20px;
        box-sizing: border-box;
    }

    .menu-secondary-container {
        margin-top: 30px;
    }

    .menu-footer {
        position: static;
        flex: none;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 30px;
        padding: 0 20px 80px 20px;
        font-size: 0.65rem;
    }

    .menu-footer a {
        font-size: 0.65rem;
    }

    .carta-title {
        font-size: 2.2rem;
    }

    .carta-subtitle {
        font-size: 1rem;
    }

    /* Mobile Legal Modals Override */
    .legal-modal-content {
        padding: 30px 20px;
        max-height: 90vh;
    }

    .legal-modal-content h2 {
        font-size: 1.6rem;
    }

    .legal-modal-body {
        font-size: 0.8rem;
    }
}

/* Legal Modals Styling (Desktop & General) */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}

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

.legal-modal-content {
    background-color: #1D1D1B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    padding: 40px 30px;
    box-sizing: border-box;
    position: relative;
    color: #F8F2E4;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.close-legal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #F8F2E4;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    padding: 5px;
}

.close-legal-btn:hover {
    color: #CB3B39;
}

.legal-modal-content h2 {
    font-family: var(--wp--preset--font-family--shackleton-narrow), "Shackleton Narrow", Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    color: var(--wp--preset--color--beige);
    border-bottom: 1px solid rgba(248, 242, 228, 0.15);
    padding-bottom: 10px;
}

.legal-modal-body {
    overflow-y: auto;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(248, 242, 228, 0.8);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    z-index: 99999 !important;
    display: inline-block !important;
    width: 50px !important;
    height: 50px !important;
    pointer-events: auto !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15) !important;
}

.whatsapp-float svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 767px) {
    .whatsapp-float {
        position: fixed !important;
        bottom: calc(20px + env(safe-area-inset-bottom)) !important;
        right: 20px !important;
        width: 38px !important;
        height: 38px !important;
    }
}

.pizza-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Fill screen available */
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--wp--preset--color--beige);
    box-sizing: border-box;
}

.slider-click-zone {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 65vh;
    width: 50%;
    z-index: 12;
}

.left-zone {
    left: 0;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%231D1D1B' stroke-width='2.5'><path d='M15 19l-7-7 7-7'/></svg>") 16 16, w-resize;
}

.right-zone {
    right: 0;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%231D1D1B' stroke-width='2.5'><path d='M9 5l7 7-7 7'/></svg>") 16 16, e-resize;
}

/* CAPA 2 (Texto de fondo gigante) */
.slider-bg-text-wrapper {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.slider-bg-text {
    font-family: var(--wp--preset--font-family--shackleton-condensed), serif;
    font-size: 19vw;
    font-weight: 700;
    color: var(--wp--preset--color--beige-oscuro);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.7;
    transition: transform 0.4s ease, opacity 0.4s ease;
    user-select: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
}

.slider-bg-text.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.slider-bg-text.fade-in {
    opacity: 0.7;
    transform: scale(1);
}

/* CAPA 3 (Navegación) */
.slider-nav-btn {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: var(--wp--preset--color--negro);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.slider-nav-btn svg {
    width: 36px;
    height: 36px;
    stroke: var(--wp--preset--color--negro);
}

.slider-nav-btn:hover {
    color: var(--wp--preset--color--rojo);
}

.slider-nav-btn:hover svg {
    stroke: var(--wp--preset--color--rojo);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* CAPA 4 (Imagen Central) */
.slider-pizza-image-wrapper {
    position: relative;
    width: 65vh;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
}

.slider-pizza-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

.slider-pizza-image.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Spin Out Animations */
.spin-out-left {
    animation: spinOutLeft 0.80s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.spin-out-right {
    animation: spinOutRight 0.80s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.spin-in-left {
    animation: spinInLeft 0.80s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.spin-in-right {
    animation: spinInRight 0.80s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes spinOutLeft {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: rotate(-120deg);
        opacity: 1;
    }
}

@keyframes spinOutRight {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: rotate(120deg);
        opacity: 1;
    }
}

@keyframes spinInLeft {
    0% {
        transform: rotate(-120deg);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

@keyframes spinInRight {
    0% {
        transform: rotate(120deg);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* CAPA 5 (Información del producto - Esquina inferior izquierda) */
.slider-info-panel {
    position: absolute;
    bottom: 40px;
    left: 60px;
    max-width: 320px;
    z-index: 15;
    text-align: left;
}

.slider-info-title {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wp--preset--color--negro);
    margin: 0;
    text-transform: none;
    line-height: 1.1;
    display: inline;
}

.slider-info-price {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wp--preset--color--verde);
    display: inline;
    margin-left: 10px;
    line-height: 1.1;
}

.slider-info-desc {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(29, 29, 27, 0.7);
    margin: 6px 0 0 0;
}

/* CAPA 6 (Indicador Inferior - Centrado) */
.slider-indicator-panel {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.slider-indicator-name {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--wp--preset--color--negro);
    text-transform: uppercase;
    display: none;
}

.slider-indicator-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--beige-oscuro);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
    background-color: var(--wp--preset--color--verde);
    transform: scale(1.2);
}

/* Responsiveness */
@media (max-width: 767px) {
    .slider-click-zone {
        display: none;
    }

    .pizza-slider {
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
    }

    .slider-bg-text-wrapper {
        left: 10px;
        right: 10px;
    }

    .slider-bg-text {
        font-size: 16vw;
        max-width: 100%;
        overflow: hidden;
        text-overflow: clip;
    }

    .slider-pizza-image-wrapper {
        width: 65vh;
        height: 65vh;
        max-width: 80vw;
        max-height: 80vw;
        margin-top: 20px;
        order: 1;
    }

    .slider-nav-btn {
        width: 40px;
        height: 40px;
        top: 38vh;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .slider-indicator-panel {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        order: 2;
        margin-top: 15px;
    }

    .slider-info-panel {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 20px;
        max-width: 100%;
        text-align: center;
        margin-top: 15px;
        order: 3;
    }

    .slider-info-title {
        font-size: 1.8rem;
        display: inline;
        line-height: 1.1;
    }

    .slider-info-price {
        font-size: 1.8rem;
        display: inline;
        margin-left: 8px;
        margin-bottom: 0;
        line-height: 1.1;
    }

    .slider-info-desc {
        font-size: 0.8rem;
        margin-top: 4px;
    }
}

/* Dynamic Menu List Styles */
.menu-sections-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px 60px 40px;
    box-sizing: border-box;
}

.menu-sections-nav-container {
    position: sticky;
    top: 120px;
    background-color: #F8F2E4;
    padding: 15px 0;
    margin-bottom: 50px;
    border-bottom: 2px solid #1D1D1B;
    z-index: 50;
}

.menu-sections-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sec-nav-link {
    font-family: var(--wp--preset--font-family--shackleton-narrow), Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #1D1D1B;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.sec-nav-link:hover {
    color: #CB3B39;
}

.menu-section {
    margin-bottom: 60px;
}

.menu-section-title {
    font-family: var(--wp--preset--font-family--shackleton), Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1D1D1B;
    margin-top: 0px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.menu-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #CB3B39;
    margin: 15px auto 0;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.menu-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.menu-item-image {
    flex-shrink: 0;
}

.menu-item-image img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1D1D1B;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.08) rotate(5deg);
}

.menu-item-details {
    flex: 1;
}

.menu-item-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    font-family: var(--wp--preset--font-family--faculty-glyphic), "Faculty Glyphic", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.menu-item-title {
    color: #1D1D1B;
}

.menu-item-dots {
    display: none;
}

.menu-item-price {
    color: var(--wp--preset--color--verde);
    white-space: nowrap;
}

.menu-item-desc {
    margin: 8px 0 0 0;
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 0.9rem;
    color: rgba(29, 29, 27, 0.7);
    line-height: 1.4;
}

/* Responsiveness for dynamic menu */
@media (max-width: 767px) {
    .menu-sections-wrapper {
        padding: 20px 20px 40px 20px;
    }

    .menu-sections-nav-container {
        top: 90px;
        margin-bottom: 30px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    .menu-sections-nav {
        justify-content: flex-start;
        padding: 0 10px;
        gap: 20px;
    }

    .sec-nav-link {
        font-size: 0.95rem;
    }

    .menu-section {
        margin-bottom: 40px;
    }

    .menu-section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-item {
        gap: 15px;
    }

    .menu-item-image img {
        width: 70px;
        height: 70px;
    }

    .menu-item-header {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .fullscreen-menu.active~.whatsapp-float {
        bottom: 100px !important;
    }
}

/* NAVEGADOR DE CARTA POR SCROLL */
.scroll-carta-navigator {
    position: relative;
    width: 100%;
    background-color: var(--wp--preset--color--beige);
    box-sizing: border-box;
    overflow: hidden;
    padding-top: 90px;
}

@media (min-width: 768px) {
    .scroll-carta-navigator.view-individual-active #cartaViewIndividual {
        height: calc(100vh - 180px);
    }

    .scroll-carta-navigator.view-individual-active .scroll-carta-display {
        margin-top: 60px;
    }
}

.scroll-carta-sticky-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 5;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 80px;
}

/* 1. Elemento Superior: Marquee Inclinado */
.scroll-carta-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: var(--wp--preset--color--beige-oscuro);
    padding: 10px 0;
    transform: rotate(-2.5deg) scale(1.03);
    z-index: 10;
    margin-bottom: 105px;
    flex-shrink: 0;
}

/* Selector de Vista: Ver Individualmente / Ver en Lista */
.scroll-carta-view-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    z-index: 20;
    position: relative;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--beige-oscuro);
    border: none;
    color: var(--wp--preset--color--negro);
    padding: 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
    background-color: var(--wp--preset--color--negro);
    color: var(--wp--preset--color--beige);
}

.scroll-carta-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 15s linear infinite;
}

.scroll-carta-marquee span {
    font-family: var(--wp--preset--font-family--shackleton), Georgia, serif;
    font-size: 100px;
    font-weight: 700;
    color: var(--wp--preset--color--beige);
    letter-spacing: 0.02em;
    padding-right: 4rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 2. Sistema de Pestañas y Tipografía */
.scroll-carta-filters {
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 15;
    flex-shrink: 0;
}

.scroll-carta-categories-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-cat-btn {
    font-family: var(--wp--preset--font-family--shackleton), Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--wp--preset--color--beige-oscuro);
    border: none;
    color: var(--wp--preset--color--negro);
    padding: 8px 18px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-cat-btn:hover,
.scroll-cat-btn.active {
    background-color: var(--wp--preset--color--verde);
    color: var(--wp--preset--color--beige);
}

/* Fila 2: Productos */
.scroll-carta-products-row-container {
    min-height: 45px;
}

.scroll-carta-products-row {
    display: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-carta-products-row.active {
    display: flex;
}

.scroll-prod-btn {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    background-color: var(--wp--preset--color--beige-oscuro);
    border: none;
    color: var(--wp--preset--color--negro);
    padding: 6px 14px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-prod-btn:hover,
.scroll-prod-btn.active {
    background-color: var(--wp--preset--color--negro);
    color: var(--wp--preset--color--beige);
}

.scroll-prod-price {
    font-weight: 700;
    margin-left: 4px;
}

/* 3. Carrusel / Pantalla de Producto */
.scroll-carta-display {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 60px;
    box-sizing: border-box;
    min-height: 400px;
}

.scroll-carta-info {
    position: fixed;
    pointer-events: none;
    background: #1D1D1B;
    color: #F8F2E4;
    padding: 12px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.15s ease;
}

.scroll-carta-info-title {
    display: none;
}

.scroll-carta-info-price {
    display: none;
}

.scroll-carta-info-desc {
    font-family: var(--wp--preset--font-family--faculty-glyphic), sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #F8F2E4;
    margin: 0;
    max-width: 100%;
}

#cartaViewIndividual {
    height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#cartaViewIndividual .scroll-carta-sticky-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
}

/* Carrusel de Pizzas */
.scroll-carta-pizza-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 90vh;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: auto;
}

.scroll-carta-pizza-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.scroll-carta-pizza-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

.scroll-carta-pizza-img.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Mobile Styling */
@media (max-width: 767px) {
    .scroll-carta-sticky-inner {
        padding-top: 20px;
    }

    .scroll-carta-marquee-wrapper {
        margin-bottom: 65px;
    }

    .scroll-carta-view-selector {
        margin-bottom: 15px;
        gap: 10px;
        padding: 0 20px;
    }

    .view-toggle-btn {
        padding: 10px;
    }

    .scroll-carta-marquee span {
        font-size: 50px;
        padding-right: 2rem;
    }

    .scroll-carta-filters {
        padding: 0 !important;
        gap: 8px;
    }

    .scroll-carta-categories-row-wrapper,
    .scroll-carta-products-row-container {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .scroll-carta-categories-row-wrapper::before,
    .scroll-carta-products-row-container::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to right, var(--wp--preset--color--beige) 10%, transparent);
        z-index: 5;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .scroll-carta-categories-row-wrapper.can-scroll-left::before,
    .scroll-carta-products-row-container.can-scroll-left::before {
        opacity: 1;
    }

    .scroll-carta-categories-row-wrapper::after,
    .scroll-carta-products-row-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to left, var(--wp--preset--color--beige) 10%, transparent);
        z-index: 5;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .scroll-carta-categories-row-wrapper.can-scroll-right::after,
    .scroll-carta-products-row-container.can-scroll-right::after {
        opacity: 1;
    }

    .scroll-carta-categories-row,
    .scroll-carta-products-row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .scroll-carta-categories-row::-webkit-scrollbar,
    .scroll-carta-products-row::-webkit-scrollbar {
        display: none;
    }

    .scroll-cat-btn,
    .scroll-prod-btn {
        flex-shrink: 0 !important;
    }

    .scroll-cat-btn {
        font-size: 0.9rem;
        padding: 6px 14px;
    }

    .scroll-prod-btn {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .scroll-carta-navigator {
        padding-top: 90px;
    }

    #cartaViewIndividual {
        height: calc(100vh - 150px);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    #cartaViewIndividual .scroll-carta-sticky-inner {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding-top: 0;
        padding-bottom: 0;
    }

    .scroll-carta-display {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 20px;
        min-height: 200px;
        flex: 1;
        margin-top: 30px;
    }

    .scroll-carta-pizza-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 350px;
        height: 350px;
        max-width: 88vw;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        pointer-events: none;
        order: 1;
        margin-bottom: 20px;
    }

    .scroll-carta-pizza-wrapper {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .scroll-carta-info {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: none;
        text-align: center;
        background: transparent;
        color: #1D1D1B;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 20;
        order: 2;
        margin-bottom: 20px;
    }


    .scroll-carta-info-desc {
        font-size: 0.9rem;
        margin-top: 8px;
        max-width: 100%;
        line-height: 1.4;
        color: rgba(29, 29, 27, 0.7);
    }

    body::after {
        content: '';
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100px;
        background: linear-gradient(to top, var(--wp--preset--color--beige), transparent);
        z-index: 99;
        pointer-events: none;
    }
}

@media (min-width: 768px) {
    .scroll-carta-navigator.view-individual-active::after {
        content: '';
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 120px;
        background: linear-gradient(to top, var(--wp--preset--color--beige), transparent);
        z-index: 99;
        pointer-events: none;
    }
}