:root {
    --menu-accent: #a9231f;
    --menu-accent-dark: #831a17;
    --menu-black: #111111;
    --menu-text: #292929;
    --menu-muted: #5d5d5d;
    --menu-border: #e6e6e6;
    --menu-white: #ffffff;
    --menu-container: 760px;
}

/* El atributo hidden debe prevalecer siempre */
[hidden] {
    display: none !important;
}

body.page-order-now,
body.amc-quick-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 #colophon,
body.page-order-now .site-footer {
    display: none !important;
}

body.page-order-now #page,
body.page-order-now #content,
body.page-order-now .site-content,
body.page-order-now .site-content > .ast-container,
body.page-order-now #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.amc-order-page {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 110px;
    color: var(--menu-text);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.amc-menu-container {
    width: min(calc(100% - 34px), var(--menu-container));
    margin-inline: auto;
}

/* Header */

.amc-menu-header {
    background: #ffffff;
}

.amc-menu-header-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
}

.amc-menu-logo {
    display: inline-flex;
    align-items: center;
    color: #111111;
    text-decoration: none;
}

.amc-menu-logo img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.amc-search-trigger,
.amc-category-search {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 17px;
    background: #ffffff;
    cursor: pointer;
}

.amc-search-trigger span,
.amc-category-search span,
.amc-search-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #111111;
    border-radius: 50%;
}

.amc-search-trigger span::after,
.amc-category-search span::after,
.amc-search-icon::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 9px;
    height: 2px;
    content: "";
    background: #111111;
    border-radius: 10px;
    transform: rotate(45deg);
}

/* Search */

.amc-search-panel {
    padding: 0 0 18px;
}

.amc-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.amc-search-icon {
    position: absolute;
    left: 18px;
    width: 17px;
    height: 17px;
    border-width: 1.8px;
}

#amc-menu-search {
    width: 100%;
    min-height: 55px;
    padding: 12px 52px;
    border: 1px solid #d2d2d2;
    border-radius: 17px;
    outline: none;
    color: #111111;
    background: #ffffff;
    font: inherit;
    font-size: 17px;
}

#amc-menu-search:focus {
    border-color: #111111;
}

.amc-search-clear {
    position: absolute;
    right: 12px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eeeeee;
    font-size: 25px;
    cursor: pointer;
}

/* Categorías horizontales */

.amc-category-navigation {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 11px 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
}

.admin-bar .amc-category-navigation {
    top: 32px;
}

.amc-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 0 7px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.amc-category-scroll::-webkit-scrollbar {
    display: none;
}

.amc-category-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 53px;
    padding: 11px 20px;
    border: 1px solid #cccccc;
    border-radius: 17px;
    color: #4a4a4a;
    background: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.amc-category-chip.is-active {
    color: #ffffff;
    background: #111111;
    border-color: #111111;
}

/* Productos */

.amc-menu-content {
    padding: 40px 0 25px;
}

.amc-menu-category {
    scroll-margin-top: 88px;
    margin-bottom: 55px;
}

.amc-category-title {
    margin: 0 0 24px;
    color: #111111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.amc-menu-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 21px;
    align-items: center;
    min-height: 175px;
    padding: 18px 0;
    border-bottom: 1px solid var(--menu-border);
}

.amc-menu-product:first-child {
    padding-top: 0;
}

.amc-product-name {
    margin: 0 0 8px;
    color: #171717;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.amc-product-price {
    margin-bottom: 14px;
    color: #111111;
    font-size: 19px;
    font-weight: 600;
}

.amc-product-price ins {
    text-decoration: none;
}

.amc-product-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #4f4f4f;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.amc-product-visual,
.amc-product-visual img {
    width: 140px;
    height: 140px;
}

.amc-product-visual {
    position: relative;
}

.amc-product-visual img {
    display: block;
    object-fit: cover;
    border-radius: 23px;
    background: #eeeeee;
}

.amc-product-add {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid #bdbdbd;
    border-radius: 16px;
    color: #111111;
    background: #ffffff;
    font-size: 34px;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.15);
}

/* Barra inferior */

.amc-order-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    padding:
        12px
        max(17px, env(safe-area-inset-right))
        calc(12px + env(safe-area-inset-bottom))
        max(17px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e9e9e9;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
}

.amc-order-bar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, var(--menu-container));
    min-height: 65px;
    margin-inline: auto;
    padding: 14px 24px;
    border: 0;
    border-radius: 17px;
    color: #ffffff;
    background: var(--menu-accent);
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}

.amc-order-filled {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.amc-order-summary {
    display: inline-flex;
    gap: 5px;
    font-size: 15px;
    font-weight: 600;
}

/* Popup */

body.amc-modal-open {
    overflow: hidden;
}

.amc-product-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.amc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.amc-modal-dialog {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100%, var(--menu-container));
    height: min(91vh, 850px);
    margin-inline: auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 25px 25px 0 0;
}

.amc-modal-header {
    min-height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 17px 12px 21px;
    border-bottom: 1px solid #e8e8e8;
}

.amc-modal-header h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
}

.amc-modal-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eeeeee;
    font-size: 29px;
    cursor: pointer;
}

.amc-modal-body {
    position: relative;
    height: calc(100% - 67px);
}

.amc-product-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    background: #ffffff;
}

.amc-modal-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    background: #ffffff;
}

.amc-modal-loading span {
    width: 38px;
    height: 38px;
    border: 4px solid #dddddd;
    border-top-color: var(--menu-accent);
    border-radius: 50%;
    animation: amc-spin 0.75s linear infinite;
}

/* Producto dentro del popup */

body.amc-quick-product #masthead,
body.amc-quick-product .site-header,
body.amc-quick-product #colophon,
body.amc-quick-product .site-footer,
body.amc-quick-product .woocommerce-breadcrumb,
body.amc-quick-product .related,
body.amc-quick-product .up-sells,
body.amc-quick-product .woocommerce-tabs,
body.amc-quick-product .product_meta {
    display: none !important;
}

body.amc-quick-product #page,
body.amc-quick-product #content,
body.amc-quick-product .site-content,
body.amc-quick-product .site-content > .ast-container,
body.amc-quick-product #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.amc-quick-product div.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 18px 110px !important;
}

body.amc-quick-product div.product .woocommerce-product-gallery,
body.amc-quick-product div.product .summary {
    width: 100% !important;
    float: none !important;
}

body.amc-quick-product div.product .woocommerce-product-gallery {
    max-width: 410px;
    margin: 0 auto 18px !important;
}

body.amc-quick-product div.product .woocommerce-product-gallery img {
    border-radius: 20px;
}

body.amc-quick-product div.product .product_title {
    font-size: 27px !important;
    line-height: 1.15 !important;
}

body.amc-quick-product .single_add_to_cart_button {
    width: 100%;
    min-height: 58px;
    border-radius: 16px !important;
    color: #ffffff !important;
    background: var(--menu-accent) !important;
}

body.amc-quick-product .wapf-field-input input,
body.amc-quick-product .wapf-field-input select,
body.amc-quick-product .wapf-field-input textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d1d1d1;
    border-radius: 12px;
}

.amc-no-results,
.amc-message {
    padding: 60px 0;
    text-align: center;
}

@keyframes amc-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 900px) {
    body.page-order-now {
        background: #f2f2f2 !important;
    }

    .amc-order-page {
        width: 820px;
        margin-inline: auto;
        box-shadow: 0 0 32px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 600px) {
    .amc-menu-logo img {
        width: 77px;
        height: 77px;
    }

    .amc-menu-header-inner {
        min-height: 103px;
    }

    .amc-menu-product {
        grid-template-columns: minmax(0, 1fr) 125px;
        gap: 17px;
    }

    .amc-product-visual,
    .amc-product-visual img {
        width: 125px;
        height: 125px;
    }

    .amc-product-name {
        font-size: 20px;
    }

    .amc-product-description {
        font-size: 15px;
    }

    .amc-product-add {
        width: 47px;
        height: 47px;
    }
}

@media (max-width: 390px) {
    .amc-menu-container {
        width: calc(100% - 26px);
    }

    .amc-menu-product {
        grid-template-columns: minmax(0, 1fr) 110px;
        gap: 13px;
    }

    .amc-product-visual,
    .amc-product-visual img {
        width: 110px;
        height: 110px;
    }

    .amc-product-name {
        font-size: 18px;
    }

    .amc-product-description {
        font-size: 14px;
    }
}
/* =========================================================
   FLYER / VIDEO FULL WIDTH
   ========================================================= */

.amc-promo-video {
    width: 100%;
    padding: 4px 0 16px;
    background: #ffffff;
}

.amc-promo-video .amc-menu-container {
    width: min(calc(100% - 20px), var(--menu-container));
}

.amc-promo-video-frame {
    width: 100%;
    aspect-ratio: 5 / 2; /* más bajito */
    overflow: hidden;
    border-radius: 18px;
    background: transparent !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.amc-promo-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;   /* ESTO hace que ocupe todo */
    object-position: center center;
    background: transparent !important;
    border: 0;
}

/* Sutil efecto al cargar */
.amc-promo-video-frame {
    animation: amcPromoVideoEntrance 0.55s ease both;
}

@keyframes amcPromoVideoEntrance {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Teléfono */
@media (max-width: 600px) {
    .amc-promo-video {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .amc-promo-video .amc-menu-container {
        width: calc(100% - 24px);
    }

    .amc-promo-video-frame {
        border-radius: 17px;

        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.11);
    }
}
/* =========================================================
   NUEVO INICIO: LOGO + BUSCADOR
   ========================================================= */

.amc-top-header {
    width: 100%;
    padding: 16px 0 12px;
    background: #ffffff;
}

.amc-top-header-inner {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.amc-top-logo {
    display: grid;
    place-items: center;

    width: 54px;
    height: 54px;

    overflow: hidden;

    color: #ffffff;
    background: #111111;

    border-radius: 50%;

    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.amc-top-logo img {
    display: block;

    width: 48px;
    height: 48px;

    object-fit: contain;
}

.amc-top-search {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
}

.amc-top-search .amc-search-icon {
    position: absolute;
    left: 18px;
    z-index: 2;

    width: 18px;
    height: 18px;

    border: 2px solid #1376bf;
    border-radius: 50%;

    pointer-events: none;
}

.amc-top-search .amc-search-icon::after {
    position: absolute;
    right: -6px;
    bottom: -4px;

    width: 8px;
    height: 2px;

    content: "";

    background: #1376bf;
    border-radius: 999px;

    transform: rotate(45deg);
}

.amc-top-search #amc-menu-search {
    width: 100%;
    min-height: 54px;

    padding: 12px 48px 12px 52px;

    border: 1px solid #dedede;
    border-radius: 999px;
    outline: none;

    color: #222222;
    background: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);
}

.amc-top-search #amc-menu-search:focus {
    border-color: #111111;
}

.amc-top-search .amc-search-clear {
    right: 10px;
}

/* =========================================================
   FLYER MÁS BAJO
   ========================================================= */

.amc-promo-video {
    width: 100%;
    padding: 4px 0 18px;
    background: #ffffff;
}

.amc-promo-video .amc-menu-container {
    width: min(calc(100% - 20px), var(--menu-container));
}

.amc-promo-video-frame {
    width: 100%;

    /*
     * Antes era 2:1.
     * 2.45:1 reduce la altura sin perder todo el ancho.
     */
    aspect-ratio: 2.45 / 1;

    overflow: hidden;

    background: #eeeeee;
    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1);
}

.amc-promo-video-frame video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border: 0;
}

/* =========================================================
   CUADRÍCULA DE 12 CATEGORÍAS
   ========================================================= */

.amc-category-showcase {
    width: 100%;
    padding: 3px 0 24px;
    background: #ffffff;
}

.amc-category-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px 9px;
}

.amc-category-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    min-width: 0;

    color: #171717;
    text-decoration: none;
    text-align: center;

    -webkit-tap-highlight-color: transparent;
}

.amc-category-icon-card:hover {
    color: #171717;
    text-decoration: none;
}

.amc-category-icon-media {
    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f3f3f3 100%
        );

    border-radius: 16px;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.08);
}

.amc-category-icon-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.amc-category-icon-fallback {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;

    color: #ffffff;
    background: var(--menu-accent);

    font-size: 27px;
    font-weight: 700;
}

.amc-category-icon-name {
    display: -webkit-box;

    width: 100%;
    min-height: 30px;

    overflow: hidden;

    color: #191919;

    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* =========================================================
   MENÚ HORIZONTAL DESPUÉS DE LAS CATEGORÍAS
   ========================================================= */

.amc-category-navigation {
    position: sticky;
    top: 0;
    z-index: 50;

    padding: 10px 0;

    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    backdrop-filter: blur(14px);
}

.amc-category-scroll {
    gap: 8px;
}

.amc-category-chip {
    min-height: 50px;
    padding: 10px 18px;

    border-radius: 16px;

    font-size: 16px;
}

/* Ya no existe la segunda lupa */
.amc-category-search {
    display: none !important;
}

/* =========================================================
   BARRA DEL CARRITO
   ========================================================= */

.amc-order-bar[hidden] {
    display: none !important;
}

.amc-order-bar-button {
    justify-content: space-between;
}

.amc-order-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 390px) {
    .amc-top-header-inner {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
    }

    .amc-top-logo {
        width: 48px;
        height: 48px;
    }

    .amc-top-logo img {
        width: 43px;
        height: 43px;
    }

    .amc-top-search #amc-menu-search {
        min-height: 50px;
        padding-left: 47px;
        font-size: 15px;
    }

    .amc-category-icon-grid {
        gap: 15px 7px;
    }

    .amc-category-icon-media {
        width: 65px;
        height: 65px;
    }

    .amc-category-icon-name {
        font-size: 10.5px;
    }
}
/* =========================================================
   FIX FINAL: CATEGORÍAS EN 2 FILAS DESLIZABLES
   + FLYER SIN RECORTE
   + MENÚ HORIZONTAL MÁS ESTABLE
   ========================================================= */

/* Flyer: mantener contenido completo sin recortarlo */
.amc-promo-video-frame {
    aspect-ratio: 2.25 / 1 !important;
    background: #f7a51f !important;
}

/* Categorías visuales en 2 filas y 6 columnas */
/* =========================================================
   CATEGORÍAS VISUALES: 2 FILAS DESLIZABLES EN BLOQUE
   ========================================================= */

.amc-category-showcase {
    padding: 4px 0 20px;
    overflow: hidden;
    background: #ffffff;
}

.amc-category-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, calc((100% - 27px) / 4));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: row;
    gap: 18px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 2px 10px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.amc-category-icon-grid::-webkit-scrollbar {
    display: none;
}

.amc-category-icon-card {
    scroll-snap-align: start;
}

.amc-category-icon-media {
    width: 68px;
    height: 68px;
    border-radius: 16px;
}

.amc-category-icon-name {
    font-size: 11px;
    line-height: 1.2;
    min-height: 28px;
}

/* Menú horizontal sticky corregido */
/* =========================================================
   MENÚ HORIZONTAL STICKY
   ========================================================= */

.amc-category-navigation {
    display: none;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(14px);
}

.amc-category-navigation.is-visible {
    display: block;
}

.amc-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 0 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.amc-category-scroll::-webkit-scrollbar {
    display: none;
}
/* =========================================================
   DOTS DEL SLIDER DE CATEGORÍAS VISUALES
   ========================================================= */

.amc-category-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.amc-category-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cfcfcf;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amc-category-slider-dot.is-active {
    width: 20px;
    background: #111111;
}
/* =========================================================
   REDUCIR ESPACIO ENTRE CATEGORÍAS VISUALES Y BREAKFAST
   ========================================================= */

.amc-category-showcase {
    padding-bottom: 6px !important;
}

.amc-category-slider-dots {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.amc-menu-content {
    padding-top: 16px !important;
}

.amc-menu-category:first-of-type {
    margin-top: 0 !important;
}

.amc-menu-category:first-of-type .amc-category-title {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

/* En celular lo dejamos todavía más compacto */
@media (max-width: 600px) {
    .amc-category-showcase {
        padding-bottom: 4px !important;
    }

    .amc-menu-content {
        padding-top: 12px !important;
    }

    .amc-category-slider-dots {
        margin-top: 2px !important;
    }
}
/* =========================================================
   FIX OPCIONES DE PRODUCTO / RADIO BUTTONS WAPF
   ========================================================= */

/* Evitar que los radio/checkbox hereden width:100% */
body.amc-quick-product .wapf-field-input input[type="radio"],
body.amc-quick-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(--menu-accent);

    transform: none !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

/* Contenedor de opciones */
body.amc-quick-product .wapf-radios,
body.amc-quick-product .wapf-checkboxes {
    display: grid !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

/* Cada opción como una tarjeta limpia */
body.amc-quick-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;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Texto de cada opción */
body.amc-quick-product .wapf-checkable label,
body.amc-quick-product .wapf-checkable span,
body.amc-quick-product .wapf-checkable .wapf-label-text {
    color: #222222 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

/* Estado hover */
body.amc-quick-product .wapf-checkable:hover {
    border-color: #b5b5b5 !important;
    background: #fafafa !important;
}

/* Cuando una opción está seleccionada */
body.amc-quick-product .wapf-checkable:has(input:checked) {
    border-color: var(--menu-accent) !important;
    background: rgba(169, 35, 31, 0.06) !important;
    box-shadow: 0 0 0 1px rgba(169, 35, 31, 0.12) !important;
}

/* Separación entre grupos de opciones */
body.amc-quick-product .wapf-field-container {
    margin-bottom: 22px !important;
}

/* Títulos de los campos */
body.amc-quick-product .wapf-field-label {
    display: block !important;

    margin: 0 0 10px !important;

    color: #111111 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

/* Texto pequeño tipo "Select an option." */
body.amc-quick-product .wapf-field-description,
body.amc-quick-product .wapf-help,
body.amc-quick-product .wapf-field-input + small {
    display: block !important;

    margin-top: 8px !important;

    color: #777777 !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
}

/* Inputs normales siguen ocupando todo el ancho */
body.amc-quick-product .wapf-field-input input:not([type="radio"]):not([type="checkbox"]),
body.amc-quick-product .wapf-field-input select,
body.amc-quick-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;
}