/* hotel-packages-widget / packages.css - Redesigned 2026 */

.hotel-packages-widget {
  --hp-primary: #041562;
  --hp-primary-dark: #020c3a;
  --hp-accent: #dca11d;
  --hp-accent-hover: #b88511;
  --hp-success: #2fb36d;
  --hp-success-dark: #24965a;
  --hp-danger: #ee2f4a;
  --hp-bg: #f4f6f9;
  --hp-card-bg: #ffffff;
  --hp-border: #e5e7eb;
  --hp-text: #1f2937;
  --hp-muted: #6b7280;
  --hp-yellow: #f5b400;

  font-family: 'Inter', sans-serif;
  color: var(--hp-text);
}

.hp-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.hp-header {
  text-align: center;
  margin-bottom: 30px;
}

.hp-header h2 {
  font-size: 32px;
  color: var(--hp-primary);
  margin: 0 0 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hp-header p {
  font-size: 16px;
  color: var(--hp-muted);
  margin: 0;
}

/* SEARCH BAR (BOOKING.COM STYLE) */
.hp-search {
  background: #ffffff;
  border: 4px solid var(--hp-accent);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1.5fr auto;
  gap: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: visible;
  margin: 30px 0;
  position: relative;
}

.hp-search-field {
  border-right: 2px solid var(--hp-border);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 65px;
  justify-content: center;
  position: relative;
}

.hp-search-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #64748b;
  background: #f8fafc;
  padding: 0 15px;
  border-right: 2px solid var(--hp-border);
  min-height: 65px;
  text-transform: uppercase;
}

.hp-search-field:nth-child(3) {
  border-right: none;
}

.hp-search-field label {
  font-size: 11px;
  font-weight: 800;
  color: var(--hp-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hp-search input,
.hp-search select {
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  color: var(--hp-text);
  width: 100%;
  font-weight: 500;
}

.hp-search-button {
  background: var(--hp-accent);
  color: var(--hp-primary-dark);
  border: none;
  padding: 0 35px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  transition: all 0.2s ease;
}

.hp-search-button:hover {
  background: var(--hp-accent-hover);
  color: #fff;
}

/* DATE + GUESTS POPUP */
.hp-date-guests-field {
  position: relative;
}

.hp-date-guests-trigger {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: 14px;
  color: var(--hp-text);
  cursor: pointer;
  width: 100%;
  font-weight: 500;
}

.hp-date-guests-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 350px;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 999;
}

.hp-date-guests-panel.open {
  display: block;
}

.hp-date-panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hp-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hp-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 15px;
}

.hp-date-row label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hp-muted);
  margin-bottom: 5px;
}

.hp-date-row input {
  width: 100%;
  border: 1px solid var(--hp-border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  box-sizing: border-box;
}

.hp-guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
}

.hp-guest-row strong {
  display: block;
  font-size: 14px;
  color: var(--hp-text);
}

.hp-guest-row span {
  display: block;
  font-size: 11px;
  color: var(--hp-muted);
}

.hp-guest-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-guest-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--hp-border);
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hp-guest-controls button:hover {
  background: var(--hp-bg);
}

.hp-guest-controls input {
  width: 30px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--hp-text);
}

.hp-done-button {
  width: 100%;
  background: var(--hp-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.hp-done-button:hover {
  background: var(--hp-primary-dark);
}

/* TOOLS AREA */
.hp-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hp-count {
  font-size: 14px;
  color: var(--hp-muted);
  font-weight: 600;
}

.hp-tool-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hp-reset {
  border: 1px solid var(--hp-border);
  background: #ffffff;
  color: var(--hp-primary);
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hp-reset:hover {
  background: var(--hp-bg);
}

/* VIEW SWITCHER */
.hp-view-switcher {
  display: flex;
  border: 1px solid var(--hp-border);
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
}

.hp-view-switcher button {
  border: none;
  background: #ffffff;
  color: var(--hp-primary);
  font-weight: 700;
  padding: 8px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hp-view-switcher button.active {
  background: var(--hp-primary);
  color: #ffffff;
}

/* LIST OF CARDS */
.hp-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* INDIVIDUAL HOTEL CARD */
.hp-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.hp-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.hp-image-wrap {
  position: relative;
  height: 100%;
  min-height: 280px;
  background: #e2e8f0;
}

.hp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--hp-danger);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.hp-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.hp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.hp-event-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: var(--hp-primary);
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hp-stars {
  color: var(--hp-yellow);
  font-size: 16px;
  letter-spacing: 1px;
}

.hp-title {
  font-size: 22px;
  line-height: 1.25;
  color: var(--hp-primary);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.hp-address {
  font-size: 13px;
  color: var(--hp-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hp-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-features li {
  font-size: 12px;
  color: var(--hp-success-dark);
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #dcfce7;
}

.hp-meta {
  background: var(--hp-bg);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 13px;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hp-meta div {
  color: var(--hp-text);
}

.hp-meta strong {
  color: var(--hp-primary-dark);
}

.hp-description {
  font-size: 13px;
  color: var(--hp-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hp-bottom {
  margin-top: auto;
  border-top: 1px solid var(--hp-border);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.hp-price-wrap {
  display: flex;
  flex-direction: column;
}

.hp-price-label {
  font-size: 11px;
  color: var(--hp-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.hp-price {
  font-size: 26px;
  color: var(--hp-text);
  font-weight: 900;
  line-height: 1;
}

.hp-price span {
  font-size: 12px;
  font-weight: normal;
  color: var(--hp-muted);
}

.hp-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 250px;
}

.hp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hp-button.primary {
  background: var(--hp-primary);
  color: #ffffff;
}

.hp-button.primary:hover {
  background: var(--hp-primary-dark);
}

.hp-button.secondary {
  background: #ffffff;
  color: var(--hp-primary);
  border: 1px solid var(--hp-primary);
}

.hp-button.secondary:hover {
  background: var(--hp-bg);
}

.hp-paypal-form {
  width: 100%;
}

.hp-paypal-form button {
  width: 100%;
  padding: 10px 15px;
  background: var(--hp-accent);
  color: var(--hp-primary-dark);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hp-paypal-form button:hover {
  background: var(--hp-accent-hover);
  color: #ffffff;
}

.hp-trust-badges {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.hp-trust-badges img {
  height: 16px;
  opacity: 0.6;
}

/* LIST / TABLE VIEW */
.hp-list-mode .hp-list-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 220px;
  gap: 15px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.hp-list-mode .hp-list-row:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-color: var(--hp-accent);
}

.hp-list-thumb {
  width: 80px;
  height: 60px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.hp-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-list-info {
  min-width: 0;
}

.hp-list-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-list-title {
  color: var(--hp-primary);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-list-badge {
  background: var(--hp-danger);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
}

.hp-list-address {
  font-size: 12px;
  color: var(--hp-muted);
  margin-top: 2px;
}

.hp-list-details {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--hp-text);
  margin-top: 4px;
}

.hp-list-details span::after {
  content: '•';
  margin-left: 10px;
  color: var(--hp-border);
}

.hp-list-details span:last-child::after {
  content: '';
}

.hp-list-price {
  text-align: right;
  font-size: 18px;
  font-weight: 900;
  color: var(--hp-text);
}

.hp-list-price span {
  display: block;
  font-size: 10px;
  color: var(--hp-muted);
  font-weight: normal;
}

.hp-list-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hp-list-actions .hp-button,
.hp-list-actions .hp-paypal-form button {
  padding: 8px 10px;
  font-size: 11px;
}

/* LOAD MORE BUTTON */
.hp-load-more {
  display: none;
  margin: 30px auto 0;
  background: var(--hp-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hp-load-more:hover {
  background: var(--hp-primary-dark);
  transform: translateY(-1px);
}

/* STATES */
.hp-loading,
.hp-error,
.hp-empty {
  text-align: center;
  font-size: 16px;
  color: var(--hp-muted);
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--hp-border);
  box-shadow: var(--shadow);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
  .hp-search {
    grid-template-columns: 1fr;
  }
  
  .hp-search-field {
    border-right: none;
    border-bottom: 2px solid var(--hp-border);
  }

  .hp-search-separator {
    border-right: none;
    border-bottom: 2px solid var(--hp-border);
    padding: 10px;
    min-height: auto;
  }
  
  .hp-search-button {
    border-radius: 0 0 6px 6px;
    padding: 15px;
  }
  
  .hp-card {
    grid-template-columns: 1fr;
  }
  
  .hp-image-wrap {
    min-height: 200px;
  }
  
  .hp-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hp-actions {
    width: 100%;
  }
  
  .hp-list-mode .hp-list-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hp-list-thumb {
    margin: 0 auto;
  }
  
  .hp-list-title-line {
    justify-content: center;
  }
  
  .hp-list-details {
    justify-content: center;
  }
  
  .hp-list-price {
    text-align: center;
  }
}

/* MAP WIDGET SPECIFIC CLASSES */
.hp-map-canvas-container {
  margin-bottom: 25px;
  position: relative;
}

/* Custom Airbnb style price bubbles */
.hp-price-bubble {
  background: #020c3a !important;
  color: #ffcc00 !important;
  border: 2px solid #ffcc00 !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  padding: 4px 10px !important;
  text-align: center !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  transition: all 0.2s ease;
}

.hp-price-bubble:hover {
  background: #ffcc00 !important;
  color: #020c3a !important;
  transform: scale(1.05);
}

/* Custom stadium marker */
.hp-stadium-marker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hp-stadium-pin {
  font-size: 24px;
  background: #cf2338;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hp-stadium-pin-label {
  background: #cf2338;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Leaflet Popup overrides for Airbnb cards */
.leaflet-popup-content-wrapper {
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: inherit !important;
}

.hp-map-popup-card {
  width: 220px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.hp-map-popup-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.hp-map-popup-body {
  padding: 12px;
}

.hp-map-popup-body h6 {
  font-size: 13px;
  font-weight: 800;
  color: #020c3a;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.hp-map-popup-stars {
  color: #ffcc00;
  font-size: 11px;
  margin-bottom: 6px;
}

.hp-map-popup-body p {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 3px 0;
}

.hp-map-popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
}

.hp-map-popup-price {
  font-size: 12px;
  font-weight: 900;
  color: #cf2338;
}

.hp-map-popup-btn {
  background: #020c3a;
  color: #ffcc00 !important;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none !important;
}

.hp-map-popup-btn:hover {
  background: #ffcc00;
  color: #020c3a !important;
}

/* Dynamic Map Controls Overlay (Airbnb Style) */
.hp-map-controls-overlay {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 10px;
  pointer-events: none;
  width: max-content;
}

.hp-map-control-btn {
  pointer-events: auto;
  background: #020c3a !important;
  color: #ffffff !important;
  border: 1px solid #ffcc00 !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.hp-map-control-btn:hover {
  background: #ffcc00 !important;
  color: #020c3a !important;
  transform: scale(1.03);
}

/* Hide Search Area button by default, only show when panned */
#hp-map-btn-search {
  opacity: 0;
  visibility: hidden;
  transform: translate(0, -10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

#hp-map-btn-search.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

/* Page-level Fixed Right Sidebar Drawer Overlay */
.hp-map-horizontal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--hp-yellow);
  z-index: 99999;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.hp-map-horizontal-drawer.open {
  transform: translateX(0);
}

.hp-horizontal-drawer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

.hp-horizontal-drawer-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #020c3a;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hp-horizontal-drawer-close:hover {
  background: #cf2338;
  color: #ffffff;
}

/* Card layout inside the sidebar (Photo top, content bottom) */
.hp-horizontal-drawer-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hp-horizontal-drawer-media {
  position: relative;
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.hp-horizontal-drawer-details {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
}

.hp-horizontal-drawer-details h3 {
  font-size: 18px;
  font-weight: 900;
  color: #020c3a;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.hp-horizontal-drawer-stars {
  color: #ffcc00;
  font-size: 13px;
  margin-bottom: 4px;
}

.hp-horizontal-drawer-inclusions {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 8px;
}

.hp-horizontal-drawer-inclusions li {
  font-size: 10.5px;
  color: #166534;
  font-weight: 800;
  background: #f0fdf4;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-horizontal-drawer-inclusions li::before {
  content: '✔';
  color: #15803d;
  font-weight: 900;
}

.hp-horizontal-drawer-desc {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hp-horizontal-drawer-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  background: #f8fafc;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
}

.hp-horizontal-drawer-specs div {
  font-size: 11px;
  color: #334155;
  line-height: 1.3;
}

.hp-horizontal-drawer-specs strong {
  color: #020c3a;
  font-weight: 800;
}

.hp-horizontal-drawer-booking-box {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 5px;
}

.hp-drawer-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hp-drawer-price-label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
}

.hp-drawer-price-value {
  font-size: 20px;
  font-weight: 900;
  color: #cf2338;
}

.hp-drawer-booking-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-drawer-booking-form button {
  width: 100%;
  text-align: center;
  background: #020c3a;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  padding: 11px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(2, 12, 58, 0.2);
  transition: all 0.2s ease;
}

.hp-drawer-booking-form button:hover {
  background: #cf2338;
}

.hp-drawer-call-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 2px solid #020c3a;
  color: #020c3a !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  padding: 9px;
  border-radius: 6px;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.hp-drawer-call-btn:hover {
  background: #020c3a;
  color: #ffffff !important;
}

/* Credit Cards / Payment Badges */
.hp-drawer-payment-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 5px 0 8px 0;
  font-size: 9px;
  color: #64748b;
  font-weight: 700;
}

.hp-drawer-payment-badges span {
  background: #f1f5f9;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-size: 8px;
  color: #334155;
  font-weight: 800;
}

/* Expandable List View Accordion Rows */
.hp-list-row-container {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
}

.hp-list-row-container:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: var(--hp-accent);
}

/* Header row (horizontal view) */
.hp-list-row-header {
  display: grid;
  grid-template-columns: 80px 1fr 120px 220px 30px; /* Chevron space */
  gap: 15px;
  align-items: center;
  padding: 15px 20px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.hp-list-row-header:hover {
  background-color: #f8fafc;
}

/* Chevron indicator */
.hp-list-chevron {
  font-size: 12px;
  color: var(--hp-muted);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
}

.hp-list-row-container.expanded .hp-list-chevron {
  transform: rotate(180deg);
  background: var(--hp-primary);
  color: #ffffff;
}

/* Expanded content panel styling */
.hp-row-expand-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  background: #ffffff;
  padding: 0 24px;
}

.hp-list-row-container.expanded .hp-row-expand-details {
  border-top: 1px solid var(--hp-border);
  padding: 24px;
  max-height: 1000px;
}

/* Internal contents formatting */
.hp-expand-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.hp-expand-desc h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--hp-primary-dark);
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.hp-expand-desc p {
  font-size: 13px;
  color: var(--hp-muted);
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.hp-expand-amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 15px;
}

.hp-expand-amenities li {
  font-size: 11px;
  color: #166534;
  font-weight: 800;
  background: #f0fdf4;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-expand-amenities li::before {
  content: '✔';
  color: #15803d;
  font-weight: 900;
}

.hp-expand-booking {
  border-left: 1px solid var(--hp-border);
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Override .hp-list-mode .hp-list-row (make container wrap rows, clean header styles) */
.hp-list-mode .hp-list-row {
  display: block;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.hp-list.hp-list-mode {
  gap: 8px;
}

.hp-list-mode .hp-list-row:hover {
  box-shadow: none;
  border-color: transparent;
}

/* Mobile responsive drawer and expand grid styling */
@media (max-width: 768px) {
  .hp-map-drawer {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 20px;
  }
  .hp-list-row-header {
    grid-template-columns: 60px 1fr 24px;
    padding: 10px 12px;
  }
  .hp-list-price, .hp-list-actions {
    display: none;
  }
  .hp-expand-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hp-expand-booking {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--hp-border);
    padding-top: 20px;
  }
}

/* 2027 FILTER + SORT UPDATE */
.hp-search.hp-search-destination-only {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hp-search.hp-search-destination-only .hp-search-field {
  border-right: none;
}

.hp-tool-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hp-tool-select-wrap {
  display: inline-flex;
  align-items: center;
}

.hp-tool-select {
  min-height: 34px;
  max-width: 205px;
  border: 1px solid var(--hp-border);
  background: #ffffff;
  color: var(--hp-primary);
  border-radius: 6px;
  padding: 7px 34px 7px 11px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.hp-tool-select:focus {
  border-color: var(--hp-primary);
  box-shadow: 0 0 0 3px rgba(4, 21, 98, 0.10);
}

.hp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .hp-search.hp-search-destination-only {
    grid-template-columns: 1fr;
  }

  .hp-tools {
    align-items: flex-start;
    gap: 12px;
  }

  .hp-tool-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hp-tool-select-wrap,
  .hp-tool-select {
    flex: 1 1 180px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hp-tools {
    flex-direction: column;
  }

  .hp-tool-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hp-tool-select-wrap,
  .hp-tool-select,
  .hp-view-switcher,
  .hp-reset {
    width: 100%;
  }

  .hp-view-switcher button {
    flex: 1;
  }
}
