/* ==========================================================================
   Hawaii Accommodations — /hawaii-accommodations
   All sizes in px.
   Scoped to .ha-* to avoid global conflicts.
   ========================================================================== */

/* --- Conversion-focused hero --- */
.hawaii-accommodations-page .image-container-main.has-overlay-title::after {
  z-index: 2;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(3, 24, 34, 0.88) 0%, rgba(3, 24, 34, 0.64) 45%, rgba(3, 24, 34, 0.08) 78%),
    linear-gradient(0deg, rgba(3, 24, 34, 0.68) 0%, transparent 52%);
}

.hawaii-accommodations-page .hero-commerce-overlay {
  bottom: 72px;
  left: 7%;
  z-index: 4;
  width: min(710px, 86%);
  max-width: 710px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(5, 31, 40, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  padding: 24px 26px;
  pointer-events: auto;
  backdrop-filter: blur(9px);
}

.hero-commerce-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #ffe0a5;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hawaii-accommodations-page .hero-commerce-overlay .hero-overlay-title {
  max-width: 650px;
  margin-bottom: 8px;
  font-size: clamp(34px, 4.2vw, 52px) !important;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-commerce-summary {
  max-width: 620px;
  margin: 0 0 16px !important;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px !important;
  line-height: 1.42 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-commerce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-commerce-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-commerce-primary {
  background: #f27a24;
  box-shadow: 0 10px 24px rgba(242, 122, 36, 0.3);
  color: #2c1808 !important;
}

.hero-commerce-primary:hover,
.hero-commerce-primary:focus-visible {
  background: #ff8a34;
  color: #211106 !important;
}

.hero-commerce-secondary {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(6, 35, 40, 0.66);
  color: #fff !important;
}

.hero-commerce-secondary:hover,
.hero-commerce-secondary:focus-visible {
  background: rgba(6, 35, 40, 0.9);
  color: #fff !important;
}

.hero-commerce-actions a:hover,
.hero-commerce-actions a:focus-visible {
  transform: translateY(-2px);
}

.hero-commerce-actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hero-commerce-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 !important;
  border: 1px solid rgba(255, 223, 163, 0.32);
  border-radius: 999px;
  background: rgba(4, 29, 33, 0.66);
  color: #fff4df;
  font-size: 14px !important;
  line-height: 1.3 !important;
  padding: 7px 11px;
}

.hero-commerce-note i {
  color: #ffd37a;
}

/* --- Three-path decision module --- */
.ha-decision-hero {
  margin: 24px 0 18px;
  border: 1px solid #dce7e3;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #f3faf7 0%, #fffaf2 100%);
  box-shadow: 0 14px 38px rgba(18, 54, 53, 0.1);
  padding: 26px;
}

.ha-decision-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.ha-decision-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #466e5e;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.ha-decision-heading h2 {
  margin: 0 0 7px;
  color: #183a35;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.08;
}

.ha-decision-heading p {
  margin: 0;
  color: #52665f;
  font-size: 17px;
  line-height: 1.45;
}

.ha-decision-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ha-decision-path a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  border: 1px solid #d8e4df;
  border-radius: 14px;
  background: #fff;
  color: #173f3b !important;
  padding: 13px;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ha-decision-path a:hover,
.ha-decision-path a:focus-visible {
  border-color: #5e927e;
  color: #0a625d !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 74, 65, 0.1);
}

.ha-decision-path a:focus-visible {
  outline: 3px solid #d26b1d;
  outline-offset: 3px;
}

.ha-decision-path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e7f4ef;
  color: #17675f;
  font-size: 18px;
}

.ha-decision-path a > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ha-decision-path small {
  color: #657871;
  font-size: 14px;
  line-height: 1.2;
}

.ha-decision-path strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
}

.ha-decision-path a > i {
  color: #718881;
  font-size: 12px;
}

.ha-decision-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid #dce7e3;
  padding-top: 15px;
}

.ha-decision-proof span,
.ha-decision-proof a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #fff;
  color: #39574e !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  padding: 7px 10px;
  text-decoration: none !important;
}

.ha-decision-proof i {
  color: #b85b16;
}

.ha-intro-compact {
  margin: 16px 0 0;
  border-left: 4px solid #d47628;
  background: rgba(255, 255, 255, 0.68);
  padding: 13px 16px;
}

.ha-intro-compact p {
  margin: 0;
  color: #46565c;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hawaii-accommodations-page .scroll-indicator {
    display: none;
  }

  .hawaii-accommodations-page .single-slide-top .bg-image-top,
  .hawaii-accommodations-page .single-slide-top .image-container-main {
    height: 380px;
  }

  .hawaii-accommodations-page .image-container-main .hero-img,
  .hawaii-accommodations-page .image-container-main .hero-video {
    object-position: center 55%;
  }

  .hawaii-accommodations-page .image-container-main.has-overlay-title::after {
    background: linear-gradient(0deg, rgba(3, 24, 34, 0.97) 0%, rgba(3, 24, 34, 0.78) 67%, rgba(3, 24, 34, 0.18) 100%);
  }

  .hawaii-accommodations-page .hero-commerce-overlay {
    bottom: 34px;
    left: 4%;
    width: 92%;
    max-width: 92%;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }

  .hero-commerce-kicker {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.055em;
  }

  .hawaii-accommodations-page .hero-commerce-overlay .hero-overlay-title {
    max-width: 350px;
    margin-bottom: 7px;
    font-size: 31px !important;
    line-height: 1.02;
  }

  .hero-commerce-summary {
    margin-bottom: 11px !important;
    font-size: 15px !important;
    line-height: 1.32 !important;
  }

  .hero-commerce-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-commerce-actions a {
    min-height: 44px;
    width: 100%;
    padding: 9px 13px;
    font-size: 15px;
    white-space: nowrap;
  }

  .hero-commerce-actions .hero-commerce-secondary {
    justify-self: center;
    width: max-content;
    min-height: 34px;
    border: 0 !important;
    background: transparent;
    padding: 5px 10px;
    font-size: 14px;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, 0.5) !important;
    text-underline-offset: 4px;
  }

  .hero-commerce-note {
    align-items: flex-start;
    width: 100%;
    margin-top: 8px !important;
    border-radius: 10px;
    font-size: 13px !important;
    padding: 6px 9px;
  }

  .ha-decision-hero {
    margin: 12px 0 18px;
    border-radius: 17px;
    padding: 18px 15px;
  }

  .ha-decision-heading {
    margin-bottom: 14px;
  }

  .ha-decision-kicker {
    font-size: 11px;
  }

  .ha-decision-heading h2 {
    font-size: 27px;
  }

  .ha-decision-heading p {
    font-size: 15px;
  }

  .ha-decision-path {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ha-decision-path a {
    min-height: 68px;
    padding: 10px 11px;
  }

  .ha-decision-proof {
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
    overflow-x: auto;
    padding: 14px 15px 3px;
    scrollbar-width: thin;
  }

  .ha-decision-proof span,
  .ha-decision-proof a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hawaii-accommodations-page .hg-aff-text {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 340px) {
  .hawaii-accommodations-page .single-slide-top .bg-image-top,
  .hawaii-accommodations-page .single-slide-top .image-container-main {
    height: 398px;
  }

  .hawaii-accommodations-page .hero-commerce-overlay .hero-overlay-title {
    font-size: 28px !important;
  }

  .hero-commerce-actions a {
    font-size: 14px;
  }

  .ha-decision-path a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-commerce-actions a,
  .ha-decision-path a {
    transition: none;
  }
}

/* --- Section title --- */
.ha-section-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 34px 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  scroll-margin-top: 94px;
}
.ha-section-note {
  font-size: 17px;
  color: #66737a;
  line-height: 1.5;
  margin: 0 0 22px;
}

/* --- Live Cost Table --- */
.ha-cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  margin: 0 0 28px;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(19, 42, 57, 0.05);
}
.ha-cost-table th {
  background: #eff5f7;
  color: #444;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid #e0e0e0;
}
.ha-cost-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  vertical-align: middle;
}
.ha-cost-table tr:last-child td { border-bottom: none; }
.ha-cost-table tr:hover td { background: #fafbfc; }
.ha-cost-island { font-weight: 700; color: #1a1a1a; }
.ha-cost-adr { font-weight: 700; font-size: 16px; }
.ha-cost-occ { font-size: 15px; color: #68747c; }
.ha-cost-note-inline { font-size: 15px; color: #555; max-width: 220px; }
@media (max-width: 600px) {
  .ha-cost-table, .ha-cost-table thead, .ha-cost-table tbody, .ha-cost-table tr, .ha-cost-table td, .ha-cost-table th { display: block; }
  .ha-cost-table thead { display: none; }
  .ha-cost-table {
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .ha-cost-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 14px;
    text-align: right;
  }
  .ha-cost-table td::before {
    content: attr(data-label);
    color: #5c6870;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: left;
  }
  .ha-cost-table tr { border: 1px solid #e8eaed; border-radius: 8px; margin-bottom: 10px; padding: 5px 0; background: #fff; box-shadow: 0 6px 16px rgba(19, 42, 57, 0.05); }
  .ha-cost-table tr:hover td { background: transparent; }
}

/* --- Type Filter Bar --- */
.ha-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px;
  background: #f6f9fa;
  border: 1px solid #e3eaee;
  border-radius: 8px;
}
.ha-filter-btn {
  padding: 10px 18px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #555;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ha-filter-btn:focus { outline: 2px solid #96bdc7; outline-offset: 2px; }
.ha-filter-btn:hover { border-color: #0a5e8c; color: #0a5e8c; }
.ha-filter-btn.is-active {
  border-color: #0a5e8c;
  color: #fff;
  background: #0a5e8c;
  box-shadow: 0 6px 14px rgba(10, 94, 140, 0.18);
}

/* --- Type Card Grid --- */
.ha-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 38px;
}
@media (min-width: 680px) {
  .ha-type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px) {
  .ha-type-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Type Card --- */
.ha-type-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(19, 42, 57, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ha-type-card:hover {
  border-color: #d2dde3;
  box-shadow: 0 12px 28px rgba(19, 42, 57, 0.1);
  transform: translateY(-2px);
}
.ha-type-card.is-hidden { display: none; }

.ha-type-img-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 56%;
}
.ha-type-img-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}
.ha-type-img-link:focus-visible {
  outline: 3px solid #96bdc7;
  outline-offset: -3px;
}
.ha-type-img-link:hover img,
.ha-type-img-link:focus-visible img {
  transform: scale(1.035);
}
.ha-type-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.22s ease;
}

.ha-type-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ha-type-body h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 7px;
  line-height: 1.18;
}
.ha-type-cost {
  font-size: 19px;
  font-weight: 700;
  color: #0a5e8c;
  margin: 0 0 12px;
}
.ha-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.ha-type-tag {
  display: inline-block;
  padding: 5px 10px;
  background: #f0f4f8;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
  line-height: 1.15;
}
.ha-type-desc {
  font-size: 17px;
  color: #4e5960;
  line-height: 1.62;
  flex: 1;
  margin-bottom: 18px;
}
.ha-type-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 11px 13px;
  background: #eef7fa;
  border: 1px solid #cfe3ea;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0a5e8c;
  text-decoration: none;
  margin-top: auto;
  line-height: 1.15;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ha-type-link:hover,
.ha-type-link:focus {
  background: #0a5e8c;
  border-color: #0a5e8c;
  color: #fff;
  text-decoration: none;
}
.ha-type-link i { font-size: 14px; margin-left: 2px; }

/* --- Island Notes --- */
.ha-notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 32px;
}
@media (min-width: 640px) {
  .ha-notes-grid { grid-template-columns: repeat(2, 1fr); }
}
.ha-note-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #F27A24;
}
.ha-note-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.ha-note-card p {
  font-size: 17px;
  color: #4e5960;
  margin: 0;
  line-height: 1.6;
}
.ha-note-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 13px;
  color: #0a5e8c;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.ha-note-link:hover,
.ha-note-link:focus { color: #073e5d; text-decoration: underline; }
.ha-note-link i { font-size: 11px; }

/* --- Property Search --- */
.ha-search-section {
  margin: 34px 0 36px;
  padding: 20px;
  background: #f5f8f9;
  border: 1px solid #e1e8eb;
  border-radius: 8px;
  scroll-margin-top: 94px;
}
.ha-search-heading {
  max-width: 860px;
  margin: 0 auto 16px;
  text-align: center;
}
.ha-search-heading .ha-section-title {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.ha-search-heading .ha-section-note {
  margin-bottom: 0;
  color: #61717a;
}
.ha-search-section .hg-stays-embed {
  background: #fff;
  border: 1px solid #e3e7ea;
  border-radius: 8px;
  overflow: visible;
}
.ha-search-section .stays-page-app {
  min-height: 520px;
  overflow: visible;
}
.ha-search-section .stays-filter-search input {
  font-size: 18px;
}
.ha-search-section .stays-search-btn,
.ha-search-section .stays-island-chip,
.ha-search-section .stays-type-chip,
.ha-search-section .stays-rating-btn,
.ha-search-section .stays-sort-select {
  font-size: 17px;
}
.ha-search-section .stays-results-count {
  font-size: 18px;
}
.ha-search-section .stay-card-title {
  font-size: 23px;
  line-height: 1.25;
}
.ha-search-section .stays-page-app .stay-card-desc {
  font-size: 16px;
  line-height: 1.55;
}
.ha-search-section .stays-page-app .stay-card-area,
.ha-search-section .stay-card-meta,
.ha-search-section .stay-card-reviews {
  font-size: 15px;
}
.ha-search-section .stay-card-book {
  font-size: 17px;
}
.ha-search-section .stays-filter-bar,
.ha-search-section .stays-filter-inner,
.ha-search-section .stays-filter-controls,
.ha-search-section .stays-type-chips {
  overflow: visible;
}
.ha-search-section .stays-filter-controls {
  align-items: flex-start;
}
.ha-search-section .stays-type-chips {
  flex: 1 1 100%;
  flex-wrap: wrap;
  min-width: 0;
}
.ha-search-section .stays-rating-select {
  z-index: 20;
}
.ha-search-section .stays-rating-dropdown {
  left: 0;
  right: auto;
  min-width: 230px;
}
.ha-search-section .stays-sort-select {
  max-width: 100%;
}
@media (max-width: 640px) {
  .ha-search-section {
    padding: 14px;
    margin-left: -10px;
    margin-right: -10px;
  }
}

/* --- Tips Grid --- */
.ha-tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 28px;
}
@media (min-width: 640px) {
  .ha-tips-grid { grid-template-columns: repeat(2, 1fr); }
}
.ha-tip {
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
}
.ha-tip h3 {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.ha-tip p {
  font-size: 17px;
  color: #4e5960;
  margin: 0;
  line-height: 1.6;
}

/* --- Related --- */
.ha-related {
  margin: 10px 0 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}
.ha-related h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}
.ha-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ha-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ha-related-link:hover { border-color: #0a5e8c; color: #0a5e8c; }
.ha-related-link i { font-size: 13px; }

/* --- Print --- */
@media print {
  .ha-hero-back, .ha-filter-bar, .ha-related { display: none; }
}
