/**
 * Cart — BajoNalón Ecommerce
 * Vista del carrito / cesta de compra
 * Diseño basado en mockup cart.html
 */

/* ──────────────────────────────────────────────────────────────
   1. FONDO DE PÁGINA
────────────────────────────────────────────────────────────── */

body.woocommerce-cart {
    background-color: #f4f6f8;
}

/* ──────────────────────────────────────────────────────────────
   2. BARRA DE PROGRESO DE CHECKOUT
────────────────────────────────────────────────────────────── */

.bn-checkout-steps {
    background: #fff;
    padding: 18px 5%;
    border-bottom: 1px solid #eee;
}

.bn-steps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.bn-steps-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 1;
    transform: translateY(-22px); /* centrar sobre los iconos, no el label */
}

.bn-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0 12px;
}

.bn-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eee;
    color: #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    border: 4px solid #f4f6f8;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bn-step--active .bn-step__icon {
    background: #006D94;
    color: #fff;
    border-color: #f4f6f8;
    box-shadow: 0 4px 12px rgba(0,109,148,0.25);
}

.bn-step--done .bn-step__icon {
    background: #27ae60;
    color: #fff;
}

.bn-step__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bn-step--active .bn-step__label {
    color: #006D94;
}

/* ──────────────────────────────────────────────────────────────
   3. WRAPPER DOS COLUMNAS
────────────────────────────────────────────────────────────── */

.bn-cart-wrapper {
    max-width: 1400px;
    margin: 40px auto 80px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ──────────────────────────────────────────────────────────────
   4. CABECERA DE ARTÍCULOS
────────────────────────────────────────────────────────────── */

.bn-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    gap: 12px;
}

.bn-cart-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #006D94;
    margin: 0;
    line-height: 1.1;
}

.bn-cart-count {
    font-size: 0.88rem;
    color: #aaa;
    font-weight: 500;
    white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────
   5. LISTA DE ARTÍCULOS
────────────────────────────────────────────────────────────── */

.bn-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ──────────────────────────────────────────────────────────────
   6. CARD DE ARTÍCULO
────────────────────────────────────────────────────────────── */

.bn-cart-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.bn-cart-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Imagen */
.bn-cart-item__img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.bn-cart-item__img a {
    display: block;
    height: 100%;
}

.bn-cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Detalles */
.bn-cart-item__details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bn-cart-item__cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #2b91af;
    font-weight: 700;
    letter-spacing: 1px;
}

.bn-cart-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 0 32px 6px 0; /* espacio para el botón eliminar */
}

.bn-cart-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.bn-cart-item__title a:hover {
    color: #E74F08;
}

/* Meta de WooCommerce (booking dates, variaciones, etc.) */
.bn-cart-item__meta {
    margin-bottom: 6px;
}

.bn-cart-item__meta .wc-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bn-cart-item__meta .wc-item-meta li {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f4f6f8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #666;
    font-weight: 500;
}

.bn-cart-item__meta .wc-item-meta p {
    margin: 0;
}

/* Variaciones de producto */
.bn-cart-item__meta dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.bn-cart-item__meta dl.variation dt,
.bn-cart-item__meta dl.variation dd {
    background: #f4f6f8;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.bn-cart-item__meta dl.variation dt::after {
    content: ':';
}

/* ──────────────────────────────────────────────────────────────
   7. CONTROLES DE CANTIDAD Y PRECIO
────────────────────────────────────────────────────────────── */

.bn-cart-item__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    gap: 12px;
}

/* Wrapper del input de cantidad de WooCommerce */
.bn-cart-item__actions .quantity {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    height: 40px;
}

/* Botones +/− inyectados por JS */
.bn-qty-btn {
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #666;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.bn-qty-btn:hover {
    background: #f4f6f8;
    color: #E74F08;
}

.bn-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Input numérico */
.bn-cart-item__actions .quantity input.qty {
    width: 44px;
    height: 38px;
    border: none;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #006D94;
    background: transparent;
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
    font-family: inherit;
}

.bn-cart-item__actions .quantity input.qty::-webkit-outer-spin-button,
.bn-cart-item__actions .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Vendido individualmente */
.bn-cart-item__qty-single {
    font-weight: 700;
    color: #006D94;
    font-size: 0.95rem;
}

/* Precio de línea */
.bn-cart-item__price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #E74F08;
    white-space: nowrap;
    margin-left: auto;
}

.bn-cart-item__price .woocommerce-Price-amount {
    color: #E74F08;
}

/* ──────────────────────────────────────────────────────────────
   8. BOTÓN ELIMINAR
────────────────────────────────────────────────────────────── */

.bn-cart-item__remove {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.25s, transform 0.2s;
    text-decoration: none;
    line-height: 1;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-cart-item__remove:hover {
    color: #e74c3c;
    transform: scale(1.15);
    background: #fef2f2;
}

/* ──────────────────────────────────────────────────────────────
   9. BOTÓN ACTUALIZAR CESTA (oculto, disparado por JS)
────────────────────────────────────────────────────────────── */

.bn-update-cart {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────
   10. ENLACE SEGUIR COMPRANDO
────────────────────────────────────────────────────────────── */

.bn-cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #2b91af;
    text-decoration: none;
    transition: color 0.25s, gap 0.25s;
}

.bn-cart-continue:hover {
    color: #E74F08;
    gap: 14px;
}

/* ──────────────────────────────────────────────────────────────
   11. CARD DE RESUMEN (columna derecha)
────────────────────────────────────────────────────────────── */

.bn-cart-summary .bn-summary-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.bn-summary-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #006D94;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f4f6f8;
    line-height: 1.2;
}

/* ──────────────────────────────────────────────────────────────
   12. FILAS DE TOTALES
────────────────────────────────────────────────────────────── */

.bn-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
}

.bn-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.bn-summary-row--highlight {
    color: #1A1A1A;
    font-weight: 600;
}

/* Descuento de cupón */
.bn-summary-row .woocommerce-Price-amount {
    color: inherit;
}

/* Enlace "eliminar cupón" en la fila de descuento */
.bn-summary-row .woocommerce-remove-coupon {
    display: inline-block;
    margin-left: 6px;
    color: #e74c3c;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
}

.bn-summary-row .woocommerce-remove-coupon:hover {
    text-decoration: underline;
}

/* ──────────────────────────────────────────────────────────────
   13. FORMULARIO DE CUPÓN
────────────────────────────────────────────────────────────── */

.bn-coupon-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.bn-coupon-form input[type="text"] {
    flex-grow: 1;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s;
    background: #fff;
    color: #1A1A1A;
    min-width: 0;
}

.bn-coupon-form input[type="text"]:focus {
    border-color: #006D94;
}

.bn-coupon-btn {
    background: #f4f6f8;
    border: 1.5px solid #e5e7eb;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1A1A1A;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    line-height: 1;
    min-height: 42px;
    font-family: inherit;
}

.bn-coupon-btn:hover {
    background: #e5e7eb;
}

/* ──────────────────────────────────────────────────────────────
   14. LÍNEA TOTAL
────────────────────────────────────────────────────────────── */

.bn-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid #f4f6f8;
    gap: 12px;
}

.bn-summary-total > span {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
}

.bn-summary-total__price {
    font-weight: 900;
    color: #E74F08;
    line-height: 1;
}

.bn-summary-total__price strong {
    font-weight: inherit;
    color: inherit;
}

.bn-summary-total__price .woocommerce-Price-amount {
    color: #E74F08;
    font-size: inherit;
}

/* ──────────────────────────────────────────────────────────────
   15. BOTÓN TRAMITAR RESERVA
────────────────────────────────────────────────────────────── */

.bn-proceed-to-checkout {
    margin-top: 22px;
}

.bn-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    background: #E74F08 !important;
    color: #fff !important;
    text-align: center !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
    box-shadow: 0 8px 20px rgba(231,79,8,0.25) !important;
    text-decoration: none !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.bn-proceed-to-checkout .checkout-button:hover {
    background: #D64506 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(231,79,8,0.35) !important;
    color: #fff !important;
}

/* ──────────────────────────────────────────────────────────────
   16. TRUST BADGES
────────────────────────────────────────────────────────────── */

.bn-trust-badges {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bn-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
    color: #666;
    font-weight: 500;
    line-height: 1.45;
}

.bn-trust-item i {
    font-size: 1.25rem;
    color: #2b91af;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.bn-trust-item strong {
    color: #1A1A1A;
    font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   17. MENSAJES Y NOTIFICACIONES — TOAST SYSTEM
   El wrapper original se oculta; JS convierte los avisos en toasts.
────────────────────────────────────────────────────────────── */

.woocommerce-notices-wrapper {
    display: none !important;
}

/* Contenedor de toasts (fixed, esquina superior derecha) */
.bn-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: var(--bn-z-toast, 9999);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 360px;
    width: calc(100vw - 48px);
}

/* Toast individual */
@keyframes bn-toast-in {
    from { transform: translateX(calc(100% + 24px)); opacity: 0; }
    to   { transform: translateX(0);                 opacity: 1; }
}
@keyframes bn-toast-out {
    from { transform: translateX(0);                 opacity: 1; }
    to   { transform: translateX(calc(100% + 24px)); opacity: 0; }
}
@keyframes bn-toast-progress {
    from { width: 100%; }
    to   { width: 0%;   }
}

.bn-toast {
    background: #fff;
    border-radius: 14px;
    padding: 17px 19px 17px 23px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: all;
    animation: bn-toast-in 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #006D94;
}

.bn-toast.is-leaving {
    animation: bn-toast-out 0.3s ease forwards;
}

/* Barra de progreso de auto-cierre */
.bn-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #006D94;
    border-radius: 0 3px 0 0;
    animation: bn-toast-progress 4s linear forwards;
}

/* Tipos */
.bn-toast--error { border-left-color: #e74c3c; }
.bn-toast--error::after { background: #e74c3c; }
.bn-toast--info  { border-left-color: #E74F08; }
.bn-toast--info::after  { background: #E74F08; }

/* Icono */
.bn-toast__icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    color: #006D94;
    margin-top: 1px;
}
.bn-toast--error .bn-toast__icon { color: #e74c3c; }
.bn-toast--info  .bn-toast__icon { color: #E74F08; }

/* Texto (preserva links WC como "Ver carrito") */
.bn-toast__body {
    flex-grow: 1;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.45;
}

.bn-toast__body a {
    color: #006D94;
    font-weight: 700;
    text-decoration: none;
}
.bn-toast__body a:hover { text-decoration: underline; }

/* Botón cerrar */
.bn-toast__close {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 2px;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
    margin-top: 1px;
}
.bn-toast__close:hover { color: #666; }

/* Pausa animación de progreso al hacer hover */
.bn-toast:hover::after {
    animation-play-state: paused;
}

@media (max-width: 480px) {
    .bn-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: 100%;
        width: auto;
    }
}

/* ──────────────────────────────────────────────────────────────
   18. RESPONSIVE
────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .bn-cart-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bn-cart-summary .bn-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .bn-step__label {
        display: none;
    }

    .bn-steps-container::before {
        top: 22px;
        transform: none;
    }

    .bn-cart-wrapper {
        margin: 28px auto 60px;
    }

    .bn-cart-title {
        font-size: 1.5rem;
    }

    .bn-cart-item {
        flex-direction: column;
        padding: 16px;
    }

    .bn-cart-item__img {
        width: 100%;
        height: 180px;
    }

    .bn-cart-item__title {
        margin-right: 40px;
    }

    .bn-cart-item__actions {
        flex-wrap: wrap;
    }

    .bn-cart-item__price {
        margin-left: auto;
    }

    .bn-cart-item__remove {
        top: 12px;
        right: 12px;
        background: rgba(255,255,255,0.9);
        color: #e74c3c;
        width: 34px;
        height: 34px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .bn-cart-summary .bn-summary-card {
        padding: 20px;
    }

    .bn-summary-total__price {
        font-size: 1.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-cart-item,
    .bn-cart-continue,
    .bn-qty-btn,
    .bn-proceed-to-checkout .checkout-button {
        transition: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────
   19. CARRITO VACÍO
────────────────────────────────────────────────────────────── */

.bn-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 560px;
    margin: 0 auto;
}

/* Ilustración */
.bn-empty-cart__illustration {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 36px;
}

.bn-empty-cart__blob {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce8d8 0%, #fce8d8 100%);
    transform: scale(1);
    animation: bn-blob-pulse 3s ease-in-out infinite;
}

@keyframes bn-blob-pulse {
    0%, 100% { transform: scale(1);    border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; }
    33%       { transform: scale(1.04); border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; }
    66%       { transform: scale(0.97); border-radius: 40% 60% 60% 40% / 40% 60% 45% 55%; }
}

.bn-empty-cart__icon-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-empty-cart__bag {
    font-size: 4rem;
    color: #006D94;
    opacity: 0.85;
    filter: drop-shadow(0 4px 8px rgba(0, 109, 148, 0.2));
}

.bn-empty-cart__badge {
    position: absolute;
    top: 28px;
    right: 24px;
    width: 28px;
    height: 28px;
    background: #E74F08;
    color: #fff;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #f4f6f8;
    line-height: 1;
}

/* Texto */
.bn-empty-cart__title {
    font-size: 2rem;
    font-weight: 800;
    color: #006D94;
    margin: 0 0 12px;
    line-height: 1.15;
}

.bn-empty-cart__subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 36px;
    max-width: 420px;
}

/* CTA */
.bn-empty-cart__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E74F08;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(231, 79, 8, 0.3);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s, gap 0.2s;
    margin-bottom: 48px;
}

.bn-empty-cart__cta:hover {
    background: #D64506;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(231, 79, 8, 0.4);
    gap: 14px;
    color: #fff;
}

/* Highlights */
.bn-empty-cart__highlights {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.bn-empty-cart__highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    padding: 10px 18px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.bn-empty-cart__highlight i {
    font-size: 1rem;
    color: #2b91af;
}

@media (max-width: 600px) {
    .bn-empty-cart {
        padding: 40px 16px 60px;
    }

    .bn-empty-cart__title {
        font-size: 1.55rem;
    }

    .bn-empty-cart__illustration {
        width: 130px;
        height: 130px;
        margin-bottom: 28px;
    }

    .bn-empty-cart__bag {
        font-size: 3.2rem;
    }

    .bn-empty-cart__highlights {
        gap: 10px;
    }

    .bn-empty-cart__highlight {
        font-size: 0.78rem;
        padding: 8px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-empty-cart__blob {
        animation: none;
    }
    .bn-empty-cart__cta {
        transition: none;
    }
}

.bn-payment-assistant {
    margin-top: 22px;
    padding: 20px;
    border-radius: 24px;
    background: #fff7f1;
    border: 1px solid rgba(231, 79, 8, 0.14);
}

.bn-payment-assistant__header h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1A1A1A;
}

.bn-payment-assistant__header p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5f6b7a;
}

.bn-payment-assistant__options {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.bn-payment-choice,
.bn-payment-assistant__notice {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f3d8ca;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bn-payment-choice:hover {
    transform: translateY(-2px);
    border-color: rgba(231, 79, 8, 0.4);
    box-shadow: 0 12px 24px rgba(26, 26, 26, 0.08);
}

.bn-payment-choice.is-active {
    border-color: rgba(231, 79, 8, 0.45);
    box-shadow: 0 12px 24px rgba(231, 79, 8, 0.12);
}

.bn-payment-choice__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8e2d5;
    color: #a1461b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bn-payment-choice strong,
.bn-payment-assistant__notice strong {
    color: #1A1A1A;
    font-size: 0.96rem;
    font-weight: 800;
}

.bn-payment-choice p,
.bn-payment-assistant__notice p {
    margin: 0;
    color: #5f6b7a;
    font-size: 0.88rem;
    line-height: 1.55;
}

.bn-payment-assistant__notice {
    margin-top: 16px;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.bn-payment-assistant__notice i {
    margin-top: 2px;
    color: #E74F08;
    font-size: 1.2rem;
}

.bn-payment-assistant__notice--soft {
    background: #fffaf6;
}

.bn-date-preferences {
    margin-top: 14px;
    padding: 16px 18px 14px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.96) 100%);
    border: 1px solid rgba(29, 95, 135, 0.1);
    box-shadow:
        0 14px 32px rgba(18, 38, 52, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.bn-date-preferences__header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(29, 95, 135, 0.08);
}

.bn-date-preferences__header strong {
    color: #13212c;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bn-date-preferences__header span,
.bn-date-preferences__notice {
    color: #687789;
    font-size: 0.8rem;
    line-height: 1.55;
}

.bn-date-preferences__rows {
    display: grid;
    gap: 10px;
}

.bn-date-preferences__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(203, 216, 226, 0.7);
}

.bn-date-preferences__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bn-date-preferences__field span {
    color: #5e7082;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bn-date-preferences__field input[type="date"] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(201, 214, 224, 0.95);
    background: #fdfefe;
    color: #13212c;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bn-date-preferences__field input[type="date"]:focus {
    outline: none;
    border-color: rgba(29, 95, 135, 0.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 95, 135, 0.1);
}

.bn-date-preferences__remove,
.bn-date-preferences__add {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bn-date-preferences__remove {
    padding: 0 14px;
    background: transparent;
    border-color: rgba(201, 214, 224, 0.9);
    color: #6b7888;
}

.bn-date-preferences__add {
    align-self: flex-start;
    padding: 0 16px;
    background: #13212c;
    border-color: #13212c;
    color: #fff;
    letter-spacing: 0.01em;
}

.bn-date-preferences__add:hover,
.bn-date-preferences__remove:hover {
    transform: translateY(-1px);
}

.bn-date-preferences__remove:hover {
    background: rgba(19, 33, 44, 0.04);
    border-color: rgba(29, 95, 135, 0.2);
    color: #13212c;
}

.bn-date-preferences__add:hover {
    background: #1d5f87;
    border-color: #1d5f87;
}

.bn-date-preferences__add:disabled,
.bn-date-preferences__remove:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.bn-date-preferences__footer {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-date-preferences__notice {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 248, 239, 0.92);
    border: 1px solid rgba(231, 79, 8, 0.1);
}

.bn-date-pref-list {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #556170;
    font-size: 0.85rem;
    line-height: 1.55;
}

.bn-date-pref-list li + li {
    margin-top: 4px;
}

@media (max-width: 640px) {
    .bn-date-preferences {
        padding: 14px;
        border-radius: 18px;
    }

    .bn-date-preferences__row {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .bn-date-preferences__remove,
    .bn-date-preferences__add {
        width: 100%;
    }
}
