        /* =========================================
           1. GENERAL CHARACTERISTICS (Global Styles)
           These styles apply across the entire site
           ========================================= */
        :root {
            /* Typography */
            --font-sans: 'Montserrat', sans-serif;
            --font-display: 'Cormorant Garamond', serif;

            /* Global Colors (Dark Theme Fallbacks) */
            --color-bg-base: #1A1A1A;
            --color-primary: #E84A00;
            --color-text-light: #F5F5F5;
            --color-text-muted: rgba(245, 245, 245, 0.6);

            /* UI Elements */
            --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;

            /* Hide scrollbars for Firefox/IE/Edge */
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        /* Hide scrollbars for Webkit browsers (Chrome, Safari, Edge) */
        *::-webkit-scrollbar {
            display: none;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--color-bg-base);
            color: var(--color-text-light);
            overflow: hidden;
            overscroll-behavior-y: none;
            /* We are building a Single Page App style site */
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-display);
            font-weight: 400;
        }

        /* --- Global Navigation --- */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 2.5rem 5%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.5rem;
            z-index: 1000;
            background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
            transition: var(--transition-smooth);
        }

        .brand-logo {
            display: inline-block;
            max-width: 80vw;
            min-width: 0;
            flex-shrink: 1;
        }

        .brand-logo img {
            height: 200px;
            width: 100%;
            max-width: 100%;
            object-fit: contain;
            display: block;
            margin: 0 auto;
            transition: height 0.4s ease;
            flex-shrink: 1;
        }

        nav.scrolled {
            padding: 1rem 5%;
            gap: 1rem;
        }

        nav.scrolled .brand-logo img {
            height: 80px;
        }

        body.theme-storia-articolo .brand-logo img {
            height: 80px;
            /* Force smaller logo regardless of scroll */
        }

        body.theme-menu nav.scrolled {
            background: #E2DFD6;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        body.theme-winebar.theme-winebar-menu nav.scrolled {
            background: #AFDAE0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }


        .menu-links {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
        }

        .menu-btn,
        .menu-links a {
            background: none;
            border: none;
            color: #E2DFD6;
            font-family: 'Moderat Mono', monospace;
            font-size: 0.9rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            cursor: pointer;
            position: relative;
            padding-bottom: 0.5rem;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .menu-btn::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 1px;
            background-color: var(--color-primary);
            transition: var(--transition-smooth);
            transform: translateX(-50%);
        }

        .menu-btn:hover::after,
        .menu-btn.active::after {
            width: 100%;
        }

        .menu-btn:hover,
        .menu-btn.active {
            color: var(--color-primary);
        }

        @keyframes flashRed {

            0%,
            100% {
                color: #E2DFD6;
                text-shadow: none;
            }

            50% {
                color: #B01F24;
                text-shadow: 0 0 10px rgba(176, 31, 36, 0.6);
            }
        }

        .flash-btn {
            animation: flashRed 2s infinite ease-in-out !important;
            /* Force override other states */
        }

        .flash-btn::after {
            background-color: #B01F24 !important;
        }

        /* --- Theme Menu --- */
        body.theme-menu {
            background-color: #173F35;
        }

        body.theme-menu nav {
            background: none;
        }

        body.theme-menu .menu-btn,
        body.theme-menu .menu-links a {
            color: #173F35;
        }

        body.theme-menu .menu-btn::after {
            background-color: #173F35;
        }

        body.theme-menu .menu-btn:hover,
        body.theme-menu .menu-btn.active {
            color: #173F35;
            text-shadow: 0 0 8px rgba(23, 63, 53, 0.4);
        }

        /* --- Theme Winebar --- */
        body.theme-winebar .menu-btn,
        body.theme-winebar .menu-links a {
            color: #AFDAE0;
        }

        body.theme-winebar .menu-btn::after {
            background-color: #AFDAE0;
        }

        body.theme-winebar .menu-btn:hover,
        body.theme-winebar .menu-btn.active {
            color: #AFDAE0;
            text-shadow: 0 0 8px rgba(175, 218, 224, 0.4);
        }

        /* --- Theme Winebar Menu (Drink Menu) --- */
        body.theme-winebar.theme-winebar-menu {
            background-color: #AFDAE0;
        }

        body.theme-winebar.theme-winebar-menu .menu-btn,
        body.theme-winebar.theme-winebar-menu .menu-links a {
            color: #AB2A65;
        }

        body.theme-winebar.theme-winebar-menu .menu-btn::after {
            background-color: #AB2A65;
        }

        body.theme-winebar.theme-winebar-menu .menu-btn:hover,
        body.theme-winebar.theme-winebar-menu .menu-btn.active {
            color: #AB2A65;
            text-shadow: 0 0 8px rgba(171, 42, 101, 0.4);
        }

        /* --- Theme Vini --- */
        body.theme-vini {
            background-color: #E2DFD6;
        }

        body.theme-vini nav {
            background: none;
        }

        body.theme-vini nav.scrolled {
            background: #E2DFD6;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        body.theme-vini .menu-btn,
        body.theme-vini .menu-links a {
            color: #173F35;
        }

        body.theme-vini .menu-btn::after {
            background-color: #173F35;
        }

        body.theme-vini .menu-btn:hover,
        body.theme-vini .menu-btn.active {
            color: #173F35;
            text-shadow: 0 0 8px rgba(23, 63, 53, 0.4);
        }

        #page-vini {
            background-color: #E2DFD6;
            color: #173F35;
            padding-top: 100px;
        }

        #page-vini .global-page-footer {
            background-color: #173F35;
            color: #E2DFD6;
        }

        body.theme-winebar .nav-home {
            display: none !important;
        }

        body.theme-winebar .nav-winebar {
            display: flex !important;
        }

        body.theme-winebar .winebar-badge {
            display: none !important;
            animation: none !important;
        }

        .home-footer-info.winebar-footer-info {
            color: #B01F24;
        }

        .home-footer-info.winebar-footer-info .dot-separator {
            color: #B01F24;
        }

        /* --- Global Page Container --- */
        .spa-container {
            position: relative;
            width: 100vw;
            height: 100vh;
        }

        /* --- General Page Structure --- */
        .page-section {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 400px 10% 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior-y: none;
            display: flex;
            flex-direction: column;
        }

        .page-section.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            z-index: 10;
        }

        /* --- Global Reusable Components --- */
        .global-page-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: auto;
            margin-left: -12.5%;
            margin-right: -12.5%;
            padding-left: 12.5%;
            padding-right: 12.5%;
            padding-top: 1rem;
            padding-bottom: max(1rem, env(safe-area-inset-bottom));
            margin-top: auto;
            border-top: 1px solid rgba(197, 168, 128, 0.2);
            font-family: 'Moderat Mono', monospace;
            font-size: 0.9rem;
            color: #AFDAE0;
            background-color: #173F35;
            z-index: 10;
        }

        #page-home .global-page-footer,
        #page-winebar .global-page-footer,
        #page-storia .global-page-footer,
        #page-storia-articolo .global-page-footer,
        #page-vini .global-page-footer {
            margin-left: 0;
            margin-right: 0;
            padding-left: 10%;
            padding-right: 10%;
        }

        #page-storia .global-page-footer,
        #page-storia-articolo .global-page-footer,
        #page-cellar .global-page-footer {
            background-color: #173F35;
        }

        #page-storia .global-page-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            margin-top: 0;
        }

        #page-winebar .global-page-footer,
        #page-winebar-menu .global-page-footer,
        #page-winebar-vini .global-page-footer {
            background-color: #B01F24;
            color: #E2DFD6;
        }

        .global-page-footer .left {
            text-align: left;
        }

        .global-page-footer .right {
            text-align: right;
        }

        .global-page-footer span {
            display: block;
            line-height: 1.4;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 3.5rem;
            color: var(--color-primary);
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .section-subtitle {
            font-size: 1rem;
            color: var(--color-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.3em;
        }

        .primary-btn {
            display: inline-block;
            padding: 1rem 3rem;
            border: 1px solid var(--color-primary);
            background: transparent;
            color: var(--color-primary);
            font-family: var(--font-sans);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            cursor: pointer;
            transition: var(--transition-smooth);
            margin-top: 2rem;
        }

        .primary-btn:hover {
            background: var(--color-primary);
            color: var(--color-bg-base);
        }

        /* Scrollbar customization */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--color-bg-base);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(197, 168, 128, 0.3);
        }

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

        /* --- Popup Modal --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
        }

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

        .modal-content {
            background: var(--color-bg-base);
            padding: 4rem;
            border: 1px solid rgba(197, 168, 128, 0.2);
            width: 90%;
            max-width: 500px;
            position: relative;
            transform: translateY(30px);
            transition: var(--transition-smooth);
            color: var(--color-text-light);
            display: flex;
            flex-direction: column;
        }

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

        .close-modal {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            font-size: 2.5rem;
            color: var(--color-text-muted);
            background: none;
            border: none;
            cursor: pointer;
            font-weight: 300;
        }

        .close-modal:hover {
            color: var(--color-primary);
        }

        /* =========================================
           2. SPECIFIC CHARACTERISTICS (Per Page Styles)
           These modify the general layout for each section
           ========================================= */

        /* -- Page 0: Principle (Home) & Winebar -- */
        #page-home,
        #page-winebar {
            padding: 0;
            display: block;
            /* Override default flex column to allow scrolling content */
        }

        .home-hero-wrapper {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
        }

        .home-gallery {
            display: grid;
            grid-template-columns: repeat(4, 25%);
            grid-auto-rows: 25vw;
            grid-auto-flow: dense;
            gap: 0;
            padding: 0;
            background: var(--color-bg-base);
            width: 100%;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            -webkit-perspective: 1000;
            perspective: 1000px;
        }

        #home-galleria {
            background-color: #173F35;
        }

        #winebar-galleria {
            background-color: #AB2A65;
        }

        .hg-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0px;
            display: block;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        .hg-item {
            position: relative;
            overflow: hidden;
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 0px;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

        /* Irregular Layout spans */
        .hg-item-1 {
            grid-column: span 2;
            grid-row: span 2;
        }

        .hg-item-2 {
            grid-column: span 1;
            grid-row: span 1;
        }

        .hg-item-3 {
            grid-column: span 1;
            grid-row: span 2;
        }

        .hg-item-4 {
            grid-column: span 1;
            grid-row: span 1;
        }

        .hg-item-5 {
            grid-column: span 2;
            grid-row: span 1;
        }

        .hg-item-6 {
            grid-column: span 1;
            grid-row: span 1;
        }

        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -2;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 10, 0.5);
            /* Dimming overlay */
            z-index: -1;
        }

        #page-home .hero-text {
            max-width: 800px;
            z-index: 1;
        }

        #page-home h1 {
            font-size: 5.5rem;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: #fff;
        }

        #page-home p {
            font-size: 1.25rem;
            color: #ddd;
            font-weight: 300;
        }

        /* Home Page Footer Info */
        .home-footer-info {
            position: absolute;
            bottom: 3rem;
            left: 0;
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            z-index: 1;
            font-family: 'Moderat Mono', monospace;
            font-weight: 400;
            font-size: 1rem;
            color: var(--color-text-light);
            text-transform: uppercase;
            letter-spacing: 0em;
            opacity: 0.9;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .marquee-content {
            display: flex;
            width: max-content;
            animation: marquee 30s linear infinite;
        }

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

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

        .marquee-group {
            display: flex;
            align-items: center;
        }

        .marquee-group span {
            display: inline-block;
            margin: 0 4rem;
            color: #E2DFD6;
        }

        .marquee-group .dot-separator {
            margin: 0;
            color: #E2DFD6;
        }

        #page-menu {
            background-color: #E2DFD6;
            color: #40191A;
        }

        #page-menu .section-title,
        #page-menu .section-subtitle {
            color: #40191A;
            border-bottom-color: rgba(64, 25, 26, 0.2);
        }

        #page-menu .menu-category-title {
            font-family: 'Moderat', sans-serif;
            font-weight: bold;
            color: #173F35;
            border-bottom: none;
            text-align: center;
        }

        #page-menu .menu-grid {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        #page-menu .dish {
            flex-direction: row;
            justify-content: center;
            gap: 4rem;
            align-items: flex-start;
        }

        #page-menu .dish-left-col {
            flex: 1;
            text-align: right;
            font-family: 'Moderat', sans-serif;
            font-weight: 100;
            font-size: 1.6rem;
            color: #40191A;
        }

        #page-menu .dish-right-col {
            flex: 1;
            text-align: left;
            font-family: 'Moderat', sans-serif;
            font-style: italic;
            font-weight: 100;
            font-size: 1.6rem;
            color: #40191A;
            line-height: 1.6;
            max-width: 450px;
        }

        #page-menu .dish-right-col span {
            display: block;
            font-weight: 500;
            font-style: normal;
            margin-bottom: 0.2rem;
            font-family: var(--font-sans);
        }

        .menu-category {
            margin-bottom: 6rem;
        }

        .menu-category-title {
            font-size: 2rem;
            border-bottom: 1px solid rgba(197, 168, 128, 0.2);
            padding-bottom: 0.5rem;
            margin-bottom: 2rem;
        }

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

        .dish {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .dish-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }

        .dish-name {
            font-size: 1.4rem;
            color: var(--color-text-light);
        }

        .dish-price {
            font-family: var(--font-sans);
            color: var(--color-primary);
            font-weight: 500;
        }

        .dish-desc {
            color: var(--color-text-muted);
            font-size: 0.9rem;
        }

        #page-winebar-menu {
            --color-primary: #AB2A65;
            --color-text-light: #AB2A65;
            --color-text-muted: #AB2A65;
            color: #AB2A65;
            background-color: #AFDAE0;
        }

        /* -- Page 1: Storia (Free Scrolling 2D Canvas Layout) -- */
        #page-storia {
            background-color: #40191A;
        }

        .storia-scroll-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            cursor: grab;
            user-select: none;
            padding: 0;
            margin: 0;
            display: block;
        }

        .storia-scroll-container::-webkit-scrollbar {
            display: none;
        }

        .storia-scroll-container:active {
            cursor: grabbing;
        }

        .storia-canvas {
            position: relative;
            width: 3600px;
            height: 4200px;
            background: radial-gradient(circle at center, rgba(197, 168, 128, 0.05) 0%, transparent 70%);
        }

        .storia-item {
            position: absolute;
            display: flex;
            flex-direction: column;
            gap: 1.0rem;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .storia-item img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 0px;
            pointer-events: none;
            cursor: pointer;
            filter: grayscale(1);
        }

        .storia-item p {
            font-family: var(--font-display);
            font-size: 1.4rem;
            color: var(--color-primary);
            text-align: center;
            margin: 0;
        }

        /* Tightly packed Irregular Layout inside 3600x4200 Canvas */
        .st-img1 {
            left: 50px;
            top: 150px;
            width: 600px;
        }

        .st-img2 {
            left: 800px;
            top: 100px;
            width: 500px;
        }

        .st-img3 {
            left: 1550px;
            top: 200px;
            width: 600px;
        }

        .st-img4 {
            left: 2250px;
            top: 120px;
            width: 500px;
        }

        .st-img5 {
            left: 2950px;
            top: 220px;
            width: 600px;
        }

        .st-img6 {
            left: 100px;
            top: 1150px;
            width: 500px;
        }

        .st-img7 {
            left: 750px;
            top: 1050px;
            width: 550px;
        }

        .st-img8 {
            left: 1450px;
            top: 1200px;
            width: 500px;
        }

        .st-img9 {
            left: 2150px;
            top: 1100px;
            width: 600px;
        }

        .st-img10 {
            left: 2850px;
            top: 1180px;
            width: 550px;
        }

        .st-img11 {
            left: 50px;
            top: 2150px;
            width: 550px;
        }

        .st-img12 {
            left: 750px;
            top: 2050px;
            width: 500px;
        }

        .st-img13 {
            left: 1500px;
            top: 2200px;
            width: 600px;
        }

        .st-img14 {
            left: 2200px;
            top: 2100px;
            width: 500px;
        }

        .st-img15 {
            left: 2900px;
            top: 2180px;
            width: 550px;
        }

        .st-img16 {
            left: 100px;
            top: 3200px;
            width: 500px;
        }

        .st-img17 {
            left: 750px;
            top: 3100px;
            width: 600px;
        }

        .st-img18 {
            left: 1500px;
            top: 3250px;
            width: 500px;
        }

        .st-img19 {
            left: 2150px;
            top: 3150px;
            width: 600px;
        }

        .st-img20 {
            left: 2850px;
            top: 3200px;
            width: 500px;
        }

        /* -- Page Storia Articolo -- */
        #page-storia-articolo {
            background-color: #40191A;
            padding-top: 120px;
            padding-left: 0;
            padding-right: 0;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        body.theme-storia-articolo {
            background-color: #173F35 !important;
        }

        .storia-articolo-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            max-width: 900px;
            margin: 0 auto;
            padding: 2rem;
            flex: 1 0 auto;
            /* Pushes footer to bottom */
        }

        .torna-storia-btn {
            position: fixed;
            top: 150px;
            left: 5%;
            background: none;
            border: none;
            color: #E2DFD6;
            font-size: 2.5rem;
            font-weight: 300;
            padding: 0;
            cursor: pointer;
            z-index: 2000;
            transition: var(--transition-smooth);
            line-height: 1;
        }

        .torna-storia-btn:hover {
            color: var(--color-primary);
            transform: translateX(-5px);
        }

        #storia-articolo-img {
            max-width: 100%;
            height: auto;
            max-height: 70vh;
            border: 1px solid var(--color-primary);
            filter: grayscale(1);
        }

        #storia-articolo-desc {
            font-family: 'Moderat', sans-serif;
            color: #E2DFD6;
            font-size: 1.2rem;
            text-align: center;
            font-weight: 300;
            line-height: 1.6;
            margin-bottom: 3rem;
        }

        /* -- Page 3: The Cellar (Wine/Gallery) -- */
        #page-cellar {
            background-color: var(--color-bg-base);
        }

        .gallery-wrap {
            columns: 3 300px;
            column-gap: 1.5rem;
        }

        .gallery-item {
            margin-bottom: 1.5rem;
            break-inside: avoid;
            overflow: hidden;
            border-radius: 4px;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* -- Page 4: Private Events -- */
        #page-events {
            background-color: var(--color-bg-alt);
            justify-content: center;
        }

        .events-box {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(197, 168, 128, 0.1);
            padding: 4rem;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .events-box p {
            font-size: 1.1rem;
            color: var(--color-text-muted);
            margin-bottom: 2rem;
        }

        /* -- Page 5: Reservations (Contact) -- */
        #page-reservations {
            align-items: center;
        }

        .reservation-container {
            display: flex;
            gap: 4rem;
            width: 100%;
            max-width: 1000px;
            margin-top: 2rem;
        }

        .reservation-info,
        .reservation-form {
            flex: 1;
        }

        .info-block {
            margin-bottom: 2rem;
        }

        .info-block h4 {
            font-size: 1.5rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        .info-block p {
            color: var(--color-text-muted);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-row {
            display: flex;
            gap: 1rem;
        }

        .form-row .form-group {
            flex: 1;
        }

        input,
        select,
        textarea {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding: 1rem 0;
            color: var(--color-text-light);
            font-family: var(--font-sans);
            font-size: 0.9rem;
            outline: none;
            transition: var(--transition-smooth);
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-bottom-color: var(--color-primary);
        }

        textarea {
            resize: vertical;
            min-height: 100px;
        }

        .winebar-badge {
            position: fixed;
            bottom: 6rem;
            left: 3rem;
            width: 200px;
            height: 200px;
            background-color: #AB2A65;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            animation: bounceInBall 5s ease-in-out infinite;
            transition: background-color 0.3s ease;
            transform: translateY(400px);
            /* fallback off-screen bottom */
        }

        .ristorante-badge {
            position: fixed;
            bottom: 6rem;
            left: -250px;
            width: 200px;
            height: 200px;
            background-color: #173F35;
            border-radius: 50%;
            display: none !important;
            align-items: center;
            justify-content: center;
            z-index: 100;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            animation: rollAcrossDesktop 10s linear infinite;
            transition: background-color 0.3s ease;
        }

        body.theme-winebar .ristorante-badge {
            display: flex !important;
        }

        @keyframes rollAcrossDesktop {
            0% {
                transform: translateX(0) rotate(0deg);
            }

            100% {
                transform: translateX(calc(100vw + 500px)) rotate(1080deg);
            }
        }

        @keyframes bounceInBall {

            0%,
            40% {
                transform: translateY(400px);
            }

            45% {
                transform: translateY(-50px) scale(0.9, 1.1);
            }

            50% {
                transform: translateY(0) scale(1.1, 0.9);
            }

            55% {
                transform: translateY(-30px) scale(1);
            }

            60% {
                transform: translateY(0) scale(1.05, 0.95);
            }

            65% {
                transform: translateY(-10px) scale(1);
            }

            68%,
            90% {
                transform: translateY(0) scale(1);
            }

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

        .winebar-badge img,
        .ristorante-badge img {
            width: 75%;
            height: auto;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .winebar-badge:hover {
            animation-play-state: paused;
            background-color: #c02d70;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        }

        .ristorante-badge:hover {
            animation-play-state: paused;
            background-color: #1a4a3e;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        }

        .winebar-badge:hover img,
        .ristorante-badge:hover img {
            transform: scale(1.15) rotate(-5deg);
        }

        .mobile-nav-bar {
            display: none;
            width: 100%;
            justify-content: space-between;
            align-items: center;
            z-index: 1001;
        }

        .mobile-nav-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: #173F35;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
        }

        .mobile-nav-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav-popup-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            text-align: center;
        }

        .mobile-nav-popup-content .menu-btn,
        .mobile-nav-popup-content a {
            font-size: 1.5rem;
            color: #E2DFD6 !important;
        }

        .close-mobile-popup {
            position: absolute;
            top: 2rem;
            right: 2rem;
            font-family: var(--font-sans);
            font-size: 3rem;
            font-weight: 300;
            color: #E2DFD6 !important;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* Responsive Design */
        @media (max-width: 900px) {
            .brand-logo {
                max-width: 85vw;
                display: flex;
                justify-content: center;
                min-width: 0;
                flex-shrink: 1;
            }

            .brand-logo img {
                height: 90px !important;
                width: 100%;
                max-width: 100%;
                object-fit: contain;
                flex-shrink: 1;
            }

            body.theme-storia-articolo .brand-logo img {
                height: 60px !important;
            }

            body.theme-storia-articolo {
                background-color: #173F35 !important;
            }

            #page-storia-articolo {
                padding-top: 220px;
            }

            .torna-storia-btn {
                top: 165px;
            }

            .menu-links,
            body.theme-winebar .nav-winebar,
            body.theme-winebar .menu-links {
                display: none !important;
            }

            .mobile-nav-bar {
                display: flex;
            }

            .philosophy-layout,
            .reservation-container {
                flex-direction: column;
            }

            #page-home h1 {
                font-size: 3.5rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            body.theme-winebar .mobile-nav-popup-overlay {
                background: #AFDAE0 !important;
            }

            body.theme-winebar .mobile-nav-popup-content .menu-btn,
            body.theme-winebar .mobile-nav-popup-content a {
                color: #AB2A65 !important;
            }

            body.theme-winebar .close-mobile-popup {
                color: #AB2A65 !important;
            }

            .global-page-footer {
                padding-top: 1.5rem !important;
                padding-bottom: max(1.5rem, env(safe-area-inset-bottom)) !important;
                font-size: 0.75rem;
                flex-direction: row !important;
                align-items: flex-end;
            }

            .winebar-badge,
            .ristorante-badge {
                width: 90px !important;
                height: 90px !important;
                left: 1rem !important;
            }

            /* Reduce line height for menu texts on mobile */
            #page-menu .dish-right-col,
            #page-menu .dish-left-col,
            #page-winebar-menu div {
                line-height: 1.2 !important;
            }

        }

        /* --- COOKIE BANNER --- */
        .cookie-banner {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            right: 2rem;
            max-width: 600px;
            background-color: rgba(226, 223, 214, 0.98);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(197, 168, 128, 0.3);
            border-radius: 8px;
            z-index: 9999;
            padding: 2rem;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
        }

        .cookie-banner.hidden {
            opacity: 0;
            pointer-events: none;
            transform: translateY(20px);
        }

        .cookie-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }

        .cookie-btn {
            padding: 0.8rem 1.5rem;
            border: 1px solid #173F35;
            border-radius: 4px;
            font-family: 'Moderat', sans-serif;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 120px;
        }

        .cookie-btn.primary {
            background-color: #173F35;
            color: #E2DFD6;
            border-color: #173F35;
        }

        .cookie-btn.primary:hover {
            background-color: #215c4d;
        }

        .cookie-btn.outline {
            background-color: transparent;
            color: #173F35;
            border-color: #173F35;
        }

        .cookie-btn.outline:hover {
            background-color: rgba(23, 63, 53, 0.1);
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-switch .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(23, 63, 53, 0.2);
            transition: .4s;
            border-radius: 24px;
        }

        .toggle-switch .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: #173F35;
            transition: .4s;
            border-radius: 50%;
        }

        .toggle-switch input:checked+.slider {
            background-color: #c02d70;
        }

        .toggle-switch input:checked+.slider:before {
            transform: translateX(20px);
        }

        @media (max-width: 768px) {
            .cookie-banner {
                bottom: 0;
                left: 0;
                right: 0;
                max-width: 100%;
                border-radius: 12px 12px 0 0;
                border: none;
                border-top: 1px solid rgba(197, 168, 128, 0.3);
                padding: 1.5rem;
            }

            .cookie-buttons {
                flex-direction: column;
            }
        }

        /* --- POLICY CONTENT ALIGNMENT --- */
        .policy-content {
            max-width: 900px;
            margin: 0 auto;
        }

        /* --- COOKIE BANNER MINIMIZED STATE --- */
        .cookie-banner.minimized {
            padding: 1rem 2rem;
            max-width: max-content;
            cursor: pointer;
            border-radius: 30px;
            left: 50%;
            transform: translateX(-50%);
            bottom: 2rem;
        }

        @media (max-width: 768px) {
            .cookie-banner.minimized {
                bottom: 2rem;
                border-radius: 30px;
                border: 1px solid rgba(197, 168, 128, 0.3);
            }
        }

        .cookie-banner.minimized .cookie-text,
        .cookie-banner.minimized .cookie-preferences,
        .cookie-banner.minimized .cookie-buttons,
        .cookie-banner.minimized .cookie-links {
            display: none !important;
        }

        .cookie-banner.minimized .cookie-title {
            margin-bottom: 0 !important;
            font-size: 1.1rem !important;
            display: flex;
            align-items: center;
        }

        .cookie-banner.minimized .cookie-title::after {
            content: " \25B2";
            /* Freccia su */
            font-size: 0.8rem;
            margin-left: 10px;
            color: #173F35;
        }