/* =============================================================
   carrito-cotizacion.css
   Carrito de cotización por rollos — Arletex Design System v3.5
   -------------------------------------------------------------
   Prefijo de clases: .ax-cotiza-* (.ax-quote ya es la sección de mayoreo de las landings geográficas)
   Carga en TODO el sitio (layouts/carrito-cotizacion.blade.php se
   incluye desde master), por eso los tokens van con fallback: en
   páginas sin landing-producto.css el :root de --ax-* no existe.

   Piezas:
     §1. Botón del header (desktop + móvil) con contador
     §2. Panel lateral — backdrop + drawer derecho
     §3. Lista de rollos
     §4. Stepper sobre fondo claro
     §5. Pie del panel — total + CTA WhatsApp
     §6. Estado vacío
     §7. Bloque "Agregar a la cotización" de la PDP
     §8. Toast de confirmación
     §9. Accesibilidad y motion
   ============================================================= */


/* =============================================================
   §1. BOTÓN DEL HEADER — ícono + contador de rollos. Siempre visible.
   ============================================================= */
.ax-cotiza-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    /* Más peso (Edgar, 20-nov): el lenguaje de .ax-btn--primary — naranja con sombra sólida orange-deep y
       "press-chunky" al presionar. El borde transparente dibuja el contorno en modo de alto contraste. */
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--ax-orange, #F15A29);
    color: #ffffff;
    box-shadow: 0 4px 0 var(--ax-orange-deep, #B0401A);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition-property: background-color, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}
/* Teléfonos angostos: acerca el botón a "Tienda en línea" (que va a su izquierda desde el 20-nov) para no pisar el logo. */
@media (max-width: 374px) {
    .ax-cotiza-btn--compact { margin-left: -12px; }
}
/* A 320 px no caben logo, carrito y "Tienda en línea" al hacer scroll: el atajo sigue en el menú. */
@media (max-width: 359.98px) {
    .mobile-market-actions .mobile-market-store-shortcut { display: none; }
}

@media (hover: hover) {
    .ax-cotiza-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 0 var(--ax-orange-deep, #B0401A);
        color: #ffffff;
    }
}
.ax-cotiza-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--ax-orange-deep, #B0401A);
}
.ax-cotiza-btn:focus-visible {
    color: #ffffff;
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .ax-cotiza-btn { transition-property: background-color, box-shadow; }
    .ax-cotiza-btn:hover,
    .ax-cotiza-btn:active { transform: none; }
}

.ax-cotiza-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.ax-cotiza-btn__label {
    white-space: nowrap;
}

/* Contador — cuadrado de tinta con número Anton tabular (resalta sobre el botón naranja). */
.ax-cotiza-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: var(--ax-ink, #1F2530);
    color: #ffffff;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
}

/* Pulso de una sola vez cuando entra un rollo nuevo. */
.ax-cotiza-btn--bump .ax-cotiza-btn__count {
    animation: ax-cotiza-bump 420ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
@keyframes ax-cotiza-bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Variante móvil — icon-only, el texto queda solo para lectores. */
.ax-cotiza-btn--compact {
    padding: 8px;
    min-width: 44px;
    justify-content: center;
}
.ax-cotiza-btn--compact .ax-cotiza-btn__label {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.ax-cotiza-btn--compact .ax-cotiza-btn__count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    border: 1px solid #ffffff;
}


/* =============================================================
   §2. PANEL LATERAL — backdrop + drawer que entra por la derecha.
   Mismo z-index que el color sheet (1000): AxOverlay garantiza
   que solo uno tenga el scroll-lock y que Escape cierre el de
   arriba, así que pueden convivir apilados.
   ============================================================= */
.ax-cotiza {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}
.ax-cotiza[hidden] { display: none; }
.ax-cotiza--open { display: block; }

.ax-cotiza__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 37, 48, .72);   /* ink @ 72% */
    cursor: pointer;
    animation: ax-cotiza-fade 200ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

.ax-cotiza__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--ax-paper, #FAF6EE);
    color: var(--ax-ink, #1F2530);
    border-left: 3px solid var(--ax-orange, #F15A29);
    animation: ax-cotiza-slide 280ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}

@keyframes ax-cotiza-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes ax-cotiza-slide {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

/* Cabecera ink — el panel es un bloque oscuro de puntuación. */
.ax-cotiza__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-paper, #FAF6EE);
}

.ax-cotiza__title {
    margin: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    /* !important: style.css fuerza 30px a todo h2 del sitio. */
    font-size: 1.25rem !important;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: var(--ax-paper, #FAF6EE);
}
.ax-cotiza__subtitle {
    margin: 4px 0 0;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ax-muted-dark, #A8A39A);
}

.ax-cotiza__close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 246, 238, .3);
    border-radius: 0;
    background: transparent;
    color: var(--ax-paper, #FAF6EE);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
@media (hover: hover) {
    .ax-cotiza__close:hover {
        background: var(--ax-orange, #F15A29);
        border-color: var(--ax-orange, #F15A29);
        color: #ffffff;
        outline: none;
    }
}
.ax-cotiza__close:focus-visible {
    background: var(--ax-orange, #F15A29);
    border-color: var(--ax-orange, #F15A29);
    color: #ffffff;
    outline: none;
}

.ax-cotiza__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px;
}


/* =============================================================
   §3. LISTA DE ROLLOS — una fila por color, separadores punteados.
   ============================================================= */
.ax-cotiza-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ax-cotiza-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
        "swatch info   remove"
        "swatch qty    qty";
    align-items: center;
    gap: 6px 12px;
    padding: 14px 0;
    border-bottom: 1px dotted var(--ax-rule, #E5E1D7);
}
.ax-cotiza-item:first-child { padding-top: 4px; }
.ax-cotiza-item:last-child  { border-bottom: 0; }

.ax-cotiza-item__swatch {
    grid-area: swatch;
    align-self: start;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ax-rule, #E5E1D7);
    background-color: var(--ax-cream, #F2EDE4);
    background-size: cover;
    background-position: center;
}
/* Tonos muy claros (blanco, hueso) necesitan borde reforzado o
   desaparecen sobre paper. */
.ax-cotiza-item__swatch--light {
    border-color: var(--ax-muted, #6E6A60);
}

.ax-cotiza-item__info  { grid-area: info; min-width: 0; }

.ax-cotiza-item__name {
    display: block;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    color: var(--ax-ink, #1F2530);
}
.ax-cotiza-item__meta {
    display: block;
    margin-top: 2px;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ax-muted, #6E6A60);
}

.ax-cotiza-item__price {
    display: block;
    margin-top: 4px;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: var(--ax-ink, #1F2530);
    font-variant-numeric: tabular-nums;
}

.ax-cotiza-item__remove {
    grid-area: remove;
    align-self: start;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ax-rule, #E5E1D7);
    border-radius: 0;
    background: transparent;
    color: var(--ax-muted, #6E6A60);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
@media (hover: hover) {
    .ax-cotiza-item__remove:hover {
        background: var(--ax-ink, #1F2530);
        border-color: var(--ax-ink, #1F2530);
        color: var(--ax-paper, #FAF6EE);
        outline: none;
    }
}
.ax-cotiza-item__remove:focus-visible {
    background: var(--ax-ink, #1F2530);
    border-color: var(--ax-ink, #1F2530);
    color: var(--ax-paper, #FAF6EE);
    outline: none;
}

.ax-cotiza-item__qty { grid-area: qty; justify-self: start; }


/* =============================================================
   §4. STEPPER sobre fondo claro — versión paper del control
   − / valor / + del sistema (§10.11 del design system, que está
   pensado para fondos ink).
   ============================================================= */
.ax-cotiza-stepper {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    align-items: stretch;
    border: 1px solid var(--ax-ink, #1F2530);
    background: var(--ax-white, #FFFFFF);
}

.ax-cotiza-stepper__btn {
    min-width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ax-ink, #1F2530);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
@media (hover: hover) {
    .ax-cotiza-stepper__btn:hover {
        background: var(--ax-orange, #F15A29);
        color: #ffffff;
        outline: none;
    }
}
.ax-cotiza-stepper__btn:focus-visible {
    background: var(--ax-orange, #F15A29);
    color: #ffffff;
    outline: none;
}
.ax-cotiza-stepper__btn:disabled {
    opacity: .25;
    cursor: not-allowed;
    pointer-events: none;
}

.ax-cotiza-stepper__input {
    width: 48px;
    border: 0;
    border-left: 1px solid var(--ax-rule, #E5E1D7);
    border-right: 1px solid var(--ax-rule, #E5E1D7);
    border-radius: 0;
    background: transparent;
    color: var(--ax-ink, #1F2530);
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}
.ax-cotiza-stepper__input::-webkit-outer-spin-button,
.ax-cotiza-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ax-cotiza-stepper__input:focus-visible {
    outline: 2px solid var(--ax-orange, #F15A29);
    outline-offset: -2px;
}


/* =============================================================
   §5. PIE DEL PANEL — total de rollos + CTA WhatsApp.
   ============================================================= */
.ax-cotiza__footer {
    flex-shrink: 0;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    background: var(--ax-cream, #F2EDE4);
    border-top: 2px solid var(--ax-orange, #F15A29);
}

.ax-cotiza__totals {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}
.ax-cotiza__totals-label {
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ax-ink, #1F2530);
}
.ax-cotiza__totals--money { margin-top: -6px; }
.ax-cotiza__totals--money[hidden] { display: none; }
.ax-cotiza__totals-value {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1;
    color: var(--ax-orange, #F15A29);
    font-variant-numeric: tabular-nums;
}
.ax-cotiza__totals-unit {
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ax-ink, #1F2530);
}

/* CTA WhatsApp — chunky, sombra sólida sin blur. */
.ax-cotiza__send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: var(--ax-whatsapp, #25D366);
    box-shadow: 0 6px 0 var(--ax-whatsapp-deep, #0F8C40);
    color: var(--ax-ink, #1F2530);
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
    .ax-cotiza__send:hover {
        transform: translateY(3px);
        box-shadow: 0 3px 0 var(--ax-whatsapp-deep, #0F8C40);
        color: var(--ax-ink, #1F2530);
        text-decoration: none;
        outline: none;
    }
}
.ax-cotiza__send:focus-visible {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--ax-whatsapp-deep, #0F8C40);
    color: var(--ax-ink, #1F2530);
    text-decoration: none;
    outline: none;
}
.ax-cotiza__send[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
}

.ax-cotiza__note {
    margin: 10px 0 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ax-muted, #6E6A60);
}

.ax-cotiza__clear {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 14px;
    color: var(--ax-muted, #6E6A60);
    text-decoration: underline;
    cursor: pointer;
}
@media (hover: hover) {
    .ax-cotiza__clear:hover {
        color: var(--ax-orange-deep, #B0401A);
        outline: none;
    }
}
.ax-cotiza__clear:focus-visible {
    color: var(--ax-orange-deep, #B0401A);
    outline: none;
}


/* =============================================================
   §6. ESTADO VACÍO
   ============================================================= */
.ax-cotiza__empty {
    padding: 32px 4px;
    text-align: center;
}
.ax-cotiza__empty-title {
    margin: 0 0 8px;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 1.1rem !important;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}
.ax-cotiza__empty-text {
    margin: 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ax-muted, #6E6A60);
}


/* =============================================================
   §7. BLOQUE "AGREGAR A LA COTIZACIÓN" — vive en el hero de la PDP,
   junto al muestrario. Cantidad de rollos + botón.
   ============================================================= */
.ax-cotiza-add {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.ax-cotiza-add__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ax-cotiza-add__label {
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ax-ink, #1F2530);
}

.ax-cotiza-add__btn {
    flex: 1 1 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    background: var(--ax-orange, #F15A29);
    box-shadow: 0 6px 0 var(--ax-orange-deep, #B0401A);
    color: #ffffff;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
    .ax-cotiza-add__btn:hover {
        transform: translateY(3px);
        box-shadow: 0 3px 0 var(--ax-orange-deep, #B0401A);
        outline: none;
    }
}
.ax-cotiza-add__btn:focus-visible {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--ax-orange-deep, #B0401A);
    outline: none;
}

/* Press-chunky al agregar y al cambiar cantidad; sin movimiento con reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
    .ax-cotiza-add__btn:active {
        transform: translateY(6px);
        box-shadow: 0 0 0 var(--ax-orange-deep, #B0401A);
    }
    .ax-cotiza-stepper__btn { transition-property: background-color, color, scale; }
    .ax-cotiza-stepper__btn:not(:disabled):active { scale: .96; }
}

/* Aviso "elige un color" — aparece solo si se intenta agregar sin
   selección y la página tiene muestrario. */
.ax-cotiza-add__hint {
    flex: 1 1 100%;
    margin: 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ax-orange-deep, #B0401A);
}
.ax-cotiza-add__hint[hidden] { display: none; }

/* Botón "Agregar" dentro de la barra sticky mobile — pasa a ser el CTA
   principal de la barra; WhatsApp queda como botón cuadrado de apoyo. */
.ax-sticky-bar .ax-cotiza-add-sticky {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: var(--ax-orange, #F15A29);
    color: #ffffff;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease;
}
@media (hover: hover) {
    .ax-sticky-bar .ax-cotiza-add-sticky:hover {
        background: var(--ax-orange-deep, #B0401A);
        outline: none;
    }
}
.ax-sticky-bar .ax-cotiza-add-sticky:focus-visible {
    background: var(--ax-orange-deep, #B0401A);
    outline: none;
}

/* WhatsApp directo en la barra sticky — cuadrado icon-only para dejarle
   el ancho al CTA de agregar. Gana especificidad sobre .ax-sticky-bar__cta
   .ax-btn de landing-producto.css (§18). */
.ax-sticky-bar .ax-cotiza-wa-icon.ax-btn {
    flex: 0 0 auto;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 0 var(--ax-whatsapp-deep, #0F8C40);
}
.ax-sticky-bar .ax-cotiza-wa-icon.ax-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--ax-whatsapp-deep, #0F8C40);
}


/* =============================================================
   §8. TOAST — confirmación de "agregado" sin robar el scroll.
   Esquina superior derecha, justo bajo el header fixed (113/104/158 px).
   ============================================================= */
.ax-cotiza-toast {
    position: fixed;
    top: 129px;
    right: 16px;
    z-index: 900;
    width: min(420px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 14px;
    padding: 14px 16px;
    background: var(--ax-ink, #1F2530);
    border-left: 6px solid var(--ax-orange, #F15A29);
    box-shadow: 6px 6px 0 var(--ax-orange, #F15A29);
    color: #ffffff;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    transform: translateX(calc(100% + 32px));
    opacity: 0;
    transition: transform .28s ease, opacity .2s ease;
    pointer-events: none;
}
@media (max-width: 1080px) {
    .ax-cotiza-toast { top: 120px; }
}
@media (max-width: 767px) {
    .ax-cotiza-toast { top: 170px; }
}
.ax-cotiza-toast[hidden] { display: none; }
.ax-cotiza-toast--visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.ax-cotiza-toast::before {
    content: '✓';
    grid-row: 1 / span 2;
    align-self: center;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ax-orange, #F15A29);
    color: var(--ax-ink, #1F2530);
    font-size: 20px;
}
.ax-cotiza-toast > [data-quote-toast-text] { grid-column: 2; }
.ax-cotiza-toast--warn::before { content: '!'; }
.ax-cotiza-toast--warn .ax-cotiza-toast__link { display: none; }
.ax-cotiza-toast--warn > [data-quote-toast-text] { grid-row: 1 / span 2; align-self: center; }
.ax-cotiza-toast__link {
    grid-column: 2;
    justify-self: start;
    min-height: 28px;
    border: 0;
    background: none;
    padding: 0;
    color: #ffffff;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-color: var(--ax-orange, #F15A29);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    cursor: pointer;
}
@media (hover: hover) {
    .ax-cotiza-toast__link:hover {
        color: var(--ax-orange, #F15A29);
        outline: none;
    }
}
.ax-cotiza-toast__link:focus-visible {
    outline: 2px solid var(--ax-orange, #F15A29);
    outline-offset: 2px;
}


/* =============================================================
   §9. ACCESIBILIDAD Y MOTION
   ============================================================= */
.ax-cotiza-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Scroll-lock del body — lo aplica AxOverlay (landing-producto.js).
   Se redeclara aquí porque el panel vive en páginas que no cargan
   landing-producto.css. */
body.ax-scroll-locked {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .ax-cotiza__panel,
    .ax-cotiza__backdrop,
    .ax-cotiza-btn--bump .ax-cotiza-btn__count {
        animation: none !important;
    }
    .ax-cotiza__send,
    .ax-cotiza-add__btn,
    .ax-cotiza-toast {
        transition: none !important;
    }
}
