.hotel-stay-dates { display: flex; gap: 12px; }
.hotel-date-trigger {
  align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  min-width: 136px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff;
}
.hotel-date-trigger:not([hidden]) { display: flex; }
.hotel-date-trigger small { display: block; color: #64748b; font-size: 12px; }
.hotel-date-trigger b { color: #0f172a; font-size: 15px; white-space: nowrap; }
.hotel-date-trigger i { color: #64748b; }
.hotel-date-trigger:hover, .hotel-date-trigger[aria-expanded="true"] { border-color: #2563eb; }
.hotel-date-popup {
  position: fixed; inset: auto; margin: 0; padding: 0; width: min(660px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px); overflow: auto; border: 1px solid #e2e8f0;
  border-radius: 20px; background: #fff; color: #0f172a; box-shadow: 0 18px 48px rgb(15 23 42 / .18);
}
.hotel-date-popup::backdrop { background: transparent; }
.hotel-date-panel { padding: 16px; }
.hotel-date-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hotel-date-header button, .hotel-date-month button { border-radius: 10px; min-height: 36px; }
.hotel-date-header button { width: 40px; }
.hotel-date-header button:hover, .hotel-date-month button:hover { background: #f1f5f9; }
.hotel-date-header button:disabled, .hotel-date-month button:disabled { color: #94a3b8; opacity: .55; cursor: default; }
.hotel-date-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hotel-date-month h3 { text-align: center; font-size: 15px; font-weight: 700; text-transform: capitalize; margin: 4px 0 8px; }
.hotel-date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.hotel-date-grid small { color: #64748b; padding: 2px 0 6px; }
.hotel-date-grid button[data-in-stay] { background: #eff6ff; color: #1d4ed8; }
.hotel-date-grid button[aria-pressed="true"] { background: #2563eb; color: #fff; font-weight: 700; }
.hotel-date-panel footer { display: flex; justify-content: flex-end; margin-top: 14px; }
.hotel-date-panel footer button { background: #0f172a; color: #fff; border-radius: 12px; padding: 8px 16px; font-weight: 600; }
.hotel-date-panel button:focus-visible, .hotel-date-trigger:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

.hotel-room-skeletons { display: grid; gap: 12px; }
.hotel-room-skeleton { display: flex; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; }
.hotel-room-skeleton span { display: block; background: #e8eef6; animation: hotel-price-pulse 1.25s ease-in-out infinite alternate; }
.hotel-room-skeleton .hotel-skeleton-photo { flex: 0 0 192px; min-height: 176px; border-radius: 0; }
.hotel-skeleton-info { min-width: 0; flex: 1; padding: 16px; }
.hotel-skeleton-info span { border-radius: 8px; }
.hotel-skeleton-title { width: 66%; height: 20px; }
.hotel-skeleton-details { width: 44%; height: 12px; margin-top: 12px; }
.hotel-skeleton-tariff { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #eef2f7; margin-top: 16px; padding-top: 12px; }
.hotel-skeleton-tariff span:first-child { width: 28%; height: 12px; }
.hotel-skeleton-tariff span:last-child { width: 104px; height: 32px; }
@keyframes hotel-price-pulse { to { opacity: .48; } }
@media (prefers-reduced-motion: reduce) { .hotel-room-skeleton span { animation: none; } }
@media (max-width: 640px) {
  .hotel-stay-dates { width: 100%; }
  .hotel-date-trigger { flex: 1; min-width: 0; }
  .hotel-date-popup { inset: auto 0 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; }
  .hotel-date-popup::backdrop { background: rgb(15 23 42 / .32); }
  .hotel-date-panel { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .hotel-date-months { grid-template-columns: minmax(0, 1fr); }
  .hotel-room-skeleton { flex-direction: column; }
  .hotel-room-skeleton .hotel-skeleton-photo { flex-basis: auto; }
}

[data-room-pricing]{container-type:inline-size}
.hotel-room-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:8px;padding:10px;background:#edf4ff;border-radius:14px}
.hotel-room-search .hotel-stay-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hotel-room-search .hotel-date-trigger{min-width:0;padding:7px 10px}
.hotel-room-search .hotel-date-trigger b{white-space:normal}
.hotel-stay-guests{position:relative;min-width:0}
.hotel-room-search .hotel-stay-guests>summary{background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:7px 10px;height:100%;color:#0f172a}
.hotel-stay-guests summary small,.hotel-stay-guests summary strong{display:block}
.hotel-stay-guests summary small{color:#64748b;font-size:12px;font-weight:400}
.hotel-stay-guest-fields{position:absolute;z-index:4;top:calc(100% + 6px);left:0;width:210px;max-width:70vw;display:grid;gap:8px;background:#fff;border:1px solid #dce4ee;border-radius:12px;padding:12px;box-shadow:0 8px 24px #172b4626}
.hotel-stay-guest-fields input{width:100%}
.hotel-stay-guest-fields button{justify-self:end;background:#1556e9;color:white;border-radius:9px;padding:6px 12px;font-size:14px;font-weight:650}
.hotel-live-room{display:grid;grid-template-columns:minmax(108px,24%) minmax(0,1fr);overflow:hidden;border:1px solid #dce4ee;border-radius:16px}
.hotel-room-cover{display:block;align-self:start;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.hotel-room-copy{min-width:0;grid-column:2;padding:14px}
.hotel-room-copy:first-child{grid-column:1/-1}
.hotel-room-tariffs{grid-column:1/-1;margin:0;padding:0 14px;background:#f8faff;border-top:1px solid #dce4ee}
.hotel-room-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.hotel-room-photos img{width:120px;aspect-ratio:3/2;object-fit:cover;border-radius:8px}
@container (max-width:760px){.hotel-room-search{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-room-search .hotel-stay-dates{grid-column:1/-1}}
@container (max-width:480px){
 .hotel-live-room{grid-template-columns:minmax(0,1fr)}
 .hotel-room-copy{grid-column:1}
 .hotel-room-cover{aspect-ratio:16/9}
 .hotel-room-copy .hotel-feature-grid{grid-template-columns:minmax(0,1fr)}
}
.hotel-date-header button,.hotel-date-grid button{appearance:none;border:0;background:transparent}
.hotel-date-header button:hover:not(:disabled),.hotel-date-grid button:hover:not(:disabled){background:#f1f5f9}
.hotel-date-grid button[data-in-stay]{background:#eff6ff}
.hotel-date-grid button[aria-pressed="true"]{background:#2563eb;color:#fff}
.hotel-date-panel footer button{appearance:none;border:0;background:#1556e9}
