/* Agenda · Reservá tu turno — diseño 2026-11-30 (se carga después del <style> de render_agenda_booking_section). */
.agenda-booking-section.ab-v2{
    --ab-accent:var(--primary-color,#0d9488);
    --ab-on-accent:#fff;
    --ab-tint:color-mix(in srgb,var(--ab-accent) 8%,#fff);
    --ab-tint-2:color-mix(in srgb,var(--ab-accent) 16%,#fff);
    --ab-ring:color-mix(in srgb,var(--ab-accent) 24%,transparent);
    --ab-line:#e4e8ee;
    --ab-ink:#151d2b;
    --ab-muted:#5d6879;
    --ab-soft:#f6f7f9;
    --ab-r:16px;
    font-family:inherit;
    color:var(--ab-ink);
}
.agenda-booking-section.ab-v2:not(.ab-embedded){font-family:inherit}

/* ---------- Encabezado ---------- */
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-head{text-align:center;margin:0 auto 26px;max-width:44rem}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-head h2{font-family:inherit;font-size:clamp(1.7rem,3.2vw,2.4rem);font-weight:800;letter-spacing:-.025em;line-height:1.1;margin:0 0 10px;color:var(--ab-ink)}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-head p{margin:0 auto;max-width:48ch;font-size:1rem;line-height:1.55;color:var(--ab-muted)}
.agenda-booking-section.ab-v2 .ab-selected{display:none!important}

/* ---------- Tablero ---------- */
.agenda-booking-section.ab-v2 .ab-layout{counter-reset:abstep}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--split{
    grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:0;align-items:stretch;
    background:#fff;border:1px solid var(--ab-line);border-radius:26px;overflow:hidden;
    box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 48px -18px rgba(16,24,40,.16);
}
.agenda-booking-section.ab-v2 .ab-layout--split > .ab-services{
    max-height:none;overflow:visible;padding:24px 18px;gap:10px;
    background:linear-gradient(180deg,var(--ab-tint),var(--ab-soft));border-right:1px solid var(--ab-line);
}
.agenda-booking-section.ab-v2 .ab-layout--split > .ab-panel{border:0;border-radius:0;box-shadow:none;padding:clamp(20px,3vw,34px)}

/* ---------- Títulos de paso numerados ---------- */
.agenda-booking-section.ab-v2 .ab-step-h{
    display:flex;align-items:center;gap:10px;margin:0 0 14px;
    font-size:1.02rem;font-weight:750;letter-spacing:-.01em;text-transform:none;color:var(--ab-ink);
}
.agenda-booking-section.ab-v2 .ab-step-h::before{
    counter-increment:abstep;content:counter(abstep);
    flex:0 0 26px;width:26px;height:26px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    background:var(--ab-accent);color:var(--ab-on-accent);font-size:.8rem;font-weight:800;
}
.agenda-booking-section.ab-v2 .ab-panel > .ab-step-h:not(:first-child){margin-top:30px;padding-top:26px;border-top:1px solid var(--ab-line)}
.agenda-booking-section.ab-v2 .ab-panel > .ab-step-h[data-ab-slots-label]{margin-top:22px;padding-top:0;border-top:0}

/* ---------- Servicios ---------- */
.agenda-booking-section.ab-v2 .ab-svc,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc{
    position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:0;
    min-height:64px;padding:8px 44px 8px 8px;border:1.5px solid transparent;border-radius:var(--ab-r);
    background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.06);color:var(--ab-ink);
    transition:border-color .18s,box-shadow .18s,background-color .18s,transform .18s;
}
.agenda-booking-section.ab-v2 .ab-svc:not(.has-img),
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc:not(.has-img){grid-template-columns:minmax(0,1fr);padding-left:6px}
.agenda-booking-section.ab-v2 .ab-svc::after{
    content:"";position:absolute;right:14px;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;
    border:2px solid #cdd3dc;background:#fff;transition:all .18s;
}
.agenda-booking-section.ab-v2 .ab-svc:hover,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc:hover{border-color:color-mix(in srgb,var(--ab-accent) 40%,var(--ab-line));transform:translateY(-1px)}
.agenda-booking-section.ab-v2 .ab-svc.is-active,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc.is-active{
    border-color:var(--ab-accent);background:#fff;box-shadow:0 0 0 4px var(--ab-ring),0 6px 16px -8px rgba(16,24,40,.25);
}
.agenda-booking-section.ab-v2 .ab-svc.is-active::after{border-color:var(--ab-accent);background:var(--ab-accent);box-shadow:inset 0 0 0 4px #fff}
.agenda-booking-section.ab-v2 .ab-svc:focus-visible{outline:2px solid var(--ab-accent);outline-offset:2px}
.agenda-booking-section.ab-v2 .ab-svc__img,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc__img{width:56px;height:56px;min-height:56px;border-radius:12px;object-fit:cover}
.agenda-booking-section.ab-v2 .ab-svc__body,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc__body{padding:4px 6px 4px 12px;gap:3px;justify-content:center}
.agenda-booking-section.ab-v2 .ab-svc:not(.has-img) .ab-svc__body{padding-left:8px}
.agenda-booking-section.ab-v2 .ab-svc strong,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc strong{font-size:.95rem;font-weight:700;line-height:1.25}
.agenda-booking-section.ab-v2 .ab-svc .ab-meta,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-svc .ab-meta{font-size:.8rem;color:var(--ab-muted);line-height:1.3}

/* Tarjetas grandes */
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-services{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:14px}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-services > .ab-step-h{grid-column:1/-1;margin-bottom:0}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-svc{grid-template-columns:minmax(0,1fr);align-items:start;padding:0 0 12px;overflow:hidden}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-svc__img{width:100%;height:150px;min-height:150px;border-radius:0}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-svc__body{padding:12px 44px 0 14px}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-svc.has-img::after{top:auto;bottom:14px;margin-top:0}
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-panel{border-radius:22px;border-color:var(--ab-line);padding:clamp(18px,3vw,28px);box-shadow:0 18px 48px -24px rgba(16,24,40,.2)}

/* ---------- Días ---------- */
.agenda-booking-section.ab-v2 .ab-dates--strip{position:relative;margin-bottom:4px}
.agenda-booking-section.ab-v2 .ab-dates-strip-row{
    gap:8px;padding:4px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent);
}
.agenda-booking-section.ab-v2 .ab-dates-strip-row::-webkit-scrollbar{display:none}
.agenda-booking-section.ab-v2 .ab-date-btn{
    scroll-snap-align:start;min-width:62px;padding:7px 6px 9px;gap:1px;border:1.5px solid var(--ab-line);border-radius:14px;
    background:#fff;color:var(--ab-ink);transition:border-color .15s,background-color .15s,transform .15s;
}
.agenda-booking-section.ab-v2 .ab-date-mon{font-size:.6rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ab-accent);line-height:1.2;min-height:.75em}
.agenda-booking-section.ab-v2 .ab-date-dow{font-size:.68rem;font-weight:700;color:var(--ab-muted);text-transform:capitalize}
.agenda-booking-section.ab-v2 .ab-date-num{font-size:1.25rem;font-weight:800;color:var(--ab-ink);margin:1px 0 3px}
.agenda-booking-section.ab-v2 .ab-date-btn.is-available:hover{border-color:var(--ab-accent);transform:translateY(-1px)}
.agenda-booking-section.ab-v2 .ab-date-btn.is-unavailable{opacity:.38;background:var(--ab-soft)}
.agenda-booking-section.ab-v2 .ab-date-btn.is-active,
.agenda-booking-section.ab-v2 .ab-date-btn.is-range-start,
.agenda-booking-section.ab-v2 .ab-date-btn.is-range-end{background:var(--ab-accent);border-color:var(--ab-accent);box-shadow:0 8px 18px -8px var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-date-btn.is-active .ab-date-mon,
.agenda-booking-section.ab-v2 .ab-date-btn.is-active .ab-date-dow,
.agenda-booking-section.ab-v2 .ab-date-btn.is-active .ab-date-num{color:var(--ab-on-accent)}
.agenda-booking-section.ab-v2 .ab-cal-toolbar{margin:0 0 10px}
.agenda-booking-section.ab-v2 .ab-cal-chip{background:var(--ab-soft);color:var(--ab-muted);font-weight:600;font-size:.76rem;padding:5px 11px}
.agenda-booking-section.ab-v2 .ab-cal-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ab-accent);margin-right:7px;flex:0 0 auto}
.agenda-booking-section.ab-v2 .ab-cal-chip--muted::before{display:none}

/* Calendario mensual */
.agenda-booking-section.ab-v2 .ab-cal-nav-btn{border-radius:12px;border:1.5px solid var(--ab-line);background:#fff;color:var(--ab-ink)}
.agenda-booking-section.ab-v2 .ab-cal-nav-btn:hover{border-color:var(--ab-accent);color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-cal-title{text-transform:capitalize}
.agenda-booking-section.ab-v2 .ab-cal-day.is-available,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-cal-day.is-available{background:var(--ab-tint);border-color:transparent;color:var(--ab-ink)}
.agenda-booking-section.ab-v2 .ab-cal-day.is-available:hover,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-cal-day.is-available:hover{background:var(--ab-tint-2)}
.agenda-booking-section.ab-v2 .ab-cal-day.is-active,
.agenda-booking-section.ab-v2 .ab-cal-day.is-range-start,
.agenda-booking-section.ab-v2 .ab-cal-day.is-range-end,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-cal-day.is-active{background:var(--ab-accent);border-color:var(--ab-accent);color:var(--ab-on-accent);box-shadow:0 8px 18px -8px var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-cal-day.is-unavailable{opacity:.3}

.agenda-booking-section.ab-v2 .ab-cal-day,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-cal-day{aspect-ratio:auto;height:clamp(40px,4.6vw,50px);max-height:none}

/* ---------- Horarios ---------- */
.agenda-booking-section.ab-v2 .ab-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px;min-height:0}
.agenda-booking-section.ab-v2 .ab-slots > :not(.ab-slot){grid-column:1/-1}
.agenda-booking-section.ab-v2 .ab-slot{
    min-height:46px;padding:10px 8px;border:1.5px solid var(--ab-line);border-radius:12px;background:#fff;
    font-weight:700;font-size:.95rem;font-variant-numeric:tabular-nums;color:var(--ab-ink);transition:all .15s;
}
.agenda-booking-section.ab-v2 .ab-slot:hover{border-color:var(--ab-accent);color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-slot.is-active{background:var(--ab-accent);border-color:var(--ab-accent);color:var(--ab-on-accent);box-shadow:0 8px 18px -8px var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-slots-help{font-weight:500;font-size:.86rem;color:var(--ab-muted);margin:-6px 0 12px}
.agenda-booking-section.ab-v2 .ab-slots .ab-empty{display:block;padding:14px 16px;border-radius:12px;background:var(--ab-soft);color:var(--ab-muted);font-size:.88rem}
.agenda-booking-section.ab-v2 .ab-slots.is-need{background:#fff5f5;outline:1.5px solid #ef4444;outline-offset:4px}
.agenda-booking-section.ab-v2 .ab-day-booking{border-radius:14px;padding:14px 16px;background:var(--ab-tint);border-color:var(--ab-tint-2)}

/* ---------- Opciones ---------- */
.agenda-booking-section.ab-v2 .ab-options{margin-top:22px;gap:18px}
.agenda-booking-section.ab-v2 .ab-options > .ab-empty{display:none}
.agenda-booking-section.ab-v2 .ab-option-group{border-top:0;padding-top:0}
.agenda-booking-section.ab-v2 .ab-option-group h3{font-size:.95rem;font-weight:750;margin:0 0 10px}
.agenda-booking-section.ab-v2 .ab-option-group > p{margin:-6px 0 10px}
.agenda-booking-section.ab-v2 .ab-option-group{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr));gap:8px}
.agenda-booking-section.ab-v2 .ab-option-group > h3,.agenda-booking-section.ab-v2 .ab-option-group > p{grid-column:1/-1}
.agenda-booking-section.ab-v2 .ab-option-row{
    margin:0;padding:12px 14px;gap:12px;border:1.5px solid var(--ab-line);border-radius:14px;background:#fff;cursor:pointer;
    transition:border-color .15s,background-color .15s;
}
.agenda-booking-section.ab-v2 div.ab-option-row{cursor:default}
.agenda-booking-section.ab-v2 .ab-option-row:hover{border-color:color-mix(in srgb,var(--ab-accent) 45%,var(--ab-line))}
.agenda-booking-section.ab-v2 .ab-option-row.is-on{border-color:var(--ab-accent);background:var(--ab-tint)}
.agenda-booking-section.ab-v2 .ab-option-row .ab-choice{order:-1;margin:0}
.agenda-booking-section.ab-v2 .ab-option-copy strong{font-size:.92rem;font-weight:650}
.agenda-booking-section.ab-v2 .ab-option-price{font-weight:800;font-size:.92rem}

/* ---------- Resumen ---------- */
.agenda-booking-section.ab-v2 .ab-layout--split .ab-summary,
.agenda-booking-section.ab-v2 .ab-layout--cards .ab-summary{
    position:static;margin:0 0 16px;padding:16px 18px;border:0;border-radius:16px;background:var(--ab-tint);box-shadow:none;
}
.agenda-booking-section.ab-v2 .ab-summary[hidden]{display:none!important}
.agenda-booking-section.ab-v2 .ab-summary-head img{width:52px;height:52px;border-radius:12px}
.agenda-booking-section.ab-v2 .ab-summary-head small{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-summary-head strong{font-size:1rem}
.agenda-booking-section.ab-v2 .ab-summary-lines{margin:12px 0 10px;padding:10px 0;border-color:color-mix(in srgb,var(--ab-accent) 18%,#fff)}
.agenda-booking-section.ab-v2 .ab-summary-total{font-size:1.1rem}
.agenda-booking-section.ab-v2 .ab-summary-payment{font-size:.82rem}
.agenda-booking-section.ab-v2 .ab-wa{border-radius:12px;min-height:44px;border-color:#25d366;background:#fff!important}

/* ---------- Formulario ---------- */
.agenda-booking-section.ab-v2 .ab-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:0}
.agenda-booking-section.ab-v2 .ab-form > *{grid-column:1/-1;min-width:0}
.agenda-booking-section.ab-v2 .ab-form > .ab-field:not(.ab-field--full){grid-column:auto}
.agenda-booking-section.ab-v2 .ab-custom-fields:empty{display:none}
.agenda-booking-section.ab-v2 .ab-form label{display:block;margin:0 0 6px;font-size:.8rem;font-weight:700;color:var(--ab-ink)}
.agenda-booking-section.ab-v2 .ab-form input:not([type=checkbox]):not([type=radio]),
.agenda-booking-section.ab-v2 .ab-form textarea,
.agenda-booking-section.ab-v2 .ab-form select{
    min-height:48px;padding:12px 14px;border:1.5px solid var(--ab-line);border-radius:12px;background:#fbfcfd;
    font-size:16px;color:var(--ab-ink);transition:border-color .15s,box-shadow .15s,background-color .15s;
}
.agenda-booking-section.ab-v2 .ab-form input::placeholder,.agenda-booking-section.ab-v2 .ab-form textarea::placeholder{color:#9aa3b2}
.agenda-booking-section.ab-v2 .ab-form input:focus,.agenda-booking-section.ab-v2 .ab-form textarea:focus,.agenda-booking-section.ab-v2 .ab-form select:focus{
    outline:0;border-color:var(--ab-accent);background:#fff;box-shadow:0 0 0 4px var(--ab-ring);
}
.agenda-booking-section.ab-v2 .ab-extra summary{
    display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;
    font-size:.88rem;font-weight:700;color:var(--ab-accent);padding:4px 0;
}
.agenda-booking-section.ab-v2 .ab-extra summary::-webkit-details-marker{display:none}
.agenda-booking-section.ab-v2 .ab-extra summary::before{
    content:"+";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;
    background:var(--ab-tint-2);font-weight:800;line-height:1;transition:transform .2s;
}
.agenda-booking-section.ab-v2 .ab-extra[open] summary::before{transform:rotate(45deg)}
.agenda-booking-section.ab-v2 .ab-extra__body{display:grid;gap:12px;margin-top:10px}
.agenda-booking-section.ab-v2 .ab-cta{
    margin-top:6px;min-height:54px;border-radius:14px;font-size:1.02rem;font-weight:800;letter-spacing:.01em;
    background:var(--ab-accent);color:var(--ab-on-accent);box-shadow:0 12px 26px -12px var(--ab-accent);
    transition:transform .15s,box-shadow .15s,filter .15s;
}
.agenda-booking-section.ab-v2 .ab-cta:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.05)}
.agenda-booking-section.ab-v2 .ab-msg.error{border-radius:12px}

/* ---------- Asistente (calendario) ---------- */
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar:not(.ab-layout--no-picker){border-color:var(--ab-line);border-radius:26px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 48px -18px rgba(16,24,40,.16)}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services:not(.ab-services--hidden){background:linear-gradient(180deg,var(--ab-tint),var(--ab-soft));padding:20px 16px;gap:10px}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-panel{padding:24px 26px 20px}
.agenda-booking-section.ab-v2 .ab-layout--calendar .ab-wizard-steps,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-wizard-steps{background:var(--ab-soft);border-radius:14px;padding:5px}
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-wizard-dot.is-active{color:var(--ab-accent);box-shadow:0 1px 3px rgba(16,24,40,.12)}
.agenda-booking-section.ab-v2 .ab-btn-nav.primary,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-btn-nav.primary{background:var(--ab-accent);border-color:var(--ab-accent);color:var(--ab-on-accent);box-shadow:0 10px 22px -12px var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-service-intro{border-radius:16px;background:var(--ab-tint);border-color:transparent}

/* ---------- Gracias ---------- */
.agenda-booking-section.ab-v2 .ab-thanks{border-radius:24px;border-color:var(--ab-line);box-shadow:0 18px 48px -18px rgba(16,24,40,.2);padding:28px 24px 24px}
.agenda-booking-section.ab-v2 .ab-thanks__check{width:58px;height:58px;font-size:1.5rem;background:var(--ab-tint-2);color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-thanks__again{border-radius:12px}

/* ---------- Celular ---------- */
@media (max-width:860px){
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--split{grid-template-columns:minmax(0,1fr);border-radius:22px}
    .agenda-booking-section.ab-v2 .ab-layout--split > .ab-services{border-right:0;border-bottom:1px solid var(--ab-line);padding:18px 14px}
    .agenda-booking-section.ab-v2 .ab-layout--split > .ab-services,
    .agenda-booking-section.ab-v2 .ab-layout--cards > .ab-services{
        display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;
    }
    .agenda-booking-section.ab-v2 .ab-layout--split > .ab-services > .ab-step-h,
    .agenda-booking-section.ab-v2 .ab-layout--cards > .ab-services > .ab-step-h{grid-column:1/-1;margin-bottom:4px}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc{grid-template-columns:minmax(0,1fr);align-items:start;padding:10px 34px 10px 6px;min-height:58px}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc.has-img{padding:0 0 10px;overflow:hidden}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc.has-img .ab-svc__img{width:100%;height:84px;min-height:84px;border-radius:0}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc.has-img .ab-svc__body{padding:8px 30px 0 10px}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc::after{right:10px;top:12px;margin-top:0;width:18px;height:18px}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc.has-img::after{top:auto;bottom:10px}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc strong{font-size:.88rem}
    .agenda-booking-section.ab-v2 .ab-layout--split .ab-svc .ab-meta{font-size:.74rem}
    .agenda-booking-section.ab-v2 .ab-layout--split > .ab-panel{padding:20px 16px 22px}
    .agenda-booking-section.ab-v2 .ab-layout--cards .ab-svc__img{height:96px;min-height:96px}
}
@media (max-width:560px){
    .agenda-booking-section.ab-v2 .ab-form{grid-template-columns:minmax(0,1fr)}
    .agenda-booking-section.ab-v2 .ab-option-group{grid-template-columns:minmax(0,1fr)}
    .agenda-booking-section.ab-v2 .ab-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
    .agenda-booking-section.ab-v2 .ab-date-btn{min-width:56px}
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-head{margin-bottom:18px}
}
@media (prefers-reduced-motion:reduce){
    .agenda-booking-section.ab-v2 *{transition:none!important}
}

/* ---------- Celular: servicios en desplegable (30/11) ---------- */
@media (max-width:860px){
    .agenda-booking-section.ab-v2 .ab-services.ab-services--dd,
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services.ab-services--dd{
        display:flex;flex-direction:column;gap:8px;max-height:none;height:auto;overflow:visible;
    }
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc:not(.is-active){display:none}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc,
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc.has-img,
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services--dd .ab-svc{
        grid-template-columns:52px minmax(0,1fr);align-items:center;min-height:64px;padding:8px 48px 8px 8px;overflow:visible;
    }
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc:not(.has-img),
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services--dd .ab-svc:not(.has-img){grid-template-columns:minmax(0,1fr);padding:12px 48px 12px 10px}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc.has-img .ab-svc__img,
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services--dd .ab-svc__img{width:52px;height:52px;min-height:52px;border-radius:12px}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc .ab-svc__body,
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc.has-img .ab-svc__body{padding:2px 4px 2px 12px}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc:not(.has-img) .ab-svc__body{padding-left:4px}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc strong{font-size:.95rem}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc .ab-meta{font-size:.8rem}
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc::after,
    .agenda-booking-section.ab-v2 .ab-services--dd .ab-svc.has-img::after{right:16px;top:50%;bottom:auto;margin-top:-10px;width:20px;height:20px}
    /* cerrado: la tarjeta elegida funciona como botón del desplegable */
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc.is-active{box-shadow:0 0 0 3px var(--ab-ring)}
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc.is-active::after{
        width:10px;height:10px;margin-top:-7px;right:20px;border-radius:0;background:transparent;box-shadow:none;
        border:0;border-right:2.5px solid var(--ab-accent);border-bottom:2.5px solid var(--ab-accent);transform:rotate(45deg);
    }
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open)::after{
        content:"Tocá para cambiar de servicio";display:block;margin:-2px 2px 0;font-size:.76rem;color:var(--ab-muted);
    }
    .agenda-booking-section.ab-v2 .ab-layout--split > .ab-services.ab-services--dd{padding:16px 14px}
}
@media (max-width:860px){
    .agenda-booking-section.ab-v2 .ab-services--dd ~ .ab-panel [data-ab-step="1"] > .ab-panel__label,
    .agenda-booking-section.ab-v2 .ab-services--dd ~ .ab-panel [data-ab-step="1"] > .ab-service-intro{display:none}
    .agenda-booking-section.ab-v2 .ab-services--dd ~ .ab-panel [data-ab-step="1"] > .ab-service-intro-note{margin:0}
}
/* Desplegable más evidente (30/11): parece un selector, con botón «Cambiar» */
@media (max-width:860px){
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc.is-active,
    .agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services--dd:not(.is-open) .ab-svc.is-active{
        padding-right:112px;border:2px solid var(--ab-accent);background:#fff;
        box-shadow:0 0 0 4px var(--ab-ring),0 8px 20px -10px rgba(16,24,40,.35);
    }
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc.is-active::after{
        content:"Cambiar  ▾";width:auto;height:auto;margin-top:-16px;right:10px;transform:none;
        border:0;border-radius:999px;padding:8px 12px;line-height:16px;
        background:var(--ab-accent);color:var(--ab-on-accent);box-shadow:none;
        font-size:.78rem;font-weight:800;letter-spacing:.01em;white-space:pre;
    }
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open)::after{
        content:"Hay " attr(data-ab-count) " servicios · tocá «Cambiar» para ver todos";
        margin:2px 4px 0;font-size:.8rem;font-weight:600;color:var(--ab-accent);
    }
    .agenda-booking-section.ab-v2 .ab-services--dd.is-open::before{
        content:"Elegí un servicio de la lista";order:-1;display:block;margin:0 4px 2px;
        font-size:.8rem;font-weight:700;color:var(--ab-accent);
    }
    .agenda-booking-section.ab-v2 .ab-services--dd.is-open > .ab-panel__label{order:-2}
    .agenda-booking-section.ab-v2 .ab-services--dd.is-open .ab-svc.is-active{border-color:var(--ab-accent);background:var(--ab-tint)}
}
.agenda-booking-section.ab-v2 .ab-services--dd .ab-svc::after{transition:none}

/* ---------- Muchos servicios: buscador + lista con scroll (30/11) ---------- */
.agenda-booking-section.ab-v2 .ab-services.ab-services--many,
.agenda-booking-section.ab-v2:not(.ab-embedded) .ab-layout--calendar .ab-services.ab-services--many{max-height:none;overflow:visible;height:auto;align-self:stretch}
.agenda-booking-section.ab-v2 .ab-svc-search{position:relative;margin:0 0 4px}
.agenda-booking-section.ab-v2 .ab-svc-search::before{
    content:"";position:absolute;left:14px;top:50%;width:13px;height:13px;margin-top:-9px;
    border:2px solid var(--ab-muted);border-radius:50%;pointer-events:none;
}
.agenda-booking-section.ab-v2 .ab-svc-search::after{
    content:"";position:absolute;left:26px;top:50%;width:7px;height:2px;margin-top:4px;
    background:var(--ab-muted);transform:rotate(45deg);border-radius:2px;pointer-events:none;
}
.agenda-booking-section.ab-v2 .ab-svc-search input{
    width:100%;box-sizing:border-box;height:44px;padding:0 14px 0 40px;margin:0;
    border:1.5px solid var(--ab-line);border-radius:12px;background:#fff;color:var(--ab-ink);
    font:inherit;font-size:.9rem;outline:none;box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.agenda-booking-section.ab-v2 .ab-svc-search input:focus{border-color:var(--ab-accent);box-shadow:0 0 0 4px var(--ab-ring)}
.agenda-booking-section.ab-v2 .ab-svc-list{
    display:flex;flex-direction:column;gap:8px;min-width:0;
    max-height:min(520px,62vh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    padding:4px 6px 4px 2px;margin:0 -6px 0 0;scrollbar-width:thin;
    scrollbar-color:color-mix(in srgb,var(--ab-accent) 40%,transparent) transparent;
    -webkit-mask-image:none;mask-image:none;
}
.agenda-booking-section.ab-v2 .ab-svc-list.has-more{
    -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 46px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 46px),transparent);
}
.agenda-booking-section.ab-v2 .ab-svc-list.has-less.has-more{
    -webkit-mask-image:linear-gradient(180deg,transparent,#000 30px,#000 calc(100% - 46px),transparent);mask-image:linear-gradient(180deg,transparent,#000 30px,#000 calc(100% - 46px),transparent);
}
.agenda-booking-section.ab-v2 .ab-svc-list.has-less:not(.has-more){
    -webkit-mask-image:linear-gradient(180deg,transparent,#000 30px);mask-image:linear-gradient(180deg,transparent,#000 30px);
}
.agenda-booking-section.ab-v2 .ab-svc-list > .ab-svc{flex:0 0 auto}
.agenda-booking-section.ab-v2 .ab-svc.is-filtered{display:none!important}
.agenda-booking-section.ab-v2 .ab-svc-empty{margin:8px 4px;font-size:.85rem;color:var(--ab-muted)}
/* celular: el buscador aparece solo con el desplegable abierto */
@media (max-width:860px){
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc-search,
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc-empty{display:none}
    .agenda-booking-section.ab-v2 .ab-services--dd:not(.is-open) .ab-svc-list{max-height:none;overflow:visible;padding:0;margin:0;-webkit-mask-image:none;mask-image:none}
    .agenda-booking-section.ab-v2 .ab-services--dd.is-open .ab-svc-list{max-height:min(60vh,520px)}
}

/* ---------- Sumar servicios al turno (30/11, opt-in por tienda) ---------- */
.agenda-booking-section.ab-v2 .ab-combo{margin:0 0 22px;padding:16px;border:1.5px dashed color-mix(in srgb,var(--ab-accent) 45%,var(--ab-line));border-radius:18px;background:var(--ab-soft)}
.agenda-booking-section.ab-v2 [data-ab-step="1"] > .ab-combo{margin:18px 0 0}
.agenda-booking-section.ab-v2 .ab-combo__title{margin:0 0 10px;font-size:.95rem;font-weight:750;color:var(--ab-ink)}
.agenda-booking-section.ab-v2 .ab-combo__title span{margin-left:6px;font-size:.76rem;font-weight:600;color:var(--ab-muted)}
.agenda-booking-section.ab-v2 .ab-combo__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:8px}
.agenda-booking-section.ab-v2 .ab-combo__row{
    position:relative;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;cursor:pointer;
    border:1.5px solid var(--ab-line);border-radius:12px;background:#fff;transition:border-color .15s,background .15s;
}
.agenda-booking-section.ab-v2 .ab-combo__row:hover{border-color:color-mix(in srgb,var(--ab-accent) 50%,var(--ab-line))}
.agenda-booking-section.ab-v2 .ab-combo__row input{
    appearance:none;-webkit-appearance:none;flex:0 0 20px;width:20px;height:20px;margin:0;
    border:2px solid #cbd5e1;border-radius:6px;background:#fff;display:grid;place-content:center;cursor:pointer;
}
.agenda-booking-section.ab-v2 .ab-combo__row input::after{content:"";width:9px;height:5px;margin-top:-2px;border-left:2.5px solid var(--ab-on-accent);border-bottom:2.5px solid var(--ab-on-accent);transform:rotate(-45deg) scale(0);transition:transform .12s}
.agenda-booking-section.ab-v2 .ab-combo__row input:checked{background:var(--ab-accent);border-color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-combo__row input:checked::after{transform:rotate(-45deg) scale(1)}
.agenda-booking-section.ab-v2 .ab-combo__row input:focus-visible{box-shadow:0 0 0 4px var(--ab-ring)}
.agenda-booking-section.ab-v2 .ab-combo__row.is-on{border-color:var(--ab-accent);background:var(--ab-tint)}
.agenda-booking-section.ab-v2 .ab-combo__name{display:flex;flex-direction:column;min-width:0;flex:1}
.agenda-booking-section.ab-v2 .ab-combo__name strong{font-size:.9rem;color:var(--ab-ink);line-height:1.25}
.agenda-booking-section.ab-v2 .ab-combo__name small{font-size:.76rem;color:var(--ab-muted)}
.agenda-booking-section.ab-v2 .ab-combo__price{font-size:.85rem;font-weight:700;color:var(--ab-ink);white-space:nowrap}
.agenda-booking-section.ab-v2 .ab-combo__total{margin:10px 2px 0;font-size:.84rem;font-weight:650;color:var(--ab-accent)}
.agenda-booking-section.ab-v2 .ab-summary-line--combo span{color:var(--ab-accent)}
