/* =========================================================
   AMAZING MEXICAN CRAVINGS - HOME
   ========================================================= */

:root {
    --amz-red: #c40000;
    --amz-red-dark: #8f0000;
    --amz-yellow: #f3c623;
    --amz-yellow-soft: #fff0a6;
    --amz-orange: #ff7a00;
    --amz-black: #080808;
    --amz-black-soft: #111111;
    --amz-white: #ffffff;
    --amz-text: #ececec;
    --amz-muted: #bdbdbd;
    --amz-border: rgba(255, 255, 255, 0.08);
    --amz-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --amz-radius: 24px;
    --amz-container: 1240px;
}

/* Reset del contenedor Astra en Home */
body.home .site-header,
body.home .ast-mobile-header-wrap,
body.home .ast-above-header-wrap {
    display: none;
}

body.home .site-content > .ast-container {
    display: block;
    max-width: none;
    padding: 0;
}

body.home #primary {
    width: 100%;
    margin: 0;
    float: none;
}

.amazing-home {
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.18), transparent 30%),
        radial-gradient(circle at left center, rgba(243, 198, 35, 0.10), transparent 30%),
        linear-gradient(180deg, #0b0b0b 0%, #121212 100%);
    color: var(--amz-text);
    overflow: hidden;
}

.amz-container {
    width: min(calc(100% - 40px), var(--amz-container));
    margin-inline: auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.amz-topbar {
    background: var(--amz-red);
    color: var(--amz-white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.amz-topbar-inner {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.amz-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.amz-topbar-icon {
    font-size: 15px;
}

/* =========================================================
   HEADER
   ========================================================= */

.amz-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--amz-border);
}

.admin-bar .amz-header {
    top: 32px;
}

.amz-header-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.amz-logo img {
    width: 118px;
    height: auto;
    display: block;
}

.amz-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.amz-nav a {
    color: var(--amz-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.amz-nav a:hover {
    color: var(--amz-yellow);
}

.amz-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.amz-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--amz-white);
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--amz-border);
    border-radius: 50%;
    font-size: 20px;
}

.amz-cart-count {
    position: absolute;
    top: -6px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    background: var(--amz-yellow);
    color: #000;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.amz-order-button,
.amz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.amz-order-button:hover,
.amz-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.amz-order-button,
.amz-btn-primary {
    background: linear-gradient(135deg, var(--amz-red), #ff2a2a);
    color: var(--amz-white);
    box-shadow: 0 14px 30px rgba(196, 0, 0, 0.35);
    border: 1px solid transparent;
}

.amz-order-button:hover,
.amz-btn-primary:hover {
    color: var(--amz-white);
    background: linear-gradient(135deg, var(--amz-red-dark), var(--amz-red));
}

.amz-btn-secondary {
    background: transparent;
    color: var(--amz-white);
    border: 1px solid rgba(255,255,255,0.16);
}

.amz-btn-secondary:hover {
    color: var(--amz-yellow);
    border-color: var(--amz-yellow);
}

/* =========================================================
   EYEBROW / HEADINGS
   ========================================================= */

.amz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--amz-yellow);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.amz-section-heading {
    max-width: 700px;
    margin: 0 auto 46px;
    text-align: center;
}

.amz-section-heading h2 {
    margin: 0 0 14px;
    color: var(--amz-white);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.02;
    text-transform: uppercase;
}

.amz-section-heading p {
    margin: 0;
    color: var(--amz-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* =========================================================
   HERO
   ========================================================= */

.amz-hero {
    position: relative;
    padding: 40px 0 90px;
}

.amz-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 122, 0, 0.22), transparent 22%),
        radial-gradient(circle at 15% 80%, rgba(243, 198, 35, 0.10), transparent 20%);
    pointer-events: none;
}

.amz-hero-slider {
    position: relative;
    background:
        linear-gradient(90deg, rgba(4,4,4,0.96) 0%, rgba(16,16,16,0.94) 44%, rgba(57,20,0,0.85) 100%);
    border: 1px solid var(--amz-border);
    border-radius: 32px;
    min-height: 720px;
    overflow: hidden;
    box-shadow: var(--amz-shadow);
}

.amz-slides {
    position: relative;
    min-height: 720px;
}

.amz-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.amz-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.amz-slide-grid {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 20px;
    padding: 70px 70px 60px;
}

.amz-slide-content {
    max-width: 620px;
    z-index: 2;
}

.amz-slide-content h1 {
    margin: 0 0 22px;
    color: var(--amz-white);
    font-size: clamp(52px, 7vw, 102px);
    line-height: 0.92;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.amz-slide-text {
    max-width: 560px;
    margin: 0 0 28px;
    color: #dddddd;
    font-size: 18px;
    line-height: 1.8;
}

.amz-slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.amz-slide-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 560px;
}

.amz-meta-box {
    padding: 18px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.amz-meta-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--amz-yellow);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.amz-meta-box span {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.6;
}

.amz-slide-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.amz-hero-product {
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    max-height: 540px;
    object-fit: contain;
    filter: drop-shadow(0 38px 50px rgba(0,0,0,0.55));
    animation: amzFloatProduct 4s ease-in-out infinite;
}

.amz-hero-product-fries {
    width: min(100%, 430px);
    max-height: 480px;
}

.amz-discount-badge {
    position: absolute;
    top: 80px;
    left: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 130px;
    padding: 20px;
    background: rgba(255, 208, 0, 0.12);
    color: var(--amz-yellow);
    border: 3px solid var(--amz-yellow);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 40px rgba(243,198,35,0.18);
    animation: amzPulseBadge 3s ease-in-out infinite;
}

.amz-discount-badge-yellow {
    color: #000;
    background: var(--amz-yellow);
    border-color: var(--amz-yellow);
}

.amz-floating {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.amz-floating-one {
    width: 26px;
    height: 26px;
    top: 50px;
    right: 90px;
    background: rgba(243,198,35,0.9);
    box-shadow: 0 0 30px rgba(243,198,35,0.5);
    animation: amzFloatOne 5s ease-in-out infinite;
}

.amz-floating-two {
    width: 74px;
    height: 74px;
    bottom: 120px;
    left: 60px;
    border: 3px solid rgba(255, 122, 0, 0.8);
    animation: amzFloatTwo 6s ease-in-out infinite;
}

.amz-floating-three {
    width: 18px;
    height: 18px;
    bottom: 70px;
    right: 140px;
    background: rgba(255,255,255,0.9);
    animation: amzFloatThree 4.8s ease-in-out infinite;
}

.amz-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--amz-white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.amz-slider-arrow:hover {
    background: rgba(243,198,35,0.18);
}

.amz-slider-prev {
    left: 20px;
}

.amz-slider-next {
    right: 20px;
}

.amz-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.amz-dot {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.amz-dot.is-active {
    background: var(--amz-yellow);
    transform: scale(1.2);
}

/* =========================================================
   GENERIC SECTIONS
   ========================================================= */

.amz-categories,
.amz-products,
.amz-promo,
.amz-why,
.amz-cta {
    padding: 100px 0;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.amz-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.amz-category-card {
    position: relative;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--amz-border);
    border-radius: 22px;
    box-shadow: var(--amz-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.amz-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(243,198,35,0.3);
}

.amz-category-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    background: var(--amz-yellow);
    color: #000;
    border-radius: 50%;
    font-weight: 900;
}

.amz-category-card h3 {
    margin: 0 0 10px;
    color: var(--amz-white);
    font-size: 24px;
    text-transform: uppercase;
}

.amz-category-card p {
    margin: 0;
    color: var(--amz-muted);
    line-height: 1.7;
}

/* =========================================================
   WOOCOMMERCE PRODUCT SECTION
   ========================================================= */

.amz-products .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 0;
}

.amz-products .woocommerce ul.products::before,
.amz-products .woocommerce ul.products::after {
    display: none !important;
}

.amz-products .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--amz-border);
    border-radius: 22px;
    box-shadow: var(--amz-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.amz-products .woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: rgba(243,198,35,0.3);
}

.amz-products .woocommerce ul.products li.product img {
    border-radius: 18px;
    margin-bottom: 18px;
}

.amz-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--amz-white);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.amz-products .woocommerce ul.products li.product .price {
    color: var(--amz-yellow);
    font-weight: 900;
    font-size: 17px;
}

.amz-products .woocommerce ul.products li.product .button {
    width: 100%;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amz-red), #ff2a2a);
    color: var(--amz-white);
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    padding: 14px 20px;
}

.amz-products .woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, var(--amz-red-dark), var(--amz-red));
    color: var(--amz-white);
}

/* =========================================================
   PROMO
   ========================================================= */

.amz-promo-box {
    position: relative;
    padding: 56px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(243,198,35,0.18), transparent 26%),
        linear-gradient(135deg, rgba(196,0,0,0.96), rgba(255,122,0,0.92));
    box-shadow: var(--amz-shadow);
}

.amz-promo-content {
    max-width: 650px;
}

.amz-promo-content h2 {
    margin: 0 0 16px;
    color: var(--amz-white);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.02;
    text-transform: uppercase;
    font-weight: 900;
}

.amz-promo-content p:last-of-type {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   WHY US
   ========================================================= */

.amz-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.amz-why-card {
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--amz-border);
    border-radius: 22px;
    box-shadow: var(--amz-shadow);
}

.amz-why-card h3 {
    margin: 0 0 12px;
    color: var(--amz-yellow);
    font-size: 22px;
    text-transform: uppercase;
}

.amz-why-card p {
    margin: 0;
    color: var(--amz-muted);
    line-height: 1.8;
}

/* =========================================================
   CTA
   ========================================================= */

.amz-cta {
    padding-top: 0;
}

.amz-cta-box {
    padding: 54px 40px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--amz-border);
    border-radius: 28px;
    box-shadow: var(--amz-shadow);
    text-align: center;
}

.amz-cta-box h2 {
    margin: 0 0 14px;
    color: var(--amz-white);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.05;
    text-transform: uppercase;
    font-weight: 900;
}

.amz-cta-box p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: var(--amz-muted);
    font-size: 17px;
    line-height: 1.8;
}

.amz-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */

.section-reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes amzFloatProduct {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes amzPulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes amzFloatOne {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-16px) translateX(8px);
    }
}

@keyframes amzFloatTwo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(14px) rotate(15deg);
    }
}

@keyframes amzFloatThree {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.18);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .amz-categories-grid,
    .amz-products .woocommerce ul.products,
    .amz-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amz-slide-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 70px 60px 90px;
    }

    .amz-slide-content {
        max-width: none;
        text-align: center;
    }

    .amz-slide-text,
    .amz-slide-meta {
        margin-inline: auto;
    }

    .amz-slide-actions {
        justify-content: center;
    }

    .amz-slide-visual {
        min-height: 430px;
    }

    .amz-discount-badge {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 921px) {
    .admin-bar .amz-header {
        top: 46px;
    }

    .amz-header-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 0;
    }

    .amz-logo {
        margin-inline: auto;
    }

    .amz-nav ul {
        justify-content: center;
        gap: 16px 20px;
    }

    .amz-header-actions {
        justify-content: center;
    }

    .amz-hero-slider,
    .amz-slides,
    .amz-slide-grid {
        min-height: auto;
    }

    .amz-slide-grid {
        padding: 60px 22px 90px;
    }

    .amz-slide-content h1 {
        font-size: clamp(44px, 11vw, 72px);
    }

    .amz-slide-text {
        font-size: 16px;
    }

    .amz-slide-meta {
        grid-template-columns: 1fr;
    }

    .amz-slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .amz-container {
        width: min(calc(100% - 24px), var(--amz-container));
    }

    .amz-topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .amz-nav ul {
        flex-direction: column;
        gap: 14px;
    }

    .amz-header-actions {
        flex-wrap: wrap;
    }

    .amz-slide-actions,
    .amz-cta-actions {
        flex-direction: column;
    }

    .amz-btn,
    .amz-order-button {
        width: 100%;
    }

    .amz-categories-grid,
    .amz-products .woocommerce ul.products,
    .amz-why-grid {
        grid-template-columns: 1fr;
    }

    .amz-products,
    .amz-categories,
    .amz-promo,
    .amz-why,
    .amz-cta {
        padding: 78px 0;
    }

    .amz-promo-box,
    .amz-cta-box {
        padding: 34px 22px;
    }

    .amz-discount-badge {
        min-width: 100px;
        min-height: 100px;
        font-size: 18px;
    }
}
/* =========================================================
   CORRECCIONES GENERALES DEFINITIVAS
   Espacios Astra, footer y hero responsive
   ========================================================= */

/* Quitar completamente los espacios heredados de Astra */
html,
body.home {
    margin: 0 !important;
    padding: 0 !important;
    background: #080808 !important;
}

body.home #page,
body.home .site,
body.home #content,
body.home .site-content,
body.home .site-content > .ast-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar todos los contenedores del header original de Astra */
body.home #masthead,
body.home .site-header,
body.home .ast-mobile-header-wrap,
body.home .ast-desktop-header-content,
body.home .ast-above-header-wrap,
body.home .ast-main-header-wrap,
body.home .ast-primary-header-bar,
body.home .ast-below-header-wrap {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar completamente el footer original de Astra */
body.home #colophon,
body.home .site-footer,
body.home .site-above-footer-wrap,
body.home .site-primary-footer-wrap,
body.home .site-below-footer-wrap,
body.home .ast-footer-overlay {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Eliminar cualquier espacio alrededor de nuestra página */
body.home .amazing-home {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Eliminar márgenes finales que podrían crear espacio inferior */
body.home .amz-cta {
    margin-bottom: 0 !important;
}

body.home .amz-cta-box {
    margin-bottom: 0 !important;
}

/* =========================================================
   HERO DESKTOP CORREGIDO
   ========================================================= */

.amz-hero {
    margin: 0 !important;
    padding: 40px 0 80px !important;
}

.amz-hero-slider,
.amz-slides {
    min-height: 760px;
}

.amz-slide-grid {
    min-height: 760px;
    padding: 65px 90px 120px;
}

.amz-slide-content {
    position: relative;
    z-index: 4;
    max-width: 610px;
}

.amz-slide-content h1 {
    font-size: clamp(52px, 6vw, 90px);
}

/* Botones principales del hero */
.amz-slide-actions {
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0;
}

.amz-slide-actions .amz-btn {
    width: auto;
    min-width: 175px;
    margin: 0;
}

/* Las flechas ya no quedarán encima del texto */
.amz-slider-arrow {
    top: auto;
    bottom: 28px;
    transform: none;
    z-index: 20;
}

.amz-slider-arrow:hover {
    transform: translateY(-3px);
}

.amz-slider-prev {
    left: auto;
    right: 92px;
}

.amz-slider-next {
    right: 28px;
}

/* Puntos centrados en la parte inferior */
.amz-slider-dots {
    left: 50%;
    right: auto;
    bottom: 46px;
    transform: translateX(-50%);
}

/* Evitar que la imagen o decoraciones tapen botones */
.amz-slide-visual,
.amz-hero-product,
.amz-discount-badge,
.amz-floating {
    pointer-events: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {
    .amz-hero-slider,
    .amz-slides {
        min-height: 1040px;
    }

    .amz-slide-grid {
        min-height: 1040px;
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 70px 120px;
    }

    .amz-slide-content {
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .amz-slide-actions {
        justify-content: center;
    }

    .amz-slide-visual {
        min-height: 400px;
    }
}

/* =========================================================
   MOBILE: EVITAR QUE EL HERO DESAPAREZCA
   ========================================================= */

@media (max-width: 921px) {
    .amz-hero {
        padding: 20px 0 60px !important;
    }

    /*
     * Las diapositivas inactivas siguen superpuestas.
     * La activa pasa a position: relative para darle altura
     * real al contenedor.
     */
    .amz-hero-slider,
    .amz-slides {
        min-height: 0 !important;
    }

    .amz-slide {
        position: absolute;
        inset: 0;
    }

    .amz-slide.is-active {
        position: relative;
        inset: auto;
    }

    .amz-slide-grid {
        min-height: 0 !important;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 30px 115px;
    }

    .amz-slide-content {
        order: 1;
        width: 100%;
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }

    .amz-slide-visual {
        order: 2;
        min-height: 390px;
    }

    .amz-slide-content h1 {
        font-size: clamp(46px, 10vw, 70px);
        line-height: 0.96;
    }

    .amz-slide-text {
        max-width: 580px;
        margin-inline: auto;
    }

    .amz-slide-actions {
        justify-content: center;
        width: 100%;
        max-width: 520px;
        margin: 28px auto;
    }

    .amz-slide-actions .amz-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .amz-slide-meta {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    /* Una flecha a cada lado en tablet y móvil */
    .amz-slider-arrow {
        bottom: 26px;
    }

    .amz-slider-prev {
        left: 22px;
        right: auto;
    }

    .amz-slider-next {
        right: 22px;
    }

    .amz-slider-dots {
        bottom: 43px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 600px) {
    .amz-container {
        width: calc(100% - 20px);
    }

    .amz-hero {
        padding-top: 10px !important;
    }

    .amz-hero-slider {
        border-radius: 22px;
    }

    .amz-slide-grid {
        padding: 42px 20px 105px;
    }

    .amz-slide-content h1 {
        margin-bottom: 20px;
        font-size: clamp(42px, 14vw, 56px);
        line-height: 0.94;
    }

    .amz-slide-text {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Botones uno debajo del otro y correctamente alineados */
    .amz-slide-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        margin: 25px auto;
    }

    .amz-slide-actions .amz-btn {
        width: 100% !important;
        min-width: 0;
        min-height: 54px;
        margin: 0 !important;
    }

    .amz-slide-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .amz-meta-box {
        padding: 16px;
    }

    .amz-slide-visual {
        min-height: 310px;
    }

    .amz-hero-product {
        width: min(100%, 390px);
        max-height: 300px;
    }

    .amz-hero-product-fries {
        width: min(82%, 290px);
    }

    .amz-discount-badge {
        top: 0;
        left: 50%;
        min-width: 88px;
        min-height: 88px;
        padding: 12px;
        font-size: 15px;
        transform: translateX(-50%);
    }

    .amz-slider-arrow {
        width: 44px;
        height: 44px;
        bottom: 22px;
    }

    .amz-slider-prev {
        left: 16px;
    }

    .amz-slider-next {
        right: 16px;
    }

    .amz-slider-dots {
        bottom: 37px;
    }
}
@media (max-width: 767px) {
    .amz-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "navigation navigation";
        gap: 14px;
        min-height: 0;
        padding: 14px 0 18px;
    }

    .amz-logo {
        grid-area: logo;
        margin: 0;
    }

    .amz-logo img {
        width: 88px;
    }

    .amz-nav {
        grid-area: navigation;
        width: 100%;
    }

    .amz-nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px 18px;
        flex-wrap: wrap;
    }

    .amz-nav a {
        font-size: 13px;
    }

    .amz-header-actions {
        grid-area: actions;
        justify-content: flex-end;
        gap: 10px;
    }

    .amz-cart-link {
        width: 46px;
        height: 46px;
    }

    /*
     * Ocultamos el botón del header en móvil porque ya existe
     * el botón de ordenar dentro del hero.
     */
    .amz-header-actions .amz-order-button {
        display: none;
    }
}
/* =========================================================
   HERO SLIDER CONTROLS - FIXED STYLE
   ========================================================= */

.amz-slider-arrow {
    position: absolute;
    bottom: 28px;
    top: auto;
    transform: none;
    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background: rgba(18, 18, 18, 0.92);
    color: #ffffff;

    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.amz-slider-arrow:hover {
    transform: translateY(-2px);
    background: var(--amz-red);
    border-color: var(--amz-red);
    box-shadow: 0 12px 25px rgba(196, 0, 0, 0.28);
}

.amz-slider-prev {
    left: auto;
    right: 96px;
}

.amz-slider-next {
    right: 28px;
}

/* DOTS más elegantes */
.amz-slider-dots {
    position: absolute;
    left: 28px;
    right: auto;
    bottom: 38px;
    transform: none;
    z-index: 30;

    display: flex;
    align-items: center;
    gap: 12px;
}

.amz-dot {
    width: 28px;
    height: 8px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition:
        width 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.amz-dot.is-active {
    width: 40px;
    background: var(--amz-yellow);
    transform: none;
}

/* Para que no se vean raros en mobile */
@media (max-width: 921px) {
    .amz-slider-arrow {
        width: 52px;
        height: 42px;
        bottom: 20px;
        font-size: 22px;
        border-radius: 12px;
    }

    .amz-slider-prev {
        right: 82px;
        left: auto;
    }

    .amz-slider-next {
        right: 18px;
    }

    .amz-slider-dots {
        left: 18px;
        bottom: 33px;
        gap: 10px;
    }

    .amz-dot {
        width: 24px;
        height: 7px;
    }

    .amz-dot.is-active {
        width: 34px;
    }
}

@media (max-width: 600px) {
    .amz-slider-arrow {
        width: 48px;
        height: 40px;
        bottom: 16px;
        font-size: 20px;
    }

    .amz-slider-prev {
        right: 74px;
    }

    .amz-slider-next {
        right: 14px;
    }

    .amz-slider-dots {
        left: 14px;
        bottom: 29px;
    }
}
.amz-discount-badge {
    min-width: 112px;
    min-height: 112px;
    font-size: 20px;
    top: 95px;
    left: 34px;
}
@media (max-width: 600px) {
    .amz-discount-badge {
        min-width: 84px;
        min-height: 84px;
        font-size: 14px;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
    }
}
/* =========================================================
   HERO SIN CONTROLES MANUALES
   ========================================================= */

.amz-slider-arrow,
.amz-slider-dots,
.amz-discount-badge {
    display: none !important;
}

/* Reducir el espacio que estaba reservado para flechas y dots */
.amz-slide-grid {
    padding-bottom: 70px;
}

.amz-slide-actions {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.amz-slide-actions .amz-btn {
    width: auto;
    min-width: 174px;
}

@media (max-width: 921px) {
    .amz-slide-grid {
        padding-bottom: 60px;
    }

    .amz-slide-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .amz-slide-grid {
        padding-bottom: 45px;
    }

    .amz-slide-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 12px;
    }

    .amz-slide-actions .amz-btn {
        width: 100%;
        min-width: 0;
    }
}
/* =========================================================
   PROMO CON IMAGEN A LA DERECHA
   ========================================================= */

.amz-promo-box {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 30px;
    padding: 56px 56px 56px 56px;
}

.amz-promo-content {
    max-width: 620px;
}

.amz-promo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.amz-promo-visual::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    filter: blur(6px);
}

.amz-promo-visual img {
    position: relative;
    z-index: 2;
    width: min(100%, 460px);
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0,0,0,0.35));
    animation: amzFloatProduct 4s ease-in-out infinite;
}

/* =========================================================
   AJUSTES DE ESPACIADO TRAS ELIMINAR BLOQUES
   ========================================================= */

.amz-products {
    padding-bottom: 90px;
}

.amz-promo {
    padding-top: 30px;
}

.amz-cta {
    padding-top: 30px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .amz-promo-box {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .amz-promo-content {
        max-width: none;
        margin-inline: auto;
    }

    .amz-promo-content .amz-eyebrow {
        justify-content: center;
    }

    .amz-promo-visual {
        min-height: 280px;
    }

    .amz-promo-visual img {
        width: min(100%, 380px);
        max-height: 280px;
    }
}

@media (max-width: 767px) {
    .amz-promo-box {
        padding: 34px 22px;
    }

    .amz-promo-visual {
        min-height: 220px;
    }

    .amz-promo-visual img {
        width: min(100%, 300px);
        max-height: 220px;
    }
}
/* =========================================================
   FINAL HEADER, NACHOS, PROMO BUTTON AND CUSTOM FOOTER
   ========================================================= */

/* =========================================================
   HEADER SIMPLIFICADO
   ========================================================= */

.amz-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
}

.amz-nav ul {
    justify-content: center;
    gap: 42px;
}

.amz-header-actions {
    justify-content: flex-end;
}

/* Asegurar que el botón Order Now aparezca */
.amz-header-actions .amz-order-button {
    display: inline-flex !important;
    width: auto;
}

/* =========================================================
   NACHOS MÁS GRANDES
   ========================================================= */

.amz-hero-product-fries {
    width: min(118%, 650px) !important;
    max-width: none !important;
    max-height: 610px !important;
    object-fit: contain;
}

/*
 * La segunda imagen utiliza la clase "fries",
 * pero ahora representa los nachos.
 */
.amz-slide:nth-child(2) .amz-slide-visual {
    overflow: visible;
}

/* =========================================================
   BOTÓN AMARILLO
   ========================================================= */

.amz-btn-yellow {
    color: #111111 !important;
    background:
        linear-gradient(
            135deg,
            #ffd21f 0%,
            #f3b800 100%
        ) !important;

    border: 1px solid #ffd21f !important;

    box-shadow:
        0 14px 30px rgba(243, 184, 0, 0.3) !important;
}

.amz-btn-yellow:hover {
    color: #111111 !important;
    background:
        linear-gradient(
            135deg,
            #ffe266 0%,
            #ffc400 100%
        ) !important;

    border-color: #ffe266 !important;

    transform: translateY(-3px);
}

/* =========================================================
   CUSTOM FOOTER
   ========================================================= */

.amz-footer {
    position: relative;

    width: 100%;
    margin: 0;
    padding: 72px 0 0;

    color: #d4d4d4;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(243, 198, 35, 0.1),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(196, 0, 0, 0.15),
            transparent 30%
        ),
        #080808;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.amz-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 70px;
    align-items: start;

    padding-bottom: 60px;
}

.amz-footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

.amz-footer-logo img {
    display: block;

    width: 125px;
    height: auto;
}

.amz-footer-brand p,
.amz-footer-order p {
    max-width: 370px;
    margin: 0;

    color: #bdbdbd;

    font-size: 15px;
    line-height: 1.8;
}

.amz-footer h3 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.amz-footer-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.amz-footer-navigation a {
    color: #bdbdbd;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.amz-footer-navigation a:hover {
    color: var(--amz-yellow);
}

.amz-footer-order p {
    margin-bottom: 24px;
}

.amz-footer-order .amz-btn {
    min-width: 170px;
}

.amz-footer-bottom {
    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.amz-footer-bottom p {
    margin: 0;

    color: #8d8d8d;

    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 921px) {
    .amz-header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .amz-nav ul {
        flex-direction: row;
        gap: 24px;
    }

    .amz-hero-product-fries {
        width: min(110%, 540px) !important;
        max-height: 500px !important;
    }

    .amz-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .amz-footer-brand {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    /*
     * Header compacto en una sola fila:
     * logo, enlaces y botón.
     */
    .amz-header-inner {
        display: grid;

        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo navigation actions";

        gap: 10px;

        min-height: 0;
        padding: 10px 0;
    }

    .amz-logo {
        grid-area: logo;
        margin: 0;
    }

    /* Logo más pequeño en celular */
    .amz-logo img {
        width: 60px !important;
        height: auto;
    }

    .amz-nav {
        grid-area: navigation;
        width: 100%;
    }

    .amz-nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        gap: 13px;

        margin: 0;
        padding: 0;

        white-space: nowrap;
    }

    .amz-nav a {
        font-size: 11px;
        line-height: 1;
    }

    .amz-header-actions {
        grid-area: actions;

        display: flex;
        justify-content: flex-end;
    }

    .amz-header-actions .amz-order-button {
        display: inline-flex !important;

        width: auto !important;
        min-width: 0;
        min-height: 40px;

        padding: 9px 13px;

        font-size: 10px;
        white-space: nowrap;
    }

    /* Nachos grandes sin salirse del hero */
    .amz-hero-product-fries {
        width: min(112%, 410px) !important;
        max-height: 370px !important;
        margin-inline: auto;
    }

    /* Footer móvil */
    .amz-footer {
        padding-top: 55px;
    }

    .amz-footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;

        padding-bottom: 45px;

        text-align: center;
    }

    .amz-footer-brand,
    .amz-footer-navigation,
    .amz-footer-order {
        width: 100%;
    }

    .amz-footer-logo img {
        width: 92px;
        margin-inline: auto;
    }

    .amz-footer-brand p,
    .amz-footer-order p {
        max-width: 330px;
        margin-inline: auto;
    }

    .amz-footer-navigation ul {
        align-items: center;
    }

    .amz-footer-order p {
        margin-bottom: 22px;
    }

    .amz-footer-order .amz-btn {
        width: min(100%, 260px) !important;
    }
}

/* =========================================================
   MOBILE MUY PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {
    .amz-container {
        width: calc(100% - 20px);
    }

    .amz-header-inner {
        grid-template-columns: 52px 1fr auto;
        gap: 7px;
    }

    .amz-logo img {
        width: 52px !important;
    }

    .amz-nav ul {
        gap: 9px;
    }

    .amz-nav a {
        font-size: 10px;
    }

    .amz-header-actions .amz-order-button {
        min-height: 37px;
        padding: 8px 10px;
        font-size: 9px;
    }

    .amz-hero-product-fries {
        width: min(116%, 370px) !important;
        max-height: 340px !important;
    }
}
/* =========================================================
   HOME SIN SECCIÓN POPULAR ITEMS
   ========================================================= */

.amz-products {
    display: none !important;
}

.amz-promo {
    padding-top: 70px !important;
}

@media (max-width: 767px) {
    .amz-promo {
        padding-top: 50px !important;
    }
}