/* v624 BETA — Hotel-only, body-appended accessible comparison lightbox. Never style shared commerce. */
.dfa-hotel-sc-compare-overlay,
.dfa-hotel-sc-compare-overlay *{box-sizing:border-box}
.dfa-hotel-sc-compare-overlay[hidden],.dfa-hotel-sc-compare-overlay [hidden]{display:none!important}
.dfa-hotel-sc-compare-overlay{
  --sc-highlight:var(--dfa-main,var(--dfa-primary,#bf1264));
  position:fixed;inset:0;z-index:2147483647;background:rgba(7,11,27,.76);
  display:flex;justify-content:center;align-items:center;
  padding:clamp(8px,2.3vw,26px);color:#17213a;
  font-family:inherit;overflow:auto;overscroll-behavior:contain
}
.dfa-hotel-sc-compare-dialog{
  display:flex;flex-direction:column;position:relative;
  width:min(1100px,100%);min-width:0;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
  background:linear-gradient(135deg,rgba(255,255,255,.99),rgba(249,248,255,.98));
  border-radius:clamp(14px,2vw,26px);border:1px solid #e1e4ef;
  box-shadow:0 28px 96px #060f2e80, inset 0 1px #fff;
  overflow:hidden
}
.dfa-hotel-sc-compare-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:clamp(15px,2vw,25px);background:linear-gradient(105deg,#fff,#f5f6ff);border-bottom:1px solid #e3e8f1;flex:none}
.dfa-hotel-sc-compare-eyebrow{font-size:10px;letter-spacing:.08em;font-weight:850;color:var(--sc-highlight)}
.dfa-hotel-sc-compare-heading h2{font-size:clamp(21px,3vw,28px);line-height:1.25;margin:5px 0;color:#15223e}
.dfa-hotel-sc-compare-heading p{font-size:12px;line-height:1.6;color:#52617b;margin:5px 0 0;max-width:68ch}
.dfa-hotel-sc-compare-close{min-width:44px;min-height:44px;font-size:19px;border-radius:13px;border:1px solid #d8deed;background:#fff;color:#213050;cursor:pointer}
.dfa-hotel-sc-compare-content{padding:clamp(12px,2vw,24px);overflow-y:auto;overscroll-behavior:contain;min-height:0}
.dfa-hotel-sc-compare-prompt{max-width:490px;margin:0 auto;padding:clamp(12px,3vw,34px);border:1px solid #e4d5ec;background:linear-gradient(145deg,#fff,#fbf6fd);border-radius:20px;text-align:center}
.dfa-hotel-sc-compare-prompt strong{font-size:19px;color:#1c2744}
.dfa-hotel-sc-compare-prompt p{font-size:13px;line-height:1.6;color:#52617b;margin:12px 0 18px}
.dfa-hotel-sc-compare-overlay button{font-family:inherit;cursor:pointer;touch-action:manipulation}
.dfa-hotel-sc-compare-overlay button:focus-visible,.dfa-hotel-sc-compare-table-scroll:focus-visible{outline:3px solid var(--sc-highlight);outline-offset:3px}
.dfa-hotel-sc-compare-primary,.dfa-hotel-sc-compare-secondary,.dfa-hotel-sc-compare-filter{border:1px solid #d8deed;border-radius:12px;min-height:42px;padding:9px 14px;font-size:12px;font-weight:750;color:#273958;background:#fff}
.dfa-hotel-sc-compare-primary{background:var(--sc-highlight);border-color:transparent;color:#fff;box-shadow:0 8px 20px #15214718}
.dfa-hotel-sc-compare-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.dfa-hotel-sc-compare-count{font-weight:800;font-size:12px;color:#354767}
.dfa-hotel-sc-compare-scroller{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-inline:contain;padding:2px 2px 13px}
.dfa-hotel-sc-compare-card{flex:0 0 clamp(185px,24vw,248px);scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border-radius:18px;background:#fff;border:1px solid #e1e6f0;box-shadow:0 7px 22px #1320410d}
.dfa-hotel-sc-compare-card .dfa-hotel-sc-compare-primary{margin-top:auto}
.dfa-hotel-sc-compare-image-button{display:block;width:100%;aspect-ratio:16/10;border:0;border-radius:12px;overflow:hidden;background:#e8eaf1;padding:0}
.dfa-hotel-sc-compare-image-button img{display:block;width:100%;height:100%;object-fit:cover}
.dfa-hotel-sc-compare-card-title{font-size:14px;line-height:1.35;color:#152441}
.dfa-hotel-sc-compare-card-meta{font-size:11px;color:#50617b;line-height:1.6;min-height:18px}
.dfa-hotel-sc-compare-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 9px}
.dfa-hotel-sc-compare-filter.is-active{background:var(--sc-highlight);border-color:transparent;color:#fff}
.dfa-hotel-sc-compare-diffcount{margin-left:auto;color:#566781;font-size:11px}
.dfa-hotel-sc-compare-table-scroll{width:100%;overflow-x:auto;border:1px solid #e1e7f3;border-radius:15px;background:#fff;scrollbar-width:thin;overscroll-behavior-x:contain}
.dfa-hotel-sc-compare-table{border-collapse:separate;border-spacing:0;width:100%;min-width:520px;table-layout:fixed;color:#192842;font-size:12px;line-height:1.5}
.dfa-hotel-sc-compare-table th,.dfa-hotel-sc-compare-table td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #e8edf6;overflow-wrap:anywhere}
.dfa-hotel-sc-compare-table thead th{position:sticky;top:0;background:#edf2fc;font-size:12px;font-weight:850}
.dfa-hotel-sc-compare-table tbody tr:nth-child(even){background:#fafbfe}
.dfa-hotel-sc-compare-table tbody th{background:#f6f8fd;font-weight:750;width:145px}
.dfa-hotel-sc-compare-table tbody tr:last-child th,.dfa-hotel-sc-compare-table tbody tr:last-child td{border-bottom:0}
.dfa-hotel-sc-compare-no-diff{padding:13px;color:#52617b;font-size:12px;border:1px dashed #d7e0ef;border-radius:12px}
@media(max-width:600px){
  .dfa-hotel-sc-compare-overlay{padding:6px;align-items:center}
  .dfa-hotel-sc-compare-dialog{max-height:calc(100dvh - 12px);border-radius:16px}
  .dfa-hotel-sc-compare-header{padding:13px}
  .dfa-hotel-sc-compare-heading p{font-size:11px}
  .dfa-hotel-sc-compare-content{padding:12px}
  .dfa-hotel-sc-compare-card{flex-basis:72%;max-width:260px}
  .dfa-hotel-sc-compare-table{min-width:620px}
  .dfa-hotel-sc-compare-table th,.dfa-hotel-sc-compare-table td{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.dfa-hotel-sc-compare-scroller{scroll-behavior:auto}}
