:root {
    --bordo: #5c1826;
    --bordo-oscuro: #43101b;
    --bordo-claro: #7a2635;
    --crema: #f7f2ae;
    --crema-clara: #fcfae0;
    --blanco: #fffdf7;
    --rosa: #f6cfc4;
    --texto: #3a1017;

    --fuente-display: 'Fraunces', serif;
    --fuente-cuerpo: 'Lora', serif;

    --radio: 14px;
    --sombra: 0 10px 30px rgba(67, 16, 27, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--fuente-cuerpo);
    color: var(--texto);
    background: var(--crema-clara);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ---------- Botones ---------- */
.btn {
    display: inline-block;
    font-family: var(--fuente-display);
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
    font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); }

/* Botón "Pedí ahora" del header: sólido, fondo crema del header */
.btn--outline {
    background: var(--bordo);
    color: var(--crema-clara);
    border-color: var(--bordo);
}
.btn--outline:hover { background: var(--bordo-claro); }

.btn--solido {
    background: var(--bordo);
    color: var(--crema-clara);
    width: 100%;
    border-radius: 10px;
}
.btn--solido:hover { background: var(--bordo-claro); }
.btn--solido:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--crema-clara);
    color: var(--bordo);
    border-bottom: 1px solid rgba(92, 24, 38, 0.08);
}

.header__inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo__img {
    height: 34px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav a:not(.btn) {
    font-family: var(--fuente-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bordo);
    opacity: 0.9;
    position: relative;
}
.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--bordo);
    transition: width 0.2s ease;
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { width: 100%; }

.icon-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--bordo);
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Ícono de hamburguesa: oculto en desktop/tablet, visible solo en celular */
.menu-toggle { display: none; }

/* ---------- Menú lateral (celular) ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bordo);
    color: var(--crema-clara);
    z-index: 55;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    box-shadow: 8px 0 24px rgba(0,0,0,0.2);
}
.mobile-menu.abierto { left: 0; }

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(252, 250, 224, 0.15);
}

.mobile-menu__logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-menu__header button {
    background: none;
    border: none;
    color: var(--crema-clara);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-menu__link {
    padding: 0.9rem 1.4rem;
    font-family: var(--fuente-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--crema-clara);
    border-bottom: 1px solid rgba(252, 250, 224, 0.08);
}
.mobile-menu__link:active { background: rgba(252, 250, 224, 0.08); }

.cart-count {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--bordo);
    color: var(--crema-clara);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
}

/* ---------- Hero / Banner ---------- */
.hero {
    position: relative;
    background: var(--crema-clara);
    padding: 1.5rem 1rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* La foto del banner (img/banner.jpg) es vertical (dos latas apiladas),
   no horizontal. Por eso el marco tiene el mismo "aspect-ratio" que la
   foto real: así la llena por completo, sin recortarla y sin dejar
   bordes/franjas de otro color alrededor, en cualquier pantalla. */
.hero__frame {
    position: relative;
    width: min(380px, 88%);
    aspect-ratio: 842 / 1264;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--sombra);
    background: var(--rosa);
}

.hero__img {
    position: absolute;
    inset: 0;
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
}

.hero__frame::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(67,16,27,0) 0%, rgba(67,16,27,0.28) 100%);
    pointer-events: none;
}

.hero__pill {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    font-size: clamp(0.95rem, 2.4vw, 1.2rem);
    background: rgba(255, 253, 247, 0.95);
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    box-shadow: var(--sombra);
    text-align: center;
    max-width: 90%;
    z-index: 2;
}

.hero__scroll {
    margin-top: 1.2rem;
    color: var(--bordo);
    opacity: 0.7;
    animation: rebote 1.8s ease-in-out infinite;
}
.hero__scroll:hover { opacity: 1; }

@keyframes rebote {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------- Cinta de sabores animada ---------- */
.marquee {
    background: var(--crema);
    overflow: hidden;
    border-top: 1px solid rgba(67,16,27,0.08);
    border-bottom: 1px solid rgba(67,16,27,0.08);
    padding: 0.7rem 0;
}

.marquee__track {
    display: flex;
    width: max-content;
    gap: 0.7rem;
    animation: desplazar 34s linear infinite;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    font-size: 0.95rem;
    white-space: nowrap;
}

.marquee__dot { color: var(--bordo-claro); opacity: 0.6; }

@keyframes desplazar {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

/* ---------- Postres clásicos, sin nada de clásicos ---------- */
.postres-clasicos {
    background: var(--bordo);
    color: var(--crema-clara);
    display: grid;
    grid-template-columns: 1fr;
}

.postres-clasicos__imagen {
    aspect-ratio: 4 / 3;
    background: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.9rem;
    padding: 2rem 1.5rem;
}

.postres-clasicos__lata {
    flex: 1 1 0;
    max-width: 150px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.postres-clasicos__lata--centro {
    max-width: 170px;
    margin-bottom: 1.2rem;
    z-index: 2;
}

.postres-clasicos__contenido {
    padding: 2.6rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.postres-clasicos__contenido h2 {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 900;
    color: var(--crema);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    line-height: 1.2;
}

/* "sin nada de clásicos" pegado al margen derecho, para que contraste
   con "Postres clásicos," que queda alineado a la izquierda */
.postres-clasicos__resaltado {
    display: block;
    text-align: right;
}

.postres-clasicos__contenido p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(252, 250, 224, 0.9);
    max-width: 46ch;
}

/* ---------- Envíos / zonas de cobertura ---------- */
.envios {
    max-width: 1050px;
    margin: 0 auto;
    padding: 2.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    text-align: center;
    flex-direction: column;
}

.envios__contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.envios__eyebrow {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo-claro);
    font-size: 0.95rem;
}

.envios__contenido h2 {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 900;
    color: var(--bordo);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.envios__texto {
    margin: 0 0 0.4rem;
    color: var(--texto);
    font-size: 0.95rem;
}

.envios__btn {
    width: auto;
    padding: 0.7rem 1.8rem;
}

.envios__icono {
    color: var(--bordo);
    opacity: 0.85;
}

/* ---------- Modal del mapa de cobertura ---------- */
.mapa-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(680px, 92vw);
    max-height: 86vh;
    background: var(--blanco);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(67, 16, 27, 0.35);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mapa-modal.abierto {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.mapa-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.3rem;
    background: var(--bordo);
    color: var(--crema-clara);
    flex-shrink: 0;
}
.mapa-modal__header p {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 700;
    font-size: 1rem;
}
.mapa-modal__cerrar {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.mapa-modal__body {
    padding: 1.2rem 1.3rem 1.5rem;
    overflow-y: auto;
}

.mapa-modal__subtitulo {
    margin: 0 0 0.6rem;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    font-size: 0.95rem;
}

.mapa-modal__zonas {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--texto);
}

.mapa-modal__nota {
    margin: 0;
    font-size: 0.8rem;
    font-style: italic;
    color: #8a6a70;
}

.mapa-modal__imagen {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(92, 24, 38, 0.12);
}

.mapa-modal__zonas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.mapa-modal__zona-chip {
    background: var(--crema);
    color: var(--bordo);
    font-family: var(--fuente-display);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 24, 38, 0.15);
}

/* ---------- Valores de marca ---------- */
.valores {
    max-width: 1050px;
    margin: 0 auto;
    padding: 3.2rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.valor {
    text-align: center;
    padding: 1.6rem 1.2rem;
}

.valor__icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--crema);
    color: var(--bordo);
    margin-bottom: 1rem;
}

.valor__titulo {
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.valor__texto {
    margin: 0;
    font-size: 0.9rem;
    color: #6b4a50;
    line-height: 1.5;
}

/* ---------- Productos / Sabores ---------- */
.productos {
    padding: 1rem 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.productos__header {
    text-align: center;
    margin-bottom: 2rem;
}

.productos__eyebrow {
    margin: 0 0 0.3rem;
    font-family: var(--fuente-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bordo-claro);
}

.productos__header h2 {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 900;
    color: var(--bordo);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.productos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.4rem 1rem;
}

.productos__estado {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--fuente-display);
    color: var(--bordo-claro);
}

/* Tarjeta de sabor: estilo del PDF — imagen simple + nombre en píldora debajo.
   La ficha completa (precio + agregar al carrito) se ve al hacer click, en el modal. */
.producto-card {
    background: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    /* Evita que un nombre largo (ej. "Bruné Cookies & Cream") fuerce a que
       toda su columna de la grilla se agrande, dejando las tarjetas
       de tamaños distintos entre columnas. */
    min-width: 0;
}
.producto-card:hover { transform: translateY(-5px); }

.producto-card__imagen {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra);
    background: var(--rosa);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fuente-display);
    color: var(--bordo);
    text-align: center;
    padding: 0.5rem;
}

.producto-card--agotado .producto-card__imagen {
    opacity: 0.55;
    filter: grayscale(35%);
}

.producto-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--bordo);
    color: var(--crema-clara);
    font-family: var(--fuente-display);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    z-index: 2;
}

.producto-card__nombre {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    background: var(--blanco);
    border: 1.5px solid var(--bordo);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.25;
}

/* ---------- CTA final ---------- */
.cta-final {
    position: relative;
    background: var(--bordo);
    color: var(--crema);
    text-align: center;
    padding: 3.2rem 1.5rem;
    margin-top: 1.5rem;
}
.cta-final p {
    margin: 0;
    font-family: var(--fuente-display);
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bordo-oscuro);
    color: var(--crema-clara);
    padding: 3rem 1.5rem 1.5rem;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer__eyebrow {
    margin: 0 0 0.5rem;
    font-family: var(--fuente-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(252, 250, 224, 0.85);
}

.footer__logo {
    font-family: var(--fuente-display);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--crema);
    margin: 0 0 0.8rem;
}

.footer__texto {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(252, 250, 224, 0.8);
    margin: 0 0 0.8rem;
    max-width: 40ch;
}
.footer__texto:last-child { margin-bottom: 0; }

.footer__titulo {
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--crema);
    margin: 0 0 0.9rem;
    font-size: 1rem;
}

.footer__lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__lista a {
    font-size: 0.9rem;
    color: rgba(252, 250, 224, 0.8);
    transition: color 0.2s ease;
}
.footer__lista a:hover { color: var(--crema); }

.footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(252, 250, 224, 0.1);
    border: 1px solid rgba(252, 250, 224, 0.25);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    color: var(--crema-clara) !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.footer__whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.6);
}
.footer__whatsapp svg { color: #25D366; flex-shrink: 0; }

.footer__bottom {
    max-width: 1100px;
    margin: 2.4rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(252, 250, 224, 0.15);
    text-align: center;
}
.footer__bottom p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(252, 250, 224, 0.6);
}

/* ---------- Panel de carrito ---------- */
.carrito-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 340px;
    max-width: 90vw;
    height: 100%;
    background: var(--blanco);
    box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}
.carrito-panel.abierto { right: 0; }

.carrito-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    background: var(--bordo);
    color: var(--crema-clara);
}
.carrito-panel__header h2 {
    font-family: var(--fuente-display);
    margin: 0;
    font-size: 1.2rem;
}
.carrito-panel__header button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.carrito-panel__items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.4rem;
}

.carrito-panel__vacio {
    color: #8a6a70;
    font-style: italic;
}

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0e4d8;
}

.carrito-item__nombre {
    font-weight: 600;
    font-size: 0.9rem;
}
.carrito-item__meta {
    font-size: 0.8rem;
    color: #8a6a70;
}

.carrito-item__quitar {
    background: none;
    border: none;
    color: var(--bordo-claro);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

/* ---------- Entrega: domicilio / pickup ---------- */
.carrito-panel__entrega {
    padding: 1rem 1.4rem 0;
    border-top: 1px solid #f0e4d8;
}

.entrega__datos {
    margin-bottom: 0.9rem;
}
.entrega__datos .entrega__input {
    margin-bottom: 0.5rem;
}
.entrega__datos .entrega__input:last-child {
    margin-bottom: 0;
}

.entrega__tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.entrega__tab {
    flex: 1;
    background: var(--crema);
    color: var(--bordo);
    border: none;
    border-radius: 999px;
    padding: 0.55rem 0.5rem;
    font-family: var(--fuente-display);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.entrega__tab.activo {
    background: var(--bordo);
    color: var(--crema-clara);
}

.entrega__label {
    display: block;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

.entrega__select,
.entrega__input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid #e6d7c8;
    border-radius: 8px;
    font-family: var(--fuente-cuerpo);
    font-size: 0.9rem;
    color: var(--texto);
    background: var(--blanco);
    margin-bottom: 0.6rem;
}
.entrega__select:focus,
.entrega__input:focus {
    outline: none;
    border-color: var(--bordo-claro);
}

.entrega__banner {
    background: #fdeecb;
    color: #7a5a1a;
    border: 1px solid #f0d999;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 0.8rem;
}

.entrega__pickup-info {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6b4a50;
    background: var(--crema);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    margin: 0 0 0.9rem;
}

.entrega__promo {
    background: #e9f5e6;
    color: #2f6b28;
    border: 1px solid #bfe3b6;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.9rem;
}

.entrega__horario {
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 0.9rem;
}
.entrega__horario--abierto {
    background: #e9f5e6;
    color: #2f6b28;
    border: 1px solid #bfe3b6;
}
.entrega__horario--cerrado {
    background: #fdeecb;
    color: #7a5a1a;
    border: 1px solid #f0d999;
}
.entrega__horario a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.carrito-panel__footer {
    padding: 1.2rem 1.4rem;
    border-top: 1px solid #f0e4d8;
}

.carrito-panel__linea {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #6b4a50;
    margin-bottom: 0.4rem;
}

.carrito-panel__total {
    display: flex;
    justify-content: space-between;
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    margin: 0.4rem 0 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e6d7c8;
    font-size: 1.1rem;
}

/* ---------- Modal de producto ---------- */
.producto-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(680px, 92vw);
    max-height: 86vh;
    background: var(--blanco);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(67, 16, 27, 0.35);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}
.producto-modal.abierto {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.producto-modal__cerrar {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 253, 247, 0.9);
    color: var(--bordo);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-modal__imagen {
    background-size: cover;
    background-position: center;
    background-color: var(--rosa);
    min-height: 220px;
}

.producto-modal__info {
    padding: 1.6rem 1.4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.producto-modal__nombre {
    font-family: var(--fuente-display);
    font-weight: 800;
    color: var(--bordo);
    font-size: 1.4rem;
    margin: 0;
}

.producto-modal__precio {
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo-claro);
    margin: 0;
    font-size: 1.05rem;
}

.producto-modal__descripcion {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--texto);
    margin: 0.5rem 0 0.2rem;
}

.producto-modal__subtitulo {
    font-family: var(--fuente-display);
    font-weight: 700;
    color: var(--bordo);
    margin: 0.6rem 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.producto-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.producto-modal__tag {
    background: var(--crema);
    color: var(--bordo);
    font-size: 0.78rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
}

.producto-modal__nota {
    font-size: 0.82rem;
    font-style: italic;
    color: #8a6a70;
    margin: 0.7rem 0 0.3rem;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(67,16,27,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
}
.overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */

/* A partir de tablet (600px+): la sección "postres clásicos" y el modal
   pasan a mostrar imagen y texto lado a lado */
@media (min-width: 600px) {
    .postres-clasicos {
        grid-template-columns: 1fr 1fr;
    }
    .postres-clasicos__imagen { aspect-ratio: auto; height: 100%; padding: 2rem; }
    .postres-clasicos__lata { max-width: 190px; }
    .postres-clasicos__lata--centro { max-width: 215px; }
    .postres-clasicos__contenido { padding: 3rem 3rem; }

    .producto-modal {
        grid-template-columns: 1fr 1.15fr;
        max-height: 86vh;
    }
    .producto-modal__imagen { min-height: 260px; }
}

/* Tablets */
@media (max-width: 900px) {
    .valores { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__col--about { grid-column: 1 / -1; }
}

/* Celulares */
@media (max-width: 640px) {
    .header__inner {
        padding: 0.8rem 1rem;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
    .logo { justify-self: center; }
    .logo__img { height: 26px; }

    .menu-toggle { display: flex; }

    .nav { gap: 0.6rem; justify-self: end; }
    .nav__link { display: none; }
    .btn--outline { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

    .hero { padding: 1.1rem 0.9rem 1.6rem; }
    .hero__frame { width: min(300px, 78vw); border-radius: 18px; }
    .hero__pill { font-size: 0.9rem; padding: 0.6rem 1.1rem; bottom: 6%; }

    .postres-clasicos__contenido { padding: 2rem 1.3rem 2.6rem; gap: 0.8rem; }

    .envios { padding: 2rem 1.2rem; gap: 1.2rem; }

    .productos { padding: 0.5rem 1rem 3rem; }
    .productos__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.8rem; }

    .cta-final { padding: 2.4rem 1.2rem; }

    .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer__col--about { grid-column: auto; }

    .carrito-panel { width: 100%; }
}

/* Celulares chicos */
@media (max-width: 380px) {
    .productos__grid { grid-template-columns: 1fr 1fr; }
    .logo__img { height: 22px; }
    .producto-card__nombre { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
}

/* ---------- Botón flotante de WhatsApp (visible en toda la página) ---------- */
.wpp-flotante {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bordo);
    color: var(--crema-clara) !important;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(67, 16, 27, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.wpp-flotante:hover {
    background: var(--bordo-oscuro);
    transform: translateY(-2px);
}

.wpp-flotante svg {
    color: #25D366;
    flex-shrink: 0;
}

.wpp-flotante__texto {
    font-family: var(--fuente-cuerpo);
    font-size: 0.85rem;
    line-height: 1.15;
    white-space: nowrap;
}

.wpp-flotante__texto strong {
    font-family: var(--fuente-display);
    font-weight: 700;
}

@media (max-width: 480px) {
    .wpp-flotante__texto { display: none; }
    .wpp-flotante { padding: 0.85rem; }
}

/* Cuando el carrito, un modal o el menú lateral están abiertos (el overlay
   de fondo queda visible), se oculta el botón flotante para que no tape
   el botón de "Finalizar pedido" ni nada de esos paneles. */
.overlay.visible ~ .wpp-flotante {
    display: none;
}
