﻿/* =========================================================
   LA WAFFLERIA — Estilos del menú
   ========================================================= */

.page-hero {
    background: linear-gradient(135deg, #9f6335 0%, var(--color-product) 100%);
    padding: 4.5rem 1.25rem;
    text-align: center;
    color: var(--color-white);
}

.page-hero-content {
    max-width: 620px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.03rem;
    opacity: 0.9;
    max-width: 620px;
    margin: 0 auto;
}

.page-hero .highlight {
    color: #FFC93A;
}

.menu-section {
    padding: 4.2rem 1.25rem;
    background: var(--color-bg);
}

.menu-section-alt {
    background: var(--color-white);
}

.menu-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-emoji {
    min-width: 84px;
    display: grid;
    place-items: center;
    font-size: 2.1rem;
    background: linear-gradient(150deg, #f3fbfe, #ffffff);
    border-right: 1px solid var(--color-border);
}

.product-emoji img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.product-body {
    padding: 1rem;
    flex: 1;
}

.product-card-waffle {
    display: block;
}

.product-media {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    background: linear-gradient(140deg, #ffffff, #f6fbfe);
    border-bottom: 1px solid var(--color-border);
}

.product-media-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: var(--color-accent);
    border: 1px solid #e7be54;
    color: var(--color-text);
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(111, 60, 153, 0.14);
}

.product-media-img {
    width: min(100%, 210px);
    max-height: 156px;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(111, 60, 153, 0.16));
}

.product-card-waffle .product-body {
    display: grid;
    grid-template-rows: auto minmax(4.8rem, auto) auto 1fr;
    align-content: start;
    gap: 0.85rem;
    padding: 1.15rem;
}

.product-card-waffle .product-header {
    margin-bottom: 0;
}

.product-card-waffle .product-desc {
    margin-bottom: 0;
}

.product-card-waffle .product-tag {
    width: fit-content;
    min-height: 32px;
    align-self: start;
}

.product-card-waffle .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.45rem;
}

.product-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-secondary);
}

.product-price {
    font-family: var(--font-heading);
    color: var(--color-product);
    font-size: 1.05rem;
}

.product-desc {
    color: var(--color-muted);
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

.product-tag {
    display: inline-flex;
    background: var(--color-accent);
    border: 1px solid #e7be54;
    color: var(--color-text);
    font-size: 0.74rem;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    font-weight: 700;
}

.extras-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.extras-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.6rem 1.2rem;
    box-shadow: var(--shadow-soft);
}

.extras-box .section-title {
    font-size: 1.45rem;
}

.extras-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.45rem;
}

.extras-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding: 0.45rem 0;
}

.extra-price,
.product-price {
    color: var(--color-product);
}

.extras-box-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.addon-card {
    text-align: center;
}

.addon-emoji {
    font-size: 3rem;
    margin-bottom: 0.4rem;
}

.addon-card h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.payment-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.35rem;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), border-color var(--transition);
}

.payment-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.payment-logo {
    width: 110px;
    height: 80px;
    object-fit: contain;
}

.payment-icon {
    font-size: 1.85rem;
    color: var(--color-primary-strong);
    margin-bottom: 0.4rem;
}

.payment-card h3 {
    color: var(--color-secondary);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .extras-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 1rem;
    }

    .page-hero h1 {
        margin-bottom: 0.6rem;
    }

    .page-hero p {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .product-media {
        min-height: 190px;
        padding: 1.1rem;
    }

    .product-media-img {
        width: min(100%, 180px);
        max-height: 138px;
    }
}

@media (max-width: 375px) {
    .page-hero {
        padding: 3.8rem 0.95rem;
    }

    .menu-section {
        padding: 3.4rem 0.95rem;
    }

    .product-emoji {
        min-width: 74px;
    }

    .product-emoji img {
        width: 36px;
        height: 36px;
    }

    .payment-card {
        min-width: 108px;
        padding: 1rem;
    }
}
