/*
Theme Name: HoneyTheme
Theme URI: https://honeymoons.com
Author: Honeymoons.com Team
Author URI: https://honeymoons.com
Description: A clean, modern WordPress theme built with Bootstrap 5 for honeymoon travel bookings
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honeytheme
Tags: bootstrap, travel, booking, responsive, modern

HoneyTheme is a custom WordPress theme designed specifically for honeymoon destination and hotel bookings.
Built from scratch with Bootstrap 5 and modern development practices.

Design tokens consolidated from honeymoons-booking for consistency across the site.
*/

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */

:root {
  /* Brand colors */
  --hm-primary: #b82e54;
  --hm-primary-dark: #a62547;
  --hm-primary-hover: #790927;
  --hm-accent: #FF2B64;
  --hm-sandals: #18A9E5;
  --hm-sandals-hover: #0d81b0;

  /* Text */
  --hm-text: #1f2937;
  --hm-muted: #4b5563;

  /* Typography */
  --hm-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hm-fw-regular: 400;
  --hm-fw-medium: 500;
  --hm-fw-semibold: 600;
  --hm-fw-bold: 700;

  /* Border radius */
  --hm-radius: 0.625rem;
  --hm-radius-lg: 0.75rem;

  /* Borders */
  --hm-border: #e5e7eb;

  /* Shadows */
  --hm-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --hm-shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
  --hm-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.site-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #fff !important;
  border-bottom: 1px solid #dee2e6;
}

.site-header .navbar-nav .nav-link {
  font-weight: var(--hm-fw-bold);
  font-size:14px;
}

.header-magic-search {
  color: var(--hm-primary, #e0a86e);
  font-size: 1.25rem;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.header-magic-search:hover {
  color: var(--hm-primary-dark, #c4893f);
}
.header-magic-search .bi-search {
  font-size: 1.05rem;
}

@media (max-width: 991.98px) {
  .site-header .navbar > .container {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .site-header .navbar-brand {
    flex: 1 1 0%;
    min-width: 0;
    margin-right: 0.5rem;
  }
  .site-header .navbar-brand .custom-logo {
    display: block;
    max-height: 26px;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header-actions .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  .site-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    z-index: 1000;
  }
  .site-header .navbar {
    position: relative;
  }
}
@media (min-width: 992px) {
  .header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
  }
  .site-header .navbar-collapse {
    order: 2;
  }
}

/* ==========================================================================
   Mega Menu
   ========================================================================== */

.hm-mega-wrap {
  position: static !important;
}
.hm-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #dee2e6;
  box-shadow: var(--hm-shadow-lg);
  z-index: 1050;
  padding: 1.5rem 0;
}
.hm-mega-panel.is-open {
  display: block;
}
.hm-mega-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Card row — shared by both panels */
.hm-mega-cards {
  display: flex;
  gap: 1rem;
}
.hm-mega-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--hm-radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hm-mega-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hm-shadow-md);
  color: inherit;
}
.hm-mega-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.hm-mega-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-mega-card-img .hm-mega-badge {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  font-size: 0.6875rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}
.hm-mega-card-img .hm-mega-badge-rating {
  background: var(--hm-primary);
  color: #fff;
}
.hm-mega-card-img .hm-mega-badge-dest {
  position: absolute;
  top: auto;
  bottom: 0.375rem;
  right: 0.375rem;
  background: rgba(0,0,0,.55);
  color: #fff;
}
.hm-mega-card-body {
  padding: 0.5rem 0.625rem;
  font-weight: 600;
  font-size: 0.8125rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-top: 0;
  border-radius: 0 0 var(--hm-radius) var(--hm-radius);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* "All Destinations" card icon placeholder */
.hm-mega-card-all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, #fdf2f4, #fce7eb);
  font-size: 2rem;
  color: var(--hm-primary);
}

/* Resorts panel: two groups side by side */
.hm-mega-resorts {
  display: flex;
  gap: 2.5rem;
}
.hm-mega-resorts > div {
  min-width: 0;
}

/* ── Mobile nav ── */
@media (max-width: 991.98px) {
  .hm-mega-panel {
    display: none !important;
  }

  /* Remove carets from mega-menu trigger links */
  .site-header .navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
  }

  /* Flatten the Resorts dropdown: hide parent, promote children */
  .site-header .navbar-nav .dropdown > .dropdown-menu {
    display: block !important;
    position: static !important;
    float: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  .site-header .navbar-nav .dropdown > .nav-link {
    display: none;
  }

  /* Polished mobile nav items */
  .site-header .navbar-nav {
    padding: 0.5rem 0;
    gap: 0;
  }
  .site-header .navbar-nav .nav-item {
    border-bottom: 1px solid #f0f0f0;
  }
  .site-header .navbar-nav .nav-item:last-child {
    border-bottom: 0;
  }
  .site-header .navbar-nav .nav-link,
  .site-header .navbar-nav .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hm-text, #1a1a2e);
    border-radius: var(--hm-radius);
    transition: background 0.15s ease;
  }
  .site-header .navbar-nav .nav-link:hover,
  .site-header .navbar-nav .nav-link:focus,
  .site-header .navbar-nav .dropdown-item:hover,
  .site-header .navbar-nav .dropdown-item:focus {
    background: rgba(184, 46, 84, 0.06);
    color: var(--hm-primary);
  }
  .site-header .navbar-nav .dropdown-item:active {
    background: rgba(184, 46, 84, 0.1);
    color: var(--hm-primary);
  }
}

/* ==========================================================================
   Bootstrap Overrides (map to brand)
   ========================================================================== */

/* Override Bootstrap primary to match honeymoons brand */
:root {
  --bs-primary: var(--hm-primary);
  --bs-primary-rgb: 184, 46, 84;
  --bs-link-color: var(--hm-primary);
  --bs-link-hover-color: var(--hm-primary-hover);
}

/* Primary buttons: use .btn-primary or .btn for consistent styling */
.btn-primary {
  background-color: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
  border-radius: var(--hm-radius);
  font-weight: var(--hm-fw-bold);
  padding: 0.5rem 1.25rem;
}
.btn-primary:hover {
  background-color: var(--hm-primary-dark);
  border-color: var(--hm-primary-dark);
  color: #fff;
}

/* Outline primary */
.btn-outline-primary {
  border-color: var(--hm-primary);
  color: var(--hm-primary);
  border-radius: var(--hm-radius);
  font-weight: var(--hm-fw-bold);
}
.btn-outline-primary:hover {
  background-color: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
}

/* Link buttons */
.btn-link {
  color: var(--hm-primary);
  font-weight: var(--hm-fw-semibold);
}
.btn-link:hover {
  color: var(--hm-primary-hover);
}

/* Heading sizes — H2 is baseline at 1.5rem */
h1, .h1 { font-size: 1.875rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.125rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.875rem; }

h1, .h1, h2, .h2, h3, .h3,
h4, .h4, h5, .h5, h6, .h6 {
  font-weight: var(--hm-fw-semibold);
  line-height: 1.3;
}

/* WordPress block spacing */
.wp-block-buttons {
  margin-bottom: 1.5rem;
}
.wp-block-image {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Text utility */
.text-primary {
  color: var(--hm-primary) !important;
}

/* Pagination */
.page-link {
  color: var(--hm-primary);
}
.page-item.active .page-link {
  background-color: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
}
.page-link:hover {
  color: var(--hm-primary-hover);
  background-color: rgba(184, 46, 84, 0.1);
}

/* ==========================================================================
   Reusable Button Classes
   ========================================================================== */

/* Primary CTA (use .btn .btn-primary or .hm-btn-primary) */
.hm-btn-primary,
.btn-hm-primary {
  background-color: var(--hm-primary);
  border: none;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
}
.hm-btn-primary:hover,
.btn-hm-primary:hover {
  background-color: var(--hm-primary-dark);
  color: #fff;
}

/* Featured CTA (gold, matches the Featured badge) */
.hm-btn-featured {
  background-color: #ffc107;
  border: none;
  color: #212529;
  padding: 0.5rem 1.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
}
.hm-btn-featured:hover {
  background-color: #e0a800;
  color: #212529;
}

/* Secondary CTA (outline, matches primary/featured sizing) */
.hm-btn-secondary {
  background-color: transparent;
  border: 2px solid #6c757d;
  color: #495057;
  padding: calc(0.5rem - 2px) calc(1.5rem - 2px);
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
}
.hm-btn-secondary:hover {
  background-color: #6c757d;
  color: #fff;
}

.hm-link-featured {
  color: #c49000;
  text-decoration: none;
}
.hm-link-featured:hover {
  color: #a07800;
  text-decoration: underline;
}

/* Outline variant */
.hm-btn-outline {
  background-color: transparent;
  border: 1px solid var(--hm-primary);
  color: var(--hm-primary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
}
.hm-btn-outline:hover {
  background-color: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
}

/* Sandals CTA (partner blue) */
.btn-sandals {
  background: var(--hm-sandals);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
  border: none;
}
.btn-sandals:hover {
  background: var(--hm-sandals-hover);
  color: #fff;
}

/* Save Hotel button (outline with heart icon, turns primary when saved) */
.hm-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: var(--hm-fw-medium);
  line-height: 1.25;
  color: var(--hm-muted);
  background: transparent;
  border: 1px solid #ced4da;
  border-radius: var(--hm-radius);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.hm-btn-save i {
  font-size: 1rem;
  transition: color 0.2s ease;
}
.hm-btn-save:hover {
  color: var(--hm-primary);
  border-color: var(--hm-primary);
  background-color: rgba(184, 46, 84, 0.04);
}
.hm-btn-save:hover i {
  color: var(--hm-primary);
}
.hm-btn-save.saved {
  color: var(--hm-primary);
  border-color: var(--hm-primary);
  background-color: rgba(184, 46, 84, 0.06);
}
.hm-btn-save.saved i {
  color: var(--hm-primary);
}

/* Form/block buttons (Forminator, Gutenberg, GenerateBlocks) */
.forminator-button-submit,
.wp-block-button__link,
.gb-button {
  background-color: var(--hm-primary);
  border: none;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
}
.forminator-button-submit:hover,
.wp-block-button__link:hover,
.gb-button:hover {
  background-color: var(--hm-primary-dark);
  color: #fff;
}

/* ==========================================================================
   Typography & Base
   ========================================================================== */

body {
  font-family: var(--hm-font-sans);
  font-weight: var(--hm-fw-regular);
  color: var(--hm-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--hm-primary);
  text-decoration: none;
}
a:hover {
  color: var(--hm-primary-hover);
}

/* ==========================================================================
   Featured Card (reusable: destinations, hotels, etc.)
   ========================================================================== */

.hm-feature-card {
  overflow: hidden;
  border-radius: var(--hm-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--hm-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  will-change: transform;
}

.hm-feature-card .card-img-top {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  will-change: transform;
}

.hm-feature-card:hover,
.hm-feature-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--hm-shadow-lg), var(--hm-shadow-md);
}

.hm-feature-card:hover .card-img-top,
.hm-feature-card:focus-within .card-img-top {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .hm-feature-card,
  .hm-feature-card .card-img-top {
    transition: none;
  }
}

/* ==========================================================================
   Hero Sections (lp-hero, hm-hero)
   ========================================================================== */

.lp-hero,
.hm-hero {
  --hero-bg: none;
  min-height: clamp(550px, 60dvh, 720px);
  display: grid;
  place-items: center;
  padding-top: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
  background: #0b0f14;
}
.lp-hero::before,
.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}
.lp-hero::after,
.hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 60% at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.lp-hero .btn,
.hm-hero .btn {
  min-height: 48px;
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero::before, .lp-hero::after,
  .hm-hero::before, .hm-hero::after {
    transition: none;
  }
}

/* ==========================================================================
   Logo
   ========================================================================== */

/* Main header logo (WordPress custom logo via the_custom_logo) */
img.custom-logo {
  max-height: 20px;
  width: auto;
}

/* Inline SVG logo (used in landing page headers) */
svg#logo-img {
  height: 50px;
  max-width: 250px;
  fill: #fff;
}
#logo-img .logo-svg   { fill: var(--hm-primary-dark); }
#logo-img .logo-hearts { fill: var(--hm-accent); }

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.hm-radius { border-radius: var(--hm-radius); }
.hm-radius-lg { border-radius: var(--hm-radius-lg); }
.hm-shadow-sm { box-shadow: var(--hm-shadow-sm); }
.hm-shadow-md { box-shadow: var(--hm-shadow-md); }

/* ==========================================================================
   Hotel Ratings (rating.php)
   ========================================================================== */

.ratings-circle {
  background-color: var(--hm-primary);
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  min-width: 38px;
  text-align: center;
}

.hotel-rating-link {
  text-decoration: none;
  color: inherit;
}
.hotel-rating-link:hover {
  color: inherit;
  opacity: 0.85;
}

.star-rating {
  color: #ffc107;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

#hotel-stars .star-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .hotel-class {
    display: none !important;
  }
}

/* ==========================================================================
   Destinations Hub
   ========================================================================== */

.destinations-hub .hm-hero {
  min-height: clamp(200px, 30dvh, 320px);
}

.destinations-hub .dest-section {
  scroll-margin-top: 60px; /* offset for sticky nav */
}

.destinations-hub .dest-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.destinations-hub .nav-pills .nav-link {
  color: var(--hm-text);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-semibold);
  padding: 0.375rem 0.75rem;
  border-radius: var(--hm-radius);
  white-space: nowrap;
}
.destinations-hub .nav-pills .nav-link:hover,
.destinations-hub .nav-pills .nav-link:focus {
  background: rgba(184, 46, 84, 0.08);
  color: var(--hm-primary);
}

/* ── Horizontally scrollable destination row ── */
.dest-scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.15) transparent;
}
.dest-scroll-row::-webkit-scrollbar {
  height: 6px;
}
.dest-scroll-row::-webkit-scrollbar-track {
  background: transparent;
}
.dest-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.15);
  border-radius: 3px;
}
.dest-scroll-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 576px) {
  .dest-scroll-card { flex: 0 0 240px; }
}
@media (min-width: 768px) {
  .dest-scroll-card { flex: 0 0 260px; }
}
@media (min-width: 992px) {
  .dest-scroll-card { flex: 0 0 280px; }
}

/* ── Destination card subhead clamp ── */
.dest-scroll-card .card-text,
.hm-feature-card .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Sub-region badge pills (Mexico) ── */
.dest-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: var(--hm-fw-semibold);
  color: var(--hm-primary);
  background: rgba(184, 46, 84, 0.08);
  border: 1px solid rgba(184, 46, 84, 0.18);
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dest-badge-pill:hover {
  background: var(--hm-primary);
  color: #fff;
  border-color: var(--hm-primary);
}

/* ==========================================================================
   Semantic Search (Homepage)
   ========================================================================== */
.semantic-search-form {
  max-width: 720px;
}
.semantic-search-form .input-group {
  background: rgba(255,255,255,.95);
  border-radius: var(--hm-radius, 0.5rem);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.semantic-search-form .form-control {
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
}
.semantic-search-form .form-control::placeholder {
  color: #999;
}
.semantic-search-form .btn-primary {
  border-radius: 0;
}
.sem-suggestion {
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--hm-radius-lg);
  backdrop-filter: blur(4px);
  border-color: rgba(255,255,255,.5) !important;
  color: rgba(255,255,255,.9) !important;
}
.sem-suggestion:hover {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
}
.sem-result-card {
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.sem-result-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.sem-result-card .card-img-top {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Hotel Cards (reusable: /search, destinations, etc.)
   ========================================================================== */

/* /search page-specific */
.search-results-page {
  min-height: 60vh;
}
.search-results-form .input-group {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-radius: var(--hm-radius, 0.5rem);
  overflow: hidden;
}
.search-results-form .form-control {
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid #dee2e6;
  border-right: 0;
}
.search-results-form .form-control:focus {
  box-shadow: none;
  border-color: var(--hm-primary, #0d6efd);
}
.search-results-form .btn-primary {
  border-radius: 0;
}

.search-prompt-bubble {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  color: var(--hm-muted, #6c757d) !important;
  border-color: var(--hm-border, #dee2e6) !important;
  transition: all 0.2s ease;
}
.search-prompt-bubble:hover {
  background: var(--hm-primary, #e0a86e) !important;
  border-color: var(--hm-primary, #e0a86e) !important;
  color: #fff !important;
}

/* Reusable hotel cards */
/* ── Skeleton loading placeholders ── */
@keyframes hcShimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

/* Card skeleton */
.hc-skeleton {
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hc-skeleton .hc-skel-bone {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 600px 100%;
  animation: hcShimmer 2.2s ease infinite;
  border-radius: 4px;
}
.hc-skeleton .hc-skel-img {
  width: 100%;
  height: 280px;
  border-radius: 6px;
}
.hc-skeleton .hc-skel-title {
  height: 18px;
  width: 65%;
  margin-bottom: 10px;
}
.hc-skeleton .hc-skel-rating {
  height: 14px;
  width: 40%;
  margin-bottom: 8px;
}
.hc-skeleton .hc-skel-line {
  height: 12px;
  margin-bottom: 6px;
}
.hc-skeleton .hc-skel-line.w75 { width: 75%; }
.hc-skeleton .hc-skel-line.w90 { width: 90%; }
.hc-skeleton .hc-skel-line.w60 { width: 60%; }
.hc-skeleton .hc-skel-btn {
  height: 34px;
  width: 110px;
  border-radius: var(--hm-radius);
  margin-top: auto;
}

/* Room-card skeleton (hotel detail page rate loading) */
.room-skel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 8px);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.room-skel .hc-skel-bone {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 600px 100%;
  animation: hcShimmer 2.2s ease infinite;
  border-radius: 4px;
}
.room-skel-inner {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}
.room-skel-media {
  flex: 0 0 25%;
  max-width: 25%;
  aspect-ratio: 4/3;
  border-radius: var(--hm-radius, 0.375rem);
}
.room-skel-name { height: 18px; width: 55%; margin-bottom: 0.625rem; }
.room-skel-desc { height: 12px; margin-bottom: 0.375rem; }
.room-skel-desc.w90 { width: 90%; }
.room-skel-desc.w70 { width: 70%; }
.room-skel-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  margin-top: 0.25rem;
}
.room-skel-meta-item { height: 14px; width: 72px; }
.room-skel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}
.room-skel-badge { height: 22px; border-radius: 4px; }
.room-skel-rate {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: var(--hm-radius, 8px);
  padding: 0.75rem 1rem;
}
.room-skel-rate-board { height: 20px; width: 80px; border-radius: 4px; margin-bottom: 0.5rem; }
.room-skel-rate-price { height: 24px; width: 100px; margin-bottom: 0.25rem; }
.room-skel-rate-detail { height: 12px; width: 170px; margin-bottom: 0.625rem; }
.room-skel-rate-btn { height: 38px; width: 110px; border-radius: var(--hm-radius, 8px); }
@media (max-width: 575.98px) {
  .room-skel-inner { flex-direction: column; gap: 0.75rem; }
  .room-skel-media { flex: none; max-width: 100%; aspect-ratio: 16/9; }
}

.hc-card {
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: box-shadow 0.2s ease;
}
.hc-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* Image column */
.hc-card-img-col {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.hc-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Position badge */
.hc-position {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #fff;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* Rating circle */
.hc-rating-circle {
  background-color: var(--hm-primary, #ff2b64);
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  min-width: 38px;
  text-align: center;
}

.hc-rating-circle.hc-rating-sm {
  font-size: 12px;
  padding: 5px 7px;
  min-width: 30px;
  line-height: 1;
}

/* Body column */
.hc-card-body {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hc-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
  line-height: 1.3;
}
.hc-card-title:hover {
  color: var(--hm-primary, #ff2b64);
}
.hc-card-excerpt {
  font-size: 0.925rem;
  color: #666;
  margin-top: 6px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.hc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hc-tag {
  background: #f1f1f1;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 5px;
  color: #333;
}
.hc-badge-tag {
  background: var(--hm-primary, #b82e54);
  color: #fff;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}

/* CTA column */
.hc-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 0 0 0 10px;
}
.hc-card-cta .btn {
  white-space: nowrap;
}
.hc-card-cta .hc-price-info,
.hc-card-cta .hc-price-skeleton {
  flex-shrink: 0;
  margin-top: auto;
}
a.hc-price-info-link {
  display: block;
  color: inherit;
  background: #f8f9fa;
  border-radius: var(--hm-radius, 0.625rem);
  padding: 0.5rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
a.hc-price-info-link:hover {
  background: #eef0f2;
  box-shadow: 0 0 0 2px var(--hm-primary, #b82e54);
}
.hc-card-cta .hc-price-info + .btn,
.hc-card-cta .hc-price-skeleton + .btn {
  margin-top: auto;
}
.hc-price-skeleton .hc-skel-bone {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 600px 100%;
  animation: hcShimmer 2.2s ease infinite;
  border-radius: 4px;
  margin: 0 auto 6px;
}
.hc-price-skel-amount { height: 20px; width: 80px; }
.hc-price-skel-detail { height: 12px; width: 120px; }
.hc-price-skel-sub { height: 10px; width: 90px; }

/* Responsive: stack on mobile */
@media (max-width: 767.98px) {
  .hc-card-img {
    height: 220px;
  }
  .hc-skeleton .hc-skel-img {
    height: 220px;
  }
  .hc-card-body {
    padding: 12px 0 0;
  }
  .hc-card-cta {
    padding: 12px 0 0;
  }
}

/* ==========================================================================
   Unified Search Bar (search page, homepage, account)
   ========================================================================== */
.hm-search-bar {
  display: flex;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: visible;
  position: relative;
}
.hm-search-bar:focus-within {
  border-color: var(--hm-primary);
  box-shadow: 0 2px 12px rgba(184,46,84,.12);
}
.hm-search-bar input[type="text"].hm-search-input {
  flex: 1 1 0;
  border: none;
  outline: none;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: transparent;
  min-width: 0;
}
.hm-search-bar input[type="text"].hm-search-input::placeholder {
  color: var(--hm-muted);
}
.hm-search-bar .hm-bar-divider {
  width: 1px;
  background: var(--hm-border);
  flex-shrink: 0;
  margin: 0.6rem 0;
}
.hm-search-bar .hm-dates-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  color: var(--hm-muted);
  font-size: 0.9rem;
  transition: background 0.15s;
  flex-shrink: 0;
}
.hm-search-bar .hm-dates-btn:hover {
  background: rgba(0,0,0,.02);
}
.hm-search-bar .hm-dates-btn i {
  font-size: 1.1rem;
  color: var(--hm-primary);
}
.hm-search-bar .hm-dates-btn.has-dates {
  color: var(--hm-text);
  font-weight: var(--hm-fw-semibold);
}
.hm-search-bar .hm-dates-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--hm-muted);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 0.45rem;
  cursor: pointer;
  flex-shrink: 0;
  padding-right: 10px;
  min-width: 44px;
  min-height: 44px;
}
.hm-search-bar .hm-dates-clear:hover {
  color: var(--hm-text);
}
.hm-search-bar .hm-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  margin: 0.4rem 0.4rem 0.4rem 0;
  border: none;
  border-radius: var(--hm-radius);
  background: var(--hm-primary);
  color: #fff;
  font-weight: var(--hm-fw-semibold);
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.hm-search-bar .hm-search-submit:hover {
  background: var(--hm-primary-dark);
}
@media (max-width: 575.98px) {
  .hm-search-bar {
    flex-wrap: wrap;
  }
  .hm-search-bar input[type="text"].hm-search-input {
    flex: 1 1 100%;
    border-bottom: 1px solid var(--hm-border);
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
  .hm-search-bar .hm-bar-divider {
    display: none;
  }
  .hm-search-bar .hm-dates-btn {
    flex: 1 1 auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }
  .hm-search-bar .hm-search-submit {
    margin: 0.4rem auto;
    padding: 0.6rem 1rem;
  }
}

/* ==========================================================================
   Search Filters Bar (search page + single-destination — hide unavailable, sort)
   Styled like honeymoons-booking filter-badge / sort-hotels but smaller height.
   ========================================================================== */
.hm-search-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
  padding: 0.25rem 0;
}
.hm-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  color: #000;
  user-select: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color 0.2s, background 0.2s;
}
.hm-filter-toggle:hover {
  border-color: var(--hm-primary);
  background: rgba(184, 46, 84, 0.04);
}
.hm-filter-toggle input[type="checkbox"] {
  accent-color: var(--hm-primary);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.hm-filter-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  color: #000;
  user-select: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color 0.2s, background 0.2s;
}
.hm-filter-map-btn:hover {
  border-color: var(--hm-primary);
  background: rgba(184, 46, 84, 0.04);
}
.hm-filter-sort {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.hm-filter-sort label {
  font-size: 13px;
  font-weight: bold;
  color: #000;
  margin-right: 0.35rem;
}
.hm-filter-sort .form-select {
  width: auto;
  min-width: 140px;
  font-size: 13px;
  font-weight: bold;
  color: #000;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 8px 2rem 8px 12px;
  cursor: pointer;
  appearance: auto;
}
.hm-filter-sort .form-select:focus {
  border-color: var(--hm-primary);
  outline: none;
}
@media (max-width: 575.98px) {
  .hm-search-filters {
    gap: 0.5rem;
  }
  .hm-filter-toggle {
    font-size: 12px;
    padding: 6px 10px;
  }
  .hm-filter-map-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .hm-filter-sort label {
    display: none;
  }
  .hm-filter-sort .form-select {
    min-width: 0;
    font-size: 12px;
    padding: 6px 1.75rem 6px 10px;
  }
}

/* ==========================================================================
   Search/Destination Map Layout
   ========================================================================== */
.hm-map-layout {
  width: 100%;
}
.hm-map-layout .hm-map-pane {
  display: none;
}
.hm-map-layout.map-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42%);
  gap: 1rem;
  align-items: start;
}
.hm-map-layout.map-active .hm-map-pane {
  display: block;
  position: sticky;
  top: 50px;
  height: calc(100vh - 80px);
}
.hm-results-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
}
.hm-map-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--hm-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.hm-map-marker.active {
  transform: scale(1.15);
  background: var(--hm-primary-dark);
}
a.hm-map-popup-title,
.hm-map-popup-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--hm-primary)!important;
  text-decoration: none;
  display: block;
}
a.hm-map-popup-title:hover {
  color: var(--hm-primary-dark);
}
.hm-map-popup-loc {
  color: var(--hm-muted);
  font-size: 0.75rem;
}
.hm-map-popup-price {
  font-weight: 700;
  color: #111;
  margin-top: 6px;
  font-size: 0.95rem;
}
@media (max-width: 991.98px) {
  .hm-map-layout.map-active {
    display: block;
  }
  .hm-map-layout.map-active .hm-map-list-col {
    display: none;
  }
  .hm-map-layout.map-active .hm-map-pane {
    position: static;
    height: 62vh;
    max-height: 620px;
    min-height: 360px;
  }
  .hm-results-map {
    min-height: 360px;
  }
}

/* Map-active: stack hotel cards vertically so text isn't pinched */
.hm-map-layout.map-active .hc-card .row > [class*="col-md-"] {
  flex: 0 0 100%;
  max-width: 100%;
}
.hm-map-layout.map-active .hc-card-img {
  height: 200px;
}
.hm-map-layout.map-active .hc-card-body {
  padding: 12px 0 0;
}
.hm-map-layout.map-active .hc-card-cta {
  padding: 12px 0 0;
}
.hm-map-layout.map-active .hc-card[data-has-rate="1"] .hc-card-cta > .btn {
  display: none;
}

/* ==========================================================================
   Date Picker Bar (shared across destination + hotel pages)
   ========================================================================== */
.hm-date-bar {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: visible;
  position: relative;
}
.hm-date-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 60px;
}
.hm-date-btn:hover {
  background: rgba(0,0,0,.02);
}
.hm-date-btn i {
  font-size: 1.25rem;
  color: var(--hm-primary);
  flex-shrink: 0;
}
.hm-date-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}
.hm-date-label {
  font-size: 0.75rem;
  font-weight: var(--hm-fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--hm-text);
}
.hm-date-sub {
  font-size: 0.9rem;
  color: var(--hm-muted);
  font-weight: var(--hm-fw-medium);
}
.hm-date-sub.has-date {
  color: var(--hm-text);
  font-weight: var(--hm-fw-semibold);
}
.hm-date-divider {
  width: 1px;
  height: 36px;
  background: var(--hm-border);
  flex-shrink: 0;
}
.hm-date-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  background: var(--hm-primary);
  color: #fff;
  border: none;
  border-radius: var(--hm-radius);
  font-size: 0.875rem;
  font-weight: var(--hm-fw-bold);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hm-date-search-btn:hover {
  background: var(--hm-primary-dark);
}
.hm-date-search-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.hm-date-search-btn i {
  font-size: 0.9rem;
}

/* ── Flatpickr positioning + brand theme ── */
.flatpickr-calendar {
  margin-top: 60px;
}
@media (max-width: 575.98px) {
  .flatpickr-calendar {
    margin-top: 10px;
  }
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--hm-primary)!important;
  box-shadow: none!important;
  color: #fff!important;
  border-color: var(--hm-primary)!important;
}
.flatpickr-day.inRange {
  background: rgba(184,46,84,.1);
  border-color: transparent;
  box-shadow: -5px 0 0 rgba(184,46,84,.1), 5px 0 0 rgba(184,46,84,.1);
}
.flatpickr-day.today:not(.selected):not(.startRange):not(.endRange) {
  border-color: var(--hm-primary);
}

/* ── Mobile responsive ── */
@media (max-width: 575.98px) {
  .hm-date-bar {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .hm-date-btn {
    flex: 1 1 40%;
    padding: 0.6rem 0.75rem;
    min-height: 52px;
    gap: 0.5rem;
  }
  .hm-date-btn i {
    font-size: 1.1rem;
  }
  .hm-date-label {
    font-size: 0.7rem;
  }
  .hm-date-sub {
    font-size: 0.8rem;
  }
  .hm-date-divider {
    height: 28px;
  }
  .hm-date-search-btn {
    flex: 1 1 100%;
    justify-content: center;
    margin: 0 0.5rem 0.5rem;
    padding: 0.6rem;
  }
}

/* ==========================================================================
   Room Rate Cards
   ========================================================================== */
.room-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.room-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.room-card-inner {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}
.room-card-info {
  flex: 1;
  min-width: 0;
}
.room-card-name {
  font-weight: 600;
  line-height: 1.35;
}
.room-card-media {
  flex: 0 0 25%;
  max-width: 25%;
  overflow: hidden;
}
.room-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--hm-radius, 0.375rem);
}
.room-card-media .carousel {
  border-radius: var(--hm-radius, 0.375rem);
  overflow: hidden;
}
.room-card-media .carousel-item img {
  border-radius: 0;
}
.room-card-media .carousel-control-prev,
.room-card-media .carousel-control-next {
  width: 2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.room-card-media:hover .carousel-control-prev,
.room-card-media:hover .carousel-control-next {
  opacity: 0.85;
}
.room-card-meta span {
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .room-card-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  .room-card-media {
    flex: none;
    max-width: 100%;
  }
  .room-card-media img {
    aspect-ratio: 16/9;
  }
}

/* Sandals room category badge */
.sandals-room-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: var(--hm-primary, #b82e54);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 0.25rem;
  z-index: 2;
}
.sandals-content img {
  border-radius: var(--hm-radius);
}
.sandals-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.sandals-wysiwyg { line-height: 1.75; }
.sandals-wysiwyg p:last-child { margin-bottom: 0; }
.sandals-itinerary-day { background: #f8f9fa; }

/* View Room expand button */
.room-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 0.375rem);
  background: #f8f9fa;
  color: #555;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.room-expand-btn:hover {
  background: #eef0f2;
  color: var(--hm-primary);
}

/* ==========================================================================
   Single Post / Article
   ========================================================================== */

/* Hero image banner */
#hero-wrap.blog {
  width: 100%;
  min-height: 350px;
  border-radius: var(--hm-radius-lg);
  background-size: cover;
  background-position: center center;
}

@media (min-width: 768px) {
  #hero-wrap.blog {
    min-height: 450px;
  }
}

/* Article header */
#article-wrap h1 {
  font-weight: var(--hm-fw-bold);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
}

#article-wrap .article-header hr {
  border-color: #dee2e6;
}

/* Article body */
#article-wrap .article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
}

#article-wrap .article-body h2,
#article-wrap .article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

#article-wrap .article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--hm-radius);
}

#article-wrap .article-body p {
  margin-bottom: 1.25rem;
}

/* Repeater content sections */
#article-content h3.text-primary {
  font-size: 1.375rem;
  font-weight: var(--hm-fw-bold);
  margin-bottom: 0.5rem;
}

.repeat-img img {
  max-width: 100%;
  height: auto;
}

.repeat-img.float-start,
.repeat-img.float-end {
  max-width: 280px;
}
@media (max-width: 575.98px) {
  .repeat-img.float-start,
  .repeat-img.float-end {
    float: none !important;
    max-width: 100%;
    margin: 0 0 1rem 0 !important;
  }
}

/* Article meta line */
.article-meta a {
  color: var(--hm-text);
}

.article-meta a:hover {
  color: var(--hm-primary);
}

/* ==========================================================================
   Author Tooltip (inline on article meta)
   ========================================================================== */

.author-tooltip-wrap {
  position: relative;
  display: inline-block;
}

.author-tooltip-popup {
  display: none;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-lg);
  padding: 1rem;
  z-index: 100;
  text-align: center;
}

.author-tooltip-wrap:hover .author-tooltip-popup {
  display: block;
}

@media (max-width: 767.98px) {
  .author-tooltip-popup {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 2rem);
    max-width: 300px;
    z-index: 1060;
  }
  .author-tooltip-wrap:hover .author-tooltip-popup {
    display: none;
  }
  .author-tooltip-popup.is-open {
    display: block;
  }
  .author-tooltip-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1059;
  }
  .author-tooltip-backdrop.is-open {
    display: block;
  }
}

@media (min-width: 768px) {
  .author-tooltip-backdrop {
    display: none !important;
  }
}

.author-tooltip-popup img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.author-tooltip-popup .tool-author {
  display: block;
  font-weight: var(--hm-fw-bold);
  margin-bottom: 0.25rem;
}

.author-tooltip-popup .tool-author a {
  color: var(--hm-text);
  text-decoration: none;
}

.author-tooltip-popup .tool-author-bio {
  display: block;
  font-size: 0.75rem;
  color: var(--hm-muted);
  margin-bottom: 0.5rem;
  max-height: 80px;
  overflow: hidden;
}

.author-tooltip-popup .tool-author-links a {
  font-size: 0.75rem;
  color: var(--hm-primary);
  font-weight: var(--hm-fw-semibold);
}

/* ==========================================================================
   About the Author Section
   ========================================================================== */

#section-author {
  padding: 2rem 0;
}

#section-author h2 {
  font-size: 1.5rem;
  font-weight: var(--hm-fw-bold);
}

#section-author .author-name {
  font-size: 1.25rem;
  font-weight: var(--hm-fw-bold);
  color: var(--hm-primary);
  margin-bottom: 0.25rem;
}

#section-author .author-name:hover {
  color: var(--hm-primary-hover);
}

#section-author .author-bio {
  font-size: 0.9375rem;
  color: var(--hm-muted);
  line-height: 1.6;
}

#section-author .avatar-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* ==========================================================================
   Sticky Sidebar  (matches honeymoons-booking)
   ========================================================================== */

.sticky-sidebar {
  position: sticky;
  top: 20px;
  margin-top: 15px;
}

.sticky-sidebar .sidebar-item {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #f0f0f0;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-sm);
}

/* Sidebar images fill their column */
.sticky-sidebar img {
  width: 100%;
  height: auto;
}

.sticky-sidebar .headshot img {
  border-radius: 150px;
}

.sticky-head {
  font-size: 25px;
  font-weight: 900;
  padding: 15px 0;
}

/* --- Side title --- */
p.side-title {
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}

.side-title a {
  color: #000;
  text-decoration: none;
}
.side-title a:hover {
  color: var(--hm-primary);
}

span.side-title {
  font-size: 14px;
  font-weight: 900;
}

/* --- Side description text --- */
p.side-text {
  font-size: 14px;
  padding-top: 10px;
  margin-bottom: 5px;
}

/* --- Hotel rows --- */
.side-hotel-row {
  padding: 10px 0;
  border-top: 1px solid #f1f1f1;
  align-items: center;
}

.side-hotel-row:hover {
  background: #f1f1f1;
}

p.hotel-title {
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  margin-bottom: 0;
  color: #000;
}

/* Remove underline on sidebar hotel links */
.sticky-sidebar a {
  text-decoration: none;
  color: inherit;
}

/* --- Heart rating badge --- */
.heart {
  --heart-size: 48px;
  width: var(--heart-size);
  height: var(--heart-size);
  background: url('/wp-content/themes/honeytheme/img/hmheart.png') no-repeat center / var(--heart-size) var(--heart-size);
  position: relative;
}

.heart-text {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

/* --- TOC nav in sidebar --- */
#toc-nav .nav-link {
  color: var(--hm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
  font-size: 0.8125rem;
  border-radius: var(--hm-radius);
}

#toc-nav .nav-link:hover {
  color: var(--hm-primary-hover);
}

#toc-nav {
  max-height: 60vh;
  overflow: auto;
  padding-right: 0.25rem;
}

#toc-nav .nav-link.active {
  font-weight: 700;
  background-color: var(--hm-primary);
  color: #fff !important;
}

/* Hide sidebar on mobile */
@media (max-width: 991.98px) {
  div.sticky-sidebar {
    display: none;
  }
}

/* 5-column grid helper (Bootstrap has no native 5-col) */
@media (min-width: 1200px) {
  .col-xl-5ths {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ─── Destination Hero ────────────────────────────────────────────────────── */
.dest-hero-img {
  background-size: cover;
  background-position: center;
  min-height: 220px;
  border-radius: 0.5rem;
}
@media (min-width: 768px) {
  .dest-hero-img {
    min-height: 260px;
  }
}
#dest-hero-row h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

/* Sidebar hotel hover */
.dest-sidebar-sticky {
  position: static;
}
@media (min-width: 992px) {
  .dest-sidebar-sticky {
    position: sticky;
    top: 100px;
  }
}
.hover-bg:hover {
  background: #f8f9fa;
}

/* ─── Hotel Card Carousel ─────────────────────────────────────────────────── */
.hc-carousel {
  border-radius: 6px;
  overflow: hidden;
}
.hc-carousel .carousel-control-prev,
.hc-carousel .carousel-control-next {
  width: 28px;
  height: 28px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
}
.hc-carousel .carousel-control-prev { left: 6px; }
.hc-carousel .carousel-control-next { right: 6px; }
.hc-card:hover .hc-carousel .carousel-control-prev,
.hc-card:hover .hc-carousel .carousel-control-next {
  opacity: 1;
}
.hc-carousel .carousel-control-prev-icon,
.hc-carousel .carousel-control-next-icon {
  width: 14px;
  height: 14px;
}
@media (hover: none) {
  .hc-carousel .carousel-control-prev,
  .hc-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    opacity: 0.7;
  }
  .hc-carousel .carousel-control-prev-icon,
  .hc-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }
  .room-card-media .carousel-control-prev,
  .room-card-media .carousel-control-next {
    width: 2.5rem;
    opacity: 0.7;
  }
  .hc-expand-btn {
    opacity: 0.85;
    width: 40px;
    height: 40px;
  }
  .hc-save-btn {
    width: 40px;
    height: 40px;
  }
}

/* ─── Couple Reviews ──────────────────────────────────────────────────────── */
.review-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 8px);
  padding: 1.25rem;
}
.review-score {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--hm-primary, #1a1a2e);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.review-headline {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.review-meta {
  font-size: 0.8125rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}
.review-source {
  font-style: italic;
  opacity: 0.8;
}
.review-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 0.25rem;
}
.review-cons {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0;
}
.review-toggle {
  font-size: 0.8125rem;
  color: var(--hm-primary, #1a1a2e);
  text-decoration: none;
}
.review-toggle:hover {
  text-decoration: underline;
}

/* ─── Hotel Section Nav ───────────────────────────────────────────────────── */
.hotel-section-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  padding-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hotel-section-nav .nav {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.hotel-nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (max-width: 991.98px) {
  .hotel-section-nav .nav {
    display: none !important;
  }
  .hotel-nav-cta {
    width: 100%;
    text-align: center;
  }
  .hotel-detail-sentiments .badge {
    display: none !important;
  }
}
.hotel-section-nav .nav-link {
  color: #555;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.625rem 1rem;
  white-space: nowrap;
}
.hotel-section-nav .nav-link:hover {
  color: var(--hm-primary, #1a1a2e);
}
.hotel-section-nav .nav-link.active {
  color: var(--hm-primary, #1a1a2e);
  font-weight: 600;
}
/* Smooth scroll offset for sticky nav */
.hotel-single [id] {
  scroll-margin-top: 60px;
}
@media (max-width: 767.98px) {
  .breadcrumb {
    font-size: 0.75rem;
  }
  .breadcrumb-item.active {
    display: none;
  }
}

/* Section divider for hotel-virtual content blocks */
.hotel-section {
  border-top: 1px solid #dee2e6;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.hotel-section:first-child {
  border-top: none;
  margin-top: 0;
}
.hotel-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ─── Hotel Ask AI ────────────────────────────────────────────────────────── */
.hotel-ask {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 8px);
  padding: 1.25rem 1.5rem;
}
.hotel-ask .input-group .form-control {
  border-right: 0;
  font-size: 0.875rem;
}
.hotel-ask .input-group .form-control::placeholder {
  font-size: 0.8125rem;
}
.hotel-ask .input-group .form-control:focus {
  box-shadow: none;
  border-color: var(--hm-primary, #1a1a2e);
}
.hotel-ask-answer {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
}
.hotel-ask-result {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 8px);
  padding: 1rem 1.25rem;
}
@media (max-width: 575.98px) {
  .hotel-ask {
    padding: 1rem;
  }
  .hotel-ask-result {
    padding: 0.75rem;
  }
}

/* ─── Room Rate Panels ────────────────────────────────────────────────────── */
.room-rate-panel {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--hm-radius, 8px);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}
.room-rate-panel + .room-rate-panel {
  margin-top: 0.5rem;
}
.room-rate-board {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.375rem;
}
.room-rate-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.125rem;
}
.room-rate-pricing .hm-savings-badge {
  margin-top: 0;
  margin-left: 0.25rem;
}
@media (max-width: 575.98px) {
  .room-rate-pricing .hm-savings-badge {
    margin-left: 0;
    flex-basis: 100%;
  }
}
.room-rate-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--hm-primary, #1a1a2e);
}
.room-rate-stay {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6c757d;
}
.room-rate-pernight {
  margin-bottom: 0.25rem;
}
.room-rate-cancel {
  display: block;
  font-size: 0.8125rem;
  color: #2e7d32;
  margin-bottom: 0.25rem;
}
.room-rate-nonrefund {
  display: block;
  font-size: 0.8125rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}
.room-rate-public {
  margin-bottom: 0.25rem;
}
.hm-savings-badge {
  display: inline-block;
  background: #198754;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  margin-top: 0.35rem;
  line-height: 1.4;
}
.room-rate-loading {
  font-size: 0.875rem;
  color: #6c757d;
  padding: 0.5rem 0;
}
.room-card-unmapped .room-card-inner {
  padding: 0;
}
.room-card-unmapped .room-card-info {
  padding: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.site-footer .nav-link {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.site-footer .nav-link:hover {
  color: #fff !important;
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.checkout-page {
  min-height: 60vh;
  max-width: 760px;
  margin: 0 auto;
}
.checkout-page--wide {
  max-width: 1080px;
}

/* Checkout card (guest details, payment, confirmation) */
.checkout-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* Summary card (right column) */
.checkout-summary {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.checkout-summary--sticky {
  position: sticky;
  top: 1.5rem;
}
.checkout-summary dl {
  font-size: 0.9375rem;
}
.checkout-summary dt {
  font-weight: 500;
}
.checkout-summary dd {
  margin-bottom: 0.5rem;
}

/* Payment container */
.checkout-payment {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
#liteapi-payment {
  min-height: 200px;
}
#liteapi-payment .lp-submit-button-wrapper {
  text-align: center;
  margin-top: 1rem;
}
#liteapi-payment .lp-submit-button {
  background-color: var(--hm-primary);
  border: none;
  color: #fff;
  padding: 0.625rem 2.5rem;
  border-radius: var(--hm-radius);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}
#liteapi-payment .lp-submit-button:hover {
  background-color: var(--hm-primary-dark);
}

/* Hotel & room images in summary */
.checkout-hotel-img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.checkout-room-thumb {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

/* Cancellation badge */
.checkout-cancel-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
}
.checkout-cancel-rfn {
  background: #e8f5e9;
  color: #2e7d32;
}
.checkout-cancel-nrfn {
  background: #fbe9e7;
  color: #bf360c;
}

/* Terms & Conditions */
.checkout-terms {
  padding: 0.875rem 1rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.625rem;
}
.checkout-terms .form-check-input:checked {
  background-color: var(--hm-primary, #d4956a);
  border-color: var(--hm-primary, #d4956a);
}
.checkout-terms-link {
  color: var(--hm-primary, #d4956a);
  text-decoration: underline;
}
.checkout-terms-link:hover {
  color: var(--hm-primary-dark, #c07c50);
}

/* Gated payment (terms not yet accepted) */
.checkout-card--gated {
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s;
}

/* Special requests section */
.checkout-special-req .btn-link {
  font-size: 0.875rem;
  color: var(--hm-primary, #d4956a);
}
.checkout-special-req .btn-link:hover {
  color: var(--hm-primary-dark, #c07c50);
}
.checkout-special-req textarea {
  font-size: 0.875rem;
}

/* ── Checkout skeleton loading ── */
.co-skel-bone {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 600px 100%;
  animation: hcShimmer 2.2s ease infinite;
  border-radius: 4px;
}
.co-skel-heading { height: 18px; width: 45%; margin-bottom: 1rem; }
.co-skel-wallet  { height: 44px; border-radius: 6px; }
.co-skel-link    { height: 12px; width: 80px; margin: 0.75rem auto; }
.co-skel-label   { height: 12px; width: 35%; margin-bottom: 0.375rem; }
.co-skel-input   { height: 42px; border-radius: 6px; }
.co-skel-method  { height: 42px; border-radius: 6px; border: 1px solid #eee; }
.co-skel-btn     { height: 42px; width: 100%; border-radius: 6px; margin-top: 0.5rem; }
.co-skel-note    { height: 12px; width: 70%; margin-top: 1rem; }

/* Guest form */
.checkout-form .form-label {
  font-weight: 500;
  font-size: 0.9375rem;
}
.checkout-form .form-control {
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
}
.checkout-form .form-control:focus {
  border-color: var(--hm-primary, #d4956a);
  box-shadow: 0 0 0 0.2rem rgba(212, 149, 106, 0.25);
}

/* Booking-in-progress spinner */
.bip { max-width: 480px; margin: 0 auto; }

.bip-ring {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #f0e6eb;
}
.bip-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--hm-primary, #b82e54) 0deg,
    color-mix(in srgb, var(--hm-primary, #b82e54) 30%, transparent) 90deg,
    transparent 140deg
  );
  animation: bipRotate 1.4s linear infinite;
}
@keyframes bipRotate {
  to { transform: rotate(360deg); }
}
.bip-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}
.bip-ring__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--hm-primary, #b82e54);
  z-index: 1;
  animation: bipPulse 2s ease-in-out infinite;
}
@keyframes bipPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.12); opacity: .8; }
}

.bip-msg {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 1.25rem;
  min-height: 1.6em;
  transition: opacity .3s;
}
.bip-msg--fade { opacity: 0; }

.bip-bar {
  height: 5px;
  border-radius: 3px;
  background: #f0e6eb;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.bip-bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hm-primary, #b82e54), #e8668a);
  transition: width .6s ease;
}

.bip-trust {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #6c757d;
}
.bip-trust span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.bip-trust i {
  color: #28a745;
  font-size: 0.875rem;
}

/* Confirmation */
.checkout-confirmation {
  background: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.checkout-confirmation dt {
  font-weight: 500;
  font-size: 0.875rem;
}
.checkout-confirmation dd {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .checkout-summary--sticky {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .checkout-summary {
    padding: 1rem;
  }
  .checkout-card {
    padding: 1rem;
  }
  .checkout-payment {
    padding: 1rem;
  }
  .checkout-hotel-img {
    width: 72px;
    height: 54px;
  }
  .checkout-room-thumb {
    max-height: 120px;
  }
}

/* =========================================================================
   Nuitee Hotel Block (Gutenberg)
   ========================================================================= */

.nuitee-hotel-block {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.nuitee-hotel-block .carousel,
.nuitee-hotel-block .nuitee-hotel-block__carousel {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.nuitee-hotel-block .carousel-item {
  overflow: hidden;
}

.nuitee-hotel-block .nuitee-hotel-block__img,
.nuitee-hotel-block .carousel-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Carousel controls — override hc-carousel opacity:0 defaults */
.nuitee-hotel-block .carousel-control-prev,
.nuitee-hotel-block .carousel-control-next {
  width: 36px;
  height: 36px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0.85 !important;
  transition: opacity 0.2s;
}
.nuitee-hotel-block .carousel-control-prev:hover,
.nuitee-hotel-block .carousel-control-next:hover {
  opacity: 1 !important;
}
.nuitee-hotel-block .carousel-control-prev { left: 10px; }
.nuitee-hotel-block .carousel-control-next { right: 10px; }
.nuitee-hotel-block .carousel-control-prev-icon,
.nuitee-hotel-block .carousel-control-next-icon {
  width: 16px;
  height: 16px;
}

/* Carousel indicators */
.nuitee-hotel-block .carousel-indicators {
  margin-bottom: 0.5rem;
}
.nuitee-hotel-block .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  opacity: 0.5;
  background-color: #fff;
}
.nuitee-hotel-block .carousel-indicators .active {
  opacity: 1;
}

/* Rating + CTA bar */
.nuitee-hotel-block .nuitee-hotel-block__bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.75rem 1rem;
  background: #fff;
  gap: 0.75rem;
}

.nuitee-hotel-block .nuitee-hotel-block__rating {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem;
}

/* Rating circle inside block */
.nuitee-hotel-block .hc-rating-circle {
  background-color: var(--hm-primary, #ff2b64);
  border-radius: 5px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 8px 12px;
  min-width: 44px;
  text-align: center;
  line-height: 1;
  display: inline-block;
}

.nuitee-hotel-block .nuitee-hotel-block__rating-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}

.nuitee-hotel-block .nuitee-hotel-block__rating-link:hover {
  opacity: 0.75;
  text-decoration: none;
  color: inherit;
}

.nuitee-hotel-block .nuitee-hotel-block__rating-text {
  line-height: 1.3;
}

.nuitee-hotel-block .nuitee-hotel-block__rating-text strong {
  font-size: 0.875rem;
}

.nuitee-hotel-block .nuitee-hotel-block__rating-text small {
  font-size: 0.8125rem;
  color: #6c757d;
}

.nuitee-hotel-block .nuitee-hotel-block__location {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.nuitee-hotel-block .nuitee-hotel-block__location small {
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.nuitee-hotel-block .nuitee-hotel-block__cta {
  flex-shrink: 0;
}

.nuitee-hotel-block .nuitee-hotel-block__cta .btn {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .nuitee-hotel-block .nuitee-hotel-block__bar {
    flex-wrap: wrap !important;
  }

  .nuitee-hotel-block .nuitee-hotel-block__cta,
  .sandals-block__cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .nuitee-hotel-block .nuitee-hotel-block__cta {
    display: flex;
  }

  .nuitee-hotel-block .nuitee-hotel-block__cta .btn,
  .sandals-block__cta .btn {
    flex: 1;
    text-align: center;
  }
}

/* ─── Sandals Block additions ────────────────────────────────── */
.sandals-block__carousel-wrap {
  position: relative;
}

.sandals-block__featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.sandals-block__featured-badge:hover {
  opacity: 0.9;
  color: #212529;
}

/* Category Sandals: destination badge overlay on resort cards */
.category-sandals__dest-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 600;
}

.sandals-block__cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   Destination Block
   ========================================================================== */

.dest-block {
  background: #fff;
  margin-bottom: 25px;
}

/* ─── Featured Image ─────────────────────────────────────────── */
.dest-block__img-link {
  display: block;
  line-height: 0;
}

.dest-block__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ─── Heading ────────────────────────────────────────────────── */
.dest-block__heading {
  padding: 12px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e1e1e;
}

/* ─── Cards Row ──────────────────────────────────────────────── */
.dest-block__cards {
  padding: 0;
}

/* ─── Individual Card ────────────────────────────────────────── */
.dest-block__card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  height: 100%;
}

.dest-block__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.dest-block__card-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.dest-block__card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.dest-block__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.6875rem;
  width: fit-content;
}

.dest-block__card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dest-block__card-name {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-block__card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
}


.dest-block__card-rating-label {
  color: #555;
  font-size: 0.8125rem;
}

/* ─── Mobile: collapse cards to horizontal rows ──────────────── */
@media (max-width: 767.98px) {
  .dest-block__cards .row {
    flex-direction: column;
  }

  .dest-block__cards .col-md-4 {
    width: 100%;
  }

  .dest-block__card {
    flex-direction: row;
    align-items: center;
  }

  .dest-block__card-body {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    flex: 1;
    min-width: 0;
  }

  .dest-block__card-name {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    flex: 1;
    min-width: 0;
  }

  .dest-block__card-rating {
    flex-shrink: 0;
  }

  .dest-block__card-img-wrap {
    flex-shrink: 0;
  }

  .dest-block__card-img {
    width: 64px;
    height: 64px;
    aspect-ratio: auto;
    border-radius: 8px 0 0 8px;
  }

  .dest-block__badge {
    top: 4px;
    right: 4px;
    font-size: 0.6rem;
    padding: 2px 5px;
  }
}

/* ==========================================================================
   CUG: Auth Modal
   ========================================================================== */

.auth-modal-content {
  border: none;
  border-radius: var(--hm-radius-lg);
  overflow: hidden;
  box-shadow: var(--hm-shadow-lg);
}

.auth-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  opacity: 0.7;
}
.auth-modal-close:hover { opacity: 1; }

.auth-modal-benefits {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.auth-tabs {
  gap: 0.25rem;
}
.auth-tabs .nav-link {
  border-radius: var(--hm-radius);
  font-weight: var(--hm-fw-semibold);
  color: var(--hm-text);
  padding: 0.5rem 1.25rem;
}
.auth-tabs .nav-link.active {
  background-color: var(--hm-primary);
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--hm-muted);
  font-size: 0.8125rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dee2e6;
}
.auth-divider span {
  padding: 0 0.75rem;
}

.auth-google-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
}

/* ==========================================================================
   CUG: Save Hotel Heart Icon (on hotel cards)
   ========================================================================== */

.hc-save-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.hc-save-btn i {
  font-size: 1.1rem;
  color: var(--hm-muted);
  transition: color 0.2s ease;
}
.hc-save-btn:hover {
  background: #fff;
  transform: scale(1.1);
}
.hc-save-btn:hover i {
  color: var(--hm-primary);
}
.hc-save-btn.saved i {
  color: var(--hm-primary);
}

/* Expand / preview button */
.hc-expand-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.hc-expand-btn i {
  font-size: 0.85rem;
  color: var(--hm-muted, #666);
  transition: color 0.2s ease;
}
.hc-card:hover .hc-expand-btn {
  opacity: 1;
}
.hc-expand-btn:hover {
  background: #fff;
  transform: scale(1.1);
}
.hc-expand-btn:hover i {
  color: var(--hm-primary);
}

/* ==========================================================================
   Hotel Preview Modal
   ========================================================================== */

.hc-preview-content {
  border: none;
  border-radius: var(--hm-radius-lg, 0.75rem);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}
.hc-preview-close.btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: 0.9;
  --bs-btn-close-hover-opacity: 1;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  padding: 0.5rem;
  filter: none;
}
.hc-preview-close.btn-close:hover {
  background-color: rgba(0, 0, 0, 0.75);
}

/* Gallery (left panel) */
.hc-preview-gallery {
  background: #000;
  position: relative;
}
.hc-preview-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.hc-preview-gallery .carousel-control-prev,
.hc-preview-gallery .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.hc-preview-gallery .carousel-control-prev { left: 12px; }
.hc-preview-gallery .carousel-control-next { right: 12px; }
.hc-preview-gallery .carousel-control-prev:hover,
.hc-preview-gallery .carousel-control-next:hover {
  opacity: 1;
}
.hc-preview-gallery .carousel-control-prev-icon,
.hc-preview-gallery .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* Info panel (right panel) */
.hc-preview-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow-y: auto;
}
.hc-preview-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.hc-preview-story {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.hc-preview-price {
  background: #f8f9fa;
  border-radius: var(--hm-radius, 0.625rem);
  padding: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
  display: block;
}
a.hc-preview-price-link {
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
a.hc-preview-price-link:hover {
  background: #eef0f2;
  box-shadow: 0 0 0 2px var(--hm-primary, #b82e54);
}
a.hc-preview-price-link span {
  color: var(--hm-primary, #b82e54);
}

/* Responsive: stack on mobile */
@media (max-width: 991.98px) {
  .hc-preview-img {
    height: 300px;
  }
  .hc-preview-info {
    max-height: none;
    overflow-y: visible;
  }
}
@media (max-width: 575.98px) {
  .hc-preview-img {
    height: 220px;
  }
  .hc-preview-info {
    padding: 1.25rem;
  }
}

/* ─── Hotel detail: star badge with orange stars ─────────────────────────── */
.hotel-star-badge .bi-star-fill {
  color: #f5a623;
}

/* ─── Hotel detail: uniform badge/button height ──────────────────────────── */
/* Match stars, save, check availability, and sentiment badges to the same height */
.hotel-detail-actions .badge,
.hotel-detail-actions .btn,
.hotel-detail-sentiments .badge {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  border-radius: var(--hm-radius, 6px);
}
@media (max-width: 767.98px) {
  .hotel-detail-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .hotel-detail-actions > .hm-btn-save,
  .hotel-detail-actions > .hm-agent-cta {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hotel-single .hm-btn-save + .badge,
  .hotel-single .badge + .hm-btn-save {
    margin: 0;
  }
}

/* ==========================================================================
   CUG: Pricing Gate
   ========================================================================== */

.cug-gate {
  background: linear-gradient(135deg, #fdf2f4 0%, #fef7f0 100%);
  border-color: #f0d0d8 !important;
}
.cug-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hm-primary);
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto;
}
.cug-gate h3 {
  color: var(--hm-text);
}
.cug-gate-benefits span {
  white-space: nowrap;
}

/* ==========================================================================
   CUG: Account Dashboard
   ========================================================================== */

/* ── Welcome Header ── */
.account-welcome {
  background: var(--hm-bg-light, #f8f9fa);
  padding: 2.5rem 0 2rem;
  color: var(--hm-text, #212529);
  border-bottom: 1px solid var(--hm-border);
}
.account-welcome-title {
  font-size: 1.75rem;
  font-weight: var(--hm-fw-bold);
  margin: 0 0 0.25rem;
}
.account-welcome-subtitle {
  font-size: 1rem;
  color: var(--hm-muted, #6c757d);
  margin: 0;
}
.hm-btn-account-agent {
  background: var(--hm-primary);
  color: #fff;
  border: 1.5px solid var(--hm-primary);
  border-radius: var(--hm-radius);
  padding: 0.6rem 1.25rem;
  font-weight: var(--hm-fw-semibold);
  font-size: 0.9rem;
  white-space: nowrap;
}
.hm-btn-account-agent:hover {
  background: var(--hm-primary-dark);
  color: #fff;
  border-color: var(--hm-primary-dark);
}

/* ── Tab Navigation ── */
.account-nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--hm-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.account-tabs {
  display: flex;
  gap: 0;
  border: none;
  padding: 0;
  list-style: none;
}
.account-tabs .nav-item {
  flex: 0 0 auto;
}
.account-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--hm-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.account-tabs .nav-link:hover {
  color: var(--hm-text);
  border-bottom-color: #e5e7eb;
}
.account-tabs .nav-link.active {
  color: var(--hm-primary);
  border-bottom-color: var(--hm-primary);
  font-weight: var(--hm-fw-bold);
}
.account-tabs .nav-link .badge {
  font-size: 0.7rem;
  padding: 0.2em 0.55em;
}

/* ── Search bar on light background ── */
.account-search-form {
  max-width: 640px;
}
.account-search-form .input-group {
  background: #fff;
  border-radius: var(--hm-radius);
  overflow: hidden;
  border: 1px solid var(--hm-border);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.account-search-form .input-group:focus-within {
  border-color: var(--hm-primary);
  box-shadow: 0 0 0 3px rgba(184,46,84,.12);
}
.account-search-form .form-control {
  border: none;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}
.account-search-form .form-control::placeholder {
  color: #999;
}
.account-search-form .btn-primary {
  border-radius: 0;
}

/* ── Blank States ── */
.account-blank-state {
  padding: 3rem 1rem;
}
.account-blank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,46,84,.08), rgba(184,46,84,.04));
  margin: 0 auto;
}
.account-blank-icon i {
  font-size: 2rem;
  color: var(--hm-primary);
}

/* Suggestion pills on light background */
.acct-suggestion {
  font-size: 0.8rem;
  color: var(--hm-muted) !important;
  border-color: var(--hm-border) !important;
}
.acct-suggestion:hover {
  background: var(--hm-primary) !important;
  border-color: var(--hm-primary) !important;
  color: #fff !important;
}

/* ── Mobile tweaks ── */
@media (max-width: 575.98px) {
  .account-welcome {
    padding: 1.75rem 0 1.25rem;
  }
  .account-welcome-title {
    font-size: 1.35rem;
  }
  .hm-btn-account-agent {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .account-tabs .nav-link {
    padding: 0.75rem 0.75rem;
    font-size: 0.82rem;
  }
  .account-tab-label {
    display: none;
  }
  .account-tabs .nav-link i {
    font-size: 1.1rem;
  }
  .account-blank-state {
    padding: 2rem 0.5rem;
  }
}

/* ==========================================================================
   My Bookings (Account Page)
   ========================================================================== */

/* ── Booking Cards ── */
.hm-booking-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--hm-radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.hm-booking-card:hover {
  box-shadow: var(--hm-shadow-md);
}
.hm-booking-card-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}
.hm-booking-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 2.5rem;
}

/* ── Status Badges ── */
.hm-booking-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 50rem;
  white-space: nowrap;
}
.hm-booking-status--confirmed {
  background: #ecfdf5;
  color: #059669;
}
.hm-booking-status--cancelled {
  background: #fef2f2;
  color: #dc2626;
}

/* ── Detail View ── */
.hm-booking-hero {
  border-radius: var(--hm-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  max-height: 280px;
}
.hm-booking-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.hm-booking-section {
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.hm-booking-section:last-of-type {
  border-bottom: none;
}
.hm-booking-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* ── Refund Info (Cancellation Flow) ── */
.hm-refund-info {
  padding: 1rem 1.25rem;
  border-radius: var(--hm-radius);
  margin-bottom: 0.5rem;
}
.hm-refund-info--full {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.hm-refund-info--partial {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.hm-refund-info--none {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* ── Cancel Input ── */
.hm-cancel-input {
  max-width: 220px;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Mobile adjustments ── */
@media (max-width: 767.98px) {
  .hm-booking-card .row {
    flex-direction: column;
  }
  .hm-booking-card-img {
    min-height: 140px;
    max-height: 180px;
  }
  .hm-booking-hero img {
    height: 180px;
  }
  .hm-booking-section .row {
    gap: 0.5rem;
  }
}

/* ==========================================================================
   CUG: Header User Menu
   ========================================================================== */

#headerAccountMenu .dropdown-toggle {
  font-weight: var(--hm-fw-medium);
  font-size: 0.875rem;
}
#headerAccountMenu .dropdown-menu {
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-md);
  border: 1px solid #e5e7eb;
  min-width: 200px;
}
#headerAccountMenu .dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
#headerAccountMenu .dropdown-item:hover {
  background-color: #fdf2f4;
  color: var(--hm-primary);
}
#headerAccountMenu .dropdown-item i {
  width: 1.25rem;
}

/* ==========================================================================
   Contact Forms
   ========================================================================== */

.hm-contact-form-wrap {
  position: relative;
  max-width: 600px;
}
.hm-contact-form .form-label {
  font-size: 0.875rem;
  font-weight: var(--hm-fw-semibold);
  margin-bottom: 0.25rem;
}
.hm-contact-form .form-control,
.hm-contact-form .form-check-input {
  border-radius: var(--hm-radius);
}
.hm-contact-form .form-control:focus {
  border-color: var(--hm-primary);
  box-shadow: 0 0 0 0.2rem rgba(184, 46, 84, 0.15);
}
.hm-contact-form .form-text {
  font-size: 0.8rem;
}
.hm-cf-char-count {
  font-size: 0.75rem;
  min-width: 60px;
  text-align: right;
}

/* ─── Agent Modal ──────────────────────────────────────────────────────── */

.agent-modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}
.agent-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  filter: invert(1);
  opacity: 0.7;
}
.agent-modal-close:hover { opacity: 1; }

@media (min-width: 992px) {
  .agent-modal-close {
    filter: none;
  }
}

.agent-modal-benefits {
  background: linear-gradient(135deg, var(--hm-primary), #8b1a3a);
}

/* ─── Agent CTA Button ─────────────────────────────────────────────────── */

.hm-agent-cta {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hm-agent-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--hm-shadow-md);
}

/* ─── About Us Page ───────────────────────────────────────────────────── */

.hm-about-metrics {
  position: relative;
  z-index: 3;
  padding: 1rem 1rem 0;
}
.hm-about-metrics .container {
  background: #fff;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-lg, 0 8px 30px rgba(0,0,0,0.12));
  padding: 2rem 1.5rem;
}
.hm-about-metric {
  padding: 0.5rem;
}

.hm-about-assoc-logo {
  max-height: 96px;
  opacity: 0.8;
}

.hm-about-team-photo {
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
}

.hm-about-team-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-lg, 0 8px 30px rgba(0,0,0,0.12)) !important;
}
.hm-about-team-card-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.hm-about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 50rem;
  border: 1px solid #dee2e6;
  color: #495057;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hm-about-social-link:hover {
  border-color: var(--hm-primary);
  color: var(--hm-primary);
  background: rgba(184, 46, 84, 0.04);
}
.hm-about-social-link i {
  font-size: 1.1rem;
}

@media (max-width: 767.98px) {
  .hm-about-page {
    overflow-x: hidden;
  }
  .hm-about-metrics .container {
    padding: 1.5rem 1rem;
  }
  .hm-about-metric .h3 {
    font-size: 1.25rem;
  }
  .hm-about-team-photo {
    max-width: 180px;
  }
  .hm-about-cta-banner {
    padding: 3rem 0;
  }
}

/* ==========================================================================
   Sandals Email Signup (Landing Pages)
   ========================================================================== */

.hm-sandals-signup {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #fdf6f8 0%, #f8f0f3 50%, #f5eef1 100%);
  border-top: 1px solid rgba(184, 46, 84, 0.08);
  border-bottom: 1px solid rgba(184, 46, 84, 0.08);
}
.hm-sandals-signup__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.hm-sandals-signup__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a62547;
  background: rgba(184, 46, 84, 0.08);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}
.hm-sandals-signup__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 0.5rem;
}
.hm-sandals-signup__desc {
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.hm-sandals-signup__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hm-sandals-signup__perk {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}
.hm-sandals-signup__row {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.hm-sandals-signup__input {
  border-radius: 10px;
  border: 1px solid #ddd;
  flex: 1 1 0;
  min-width: 0;
  font-size: 1rem;
}
.hm-sandals-signup__input:focus {
  border-color: #a62547;
  box-shadow: 0 0 0 0.2rem rgba(166, 37, 71, 0.15);
}
.hm-sandals-signup__btn {
  background: #a62547 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  white-space: nowrap;
  min-width: 160px;
  transition: background 0.2s ease;
}
.hm-sandals-signup__btn:hover {
  background: #841d38 !important;
  color: #fff !important;
}
.hm-sandals-signup__fine {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .hm-sandals-signup__row {
    flex-direction: column;
  }
  .hm-sandals-signup__btn {
    width: 100%;
  }
  .hm-sandals-signup__title {
    font-size: 1.35rem;
  }
}

/* ─── Resort Listing Pages ─────────────────────────────────────────────────── */

.hm-resort-promo {
  background: linear-gradient(135deg, #fdf6f0 0%, #f8eff4 100%);
  padding: 3rem 0;
  text-align: center;
}
.hm-resort-promo__badge {
  display: inline-block;
  background: var(--hm-primary, #b82e54);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.hm-resort-promo__title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hm-resort-promo__desc {
  color: #555;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}
.hm-resort-filter {
  min-width: 200px;
  max-width: 300px;
}
@media (max-width: 575.98px) {
  .hm-resort-promo__title {
    font-size: 1.3rem;
  }
  .hm-resort-promo {
    padding: 2rem 0;
  }
}

/* ==========================================================================
   Sandals Resort Quiz
   ========================================================================== */

.hm-sandals-quiz #quiz-app {
  padding: 2rem 0;
}

/* Progress bar */
.hm-quiz-progress {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.hm-quiz-progress-bar {
  height: 100%;
  background: var(--hm-primary);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Question cards */
.hm-quiz-card {
  cursor: pointer;
  border-radius: var(--hm-radius);
  overflow: hidden;
  border: 2px solid #e9ecef;
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hm-quiz-card:hover {
  transform: translateY(-4px);
  border-color: var(--hm-primary);
  box-shadow: 0 8px 24px rgba(184, 46, 84, 0.12);
}
.hm-quiz-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.hm-quiz-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-quiz-card-body {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Result cards */
.hm-quiz-result-card {
  border-radius: var(--hm-radius);
  overflow: hidden;
  border: 1px solid #e9ecef;
  background: #fff;
  box-shadow: var(--hm-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hm-quiz-result-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.hm-quiz-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-quiz-result-body {
  padding: 1.25rem;
  flex: 1;
}
.hm-quiz-result-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.hm-quiz-result-body p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: #4b5563;
}
.hm-quiz-result-body .badge {
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .hm-quiz-results .col-md-4 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

