/* =============================================================
   GASTRONOMIA TEMPLATE — Sellaris Visual Templates
   Paleta: Rojo fuego, Amber, Negro carbón, Crema cálida
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --gast-red:      #c0392b;
    --gast-red-dark: #922b21;
    --gast-amber:    #e74c3c;
    --gast-amber-lt: #fee2e2;
    --gast-carbon:   #1a1a1a;
    --gast-dark:     #111111;
    --gast-dark2:    #1e1e1e;
    --gast-dark3:    #2a2a2a;
    --gast-cream:    #fdf6ec;
    --gast-cream2:   #fef9f1;
    --gast-text:     #1a1a1a;
    --gast-muted:    #6b7280;
    --gast-border:   rgba(255,255,255,0.08);
    --gast-radius:   1rem;
    --gast-radius-lg:1.5rem;
}

/* ---- Base Layout ---- */
.gastronomia-page {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--gast-cream);
    min-height: 100vh;
}

/* ============================================================
   HERO GASTRONÓMICO
   ============================================================ */
.gast-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--gast-dark);
}

.gast-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gast-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(192,57,43,0.3) 100%
    );
}

.gast-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

/* Estilos visuales del badge de cocina */
.gast-badge-gourmet {
    background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.4);
    color: var(--gast-amber);
}

.gast-badge-neon.gast-badge-open {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}
.gast-badge-neon.gast-badge-open .dot {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.gast-badge-minimal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e4e4e7;
}
.gast-badge-open {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.4);
    border-radius: 100px;
    color: var(--gast-amber);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(8px);
    animation: pulse-amber 3s ease-in-out infinite;
}
.gast-badge-open .dot {
    width: 6px;
    height: 6px;
    background: var(--gast-amber);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.gast-badge-closed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 100px;
    color: #ef4444;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(8px);
}
.gast-badge-closed .dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
}

@keyframes pulse-amber {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243,156,18,0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(243,156,18,0); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Título tipo menú premium */
.gast-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 0.95;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.gast-hero-title .accent {
    color: var(--gast-amber);
    display: block;
}

.gast-hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 500px;
}

/* CTA Buttons */
.gast-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: var(--gast-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--gast-radius);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(192,57,43,0.35);
}
.gast-btn-primary:hover {
    background: var(--gast-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192,57,43,0.45);
    color: #fff;
}

.gast-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--gast-radius);
    border: 2px solid rgba(255,255,255,0.3);
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}
.gast-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

/* Stat chips en el hero */
.gast-hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.gast-stat {
    text-align: center;
}
.gast-stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gast-amber);
    line-height: 1;
}
.gast-stat-lbl {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* ============================================================
   NAVEGACIÓN TIPO MENÚ (CATEGORÍAS) — PREMIUM RESTAURANT
   ============================================================ */
.gast-menu-nav {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 56px;
    z-index: 45;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
@media (min-width: 1024px) {
    .gast-menu-nav {
        top: 64px;
    }
}
@media (max-width: 1023px) {
    .gast-menu-nav {
        top: 104px;
    }
}

.gast-menu-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}
.gast-menu-nav-inner::-webkit-scrollbar { display: none; }

/* Separador visual entre "Todo" y las categorías */
.gast-menu-tab-sep {
    width: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0.6rem 0.25rem;
    flex-shrink: 0;
}

/* Cada tab — layout horizontal con tipografía Oswald */
.gast-menu-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    color: rgba(255,255,255,0.75);
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 9999px;
    margin: 0.35rem 0.25rem;
    transition: all 0.2s ease;
}

.gast-menu-tab:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.gast-menu-tab.active {
    color: #ffffff;
    background: var(--gast-red);
    box-shadow: 0 4px 14px rgba(192,57,43,0.45);
}

.gast-menu-tab .tab-emoji {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease;
    display: inline-block;
}
.gast-menu-tab:hover .tab-emoji {
    transform: scale(1.1);
}
.gast-menu-tab.active .tab-emoji {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

/* ============================================================
   SECCIÓN PLATO ESTRELLA (SHOWCASE)
   ============================================================ */
.gast-showcase {
    background: var(--gast-carbon);
    overflow: hidden;
    position: relative;
}
.gast-showcase::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(192,57,43,0.08) 100%);
    pointer-events: none;
}

.gast-showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: var(--gast-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
}

.gast-showcase-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
}
.gast-showcase-title .red { color: var(--gast-red); }

.gast-showcase-img {
    border-radius: var(--gast-radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}
.gast-showcase-img:hover { transform: scale(1.02); }

/* ============================================================
   CARDS DE PLATOS
   ============================================================ */
.gast-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
@media (max-width: 640px) {
    .gast-product-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.gast-card {
    background: #fff;
    border-radius: var(--gast-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.06);
}
.gast-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    transform: translateY(-4px);
    border-color: rgba(192,57,43,0.15);
    color: inherit;
    text-decoration: none;
}

.gast-card-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}
.gast-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gast-card:hover .gast-card-img { transform: scale(1.07); }

.gast-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #fdf6ec, #fef3c7);
}

/* Badges en la imagen */
.gast-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.gast-badge {
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}
.gast-badge-hot   { background: rgba(192,57,43,0.9); color: #fff; }
.gast-badge-veg   { background: rgba(34,197,94,0.9); color: #fff; }
.gast-badge-spicy { background: rgba(239,68,68,0.9); color: #fff; }
.gast-badge-new   { background: rgba(59,130,246,0.9); color: #fff; }
.gast-badge-promo { background: rgba(243,156,18,0.95); color: #1a1a1a; }

/* Precio en esquina de imagen */
.gast-card-price-corner {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: var(--gast-carbon);
    color: var(--gast-amber);
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--gast-radius);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gast-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gast-card-category {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gast-red);
    margin-bottom: 0.35rem;
}

.gast-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gast-carbon);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.gast-card-desc {
    font-size: 0.8rem;
    color: var(--gast-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gast-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.gast-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gast-carbon);
    line-height: 1;
}
.gast-card-price-old {
    font-size: 0.8rem;
    color: var(--gast-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.gast-btn-add {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    background: var(--gast-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--gast-radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.gast-btn-add:hover {
    background: var(--gast-red-dark);
    transform: scale(1.04);
    color: #fff;
    text-decoration: none;
}
.gast-btn-add svg { width: 14px; height: 14px; }

/* ============================================================
   SECCIÓN: TÍTULO DE CATEGORÍA
   ============================================================ */
.gast-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.gast-section-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gast-red);
    margin-bottom: 0.25rem;
}

.gast-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gast-carbon);
    text-transform: uppercase;
    line-height: 1;
}

.gast-section-title-dark {
    color: #fff;
}

/* ============================================================
   CURVED SHAPE DIVIDER EFFECT
   ============================================================ */
.gast-shape-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #111; /* Matches the benefits strip background */
    position: relative;
    z-index: 10;
    margin-top: -1px; /* Prevents tiny gaps on scaling */
}

.gast-shape-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
}

.gast-showcase {
    background: #0f0f0f !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gast-showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: var(--gast-red);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 100px;
}

.gast-showcase-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.gast-showcase-title .red { color: var(--gast-red); }

.gast-showcase-img {
    border-radius: var(--gast-radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}
.gast-showcase-img:hover { transform: scale(1.02); }

/* ============================================================
   STRIP DE BENEFICIOS — PREMIUM REDESIGN
   ============================================================ */
.gast-benefits-strip {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Fila horizontal centrada, ancho máximo contenido */
.gast-benefits-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Cada item: icono a la izquierda, texto a la derecha */
.gast-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 2rem;
    flex: 1;
    min-width: 0;
    transition: background 0.25s ease;
    border-radius: 0.5rem;
}
.gast-benefit-item:hover {
    background: rgba(255,255,255,0.04);
}

/* Caja circular iluminada del número/icono */
.gast-benefit-icon-box {
    width: 3.2rem;
    height: 3.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b !important;
    color: #0d0d0d !important;
    border-radius: 9999px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
    transition: all 0.3s ease;
}
.gast-benefit-item:hover .gast-benefit-icon-box {
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.65);
}

/* Texto derecho */
.gast-benefit-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.gast-benefit-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.15;
    white-space: nowrap;
}

.gast-benefit-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #a1a1aa !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.gast-benefit-item:hover .gast-benefit-sub {
    color: #e4e4e7 !important;
}

/* Separador vertical entre items */
.gast-benefit-divider {
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
    flex-shrink: 0;
}

/* ============================================================
   FOOTER GASTRONÓMICO
   ============================================================ */
.gast-footer {
    background: var(--gast-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
}

.gast-footer-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gast-footer-brand .red { color: var(--gast-red); }

.gast-footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 2rem 0;
}

.gast-footer-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s;
}
.gast-footer-link:hover { color: var(--gast-amber); text-decoration: none; }

.gast-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.gast-footer-social a:hover {
    background: var(--gast-red);
    border-color: var(--gast-red);
    color: #fff;
}

/* WhatsApp flotante */
.gast-whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 65;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.15rem 0.75rem 0.75rem;
    background: #25d366;
    color: #fff;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    transition: all 0.25s ease;
    animation: gast-float-in 0.5s ease-out 1s both;
}
.gast-whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(37,211,102,0.45);
    color: #fff;
    text-decoration: none;
}
.gast-whatsapp-float svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .gast-whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
@media (max-width: 640px) {
    .gast-whatsapp-float {
        bottom: 5rem;
        right: 1rem;
        padding: 0.75rem;
        border-radius: 50%;
    }
    .gast-whatsapp-float span {
        display: none;
    }
}

@keyframes gast-float-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.gast-empty {
    text-align: center;
    padding: 4rem 2rem;
}
.gast-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.gast-empty-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gast-muted);
    text-transform: uppercase;
}

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.gast-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.gast-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0.65rem;
    border: 1.5px solid rgba(0,0,0,0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gast-carbon);
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}
.gast-page-btn:hover {
    background: var(--gast-red);
    color: #fff;
    border-color: var(--gast-red);
    text-decoration: none;
}
.gast-page-btn.active {
    background: var(--gast-carbon);
    color: var(--gast-amber);
    border-color: var(--gast-carbon);
}

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
@keyframes gast-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes gast-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.gast-animate-up {
    animation: gast-slide-up 0.6s ease-out both;
}
.gast-animate-up:nth-child(1) { animation-delay: 0s; }
.gast-animate-up:nth-child(2) { animation-delay: 0.08s; }
.gast-animate-up:nth-child(3) { animation-delay: 0.16s; }
.gast-animate-up:nth-child(4) { animation-delay: 0.24s; }
.gast-animate-up:nth-child(5) { animation-delay: 0.32s; }
.gast-animate-up:nth-child(6) { animation-delay: 0.40s; }

/* ============================================================
   BUSCADOR GASTRONÓMICO
   ============================================================ */
.gast-search-wrap {
    position: relative;
}
.gast-search-input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 3rem;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--gast-radius);
    font-size: 0.9rem;
    color: var(--gast-carbon);
    transition: border-color 0.2s ease;
    outline: none;
}
.gast-search-input:focus {
    border-color: var(--gast-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.gast-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gast-muted);
    width: 18px;
    height: 18px;
}

/* ============================================================
   HEADER STICKY (cuando se usa el layout del sitio)
   ============================================================ */
.gast-section-bg-dark { background-color: var(--gast-carbon); }
.gast-section-bg-cream { background-color: var(--gast-cream); }
.gast-section-bg-white { background-color: #fff; }

/* ============================================================
   RESPONSIVIDAD Y AJUSTES MÓVILES (Celular y Tablet)
   ============================================================ */
@media (max-width: 768px) {
    /* Base wrapper safety */
    .gastronomia-page {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Hero Adjustments */
    .gast-hero {
        min-height: auto !important;
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .gast-hero-content {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
    .gast-badge-open,
    .gast-badge-closed {
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 0.65rem !important;
        letter-spacing: 0.03em !important;
        padding: 0.35rem 0.75rem !important;
        white-space: normal !important;
        text-align: left;
        line-height: 1.35;
        border-radius: 9999px !important;
    }
    .gast-hero-title {
        font-size: clamp(1.85rem, 8.5vw, 2.75rem) !important;
        line-height: 1.05 !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .gast-hero-title .accent {
        font-size: clamp(1.65rem, 7.5vw, 2.4rem) !important;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.1 !important;
    }
    .gast-hero-subtitle {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .gast-hero-stats {
        gap: 1.25rem !important;
        justify-content: flex-start !important;
    }
    .gast-stat-num {
        font-size: 1.5rem !important;
    }
    .gast-stat-lbl {
        font-size: 0.6rem !important;
    }
    .gast-scroll-hint {
        display: none !important;
    }

    /* Benefits Strip — clean mobile cards */
    .gast-benefits-strip {
        padding: 0.5rem 0 !important;
    }
    .gast-benefits-inner {
        flex-direction: column !important;
        padding: 0.25rem 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 0.5rem !important;
    }
    .gast-benefit-item {
        padding: 0.85rem 1rem !important;
        gap: 0.85rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: 1px solid rgba(255,255,255,0.06) !important;
        border-radius: 1rem !important;
        background: rgba(255,255,255,0.02) !important;
    }
    .gast-benefit-item:last-child {
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    }
    .gast-benefit-arrow,
    .gast-benefit-divider {
        display: none !important;
    }
    .gast-benefit-icon-box {
        width: 2.6rem !important;
        height: 2.6rem !important;
        font-size: 1.15rem !important;
        flex-shrink: 0 !important;
    }
    .gast-benefit-title {
        font-size: 0.88rem !important;
    }
    .gast-benefit-sub {
        font-size: 0.72rem !important;
        color: rgba(255,255,255,0.5) !important;
    }

    /* Category Bar en mobile — tabs con tamaño táctil y legible */
    .gast-menu-nav {
        top: 102px !important;
    }
    .gast-menu-nav-inner {
        padding: 0.35rem 0.5rem !important;
        justify-content: flex-start !important;
    }
    .gast-menu-tab {
        padding: 0.5rem 0.95rem !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        gap: 0.4rem !important;
        margin: 0.2rem 0.2rem !important;
        letter-spacing: 0.03em !important;
    }
    .gast-menu-tab .tab-emoji {
        font-size: 1.1rem !important;
    }

    /* Showcase Featured Dish */
    .gast-showcase {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .gast-showcase-title {
        font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
    }
    .gast-showcase-img {
        max-height: 220px !important;
        border-radius: var(--gast-radius) !important;
    }

    /* Details View Hero */
    .gast-details-hero {
        min-height: 250px !important;
    }
    
    /* Global container padding adjustments on mobile */
    .gastronomia-page .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 640px) {
    /* Product Grid to Horizontal List Items */
    .gast-product-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gast-card {
        flex-direction: row !important;
        align-items: stretch !important;
        border-radius: 1rem !important;
        background: #1e1e24 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }

    html:not(.dark) .gast-card {
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    }
    
    .gast-card-img-wrap {
        width: 108px !important;
        min-width: 108px !important;
        max-width: 108px !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        flex-shrink: 0 !important;
        border-radius: 1rem 0 0 1rem !important;
        position: relative !important;
        overflow: hidden !important;
        background-color: #141416 !important;
    }

    .gast-card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .gast-card-no-img {
        font-size: 2.2rem !important;
    }

    .gast-card-price-corner {
        display: none !important;
    }

    .gast-card-badges {
        top: 0.25rem !important;
        left: 0.25rem !important;
        gap: 0.2rem !important;
        max-width: 105px !important;
    }
    
    .gast-badge {
        padding: 0.12rem 0.35rem !important;
        font-size: 0.52rem !important;
        border-radius: 4px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    .gast-card-body {
        padding: 0.65rem 0.75rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .gast-card-category {
        font-size: 0.58rem !important;
        margin-bottom: 0.15rem !important;
        color: #f59e0b !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }

    .gast-card-title {
        font-size: 0.96rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    html:not(.dark) .gast-card-title {
        color: #18181b !important;
    }

    .gast-card-desc {
        font-size: 0.7rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.3 !important;
        color: #a1a1aa !important;
        -webkit-line-clamp: 2 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    html:not(.dark) .gast-card-desc {
        color: #52525b !important;
    }

    .gast-card-footer {
        margin-top: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        min-width: 0 !important;
    }

    .gast-card-price {
        font-size: 1.15rem !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        color: #f59e0b !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .gast-card-price-old {
        font-size: 0.7rem !important;
        color: #71717a !important;
        line-height: 1 !important;
    }

    .gast-btn-add {
        padding: 0.42rem 0.85rem !important;
        font-size: 0.74rem !important;
        flex-shrink: 0 !important;
        border-radius: 0.6rem !important;
        white-space: nowrap !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        background: var(--gast-red) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(192, 57, 43, 0.4) !important;
    }
}

/* ============================================================
   PREMIUM UPGRADES (DETAILS VIEW, FONTS, ANIMATIONS)
   ============================================================ */
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-inter { font-family: 'Inter', sans-serif !important; }

/* Cinematic Hero Zoom */
@keyframes gast-hero-zoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}
.gast-details-hero-bg {
    animation: gast-hero-zoom 6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Micro-Animation for button selection */
@keyframes gast-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.option1-btn, .option2-btn {
    font-family: 'Inter', sans-serif;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.option1-btn:not(.pointer-events-none):hover, 
.option2-btn:not(.pointer-events-none):hover {
    border-color: var(--gast-red) !important;
    background-color: rgba(192, 57, 67, 0.03) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.05);
}

/* Active selector button state */
.option-btn-active {
    border-color: var(--gast-red) !important;
    background-color: var(--gast-red) !important;
    color: #fff !important;
    transform: scale(1.01) translateY(-1px);
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.25) !important;
    animation: gast-pop 0.3s ease-out;
}
.option-btn-active .price-adjustment {
    color: var(--gast-amber) !important;
}

/* Quantity selector premium styling */
.gast-qty-wrap {
    transition: all 0.2s ease;
}
.gast-qty-wrap:focus-within {
    border-color: var(--gast-red) !important;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

/* Submit button premium glow */
.gast-btn-submit {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Oswald', sans-serif;
}
.gast-btn-submit:not(:disabled) {
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2);
}
.gast-btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
}
.gast-btn-submit:disabled {
    cursor: not-allowed;
    background-color: #e4e4e7 !important;
    color: #a1a1aa !important;
}
.dark .gast-btn-submit:disabled {
    background-color: #27272a !important;
    color: #52525b !important;
}

/* Floating Cart Bar */
.floating-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: calc(100% - 32px);
    max-width: 580px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 150;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.floating-cart-bar.cart-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.floating-cart-bar.cart-bounce {
    animation: cartBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBounce {
    0% { transform: translate(-50%, 0) scale(1); }
    50% { transform: translate(-50%, -8px) scale(1.05); box-shadow: 0 25px 50px rgba(225, 29, 72, 0.3), 0 0 20px rgba(225, 29, 72, 0.2); }
    100% { transform: translate(-50%, 0) scale(1); }
}

.floating-cart-btn {
    background: var(--gast-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.floating-cart-btn:hover {
    background: #e11d48;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4);
}

/* Gastronomy Footer Styles */
.gast-footer {
    background-color: var(--gast-dark) !important;
    border-top: 1px solid var(--gast-border) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.gast-footer-brand {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
}

.gast-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.2s ease;
}

.gast-footer-social a:hover {
    background: var(--gast-red) !important;
    border-color: var(--gast-red) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3) !important;
}

.gast-footer-link {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.gast-footer-link:hover {
    color: var(--gast-red) !important;
    padding-left: 2px;
}

.gast-footer-divider {
    border: 0 !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent) !important;
    margin: 2rem 0 !important;
}

/* ============================================================
   SOPORTE COMPLETO DE MODO OSCURO (DARK MODE) — GASTRONOMÍA
   ============================================================ */
html.dark,
body.dark {
    --gast-cream:  #111111;
    --gast-cream2: #18181b;
    --gast-text:   #f4f4f5;
    --gast-muted:  #a1a1aa;
    --gast-carbon: #ffffff;
    --gast-border: rgba(255, 255, 255, 0.12);
}

html.dark .gastronomia-page,
body.dark .gastronomia-page {
    background-color: #111111;
    color: #f4f4f5;
}

html.dark .gast-section-bg-cream,
body.dark .gast-section-bg-cream {
    background-color: #18181b;
}

html.dark .gast-card,
body.dark .gast-card {
    background-color: #27272a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

html.dark .gast-card:hover,
body.dark .gast-card:hover {
    border-color: var(--gast-red);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

html.dark .gast-card-title,
body.dark .gast-card-title {
    color: #ffffff;
}

html.dark .gast-card-desc,
body.dark .gast-card-desc {
    color: #a1a1aa;
}

html.dark .gast-card-price,
body.dark .gast-card-price {
    color: #ffffff;
}

html.dark .gast-card-img-wrap,
body.dark .gast-card-img-wrap {
    background-color: #18181b;
}

html.dark .gast-search-input,
body.dark .gast-search-input {
    background-color: #27272a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

html.dark .gast-search-input::placeholder,
body.dark .gast-search-input::placeholder {
    color: #71717a;
}

/* ============================================================
   BOTONES DE PAGINACIÓN DE PÁGINAS (1, 2, 3...)
   ============================================================ */
.gast-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gast-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #18181b !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.gast-page-btn:hover {
    background: var(--gast-red, #c0392b) !important;
    color: #ffffff !important;
    border-color: var(--gast-red, #c0392b) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.gast-page-btn.active {
    background: var(--gast-red, #c0392b) !important;
    color: #ffffff !important;
    border-color: var(--gast-red, #c0392b) !important;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.4);
}

/* Soporte Dark Mode para Paginación */
html.dark .gast-page-btn,
body.dark .gast-page-btn {
    background: #27272a !important;
    color: #f4f4f5 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

html.dark .gast-page-btn:hover,
body.dark .gast-page-btn:hover {
    background: var(--gast-red, #e74c3c) !important;
    color: #ffffff !important;
    border-color: var(--gast-red, #e74c3c) !important;
}

html.dark .gast-page-btn.active,
body.dark .gast-page-btn.active {
    background: var(--gast-red, #e74c3c) !important;
    color: #ffffff !important;
    border-color: var(--gast-red, #e74c3c) !important;
    box-shadow: 0 0 16px rgba(231, 76, 60, 0.5) !important;
}


