/* Solicitud de sesión · complementos sobre quickshoot/css/qs.css */
body.bk { background: var(--bg); color: var(--text); }
.bk .nav .wrap { gap: 14px; }
.bk-back { margin-left: auto; text-decoration: none; font-size: 14px; color: var(--text-2); }
.bk-back:hover { color: var(--strong); }
.langbtn { min-width: 44px; font: 600 13px/1 var(--f-display); letter-spacing: .06em; }
.bk-main { padding-top: clamp(96px, 12vw, 130px); padding-bottom: 70px; }
.bk-head { max-width: 760px; margin-bottom: 26px; }
.bk-head h1 { margin: 12px 0 8px; }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .bk-layout { grid-template-columns: minmax(0, 1fr); } }
.bk .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.bk-step h2 { display: flex; align-items: center; gap: 10px; font: 600 22px/1 var(--f-head); text-transform: uppercase; margin: 0 0 16px; }
.bk-n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--f-display); flex: none; }
.hint { color: var(--muted); font-size: 14px; line-height: 1.5; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.field input, .field select, .field textarea, .bk-search input { min-height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); padding: 10px 12px; font: inherit; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .bk-search input:focus { outline: none; border-color: var(--brand-hi); box-shadow: 0 0 0 3px var(--brand-soft); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 1 · servicios */
.bk-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 12px; }
.bk-svc input { position: absolute; opacity: 0; pointer-events: none; }
.bk-svc__card { display: grid; gap: 8px; height: 100%; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.bk-svc__card:hover { border-color: var(--line-3, var(--brand-hi)); }
.bk-svc input:checked + .bk-svc__card { border-color: var(--brand-hi); box-shadow: inset 0 0 0 1px var(--brand-hi); background: var(--brand-soft); }
.bk-svc input:focus-visible + .bk-svc__card { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.bk-svc__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bk-svc__top b { font-weight: 600; color: var(--strong); }
.bk-svc__price { font: 600 20px/1 var(--f-display); color: var(--brand-ink); white-space: nowrap; }
.bk-svc__price small { font-size: 12px; color: var(--muted); }
.bk-svc__inc { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }

/* 2 · calendario */
.bk-cal { max-width: 420px; }
.bk-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-cal__head b { font-weight: 600; }
.bk-cal__head b::first-letter { text-transform: uppercase; }
.bk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.bk-wd { font: 600 11px/2 var(--f-display); color: var(--muted); text-transform: uppercase; }
.bk-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 14px; opacity: .45; }
/* Días disponibles: azul claro de marca (tema oscuro por defecto en :root; claro con data-theme) */
:root { --day-bg: rgba(47, 127, 224, .28); --day-ink: #d6e6ff; --day-line: rgba(127, 179, 255, .45); --day-hover: rgba(47, 127, 224, .45); }
:root:not([data-theme]), :root[data-theme="light"] { --day-bg: #dceafb; --day-ink: #0d47a1; --day-line: #b3cff2; --day-hover: #c4dcf8; }
.bk-day.is-open { opacity: 1; color: var(--day-ink); background: var(--day-bg); box-shadow: inset 0 0 0 1px var(--day-line); cursor: pointer; font-weight: 600; }
.bk-day.is-open:hover { background: var(--day-hover); }
.bk-day.is-sel { background: var(--brand) !important; color: #fff !important; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; font: 600 14px/1 var(--f-display); color: var(--text-2); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* 3 · mapa */
.bk-mapbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.bk-search { position: relative; flex: 1 1 260px; }
.bk-search input { padding-left: 40px; }
.bk-search .ms { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
.bk-results { display: grid; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 8px; background: var(--surface); }
.bk-results button { text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; }
.bk-results button:hover { background: var(--hover); }
.bk-results .hint { padding: 10px 12px; }
.bk-map { height: 340px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.bk-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

/* Resumen */
.bk-side { position: sticky; top: 88px; }
@media (max-width: 980px) { .bk-side { position: static; } }
.bk-sum h2 { font: 600 22px/1 var(--f-head); text-transform: uppercase; margin: 0 0 14px; }
.bk-sumlist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; font-size: 14.5px; }
.bk-sumlist li { display: flex; gap: 10px; align-items: flex-start; }
.bk-sumlist .ms { font-size: 20px; color: var(--brand-ink); }
.bk-sumlist i { color: var(--muted); }
.bk-money { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.bk-money td { padding: 6px 0; border-top: 1px solid var(--line); vertical-align: top; }
.bk-money td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; font-variant-numeric: tabular-nums; }
.bk-money i { color: var(--muted); font-size: 13px; }
.bk-total td { font-weight: 600; font-size: 16px; color: var(--strong); }
.bk-dep td { color: var(--brand-ink); font-weight: 600; }
.bk-send { width: 100%; }
.bk-small { font-size: 13px; margin: 10px 0 0; }
.bk-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--brand-ink); text-decoration: none; }
.bk-wa:hover { text-decoration: underline; }
.bk-err { background: rgba(239, 107, 91, .1); border: 1px solid rgba(239, 107, 91, .4); color: var(--text); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.bk-done { text-align: center; padding: 48px 22px !important; max-width: 640px; margin: 0 auto; }
.bk-done__icon { font-size: 56px; color: var(--ok, #3dbb8a); }
.bk-done h2 { font: 600 32px/1 var(--f-head); text-transform: uppercase; margin: 12px 0; }
.bk-done p { color: var(--text-2); line-height: 1.6; margin: 0 0 22px; }

/* Enlace privado del cliente (pay.html) */
.bk-pay .bk-head h1 { margin: 12px 0 8px; }
.bk-paygrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 20px; align-items: start; }
@media (max-width: 900px) { .bk-paygrid { grid-template-columns: minmax(0, 1fr); } }
.bk-h2 { display: flex; align-items: center; gap: 8px; font: 600 20px/1 var(--f-head); text-transform: uppercase; margin: 0 0 14px; }
.bk-h2 .ms { color: var(--brand-ink); }
.bk-amount { font: 600 22px/1 var(--f-display); color: var(--brand-ink); }
.bk-copy { border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 2px 8px; font-size: 12px; color: var(--text-2); cursor: pointer; margin-left: 6px; }
.bk-drop { display: grid; justify-items: center; gap: 6px; padding: 26px; border: 2px dashed var(--line-2); border-radius: var(--radius-sm); cursor: pointer; color: var(--text-2); text-align: center; }
.bk-drop:hover { border-color: var(--brand-hi); background: var(--brand-soft); }
.bk-drop .ms { font-size: 32px; color: var(--brand-ink); }
.bk-okmsg { background: rgba(61, 187, 138, .12); border: 1px solid rgba(61, 187, 138, .45); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; margin: 12px 0; }
.bk-err { margin-top: 12px; }

/* Botones flotantes: WhatsApp (azul de la marca) y solicitar sesión */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; }
.fab__wa { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1565C0; color: #fff; box-shadow: 0 10px 24px -8px rgba(21, 101, 192, .65), 0 2px 6px rgba(0, 0, 0, .18); transition: transform .2s, background .2s; }
.fab__wa:hover { transform: translateY(-2px) scale(1.04); background: #1259ab; }
.fab__book { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none; font: 600 15px/1 var(--f-body);
	background: var(--surface); color: var(--strong); border: 1px solid var(--line-2); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); transition: transform .2s, border-color .2s; }
.fab__book .ms { font-size: 20px; color: var(--brand-ink); }
.fab__book:hover { transform: translateY(-2px); border-color: var(--brand-hi); }
@media (max-width: 420px) { .fab__book { padding: 0 14px; font-size: 14px; } }
@media print { .fab { display: none; } }

/* Previsión y condiciones de lluvia */
.bk-wx { border-left: 4px solid #2e9e5b; }
.bk-wx--medium { border-left-color: #f28c28; }
.bk-wx--high { border-left-color: #d93a2b; }
.bk-terms { border-color: #f2c08a; background: rgba(242, 140, 40, .07); }

/* Selección de fotos (previsualización) */
.bk-selbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; position: sticky; top: 72px; z-index: 5; background: var(--surface); padding: 6px 0; }
.bk-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bk-ph { position: relative; aspect-ratio: 3 / 2; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: var(--surface-2); cursor: default; }
.is-picking .bk-ph { cursor: pointer; }
.bk-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s; }
.is-picking .bk-ph:not(.is-sel) img { opacity: .75; }
.bk-ph.is-sel { outline: 3px solid var(--brand-hi); outline-offset: -3px; }
.bk-ph.is-sel img { transform: scale(.94); border-radius: 4px; }
.bk-ph__n { position: absolute; left: 6px; bottom: 6px; font: 600 12px/1 var(--f-display); color: #fff; background: rgba(0, 0, 0, .55); padding: 4px 6px; border-radius: 6px; }
.bk-ph__chk { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(0, 0, 0, .45); color: transparent; border: 2px solid #fff; }
.is-picking .bk-ph.is-sel .bk-ph__chk, .bk-ph.is-sel .bk-ph__chk { background: var(--brand); color: #fff; }
.bk-ph__zoom { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(0, 0, 0, .5); color: #fff; text-decoration: none; }

/* Detalle de cada servicio */
.bk-svc__card { align-content: start; padding: 18px; }
.bk-svc__inc { font-weight: 600; color: var(--strong); }
.bk-svc__list { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 7px; }
.bk-svc__list li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.bk-svc__list .ms { font-size: 18px; color: var(--brand-hi); line-height: 1.1; }
.bk-svc__list li.is-extra { color: var(--strong); font-weight: 600; }
.bk-svc__list li.is-no .ms { color: var(--muted); }

/* Foto de cada servicio */
.bk-svc__card { overflow: hidden; }
.bk-svc__img { position: relative; display: block; margin: -18px -18px 6px; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.bk-svc__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bk-svc__card:hover .bk-svc__img img { transform: scale(1.03); }
.bk-svc__badge { position: absolute; left: 12px; top: 12px; font: 700 14px/1 var(--f-display); color: #fff; background: #1565C0; padding: 6px 9px; border-radius: 6px; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.bk-svc input:checked + .bk-svc__card .bk-svc__img::after { content: 'check'; font-family: 'Material Symbols Outlined'; position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; background: #1565C0; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
/* La foto no estira la tarjeta: el marco 3:2 manda y la imagen lo rellena */
.bk-svc__img { height: auto; min-height: 0; flex: none; align-self: start; }
.bk-svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Servicio elegido: los demás se pliegan y queda una tarjeta compacta */
.bk-services.is-picked { grid-template-columns: minmax(0, 1fr); }
.bk-services.is-picked .bk-svc.is-off { display: none; }
.bk-services.is-picked .bk-svc__card { grid-template-columns: 132px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-items: center; padding: 12px; }
.bk-services.is-picked .bk-svc__img { grid-row: 1 / span 2; margin: 0; border-radius: 8px; }
.bk-services.is-picked .bk-svc__list, .bk-services.is-picked .bk-svc__img::after, .bk-services.is-picked .bk-svc__badge { display: none; }
.bk-services.is-picked .bk-svc__top { flex-wrap: wrap; }
@media (max-width: 520px) { .bk-services.is-picked .bk-svc__card { grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; } }
.bk-svc-change { margin-top: 12px; }
.bk-services.is-picked + .bk-svc-change + .hint { display: none; }
.bk-step { scroll-margin-top: 150px; }
.bk-side { top: 168px; }

/* Indicador de pasos (fijo bajo la cabecera) */
.bk-steps { grid-column: 1 / -1; position: sticky; top: 72px; z-index: 20; background: var(--glass, var(--bg)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 10px; margin-bottom: 4px; }
.bk-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bk-steps__item { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px; border-radius: 8px; cursor: pointer; color: var(--muted); font: 500 14px/1.2 var(--f-body); text-align: left; min-width: 0; }
.bk-steps__item:hover { background: var(--hover); }
.bk-steps__item:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 1px; }
.bk-steps__dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--f-display); border: 2px solid var(--line-2); color: var(--muted); background: var(--bg); }
.bk-steps__dot .ms { font-size: 18px; }
.bk-steps__lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-steps__item.is-done .bk-steps__dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.bk-steps__item.is-current { color: var(--strong); font-weight: 600; }
.bk-steps__item.is-current .bk-steps__dot { border-color: var(--brand-hi); color: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); }
.bk-steps__item.is-current.is-done .bk-steps__dot { color: #fff; }
.bk-steps__bar { height: 4px; border-radius: 2px; background: var(--surface-2); margin: 10px 4px 0; overflow: hidden; }
.bk-steps__bar i { display: block; height: 100%; background: var(--brand); border-radius: 2px; transition: width .35s ease; }
.bk-steps__now { display: none; margin: 8px 4px 0; font-size: 13.5px; color: var(--text-2); }
.bk-steps__now .ms { font-size: 18px; vertical-align: -4px; margin-right: 4px; color: var(--brand-ink); }
@media (max-width: 760px) {
	.bk-steps { padding: 10px 12px 8px; }
	.bk-steps__item { justify-content: center; padding: 2px; }
	.bk-steps__lbl { display: none; }
	.bk-steps__now { display: block; text-align: center; }
}
