/* BEERMANIA — Edita aquí colores, tamaños y distribución. */
            :root {
            --rojo: #ff3544;
            --fondo: #090909;
            --texto: #fff;
        }
        * {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 24px;
        }
        body {
            margin: 0;
            background: var(--fondo);
            color: var(--texto);
            font: 16px/1.6 Arial, Helvetica, sans-serif;
            position: relative;
            isolation: isolate;
        }
        body::before {
            content: "";
            position: fixed;
            inset: -20px;
            z-index: -1;
            pointer-events: none;
            background: url("assets/menu.jpg") left top / 50% auto repeat-y, url("assets/cocteleria.jpg") right top / 50% auto repeat-y;
            filter: blur(7px);
            opacity: .25;
        }
        a {
            color: inherit;
        }
        a:focus-visible {
            outline: 3px solid white;
            outline-offset: 4px;
        }
        img {
            max-width: 100%;
        }
        h2 {
            color: var(--rojo);
            text-align: center;
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            line-height: 1.2;
            margin: 0 0 28px;
        }
        h3 {
            line-height: 1.3;
        }
        /* PORTADA */
            .hero-portada {
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }
        .hero-portada .portada-foto {
            display: block;
            width: 100%;
            height: auto;
        }
        /* SECCIONES Y FOTOS */
            .wrap {
            max-width: 1160px;
            margin: auto;
            padding: 48px 24px;
        }
        .category {
            padding-top: 48px;
        }
        .grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
            width: 70.71%;
            margin: auto;
        }
        .photo {
            position: relative;
            display: block;
            min-width: 0;
            aspect-ratio: 3/2;
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
        }
        .photo > img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .photo::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(transparent 35%, #000b);
            pointer-events: none;
        }
        .photo-caption {
            position: absolute;
            z-index: 1;
            left: 16px;
            right: 16px;
            bottom: 14px;
        }
        .photo h3 {
            margin: 0;
            font-size: clamp(1rem, 2vw, 1.6rem);
            text-shadow: 0 1px 4px black;
        }
        .photo p {
            margin: 5px 0 0;
            font-size: 14px;
            line-height: 1.25;
            text-shadow: 0 1px 4px black;
        }
        /* PRODUCTOS: imagen y texto en columnas independientes. */
            .products {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            align-items: start;
        }
        /* Cada foto ocupa un tercio del recuadro;
        el texto ocupa los otros dos. */
            .product {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
            gap: 0;
            padding: 0;
            overflow: hidden;
            border: 1px solid #444;
            border-top: 3px solid #cf2030;
            border-radius: 12px;
            background: rgba(18,18,18,.95);
            min-width: 0;
        }
        .product-thumb {
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: calc(100% / 3);
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 0;
        }
        /* Destilados: foto completa en el tercio izquierdo, sin cortar la botella. */
            .product-thumb.spirit-photo {
            object-fit: contain;
            background: #170d08;
        }
        .product-info {
            grid-column: 2;
            min-width: 0;
            min-height: 140px;
            padding: 18px;
            overflow-wrap: anywhere;
        }
        .product h3 {
            margin: 0 0 10px;
            font-size: 18px;
        }
        .product p {
            margin: 0 0 12px;
            color: #ddd;
        }
        .product .cocktail-ingredients {
            font-size: 13px;
            line-height: 1.4;
            color: #ccc;
            margin: -3px 0 10px;
        }
        .price {
            display: block;
            font-size: 20px;
            font-weight: bold;
        }
        .sub {
            grid-column: 1/-1;
            text-align: center;
            color: var(--rojo);
            margin: 24px 0 0;
        }
        footer {
            text-align: center;
            padding: 32px 20px;
            border-top: 1px solid #444;
        }
        .note {
            font-size: 14px;
            color: #ccc;
        }
        .top {
            position: fixed;
            bottom: 16px;
            right: 16px;
            padding: 8px 16px;
            border-radius: 50%;
            background: #c91425;
            text-decoration: none;
            z-index: 5;
        }
        /* CELULARES */
            @media (max-width: 650px) {
            /* La portada panorámica se ajusta al ancho sin cortar el logo ni los bordes. */
                .hero-portada {
                height: auto;
                min-height: 0;
            }
            .hero-portada .portada-foto {
                width: 100%;
                height: auto;
                object-fit: contain;
            }
            .wrap {
                padding: 32px 14px;
            }
            .grid {
                width: 100%;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }
            .photo-caption {
                left: 10px;
                right: 10px;
                bottom: 10px;
            }
            .photo h3 {
                font-size: 14px;
            }
            .photo p {
                font-size: 12px;
            }
            .products {
                grid-template-columns: 1fr;
            }
            .product-info {
                min-height: 125px;
                padding: 14px;
            }
            .product .cocktail-ingredients {
                font-size: 12px;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
        }
        
        /* SHOP MEDIO LITRO: logo arriba a la derecha, sobre la parte negra.
           Todos los logos usan la misma caja de 80 x 64 px. */
        .shop-photo {
            position: absolute;
            inset: 0 auto 0 0;
            width: calc(100% / 3);
            overflow: hidden;
            background: #1b1009;
        }
        .shop-photo .shop-glass {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .shop-product .product-info {
            position: relative;
            min-height: 190px;
            padding-top: 92px;
        }
        .shop-product .shop-logo {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 80px;
            height: 64px;
            object-fit: contain;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
        }
        .shop-product .shop-brand-name {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 14px;
            font-weight: bold;
        }
        /* Foto completa para mostrar botella y vaso juntos. */
        .product-thumb.beer-bottle-photo {
            object-fit: contain;
            background: #1b1009;
        }
        /* MICHELADAS: fotos completas, mismo espacio en los tres recuadros. */
        .michelada-product .product-info {
            min-height: 190px;
        }
        .michelada-product .michelada-photo {
            object-fit: contain;
            object-position: center;
            background: #1b1009;
        }
        /* Fondos del menú completo: lista fácil de editar. */
        .menu-fondos {
            margin: -4px 0 16px;
            padding-left: 20px;
            color: #ddd;
        }
        .menu-fondos li {
            margin-bottom: 6px;
        }
        /* COCTELERÍA: foto completa en el tercio izquierdo, sin cortar vasos. */
        .product-thumb.cocktail-photo {
            object-fit: contain;
            object-position: center;
            background: #1b1009;
        }
        /* LÍQUIDOS: imágenes completas en el tercio izquierdo del recuadro. */
        .product-thumb.softdrink-photo {
            object-fit: contain;
            object-position: center;
            background: #1b1009;
        }
    
        /* Menú completo: texto arriba y fotografía completa debajo */
        .product.menu-completo {
            display: flex;
            flex-direction: column;
        }
        .menu-completo .product-info {
            width: 100%;
            box-sizing: border-box;
        }
        .menu-completo .product-thumb {
            position: static;
            display: block;
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
            flex: none;
        }
        /* Fotos de comida: plato completo en el tercio izquierdo. */
        .product-thumb.food-photo {
            object-fit: contain;
            object-position: center;
            background: #160f0b;
        }
