/* Ruta: /turnero/assets/css/sacar_turno.css */

:root{
    --booking-brand: var(--brand, #6fc2bb);
    --booking-brand-dark: var(--brand-dark, #3f6f6b);
    --booking-card: rgba(255,255,255,.88);
    --booking-text: #263a46;
    --booking-muted: #64748b;
    --booking-border: rgba(38,58,70,.10);
}

.booking-tab{
    padding-bottom: 92px;
}

.booking-screen-title{
    padding: 14px 18px 12px;
}

.booking-screen-title .section-kicker{
    display:block;
    color:var(--booking-brand-dark);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.14em;
    margin-top:10px;
}

.booking-screen-title h2{
    margin:8px 0 6px;
    color:var(--booking-text);
    font-size:34px;
    line-height:1.02;
    letter-spacing:-.04em;
}

.booking-screen-title p{
    margin:0;
    color:var(--booking-muted);
    font-size:16px;
    line-height:1.42;
    font-weight:700;
}

.booking-card{
    margin:0 18px 14px;
    background:var(--booking-card);
    border:1px solid var(--booking-border);
    border-radius:28px;
    box-shadow:0 12px 34px rgba(38,58,70,.07);
    padding:18px;
}

.booking-card[hidden],
.booking-toast[hidden]{
    display:none!important;
}

.booking-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:13px;
}

.booking-section-head.compact{
    margin-bottom:12px;
}

.booking-section-head .section-kicker{
    display:block;
    color:var(--booking-brand-dark);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.13em;
}

.booking-section-head h3,
.booking-ok h3{
    margin:4px 0 0;
    color:var(--booking-text);
    font-size:24px;
    line-height:1.08;
    letter-spacing:-.03em;
}

.booking-pill{
    display:inline-flex;
    align-items:center;
    max-width:45%;
    padding:8px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    color:var(--booking-brand-dark);
    background:rgba(111,194,187,.16);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.booking-link{
    border:0;
    background:transparent;
    color:var(--booking-brand-dark);
    font-weight:900;
    padding:4px 0;
    cursor:pointer;
}

.booking-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.booking-label{
    display:block;
    margin:0 0 7px;
    color:var(--booking-muted);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.booking-select,
.booking-date-input{
    width:100%;
    min-height:50px;
    border-radius:18px;
    border:1px solid var(--booking-border);
    background:rgba(255,255,255,.92);
    color:var(--booking-text);
    font-size:15px;
    font-weight:850;
    padding:0 13px;
    outline:none;
    box-shadow:0 8px 22px rgba(39,90,86,.055);
}

.booking-select:disabled{
    opacity:1;
    color:var(--booking-text);
}

.booking-option,
.booking-slot{
    width:100%;
    border:1px solid var(--booking-border);
    background:rgba(255,255,255,.94);
    color:var(--booking-text);
    border-radius:20px;
    padding:14px;
    text-align:left;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(39,90,86,.055);
    transition:transform .14s ease,border-color .14s ease,background .14s ease;
    font-family:inherit;
}

.booking-option:active,
.booking-slot:active,
.booking-main-btn:active,
.booking-secondary-link:active{
    transform:scale(.985);
}

.booking-option.is-active,
.booking-slot.is-active{
    border-color:rgba(63,111,107,.45);
    background:linear-gradient(135deg,rgba(111,194,187,.22),rgba(255,255,255,.96));
    box-shadow:0 12px 28px rgba(63,111,107,.14);
}

.booking-option strong{
    display:block;
    font-size:16px;
    line-height:1.22;
    letter-spacing:-.02em;
}

.booking-option-title-line{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.booking-option-title-line strong{
    min-width:0;
}

.booking-option-promo-badge{
    display:inline-flex;
    align-items:center;
    gap:4px;
    flex:0 0 auto;
    border:1px solid #f6c96b;
    border-radius:999px;
    background:#fff5dd;
    color:#9a5a00;
    padding:4px 8px;
    font-size:10px;
    line-height:1;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
    white-space:nowrap;
}

.booking-option small{
    display:block;
    color:var(--booking-muted);
    margin-top:5px;
    font-weight:760;
    line-height:1.28;
}

.booking-muted,
.booking-empty{
    color:var(--booking-muted);
    font-size:14px;
    line-height:1.35;
    padding:12px;
    border-radius:18px;
    background:rgba(241,245,249,.72);
    font-weight:720;
}

.booking-empty{
    border:1px dashed rgba(100,116,139,.32);
}

.booking-summary{
    display:grid;
    gap:4px;
    margin-bottom:12px;
    padding:12px;
    border-radius:20px;
    background:rgba(248,250,252,.86);
    border:1px solid var(--booking-border);
}

.booking-summary strong{
    font-size:15px;
}

.booking-summary span{
    color:var(--booking-muted);
    font-size:13px;
    font-weight:760;
}

.booking-date-row{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    gap:8px;
    margin:12px 0;
}

.booking-date-btn{
    height:50px;
    border-radius:18px;
    border:1px solid var(--booking-border);
    background:rgba(255,255,255,.92);
    color:var(--booking-text);
    font-size:28px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(39,90,86,.055);
}

.booking-slots{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}

.booking-slot{
    text-align:center;
    padding:13px 8px;
    font-weight:900;
    border-radius:18px;
}

.booking-final{
    display:grid;
    gap:8px;
    margin-bottom:14px;
}

.booking-final div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:11px 12px;
    border-radius:18px;
    background:rgba(248,250,252,.84);
    border:1px solid var(--booking-border);
}

.booking-final span{
    color:var(--booking-muted);
    font-weight:850;
    font-size:13px;
}

.booking-final strong{
    text-align:right;
    font-size:13px;
}

.booking-main-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:52px;
    border-radius:20px;
    border:0;
    background:linear-gradient(135deg,var(--booking-brand),var(--booking-brand-dark));
    color:#fff;
    text-decoration:none;
    font-weight:950;
    font-size:15px;
    box-shadow:0 16px 36px rgba(63,111,107,.22);
    cursor:pointer;
    font-family:inherit;
}

.booking-main-btn:disabled{
    opacity:.62;
    cursor:wait;
}

.booking-note{
    margin:9px 0 0;
    color:var(--booking-muted);
    font-size:12px;
    line-height:1.35;
    font-weight:720;
}

.booking-ok{
    text-align:center;
    padding:24px 16px;
}

.booking-ok-icon{
    width:60px;
    height:60px;
    border-radius:999px;
    margin:0 auto 10px;
    display:grid;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,var(--booking-brand),var(--booking-brand-dark));
    font-size:32px;
    font-weight:900;
}

.booking-ok p{
    color:var(--booking-muted);
    font-size:14px;
    font-weight:760;
    line-height:1.35;
}

.booking-ok-actions{
    display:grid;
    gap:10px;
    margin-top:15px;
}

.booking-secondary-link{
    border:0;
    background:transparent;
    color:var(--booking-brand-dark);
    text-decoration:none;
    font-weight:900;
    font-family:inherit;
    font-size:15px;
    cursor:pointer;
    padding:10px 12px;
}

.booking-toast{
    position:fixed;
    left:50%;
    bottom:calc(96px + env(safe-area-inset-bottom));
    transform:translateX(-50%);
    z-index:80;
    width:min(470px,calc(100% - 36px));
    border-radius:18px;
    padding:13px 15px;
    background:#263a46;
    color:#fff;
    font-size:14px;
    font-weight:800;
    box-shadow:0 16px 42px rgba(15,23,42,.22);
}

.booking-toast.bad,
.booking-toast.is-bad{background:#b42335;}
.booking-toast.ok,
.booking-toast.is-ok{background:#047857;}
.booking-toast.warn,
.booking-toast.is-warn{background:#92400e;}

@media(max-width:390px){
    .booking-screen-title{padding-left:16px;padding-right:16px;}
    .booking-screen-title h2{font-size:30px;}
    .booking-card{margin-left:14px;margin-right:14px;border-radius:24px;padding:16px;}
    .booking-slots{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.booking-local-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.booking-local-logo{
    appearance:none;
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    cursor:pointer;
    font-family:inherit;
    color:var(--booking-text);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
}

.booking-local-logo-imgwrap{
    width:76px;
    height:76px;
    border-radius:24px;
    display:grid;
    place-items:center;
    background:rgba(248,250,252,.95);
    border:2px solid transparent;
    box-shadow:0 10px 24px rgba(39,90,86,.08);
    transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease;
    overflow:hidden;
}

.booking-local-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.booking-local-logo strong{
    max-width:96px;
    color:var(--booking-text);
    font-size:12px;
    line-height:1.12;
    font-weight:950;
    text-align:center;
}

.booking-local-logo.is-active .booking-local-logo-imgwrap{
    border-color:rgba(63,111,107,.65);
    background:linear-gradient(135deg,rgba(111,194,187,.30),rgba(255,255,255,.96));
    box-shadow:0 14px 32px rgba(63,111,107,.18);
    transform:translateY(-1px);
}

.booking-local-logo.is-active strong{
    color:var(--booking-brand-dark);
}

.booking-local-logo:active .booking-local-logo-imgwrap{
    transform:scale(.97);
}

@media(max-width:390px){
    .booking-local-grid{gap:10px;}
    .booking-local-logo-imgwrap{width:68px;height:68px;border-radius:22px;}
    .booking-local-logo strong{font-size:11px;max-width:82px;}
}


.booking-slots .booking-muted,
.booking-slots .booking-empty,
.booking-empty-wide{
    grid-column:1 / -1;
    width:100%;
    box-sizing:border-box;
}

.booking-empty-wide{
    display:block;
    padding:14px 14px 13px;
}

.booking-next-date{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    min-height:40px;
    border:1px solid rgba(63,111,107,.20);
    border-radius:999px;
    background:rgba(111,194,187,.13);
    color:var(--booking-brand-dark);
    font-family:inherit;
    font-size:13px;
    font-weight:950;
    padding:0 14px;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(63,111,107,.08);
}

.booking-next-date:disabled{
    opacity:.62;
    cursor:wait;
}


.booking-option-zonas{
    display:block;
    margin-top:7px;
    color:var(--booking-text);
    font-size:13px;
    line-height:1.32;
    font-weight:850;
}

.booking-price-option em{
    display:block;
    margin-top:6px;
    color:var(--booking-muted);
    font-size:13px;
    line-height:1.32;
    font-style:normal;
    font-weight:700;
}


.booking-zonas-individuales-open{
    border-color:rgba(111,194,187,.52);
    background:linear-gradient(135deg,rgba(111,194,187,.16),rgba(255,255,255,.96));
    box-shadow:0 10px 24px rgba(63,111,107,.11);
}

.booking-zonas-individuales-open strong{
    color:#2f625e;
}

.booking-option-select-wrap{
    width:100%;
    padding:14px;
    border:1px solid var(--booking-border);
    border-radius:20px;
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 20px rgba(39,90,86,.055);
}

.booking-option-select{
    margin-top:2px;
}


.booking-options-paged{
    display:grid;
    gap:12px;
}

.booking-options-page-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.booking-options-pager{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:2px;
    color:var(--booking-muted);
    font-size:13px;
    font-weight:900;
}

.booking-options-page-btn{
    width:38px;
    height:38px;
    border-radius:999px;
    border:1px solid var(--booking-border);
    background:rgba(255,255,255,.95);
    color:var(--booking-text);
    font-size:22px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(39,90,86,.055);
}

.booking-options-page-btn:disabled{
    opacity:.38;
    cursor:default;
}

.booking-options-more-hint{
    text-align:center;
    color:var(--booking-muted);
    font-size:12px;
    font-weight:800;
    margin-top:-3px;
}

.booking-zonas-individuales {
    display: grid;
    gap: 12px;
}

.booking-zonas-top {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 16px;
    background: rgba(248, 250, 252, .9);
}

.booking-zonas-top strong {
    font-size: 16px;
    color: #0f172a;
}

.booking-zonas-top small {
    color: #64748b;
    font-weight: 800;
}

.booking-zonas-promo-hint {
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(251, 146, 60, .35);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 950;
}

.booking-zonas-promo-hint.is-active {
    background: #dcfce7;
    color: #166534;
    border-color: rgba(34, 197, 94, .34);
}

.booking-mini-link {
    border: 0;
    background: transparent;
    color: #0f6f8e;
    font-weight: 900;
    padding: 0;
    justify-self: start;
    cursor: pointer;
}

.booking-zonas-search {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .55);
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
}

.booking-zonas-search:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .16);
}

.booking-zonas-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-height: 360px;
    overflow: auto;
    padding-right: 2px;
}

.booking-zona-item {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .35);
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    text-align: left;
}

.booking-zona-item span {
    color: #0f172a;
    font-weight: 900;
}

.booking-zona-item small {
    color: #64748b;
    font-weight: 900;
    white-space: nowrap;
}

.booking-zona-price {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.booking-zona-price del {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
    text-decoration-thickness: 2px;
}

.booking-zona-price b {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.booking-zona-item.is-selected .booking-zona-price b {
    color: #0369a1;
}

.booking-zona-item.is-selected {
    border-color: #38bdf8;
    background: #ecfeff;
    box-shadow: inset 0 0 0 2px rgba(14, 165, 233, .18);
}

.booking-zonas-actionbar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    width: 100%;
    display: grid;
    gap: 7px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .08);
}

.booking-zonas-duracion-aprox {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.15;
    font-style: italic;
    font-weight: 800;
    text-align: center;
}

.booking-zonas-continuar {
    justify-self: end;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.booking-zonas-continuar-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
}

.booking-zonas-total-card {
    display: grid;
    gap: 6px;
    padding: 10px 11px;
    border-radius: 17px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.56);
}

.booking-zonas-total-card.has-promo {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, .22);
}

.booking-zonas-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
}

.booking-zonas-total-row strong {
    white-space: nowrap;
    font-size: 13px;
}

.booking-zonas-total-promo {
    color: #15803d;
}

.booking-zonas-total-final {
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    color: #0f172a;
}

.booking-zonas-total-final span {
    font-size: 13px;
}

.booking-zonas-total-final strong {
    font-size: 17px;
}

.booking-zonas-continuar[disabled] {
    opacity: .55;
    cursor: default;
}

.booking-zonas-continuar[disabled] .booking-zonas-continuar-text {
    background: #94a3b8;
}

/* Área más limpia: sin título duplicado ni conteo feo */
.booking-area-card{
    padding:16px 18px 18px;
}

.booking-area-card .booking-section-head{
    margin-bottom:10px;
}

.booking-area-select-wrap{
    position:relative;
}

.booking-area-select-wrap:after{
    content:'›';
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%) rotate(90deg);
    pointer-events:none;
    color:var(--booking-text);
    font-size:28px;
    line-height:1;
    font-weight:700;
    opacity:.9;
}

.booking-area-select{
    appearance:none;
    -webkit-appearance:none;
    min-height:62px;
    border-radius:22px;
    padding:0 54px 0 18px;
    font-size:19px;
    font-weight:950;
    letter-spacing:-.02em;
    background:rgba(255,255,255,.98);
    box-shadow:0 10px 26px rgba(38,58,70,.065);
}

.booking-area-select::-ms-expand{
    display:none;
}

@media (max-width:520px){
    .booking-area-card{
        padding:15px;
    }
    .booking-area-select{
        min-height:56px;
        border-radius:20px;
        font-size:17px;
        padding-left:15px;
    }
}

.booking-treatments-paged{
    display:grid;
    gap:12px;
}

.booking-treatment-back{
    display:inline-flex;
    align-items:center;
    margin:0 0 4px 2px;
    font-size:14px;
}

.booking-treatment-description{
    margin: -2px 0 12px;
    color: var(--booking-muted);
    font-size: 14px;
    line-height: 1.42;
    font-weight: 700;
    opacity: .78;
}

@media (max-width:520px){
    .booking-treatment-description{
        margin-top: -4px;
        margin-bottom: 11px;
        font-size: 13px;
        line-height: 1.38;
    }
}


.booking-ok-icon-reserved{
    color:#6b4b00;
    background:linear-gradient(135deg,#ffe39a,#f5b942);
    box-shadow:0 12px 26px rgba(245,185,66,.26);
}

.booking-ok-icon-confirmed{
    color:#fff;
    background:linear-gradient(135deg,var(--booking-brand),var(--booking-brand-dark));
}

.booking-ok-payment-note{
    display:block;
    margin-top:8px;
    color:#8a6500;
    font-size:12px;
    font-weight:850;
}


.booking-ok-loading{
    margin:14px auto 0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 14px;
    border-radius:999px;
    background:#fff7df;
    color:#8a6500;
    font-size:13px;
    font-weight:900;
    border:1px solid rgba(245,185,66,.38);
}

.booking-ok-loading[hidden],
.booking-ok-actions[hidden]{
    display:none !important;
}

.booking-spinner{
    width:16px;
    height:16px;
    border-radius:999px;
    border:3px solid rgba(138,101,0,.18);
    border-top-color:#b98200;
    animation:bookingSpin .75s linear infinite;
    flex:0 0 auto;
}

@keyframes bookingSpin{
    to{ transform:rotate(360deg); }
}

/* Pagos v6: seña/total + cupón prolijo */
.booking-pay-options {
    grid-column: 1 / -1;
    margin-top: 12px;
    padding: 0;
    border-top: 0;
}

.booking-payment-panel {
    width: 100%;
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
    overflow: hidden;
}

.booking-pay-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.booking-pay-mode {
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, .14);
    background: #fff;
    border-radius: 20px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    display: grid;
    gap: 4px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}

.booking-pay-mode-title {
    color: #111827;
    font-size: 15px;
    line-height: 1.08;
    font-weight: 950;
}

.booking-pay-mode-price {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.booking-pay-mode.is-active {
    background: #111827;
    border-color: #111827;
    box-shadow: 0 12px 26px rgba(17, 24, 39, .18);
}

.booking-pay-mode.is-active .booking-pay-mode-title,
.booking-pay-mode.is-active .booking-pay-mode-price {
    color: #fff;
}


.booking-senia-registro-note {
    margin-top: 10px;
    border: 1px solid rgba(42, 157, 143, .20);
    background: rgba(42, 157, 143, .07);
    color: #24424a;
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.booking-senia-registro-note b {
    color: #167c70;
    font-weight: 900;
}

.booking-coupon-toggle {
    width: 100%;
    border: 1px dashed rgba(15, 23, 42, .20);
    background: #fff;
    color: #334155;
    border-radius: 18px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.booking-coupon-toggle span {
    font-size: 14px;
    font-weight: 950;
}

.booking-coupon-toggle small {
    color: var(--booking-brand-dark);
    font-weight: 950;
    white-space: nowrap;
}

.booking-coupon-box {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.booking-coupon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.booking-coupon-head strong {
    color: #334155;
    font-size: 14px;
    font-weight: 950;
}

.booking-coupon-close {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    padding: 4px 0;
}

.booking-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
}

.booking-coupon-row input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 14px;
    padding: 12px 12px;
    font-weight: 950;
    text-transform: uppercase;
    background: #f8fafc;
}

.booking-coupon-row button {
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    padding: 12px 14px;
    font-weight: 950;
    white-space: nowrap;
}

.booking-coupon-row button:disabled {
    opacity: .65;
}

.booking-coupon-msg {
    margin-top: 10px;
    border-radius: 14px;
    padding: 10px 11px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
}

.booking-coupon-msg.ok {
    background: #ecfdf3;
    color: #067647;
}

.booking-coupon-msg.bad {
    background: #fef3f2;
    color: #b42318;
}

.booking-pay-now {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 18px;
    padding: 13px 14px;
    font-weight: 900;
}

.booking-pay-now span {
    font-size: 13px;
}

.booking-pay-now strong {
    font-size: 18px;
    white-space: nowrap;
}

.booking-pay-now small {
    grid-column: 1 / -1;
    font-weight: 800;
    color: #c2410c;
}

@media (max-width: 520px) {
    .booking-payment-panel {
        padding: 12px;
        border-radius: 20px;
    }
    .booking-pay-choice {
        gap: 8px;
    }
    .booking-pay-mode {
        border-radius: 18px;
        padding: 13px 8px;
    }
    .booking-pay-mode-title {
        font-size: 14px;
    }
    .booking-coupon-toggle {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .booking-coupon-row {
        grid-template-columns: 1fr;
    }
    .booking-coupon-row button {
        width: 100%;
    }
}


/* ==========================================================
   Pagos v7 - mobile real: consola abajo en columna, sin cortes
   ========================================================== */
.booking-card,
.booking-final,
.booking-final *,
.booking-pay-options,
.booking-pay-options *,
.booking-payment-panel,
.booking-payment-panel *{
    box-sizing:border-box;
}

.booking-tab{
    overflow-x:hidden;
}

.booking-card[data-step="confirmar"]{
    overflow:hidden;
}

.booking-final{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.booking-final div{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(90px, .75fr) minmax(0, 1.25fr);
    align-items:center;
    gap:10px;
}

.booking-final span,
.booking-final strong{
    min-width:0;
    overflow-wrap:anywhere;
}

.booking-final strong{
    text-align:right;
}

.booking-final .booking-final-promo{
    background:#f0fdf4;
    border-color:rgba(34,197,94,.28);
}

.booking-final .booking-final-promo span,
.booking-final .booking-final-promo strong{
    color:#15803d;
}

.booking-final .booking-final-total{
    background:#f8fafc;
    border-color:rgba(15,23,42,.10);
}

.booking-final .booking-final-total strong{
    font-size:15px;
}

.booking-pay-options{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.booking-payment-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:12px!important;
    overflow:hidden!important;
    padding:12px!important;
    border-radius:22px!important;
}

.booking-pay-choice{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
}

.booking-pay-mode{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:76px;
    padding:12px 8px!important;
}

.booking-pay-mode-title,
.booking-pay-mode-price{
    overflow-wrap:anywhere;
}

.booking-coupon-toggle{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:4px!important;
    padding:14px!important;
}

.booking-coupon-toggle span,
.booking-coupon-toggle small{
    white-space:normal!important;
    overflow-wrap:anywhere;
}

.booking-coupon-box{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
}

.booking-coupon-row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) auto!important;
    gap:8px!important;
}

.booking-coupon-row input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:16px;
}

.booking-coupon-row button{
    min-width:92px;
}

.booking-pay-now{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    text-align:left!important;
}

.booking-pay-now strong{
    white-space:normal!important;
    overflow-wrap:anywhere;
    font-size:24px!important;
}

.booking-main-btn{
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
    line-height:1.18;
    min-height:58px;
    padding:13px 16px;
}

@media (max-width:520px){
    .booking-card{
        margin-left:12px;
        margin-right:12px;
        padding:14px;
        border-radius:24px;
    }

    .booking-section-head{
        gap:8px;
    }

    .booking-section-head h3,
    .booking-ok h3{
        font-size:22px;
    }

    .booking-final{
        gap:7px;
    }

    .booking-final div{
        grid-template-columns:1fr;
        gap:3px;
        padding:10px 12px;
        border-radius:16px;
    }

    .booking-final strong{
        text-align:left;
        font-size:15px;
    }

    .booking-pay-options{
        margin-top:10px;
    }

    .booking-payment-panel{
        padding:11px!important;
        gap:10px!important;
        border-radius:20px!important;
    }

    .booking-pay-choice{
        gap:8px!important;
    }

    .booking-pay-mode{
        min-height:72px;
        border-radius:17px!important;
    }

    .booking-pay-mode-title{
        font-size:14px!important;
    }

    .booking-pay-mode-price{
        font-size:13px!important;
    }

    .booking-coupon-row{
        grid-template-columns:1fr!important;
    }

    .booking-coupon-row button{
        width:100%!important;
        min-width:0;
    }

    .booking-pay-now strong{
        font-size:22px!important;
    }
}


/* ==========================================================
   Pagos v8 - confirmación limpia y pago total por defecto
   ========================================================== */
.booking-card[data-step="confirmar"]{
    margin-bottom:110px;
}
.booking-card[data-step="confirmar"] .booking-pay-mode[data-pay-mode="total"].is-active{
    background:#111827;
    border-color:#111827;
}
.booking-card[data-step="confirmar"] .booking-section-head .booking-link{
    flex:0 0 auto;
}

.booking-coupon-disabled {
    width: 100%;
    border: 1px dashed rgba(148, 163, 184, .55);
    background: #f8fafc;
    color: #64748b;
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    opacity: .88;
}

.booking-coupon-disabled span {
    font-size: 17px;
    filter: grayscale(1);
}

.booking-coupon-disabled small {
    font-size: 12px;
    font-weight: 950;
    line-height: 1.25;
}

/* Saldo a favor en pago de reserva */
.booking-senia-favor-toggle {
    width: 100%;
    border: 1px solid rgba(42, 157, 143, .22);
    background: linear-gradient(135deg, #ffffff 0%, #f2fffc 100%);
    color: #245b55;
    border-radius: 18px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 8px 20px rgba(42, 157, 143, .08);
}

.booking-senia-favor-toggle.is-applied {
    background: #ecfdf3;
    border-color: rgba(6, 118, 71, .18);
    color: #067647;
}

.booking-senia-favor-toggle span {
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
}

.booking-senia-favor-toggle small {
    color: #167c70;
    font-weight: 950;
    white-space: nowrap;
}

.booking-senia-favor-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(42, 157, 143, .20);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(42, 157, 143, .08);
}

.booking-senia-favor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.booking-senia-favor-head strong {
    color: #245b55;
    font-size: 14px;
    font-weight: 950;
}

.booking-senia-favor-close {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    padding: 4px 0;
}

.booking-senia-favor-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
}

.booking-senia-favor-row input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(42, 157, 143, .22);
    border-radius: 14px;
    padding: 12px 12px;
    font-weight: 950;
    background: #ffffff;
}

.booking-senia-favor-row button {
    border: 0;
    border-radius: 14px;
    background: #167c70;
    color: #fff;
    padding: 12px 16px;
    font-weight: 950;
    white-space: nowrap;
    cursor: pointer;
}

.booking-senia-favor-msg {
    margin-top: 8px;
    border-radius: 14px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
}

.booking-senia-favor-msg.bad {
    background: #fef3f2;
    color: #b42318;
}

@media (max-width: 520px) {
    .booking-senia-favor-toggle {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .booking-senia-favor-row {
        grid-template-columns: 1fr;
    }

    .booking-senia-favor-row button {
        width: 100%;
    }
}


/* Descuento por puntos compacto */
.booking-points-discounts--compact {
    display: grid;
    gap: 8px;
}

.booking-points-discounts-title {
    color: #334155;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.booking-points-discounts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-points-discount--compact {
    border: 1px solid rgba(15, 23, 42, .14);
    background: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 11px 14px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
    cursor: pointer;
}

.booking-points-discount--compact span {
    display: block;
    white-space: nowrap;
}

.booking-points-discount--compact.is-selected {
    background: #111827;
    border-color: #111827;
    color: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
}

.booking-points-discount-applied {
    color: #475569;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

.booking-points-discount-applied strong {
    color: #167c70;
    font-weight: 950;
}

.booking-points-discounts-loading {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .booking-points-discount--compact {
        width: 100%;
        justify-content: center;
    }
}

/* Créditos ya abonados, compra de paquetes y recuperación. */
.booking-credit-options{
    display:grid;
    gap:12px;
    padding:14px;
    border:1px solid var(--booking-border);
    border-radius:22px;
    background:rgba(248,250,252,.82);
    box-shadow:0 8px 20px rgba(39,90,86,.055);
}

.booking-credit-options-head{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--booking-text);
}

.booking-credit-options-head > div{
    min-width:0;
}

.booking-credit-options-head strong,
.booking-credit-options-head small{
    display:block;
}

.booking-credit-options-head strong{
    font-size:15px;
    line-height:1.2;
    font-weight:950;
}

.booking-credit-options-head small{
    margin-top:2px;
    color:var(--booking-muted);
    font-size:12px;
    line-height:1.3;
    font-weight:800;
}

.booking-credit-options-grid,
.booking-purchase-options{
    display:grid;
    gap:10px;
}

.booking-purchase-options-title{
    margin:4px 2px 0;
    color:#64748b;
    font-size:12px;
    line-height:1.2;
    font-weight:950;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.booking-option-package-name{
    display:block;
    margin-top:4px;
    color:#334155;
    font-size:12px;
    line-height:1.25;
    font-weight:850;
}

.booking-payment-panel--package{
    border:1px solid #bce4dc;
    border-radius:18px;
    background:#f3fcfa;
    padding:16px;
}

.booking-package-payment-title{
    margin-bottom:7px;
    color:#126b61;
    font-size:16px;
    line-height:1.2;
    font-weight:950;
}

.booking-payment-panel--package p{
    margin:0 0 13px;
    color:#52616b;
    font-size:13px;
    line-height:1.4;
    font-weight:750;
}
