:root {
  --ihv2-navy: #001438;
  --ihv2-orange: #f97211;
  --ihv2-ink: #111827;
  --ihv2-muted: #64748b;
  --ihv2-line: #e7ebf1;
  --ihv2-soft: #f6f8fb;
  --ihv2-card: #ffffff;
  --ihv2-shadow: 0 16px 40px rgba(0, 20, 56, 0.09);
}

.ihv2-continue,
.ihv2-section {
  box-sizing: border-box;
  width: min(100%, 1600px);
  margin-inline: auto;
}

.ihv2-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.ihv2-icon svg {
  width: 22px;
  height: 22px;
}

.ihv2-continue {
  margin-top: 26px;
  margin-bottom: 32px;
  padding-inline: 53px;
}

.ihv2-continue-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 20, 56, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ihv2-continue-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 20, 56, 0.1);
}

.ihv2-continue-card > .ihv2-icon {
  color: var(--ihv2-orange);
  background: #fff3e9;
}

.ihv2-continue-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ihv2-continue-copy small {
  color: var(--ihv2-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.ihv2-continue-copy strong {
  overflow: hidden;
  color: var(--ihv2-navy);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ihv2-continue-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ihv2-navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.ihv2-continue-action .ihv2-icon,
.ihv2-text-link .ihv2-icon,
.ihv2-value-card > span:last-child .ihv2-icon {
  width: 17px;
  height: 17px;
  border-radius: 0;
}

.ihv2-continue-action .ihv2-icon svg,
.ihv2-text-link .ihv2-icon svg,
.ihv2-value-card > span:last-child .ihv2-icon svg {
  width: 17px;
  height: 17px;
}

.ihv2-section {
  margin-bottom: 96px;
  padding-inline: 53px;
}

.ihv2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.ihv2-section-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

.ihv2-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ihv2-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ihv2-section-title h2 {
  margin: 0;
  color: var(--ihv2-navy);
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ihv2-section-title p {
  margin: 9px 0 0;
  color: var(--ihv2-muted);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.5;
}

.ihv2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--ihv2-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.ihv2-text-link:hover {
  color: var(--ihv2-orange);
}

.ihv2-stay-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ihv2-local-stays {
  margin-top: 72px;
  padding-top: 66px;
  border-top: 1px solid var(--ihv2-line);
}

.ihv2-location-prompt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--ihv2-soft);
  border: 1px solid var(--ihv2-line);
  border-radius: 22px;
}

.ihv2-location-prompt > .ihv2-icon {
  flex: 0 0 auto;
  color: var(--ihv2-orange);
  background: #fff3e9;
}

.ihv2-location-prompt > span:not(.ihv2-icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ihv2-location-prompt strong {
  color: var(--ihv2-navy);
  font-size: 17px;
  font-weight: 800;
}

.ihv2-location-prompt small {
  color: var(--ihv2-muted);
  font-size: 13px;
}

.ihv2-location-prompt .ihv2-primary-link {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.ihv2-stay-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--ihv2-card);
  border: 1px solid var(--ihv2-line);
  border-radius: 23px;
  box-shadow: 0 8px 22px rgba(0, 20, 56, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ihv2-stay-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 114, 17, 0.32);
  box-shadow: var(--ihv2-shadow);
}

.ihv2-stay-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--ihv2-muted);
  background: #eef2f7;
}

.ihv2-stay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.ihv2-stay-card:hover .ihv2-stay-media img {
  transform: scale(1.035);
}

.ihv2-stay-media--empty {
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.ihv2-stars {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  color: var(--ihv2-orange);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 20, 56, 0.12);
}

.ihv2-stay-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.ihv2-stay-name {
  overflow: hidden;
  color: var(--ihv2-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ihv2-stay-location {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ihv2-muted);
  font-size: 13px;
}

.ihv2-stay-location > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ihv2-stay-location .ihv2-icon {
  width: 17px;
  height: 17px;
  border-radius: 0;
}

.ihv2-stay-location .ihv2-icon svg {
  width: 16px;
  height: 16px;
}

.ihv2-stay-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.ihv2-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding-inline: 8px;
  color: #fff;
  background: #0e9f6e;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.ihv2-stay-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.ihv2-stay-price strong {
  color: var(--ihv2-navy);
  font-size: 17px;
  font-weight: 800;
}

.ihv2-stay-price small {
  color: var(--ihv2-muted);
  font-size: 11px;
}

.ihv2-stay-skeleton {
  aspect-ratio: 1.22;
  border-radius: 23px;
  background: linear-gradient(100deg, #eef2f7 20%, #f8fafc 38%, #eef2f7 58%);
  background-size: 200% 100%;
  animation: ihv2-shimmer 1.25s infinite linear;
}

@keyframes ihv2-shimmer {
  to { background-position-x: -200%; }
}

.ihv2-stay-empty {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  text-align: center;
  background: var(--ihv2-soft);
  border: 1px solid var(--ihv2-line);
  border-radius: 23px;
}

.ihv2-stay-empty > .ihv2-icon {
  color: var(--ihv2-orange);
  background: #fff3e9;
}

.ihv2-stay-empty strong {
  color: var(--ihv2-navy);
  font-size: 18px;
}

.ihv2-stay-empty > span:not(.ihv2-icon) {
  color: var(--ihv2-muted);
  font-size: 14px;
}

.ihv2-primary-link {
  margin-top: 8px;
  padding: 10px 17px;
  color: #fff;
  text-decoration: none;
  background: var(--ihv2-orange);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.ihv2-value {
  padding-top: 2px;
}

.ihv2-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ihv2-value-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--ihv2-line);
  border-radius: 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.ihv2-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 114, 17, 0.32);
  box-shadow: var(--ihv2-shadow);
}

.ihv2-value-card > .ihv2-icon {
  color: var(--ihv2-orange);
  background: #fff3e9;
}

.ihv2-value-card h3 {
  margin: 24px 0 8px;
  color: var(--ihv2-navy);
  font-size: 21px;
  font-weight: 800;
}

.ihv2-value-card p {
  margin: 0;
  color: var(--ihv2-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ihv2-value-card > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ihv2-orange);
  font-size: 14px;
  font-weight: 800;
}

.ihv2-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ihv2-shortcut-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--ihv2-line);
  border-radius: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ihv2-shortcut-card:hover {
  border-color: rgba(249, 114, 17, 0.32);
  box-shadow: 0 10px 24px rgba(0, 20, 56, 0.07);
}

.ihv2-shortcut-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ihv2-shortcut-title > .ihv2-icon {
  width: 36px;
  height: 36px;
  color: var(--ihv2-orange);
  background: #fff3e9;
}

.ihv2-shortcut-title > .ihv2-icon svg {
  width: 18px;
  height: 18px;
}

.ihv2-shortcut-title > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ihv2-shortcut-title strong {
  overflow: hidden;
  color: var(--ihv2-navy);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ihv2-shortcut-title small {
  color: var(--ihv2-muted);
  font-size: 11px;
  font-weight: 700;
}

.ihv2-shortcut-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.ihv2-shortcut-actions a {
  padding: 7px 9px;
  color: var(--ihv2-navy);
  text-decoration: none;
  background: var(--ihv2-soft);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.ihv2-shortcut-actions a:hover {
  color: #fff;
  background: var(--ihv2-orange);
}

.ihv2-existing-section {
  scroll-margin-top: 90px;
}

html.dark {
  --ihv2-ink: #f8fafc;
  --ihv2-muted: #94a3b8;
  --ihv2-line: rgba(255, 255, 255, 0.11);
  --ihv2-soft: #111c2e;
  --ihv2-card: #111c2e;
  --ihv2-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

html.dark .ihv2-continue-card,
html.dark .ihv2-shortcut-card {
  background: #111c2e;
  border-color: rgba(255, 255, 255, 0.11);
}

html.dark .ihv2-continue-copy strong,
html.dark .ihv2-section-title h2,
html.dark .ihv2-text-link,
html.dark .ihv2-stay-price strong,
html.dark .ihv2-stay-empty strong,
html.dark .ihv2-value-card h3,
html.dark .ihv2-shortcut-title strong {
  color: #fff;
}

html.dark .ihv2-value-card {
  background: linear-gradient(145deg, #111c2e 0%, #0d1727 100%);
}

html.dark .ihv2-stay-media {
  background: #0d1727;
}

@media (max-width: 1100px) {
  .ihv2-stay-grid {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ihv2-stay-grid::-webkit-scrollbar {
    display: none;
  }

  .ihv2-stay-card,
  .ihv2-stay-skeleton {
    flex: 0 0 270px;
    scroll-snap-align: start;
  }
}

@media (max-width: 960px) {
  .ihv2-continue,
  .ihv2-section {
    padding-inline: 24px;
  }

  .ihv2-value-grid,
  .ihv2-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ihv2-continue,
  .ihv2-section {
    padding-inline: 16px;
  }

  .ihv2-continue {
    margin-bottom: 24px;
  }

  .ihv2-continue-action {
    padding: 9px 11px;
  }

  .ihv2-continue-action .ihv2-icon {
    display: none;
  }

  .ihv2-section {
    margin-bottom: 68px;
  }

  .ihv2-local-stays {
    margin-top: 52px;
    padding-top: 48px;
  }

  .ihv2-location-prompt {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
  }

  .ihv2-location-prompt .ihv2-primary-link {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .ihv2-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
  }

  .ihv2-stay-grid {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ihv2-stay-grid::-webkit-scrollbar {
    display: none;
  }

  .ihv2-stay-card,
  .ihv2-stay-skeleton {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .ihv2-value-grid,
  .ihv2-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .ihv2-value-card {
    min-height: 220px;
  }

  .ihv2-shortcut-card {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihv2-stay-card,
  .ihv2-value-card,
  .ihv2-continue-card,
  .ihv2-stay-media img {
    transition: none;
  }

  .ihv2-stay-skeleton {
    animation: none;
  }
}
