/* krs-public-discounts.css (extraido de krs-public.css)
 * Generado automaticamente — mantener bajo 600 lineas.
 */

/* Animated Discount Badges and Pricing Highlights */
.krs-discount-animate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #B55C80 !important; /* Rosa/Carmín corporativo */
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(181, 92, 128, 0.2) !important;
    border: none !important;
    animation: krsPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, krsPulseLight 2s infinite ease-in-out !important;
}

@keyframes krsPopIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes krsPulseLight {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(181, 92, 128, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(181, 92, 128, 0.4);
    }
}

/* Touch UI Option Discount Badge and Animation */
.krs-tui-option-discount-badge {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #B55C80 !important; /* Brand pink */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 2px 6px !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    box-shadow: 0 4px 8px rgba(181, 92, 128, 0.3) !important;
    border: 1px solid #ffffff !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
    pointer-events: none !important;
    animation: krsPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, krsPulseOptionDiscount 2s infinite ease-in-out !important;
}

.krs-tui-option.active .krs-tui-option-discount-badge {
    border-color: #2D1A68 !important; /* Match active morado border */
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-option-discount-badge {
    border-color: #0f172a !important; /* Match dark mode surface */
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-option.active .krs-tui-option-discount-badge {
    border-color: #2D1A68 !important;
}

.krs-tui-option-has-discount {
    border: 1.5px solid rgba(181, 92, 128, 0.3) !important;
    box-shadow: 0 4px 10px rgba(181, 92, 128, 0.05) !important;
}

.krs-tui-option-has-discount:hover {
    border-color: #B55C80 !important;
    box-shadow: 0 4px 10px rgba(181, 92, 128, 0.15) !important;
}

.krs-tui-option-has-discount.active {
    border-color: #2D1A68 !important;
}

@keyframes krsPulseOptionDiscount {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 12px rgba(181, 92, 128, 0.5) !important;
    }
}

.krs-tui-option-text {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

@media print {
    body > *:not(.krs-ticket-wrapper) {
        display: none !important;
    }
    
    body, html {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .krs-ticket-wrapper {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #ffffff !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    
    .krs-ticket-wrapper .krs-ticket-footer {
        display: none !important;
    }
}

/* ==========================================================================
   TOUCH UI ROOM QUANTITY STEPPER (.krs-room-qty-wrapper)
   ========================================================================== */
.krs-room-qty-wrapper {
    width: 100%;
    margin: 10px 0;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(45, 26, 104, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.krs-room-qty-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.krs-room-qty-label {
    font-size: 12px;
    font-weight: 700;
    color: #2D1A68;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.krs-room-qty-stock-hint {
    font-size: 11px;
    font-weight: 600;
    color: #1BA59D;
    background: #e6fffa;
    padding: 2px 7px;
    border-radius: 6px;
}

.krs-room-qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}

.krs-room-qty-step-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #2D1A68;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
}

.krs-room-qty-step-btn:hover {
    background: #2D1A68;
    color: #ffffff;
    border-color: #2D1A68;
}

.krs-room-qty-select {
    flex: 1;
    width: 100%;
    min-width: 0 !important;
    height: 40px;
    min-height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #2D1A68;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

/* ==========================================================================
   STEP 3 SELECTED HOTEL SUMMARY & SERVICES
   ========================================================================== */
.krs-hotel-extras-block {
    margin-top: 15px;
}

.krs-hotel-selected-summary-img {
    width: 84px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.krs-hotel-selected-summary-body {
    flex: 1;
    min-width: 0;
}

.krs-hotel-selected-summary-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #1BA59D;
}

.krs-hotel-selected-summary-title {
    margin: 2px 0 4px 0;
    color: #2D1A68;
    font-size: 16px;
    font-weight: 700;
}

.krs-hotel-selected-summary-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.krs-hotel-selected-summary-rates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.krs-summary-rate-pill {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
}

.krs-summary-rate-pill.krs-summary-rate-regular {
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 600;
}

.krs-summary-rate-pill.krs-summary-rate-room-disc {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}

.krs-summary-rate-pill.krs-summary-rate-hotel-disc {
    background: #e6fffa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.krs-hotel-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.krs-service-label-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-sizing: border-box;
}

.krs-service-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    color: #2D1A68;
}

.krs-service-checkbox-label input.krs-hotel-extra-checkbox {
    width: 20px;
    height: 20px;
}

.krs-service-price-tag {
    color: #1BA59D;
    font-size: 15px;
}

.krs-service-price-unit {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

/* ==========================================================================
   STEP 4/5 ITEMIZED FINANCIAL BREAKDOWN CARD (.krs-hotel-summary-pricing-card)
   ========================================================================== */
.krs-hotel-summary-pricing-card {
    margin: 14px 0;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(45, 26, 104, 0.04);
}

.krs-hotel-summary-pricing-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #2D1A68;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.krs-hotel-summary-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
    color: #334155;
}

.krs-pricing-row-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-weight: 500;
}

.krs-pricing-row-label small {
    color: #64748b;
    font-size: 12px;
}

.krs-pricing-row-val {
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

.krs-pricing-val-regular {
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 600;
}

.krs-pricing-row-discount-room .krs-pricing-row-val {
    color: #C05A86;
    font-weight: 800;
}

.krs-pricing-row-discount-vol .krs-pricing-row-val {
    color: #15803d;
    font-weight: 800;
}

.krs-pricing-row-discount-hotel .krs-pricing-row-val {
    color: #1BA59D;
    font-weight: 800;
}

.krs-pricing-row-subtotal {
    border-top: 1px dashed #cbd5e1;
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 700;
    color: #2D1A68;
}

.krs-pricing-pill-room,
.krs-pricing-pill-vol,
.krs-pricing-pill-hotel {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-block;
}

.krs-pricing-pill-room {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}

.krs-pricing-pill-vol {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.krs-pricing-pill-hotel {
    background: #e6fffa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.krs-hotel-summary-savings-banner {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e6fffa;
    border: 1px solid #99f6e4;
    border-radius: 10px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.krs-summary-total-row {
    margin-top: 10px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.krs-summary-total-label {
    font-size: 18px;
    color: #2D1A68;
    font-weight: 800;
    margin: 0;
}

.krs-summary-price-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.krs-price-display-strikethrough {
    font-size: 14px;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 500;
    margin-right: 4px;
}

.krs-price-display-strikethrough.krs-is-summary {
    font-size: 16px;
}

.krs-price-display-final {
    font-size: 20px;
    color: #1BA59D;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.krs-price-display-final.krs-is-summary {
    font-size: 24px;
}

.krs-total-price-val {
    font-size: 20px;
    color: #2D1A68;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.krs-total-price-val.krs-is-summary {
    font-size: 22px;
}
