/* =========================================================
   AMAZING MEXICAN CRAVINGS - ORDER NOW
   Diseño tipo app, categorías visuales y menú sticky
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=ADLaM+Display&display=swap');
:root {
    --order-red: #e10a03;
    --order-red-dark: #bd0903;
    --order-black: #111111;
    --order-text: #252525;
    --order-muted: #585858;
    --order-border: #e8e8e8;
    --order-soft: #f7f7f7;
    --order-white: #ffffff;
    --order-container: 1160px;
    --order-content: 980px;
    --order-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

[hidden] {
    display: none !important;
}

/* =========================================================
   QUITAR ASTRA EN ORDER NOW
   ========================================================= */

body.page-order-now,
body.amz-order-now-page,
body.amz-quick-order-product {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

body.page-order-now #masthead,
body.page-order-now .site-header,
body.page-order-now .ast-mobile-header-wrap,
body.page-order-now .ast-desktop-header-content,
body.page-order-now .ast-above-header-wrap,
body.page-order-now .ast-main-header-wrap,
body.page-order-now .ast-primary-header-bar,
body.page-order-now .ast-below-header-wrap,
body.page-order-now #colophon,
body.page-order-now .site-footer,
body.page-order-now .site-above-footer-wrap,
body.page-order-now .site-primary-footer-wrap,
body.page-order-now .site-below-footer-wrap {
    display: none !important;
}

body.page-order-now #page,
body.page-order-now .site,
body.page-order-now #content,
body.page-order-now .site-content,
body.page-order-now .site-content > .ast-container,
body.page-order-now #primary,
body.amz-order-now-page #page,
body.amz-order-now-page #content,
body.amz-order-now-page .site-content,
body.amz-order-now-page .site-content > .ast-container,
body.amz-order-now-page #primary {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   ESTRUCTURA GENERAL
   ========================================================= */

.amz-order-page {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 30px;
    color: var(--order-text);
    background: var(--order-white);
    font-family: Arial, Helvetica, sans-serif;
}

.amz-order-page.has-cart-items {
    padding-bottom: 118px;
}

.amz-menu-container {
    width: min(calc(100% - 40px), var(--order-container));
    margin-inline: auto;
}

/* =========================================================
   HEADER: LOGO PEQUEÑO + BUSCADOR
   ========================================================= */

.amz-menu-header {
    position: relative;
    z-index: 30;
    padding-top: 14px;
    background: #ffffff;
}

.amz-menu-header-inner {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 96px;
    padding: 8px 0 12px;
}

.amz-menu-logo {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    text-decoration: none;
}

.amz-menu-logo img {
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.amz-menu-search-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.amz-search-field-icon {
    position: absolute;
    left: 27px;
    z-index: 2;
    width: 27px;
    height: 27px;
    border: 2.5px solid #111111;
    border-radius: 50%;
    pointer-events: none;
}

.amz-search-field-icon::after {
    position: absolute;
    right: -8px;
    bottom: -5px;
    width: 11px;
    height: 2.5px;
    content: "";
    background: #111111;
    border-radius: 999px;
    transform: rotate(45deg);
}

#amz-menu-search {
    width: 100%;
    min-height: 72px;
    padding: 14px 62px 14px 76px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    outline: none;
    color: #222222;
    background: #f8f8f8;
    font-family: inherit;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

#amz-menu-search::placeholder {
    color: #8f8f8f;
}

#amz-menu-search:focus {
    border-color: #b9b9b9;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.amz-search-clear {
    position: absolute;
    right: 18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #333333;
    background: #e9e9e9;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================================
   VIDEO / FLYER MÁS BAJO
   ========================================================= */

.amz-menu-video-wrap {
    padding: 4px 0 22px;
}

.amz-menu-video-frame {
    width: 100%;
    aspect-ratio: 2.75 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: #f1f1f1;
    box-shadow: var(--order-shadow);
}

.amz-menu-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: 0;
    background: transparent;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.amz-menu-video::-webkit-media-controls,
.amz-menu-video::-webkit-media-controls-panel,
.amz-menu-video::-webkit-media-controls-play-button,
.amz-menu-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

/* =========================================================
   SLIDER VISUAL DE CATEGORÍAS
   8 POR PÁGINA: 4 COLUMNAS X 2 FILAS
   ========================================================= */

.amz-category-showcase {
    width: 100%;
    padding: 8px 0 18px;
    overflow: hidden;
    background: #ffffff;
}

.amz-category-slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.amz-category-slider::-webkit-scrollbar {
    display: none;
}

.amz-category-pages {
    display: flex;
    width: 100%;
}

.amz-category-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 28px 28px;
    width: 100%;
    padding: 16px 8px 10px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.amz-category-visual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #171717;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.amz-category-visual-card:hover {
    color: #171717;
    text-decoration: none;
}

.amz-category-visual-image {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.amz-category-visual-card:hover .amz-category-visual-image {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.amz-category-visual-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amz-category-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background: var(--order-red);
    font-size: 34px;
    font-weight: 800;
}

.amz-category-visual-name {
    display: -webkit-box;
    width: 100%;
    min-height: 38px;
    overflow: hidden;
    color: #171717;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.amz-category-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
}

.amz-category-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cfcfcf;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.amz-category-slider-dot.is-active {
    width: 28px;
    background: #111111;
}

/* =========================================================
   MENÚ HORIZONTAL STICKY
   OCULTO DURANTE LA PRIMERA CATEGORÍA
   ========================================================= */

.amz-category-navigation {
    display: none;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 11px 0 12px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(14px);
}

.amz-category-navigation.is-visible {
    display: block;
}

.admin-bar .amz-category-navigation {
    top: 32px;
}

.amz-category-scroll {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 0 7px;
    scroll-behavior: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.amz-category-scroll::-webkit-scrollbar {
    display: none;
}

.amz-category-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 11px 22px;
    border: 1px solid #cccccc;
    border-radius: 17px;
    color: #4b4b4b;
    background: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.amz-category-chip:hover {
    color: #111111;
    text-decoration: none;
}

.amz-category-chip.is-active {
    color: var(--amz-category-active-text, #ffffff) !important;
    background: var(--amz-category-active-background, #111111) !important;
    border-color: var(--amz-category-active-border, #111111) !important;
}

/* =========================================================
   LISTADO DE PRODUCTOS
   ========================================================= */

.amz-menu-content {
    padding: 28px 0 34px;
}

.amz-menu-content > .amz-menu-container {
    width: min(calc(100% - 40px), var(--order-content));
}

.amz-menu-category {
    scroll-margin-top: 90px;
    margin-bottom: 62px;
}

.amz-menu-category:last-child {
    margin-bottom: 20px;
}

.amz-menu-category-title {
    margin: 0 0 28px;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.amz-menu-products {
    display: flex;
    flex-direction: column;
}

.amz-menu-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 34px;
    align-items: center;
    min-height: 210px;
    padding: 24px 0;
    border-bottom: 1px solid var(--order-border);
}

.amz-menu-product:first-child {
    padding-top: 0;
}

.amz-product-information {
    min-width: 0;
}

.amz-product-name {
    margin: 0 0 10px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.amz-product-price {
    margin: 0 0 18px;
    color: #111111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.amz-product-price del {
    margin-right: 7px;
    color: #888888;
    opacity: 1;
}

.amz-product-price ins {
    color: #111111;
    text-decoration: none;
}

.amz-product-description {
    display: -webkit-box;
    max-width: 680px;
    margin: 0;
    overflow: hidden;
    color: #555555;
    font-size: 19px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.amz-product-visual {
    position: relative;
    width: 180px;
    height: 180px;
}

.amz-product-visual img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 26px;
    background: #eeeeee;
}

.amz-product-add {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid #bdbdbd;
    border-radius: 18px;
    color: #111111;
    background: #ffffff;
    font-size: 39px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.16);
    transition: transform 0.18s ease, background 0.18s ease;
}

.amz-product-add:hover {
    background: #f5f5f5;
    transform: scale(1.04);
}

.amz-product-add span {
    position: relative;
    top: -1px;
}

/* =========================================================
   SIN RESULTADOS / MENSAJES
   ========================================================= */

.amz-menu-no-results,
.amz-menu-message {
    padding: 70px 0;
    text-align: center;
}

.amz-menu-no-results h2,
.amz-menu-message h1 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 30px;
}

.amz-menu-no-results p,
.amz-menu-message p {
    margin: 0;
    color: var(--order-muted);
    font-size: 17px;
}

/* =========================================================
   BARRA FIJA DEL CARRITO
   ========================================================= */

.amz-order-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    padding:
        13px
        max(17px, env(safe-area-inset-right))
        calc(13px + env(safe-area-inset-bottom))
        max(17px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #ebebeb;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
}

.amz-order-bar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 760px);
    min-height: 66px;
    margin-inline: auto;
    padding: 14px 24px;
    border: 0;
    border-radius: 17px;
    color: #ffffff;
    background: var(--order-red);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.amz-order-bar-button:hover {
    background: var(--order-red-dark);
}

.amz-order-filled-label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.amz-order-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 700;
}

.amz-order-summary .woocommerce-Price-amount {
    color: inherit;
}

/* =========================================================
   MODAL DEL PRODUCTO
   ========================================================= */

body.amz-modal-open {
    overflow: hidden;
}

.amz-product-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.amz-product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.amz-product-modal-dialog {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100%, 760px);
    height: min(91vh, 850px);
    margin-inline: auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.22);
    animation: amzMenuModalUp 0.28s ease both;
}

.amz-product-modal-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 18px 13px 22px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.amz-product-modal-header h2 {
    margin: 0;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.amz-product-modal-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #222222;
    background: #eeeeee;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.amz-product-modal-body {
    position: relative;
    height: calc(100% - 68px);
    background: #ffffff;
}

.amz-product-quick-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.amz-product-modal-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 13px;
    background: #ffffff;
}

.amz-product-modal-loading[hidden] {
    display: none !important;
}

.amz-product-modal-loading span {
    width: 39px;
    height: 39px;
    border: 4px solid #dedede;
    border-top-color: var(--order-red);
    border-radius: 50%;
    animation: amzMenuSpin 0.8s linear infinite;
}

.amz-product-modal-loading p {
    margin: 0;
    color: #555555;
    font-size: 15px;
}

/* =========================================================
   PRODUCTO DENTRO DEL IFRAME
   ========================================================= */

body.amz-quick-order-product {
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

body.amz-quick-order-product #masthead,
body.amz-quick-order-product .site-header,
body.amz-quick-order-product .ast-mobile-header-wrap,
body.amz-quick-order-product .ast-desktop-header-content,
body.amz-quick-order-product .ast-above-header-wrap,
body.amz-quick-order-product .ast-main-header-wrap,
body.amz-quick-order-product .ast-primary-header-bar,
body.amz-quick-order-product .ast-below-header-wrap,
body.amz-quick-order-product #colophon,
body.amz-quick-order-product .site-footer,
body.amz-quick-order-product .woocommerce-breadcrumb,
body.amz-quick-order-product .related,
body.amz-quick-order-product .up-sells,
body.amz-quick-order-product .woocommerce-tabs,
body.amz-quick-order-product .product_meta {
    display: none !important;
}

body.amz-quick-order-product #page,
body.amz-quick-order-product #content,
body.amz-quick-order-product .site-content,
body.amz-quick-order-product .site-content > .ast-container,
body.amz-quick-order-product #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.amz-quick-order-product div.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 20px 120px !important;
}

body.amz-quick-order-product div.product .woocommerce-product-gallery,
body.amz-quick-order-product div.product .summary {
    width: 100% !important;
    float: none !important;
}

body.amz-quick-order-product div.product .woocommerce-product-gallery {
    max-width: 420px;
    margin: 0 auto 20px !important;
}

body.amz-quick-order-product div.product .woocommerce-product-gallery img {
    border-radius: 20px;
}

body.amz-quick-order-product div.product .summary {
    margin: 0 !important;
}

body.amz-quick-order-product div.product .product_title {
    margin: 0 0 10px !important;
    color: #111111 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

body.amz-quick-order-product div.product p.price,
body.amz-quick-order-product div.product span.price {
    color: #111111 !important;
    font-size: 21px !important;
    font-weight: 700 !important;
}

body.amz-quick-order-product .woocommerce-product-details__short-description {
    color: #4e4e4e;
    font-size: 16px;
    line-height: 1.55;
}

body.amz-quick-order-product form.cart {
    margin-top: 22px !important;
}

body.amz-quick-order-product form.cart .quantity {
    margin-bottom: 14px;
}

body.amz-quick-order-product form.cart .qty {
    min-height: 48px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
}

body.amz-quick-order-product .single_add_to_cart_button {
    width: 100%;
    min-height: 58px;
    margin: 12px 0 0 !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    background: var(--order-red) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.amz-quick-order-product .single_add_to_cart_button:hover {
    background: var(--order-red-dark) !important;
}

/* Advanced Product Fields / WAPF */
body.amz-quick-order-product .wapf-field-container {
    margin-bottom: 22px !important;
}

body.amz-quick-order-product .wapf-field-label {
    display: block !important;
    margin: 0 0 10px !important;
    color: #111111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

body.amz-quick-order-product .wapf-radios,
body.amz-quick-order-product .wapf-checkboxes {
    display: grid !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

body.amz-quick-order-product .wapf-checkable {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    border-radius: 12px !important;
    color: #222222 !important;
    cursor: pointer !important;
}

body.amz-quick-order-product .wapf-checkable:has(input:checked) {
    border-color: var(--order-red) !important;
    background: rgba(225, 10, 3, 0.06) !important;
}

body.amz-quick-order-product .wapf-field-input input[type="radio"],
body.amz-quick-order-product .wapf-field-input input[type="checkbox"] {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    accent-color: var(--order-red);
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

body.amz-quick-order-product .wapf-field-input input:not([type="radio"]):not([type="checkbox"]),
body.amz-quick-order-product .wapf-field-input select,
body.amz-quick-order-product .wapf-field-input textarea {
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    font-size: 15px !important;
}

/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes amzMenuModalUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes amzMenuSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .amz-menu-container,
    .amz-menu-content > .amz-menu-container {
        width: min(calc(100% - 34px), 760px);
    }

    .amz-menu-header-inner {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 82px;
    }

    .amz-menu-logo {
        width: 72px;
        height: 72px;
    }

    .amz-menu-logo img {
        width: 68px;
        height: 68px;
    }

    #amz-menu-search {
        min-height: 60px;
        padding-left: 60px;
        font-size: 18px;
    }

    .amz-search-field-icon {
        left: 23px;
        width: 22px;
        height: 22px;
    }

    .amz-category-page {
        gap: 23px 14px;
    }

    .amz-category-visual-image {
        width: 82px;
        height: 82px;
    }

    .amz-category-visual-name {
        font-size: 14px;
    }

    .amz-menu-category-title {
        font-size: 34px;
    }

    .amz-menu-product {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 24px;
        min-height: 180px;
    }

    .amz-product-visual,
    .amz-product-visual img {
        width: 150px;
        height: 150px;
    }

    .amz-product-name {
        font-size: 24px;
    }

    .amz-product-price {
        font-size: 20px;
    }

    .amz-product-description {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .admin-bar .amz-category-navigation {
        top: 46px;
    }

    .amz-menu-container,
    .amz-menu-content > .amz-menu-container {
        width: calc(100% - 28px);
    }

    .amz-menu-header {
        padding-top: 7px;
    }

    .amz-menu-header-inner {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
        min-height: 66px;
        padding: 5px 0 9px;
    }

    .amz-menu-logo {
        width: 52px;
        height: 52px;
    }

    .amz-menu-logo img {
        width: 49px;
        height: 49px;
    }

    #amz-menu-search {
        min-height: 52px;
        padding: 11px 44px 11px 49px;
        font-size: 15px;
    }

    .amz-search-field-icon {
        left: 18px;
        width: 18px;
        height: 18px;
        border-width: 2px;
    }

    .amz-search-field-icon::after {
        right: -6px;
        bottom: -4px;
        width: 8px;
        height: 2px;
    }

    .amz-search-clear {
        right: 9px;
        width: 32px;
        height: 32px;
        font-size: 23px;
    }

    .amz-menu-video-wrap {
        padding-bottom: 14px;
    }

    .amz-menu-video-frame {
        aspect-ratio: 2.45 / 1;
        border-radius: 16px;
    }

    .amz-category-showcase {
        padding-top: 2px;
        padding-bottom: 10px;
    }

    .amz-category-page {
        gap: 18px 8px;
        padding: 10px 2px 7px;
    }

    .amz-category-visual-image {
        width: 66px;
        height: 66px;
        border-radius: 14px;
    }

    .amz-category-fallback {
        font-size: 27px;
    }

    .amz-category-visual-name {
        min-height: 30px;
        font-size: 10.5px;
        line-height: 1.2;
    }

    .amz-category-slider-dots {
        margin-top: 8px;
    }

    .amz-category-navigation {
        padding: 9px 0 10px;
    }

    .amz-category-chip {
        min-height: 47px;
        padding: 10px 17px;
        border-radius: 15px;
        font-size: 15px;
    }

    .amz-menu-content {
        padding-top: 18px;
    }

    .amz-menu-category {
        margin-bottom: 48px;
        scroll-margin-top: 82px;
    }

    .amz-menu-category-title {
        margin-bottom: 22px;
        font-size: 31px;
    }

    .amz-menu-product {
        grid-template-columns: minmax(0, 1fr) 122px;
        gap: 16px;
        min-height: 158px;
        padding: 20px 0;
    }

    .amz-product-visual,
    .amz-product-visual img {
        width: 122px;
        height: 122px;
    }

    .amz-product-visual img {
        border-radius: 20px;
    }

    .amz-product-name {
        margin-bottom: 7px;
        font-size: 20px;
    }

    .amz-product-price {
        margin-bottom: 11px;
        font-size: 17px;
    }

    .amz-product-description {
        font-size: 14px;
        line-height: 1.43;
        -webkit-line-clamp: 3;
    }

    .amz-product-add {
        right: 7px;
        bottom: 7px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 31px;
    }

    .amz-order-bar-button {
        min-height: 62px;
        border-radius: 16px;
        font-size: 18px;
    }

    .amz-order-summary {
        font-size: 13px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {
    .amz-menu-container,
    .amz-menu-content > .amz-menu-container {
        width: calc(100% - 22px);
    }

    .amz-menu-header-inner {
        grid-template-columns: 47px minmax(0, 1fr);
        gap: 8px;
    }

    .amz-menu-logo,
    .amz-menu-logo img {
        width: 47px;
        height: 47px;
    }

    #amz-menu-search {
        min-height: 48px;
        padding-left: 44px;
        font-size: 13.5px;
    }

    .amz-search-field-icon {
        left: 16px;
        width: 16px;
        height: 16px;
    }

    .amz-category-page {
        gap: 15px 6px;
    }

    .amz-category-visual-image {
        width: 58px;
        height: 58px;
    }

    .amz-category-visual-name {
        font-size: 9.5px;
    }

    .amz-menu-product {
        grid-template-columns: minmax(0, 1fr) 108px;
        gap: 12px;
    }

    .amz-product-visual,
    .amz-product-visual img {
        width: 108px;
        height: 108px;
    }

    .amz-product-name {
        font-size: 18px;
    }

    .amz-product-price {
        font-size: 16px;
    }

    .amz-product-description {
        font-size: 13px;
    }

    .amz-product-add {
        width: 43px;
        height: 43px;
        font-size: 29px;
    }
}

/* =========================================================
   FIX FINAL RESPONSIVE: HEADER + FLYER COMPLETO
   Evita recortes en escritorio y conserva el video completo
   ========================================================= */

/* Escritorio grande: limitar el ancho para que no se estire demasiado */
@media (min-width: 901px) {
    body.page-order-now .amz-menu-container,
    body.amz-order-now-page .amz-menu-container {
        width: min(calc(100% - 64px), 1180px) !important;
        max-width: 1180px !important;
    }

    body.page-order-now .amz-menu-content > .amz-menu-container,
    body.amz-order-now-page .amz-menu-content > .amz-menu-container {
        width: min(calc(100% - 64px), 980px) !important;
        max-width: 980px !important;
    }

    .amz-menu-header {
        padding-top: 10px !important;
    }

    .amz-menu-header-inner {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: 16px !important;
        min-height: 82px !important;
        padding: 8px 0 12px !important;
    }

    .amz-menu-logo {
        width: 72px !important;
        height: 72px !important;
    }

    .amz-menu-logo img {
        width: 68px !important;
        height: 68px !important;
    }

    #amz-menu-search {
        min-height: 60px !important;
        padding: 12px 58px 12px 64px !important;
        font-size: 18px !important;
    }

    .amz-search-field-icon {
        left: 24px !important;
        width: 22px !important;
        height: 22px !important;
        border-width: 2px !important;
    }

    .amz-search-field-icon::after {
        right: -7px !important;
        bottom: -4px !important;
        width: 9px !important;
        height: 2px !important;
    }
}

/* El contenedor deja de imponer una proporción demasiado ancha */
.amz-menu-video-wrap {
    padding: 6px 0 22px !important;
}

.amz-menu-video-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
}

/* Mostrar el flyer completo sin cortar la parte superior o inferior */
.amz-menu-video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 22px !important;
    background: #ffffff !important;
}

/* Tablet */
@media (min-width: 601px) and (max-width: 900px) {
    body.page-order-now .amz-menu-container,
    body.amz-order-now-page .amz-menu-container {
        width: min(calc(100% - 36px), 820px) !important;
    }

    .amz-menu-header-inner {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 14px !important;
        min-height: 76px !important;
    }

    .amz-menu-logo,
    .amz-menu-logo img {
        width: 62px !important;
        height: 62px !important;
    }

    #amz-menu-search {
        min-height: 56px !important;
        padding-left: 56px !important;
        font-size: 17px !important;
    }

    .amz-menu-video-frame,
    .amz-menu-video {
        border-radius: 18px !important;
    }
}

/* Teléfono */
@media (max-width: 600px) {
    body.page-order-now .amz-menu-container,
    body.amz-order-now-page .amz-menu-container,
    body.page-order-now .amz-menu-content > .amz-menu-container,
    body.amz-order-now-page .amz-menu-content > .amz-menu-container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
    }

    .amz-menu-header {
        padding-top: 6px !important;
    }

    .amz-menu-header-inner {
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 62px !important;
        padding: 4px 0 8px !important;
    }

    .amz-menu-logo,
    .amz-menu-logo img {
        width: 46px !important;
        height: 46px !important;
    }

    #amz-menu-search {
        min-height: 50px !important;
        padding: 10px 41px 10px 46px !important;
        font-size: 14px !important;
    }

    .amz-search-field-icon {
        left: 17px !important;
        width: 17px !important;
        height: 17px !important;
        border-width: 2px !important;
    }

    .amz-menu-video-wrap {
        padding: 3px 0 14px !important;
    }

    .amz-menu-video-frame,
    .amz-menu-video {
        border-radius: 15px !important;
    }
}

/* Teléfonos muy pequeños */
@media (max-width: 390px) {
    body.page-order-now .amz-menu-container,
    body.amz-order-now-page .amz-menu-container,
    body.page-order-now .amz-menu-content > .amz-menu-container,
    body.amz-order-now-page .amz-menu-content > .amz-menu-container {
        width: calc(100% - 20px) !important;
    }

    .amz-menu-header-inner {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .amz-menu-logo,
    .amz-menu-logo img {
        width: 42px !important;
        height: 42px !important;
    }

    #amz-menu-search {
        min-height: 47px !important;
        padding-left: 43px !important;
        font-size: 13px !important;
    }
}
/* =========================================================
   TIPOGRAFÍA GENERAL DE TÍTULOS
   ========================================================= */

/* Títulos principales de cada categoría:
   BREAKFAST, BIG DEALS, DRINKS, etc. */
.amz-menu-category-title {
    margin: 0 0 30px !important;

    color: #111111 !important;

    font-family: "ADLaM Display", system-ui, sans-serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;

    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

/* Nombres de productos:
   The Morning Glory, Mexican Burrito, etc. */
.amz-product-name {
    margin: 0 0 9px !important;

    color: #111111 !important;

    font-family: "ADLaM Display", system-ui, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Título del popup al personalizar un producto */
.amz-product-modal-header h2 {
    font-family: "ADLaM Display", system-ui, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

/* Título del producto dentro del popup */
body.amz-quick-order-product div.product .product_title {
    font-family: "ADLaM Display", system-ui, sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .amz-menu-category-title {
        font-size: 32px !important;
        margin-bottom: 26px !important;
    }

    .amz-product-name {
        font-size: 22px !important;
    }
}

/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {
    .amz-menu-category-title {
        margin-bottom: 24px !important;
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    .amz-product-name {
        margin-bottom: 8px !important;
        font-size: 19px !important;
        line-height: 1.25 !important;
    }

    .amz-product-modal-header h2 {
        font-size: 19px !important;
    }

    body.amz-quick-order-product div.product .product_title {
        font-size: 24px !important;
    }
}