/* Tanda 11. Cabecera compartida, sin importar reglas globales de home en reserva clínica. */
.lugh-logo-circle { border-radius:50% !important; object-fit:contain; background:#fff; aspect-ratio:1; flex-shrink:0; }
body .site-header.lugh-shared-header { --shared-h:82px; --shared-primary:var(--lugh-public-primary,#0aa7d8); height:var(--shared-h); min-height:var(--shared-h); display:flex; align-items:center; left:0; right:0; top:0; z-index:1100; padding:0; box-sizing:border-box; background:#f8f9fa; border-bottom:1px solid rgba(16,87,111,.10); box-shadow:0 8px 26px rgba(15,64,82,.07); }
body.lugh-home-page .site-header.lugh-shared-header {position:fixed;}
body.reserva-public-page .site-header.lugh-shared-header, body.box-booking-page .site-header.lugh-shared-header {position:sticky;}
body .site-header.lugh-shared-header .site-header__inner {width:min(1180px,calc(100% - 44px)); min-height:0; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px;}
body .site-header.lugh-shared-header .brand {display:inline-flex; align-items:center; gap:10px; color:#17313d; text-decoration:none; font-size:1.22rem; font-weight:600; letter-spacing:-.03em; white-space:nowrap; line-height:1.3;}
body .site-header.lugh-shared-header .brand img {width:56px; height:56px; display:block; object-fit:contain;}
body .site-header.lugh-shared-header .brand strong {color:var(--shared-primary); font-weight:850;}
body .site-header.lugh-shared-header .main-nav {position:static; display:flex; align-items:center; gap:clamp(9px,1.5vw,24px); padding:0; margin:0; visibility:visible; opacity:1; transform:none; overflow:visible; border:0; box-shadow:none; background:none;}
body .site-header.lugh-shared-header .main-nav > a:not(.button) {position:relative; display:block; color:#4c6570; text-decoration:none; font-size:.92rem; font-weight:680; white-space:nowrap; padding:0;}
body .site-header.lugh-shared-header .main-nav > a:not(.button):hover {color:var(--shared-primary);}
body .site-header.lugh-shared-header .main-nav .button {display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 15px; margin:0; width:auto; border:1px solid transparent; border-radius:13px; color:#fff; text-decoration:none; font-weight:800; font-size:.90rem; white-space:nowrap; background:linear-gradient(135deg,var(--shared-primary),#1687d6); box-shadow:0 10px 24px rgba(10,167,216,.18);}
body .site-header.lugh-shared-header .main-nav .button--box-nav {color:#0e6f9f; background:#fff; border-color:#8ecbe5; box-shadow:none;}
body .site-header.lugh-shared-header .main-nav a[aria-current=page] {outline:2px solid var(--shared-primary); outline-offset:2px;}
body .site-header.lugh-shared-header .menu-toggle {display:none; width:44px; height:44px; padding:10px; border:1px solid #dce8ef; border-radius:14px; background:#fff; cursor:pointer;}
body .site-header.lugh-shared-header .menu-toggle span {display:block; height:2px; margin:5px 0; background:#17313d; border-radius:99px;}
body.menu-open {overflow:hidden;}
body .site-header.lugh-shared-header a:focus-visible,body .site-header.lugh-shared-header button:focus-visible {outline:3px solid var(--shared-primary); outline-offset:3px;}
@media(max-width:1100px) {
 body .site-header.lugh-shared-header {--shared-h:calc(68px + env(safe-area-inset-top)); padding-top:env(safe-area-inset-top);}
 body .site-header.lugh-shared-header .site-header__inner {width:calc(100% - 24px); gap:12px;}
 body .site-header.lugh-shared-header .brand {font-size:1.05rem; gap:8px;}
 body .site-header.lugh-shared-header .brand img {width:44px;height:44px;}
 body .site-header.lugh-shared-header .menu-toggle {display:block; flex:0 0 44px;}
 body .site-header.lugh-shared-header .main-nav {position:absolute; top:100%; left:12px; right:12px; display:grid; gap:3px; padding:12px; border:1px solid #dce8ef; border-radius:18px; background:#fff; box-shadow:0 24px 50px rgba(15,63,81,.18); visibility:hidden; opacity:0; transform:translateY(-8px); max-height:calc(100dvh - 90px); overflow-y:auto;}
 body .site-header.lugh-shared-header .main-nav.is-open {visibility:visible;opacity:1;transform:none;}
 body .site-header.lugh-shared-header .main-nav > a:not(.button) {padding:12px; min-height:44px;}
 body .site-header.lugh-shared-header .main-nav .button {width:100%; min-height:46px;}
}
/* Aviso de cambio de canal, antes de capturar datos de paciente. */
.lugh-box-switch {display:flex; align-items:center; justify-content:center; gap:10px 18px; flex-wrap:wrap; border:1px solid #b8d9e8; border-radius:14px; padding:12px 16px; margin:0 auto 18px; background:#f2faff; color:#17313d; font-size:.9rem; text-align:center;}
.lugh-box-switch a {font-weight:800; color:var(--lugh-public-primary-dark,#075985); text-decoration:underline;}
/* Galería de la Tanda 7, compartida con portada; no depende del CSS de checkout. */
.box-public-gallery {margin:12px 0;}
.box-public-gallery__slides {background:#eef7fa;border-radius:12px;overflow:hidden;}
.box-public-gallery [hidden] {display:none!important;}
.box-public-gallery img,.box-public-gallery video {width:100%;max-height:320px;aspect-ratio:4/3;object-fit:contain;display:block;}
.box-public-gallery__nav {display:flex;align-items:center;justify-content:center;gap:10px;margin-top:8px;}
.box-public-gallery__nav button {color:#075985;background:white;border:1px solid #b9d5e5;border-radius:8px;min-width:44px;min-height:44px;font-size:1.4rem;cursor:pointer;}
.home-box-card__gallery {padding:10px 10px 0; background:#f5fbfd;}
.home-box-card__gallery .box-public-gallery {margin:0;}
.home-box-card__gallery .box-public-gallery img,.home-box-card__gallery .box-public-gallery video {height:230px;max-height:230px;aspect-ratio:auto;object-fit:contain;}

body .site-header.lugh-shared-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {transform:translateY(7px) rotate(45deg);}
body .site-header.lugh-shared-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {opacity:0;}
body .site-header.lugh-shared-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {transform:translateY(-7px) rotate(-45deg);}
.home-box-card__gallery-status {display:block;text-align:center;color:#365f72;font-size:.8rem;font-weight:700;padding:6px;}
