

/* Container */
.hh-wrap {
  max-width: 1330px;
  margin: 20px auto;
  padding: 0 16px;
  box-sizing: border-box;
  
}

/* HERO */
.hh-hero {
  background: linear-gradient(
    180deg,
    rgba(93, 64, 55, 0.06),
    rgba(212, 167, 98, 0.03)
  );
  border-radius: 12px;
  padding: 34px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(42, 42, 42, 0.04);
  margin-top: 20px;
}
.hh-hero h1 {
  color: var(--primary);
  font-size: 28px;
}
.hh-hero p {
  color: var(--secondary);
  margin-top: 8px;
  font-size: 15px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* SEARCH */
.hh-search {
  background: #fff;
  padding: 14px;
  margin: 18px 0;
  border-radius: 12px;
  border: 1px solid rgba(93, 64, 55, 0.04);
  box-shadow: 0 8px 22px rgba(42, 42, 42, 0.03);
}
.hh-search form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.hh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
  flex: 1 1 160px;
}
.hh-field label {
  font-size: 0.85rem;
  color: var(--dark);
}
.hh-field input[type="text"],
.hh-field input[type="date"],
.hh-field input[type="number"],
.hh-field select {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  font-size: 0.95rem;
  background: #fff;
}
.hh-btn {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 0.56rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(93, 64, 55, 0.12);
}
.hh-reset {
  background: transparent;
  border: 1px solid rgba(42, 42, 42, 0.08);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: black;
  text-decoration: none;
}

/* STATS */
.hh-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hh-stat {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(42, 42, 42, 0.04);
  box-shadow: 0 8px 20px rgba(42, 42, 42, 0.03);
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 140px;
}
.hh-num {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
}
.hh-label {
  color: var(--secondary);
  font-size: 0.88rem;
}

/* ROOM LIST */
.hh-rooms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.hh-room-card {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: linear-gradient(180deg, #fff, var(--light));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(42, 42, 42, 0.06);
  box-shadow: 0 10px 28px rgba(42, 42, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  padding: 12px;
}
.hh-room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(42, 42, 42, 0.08);
}

.hh-room-media {
  width: 30%;
  min-width: 150px;
  max-width: 240px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(212, 167, 98, 0.05);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hh-room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.hh-room-card:hover .hh-room-media img {
  transform: scale(1.03);
}

.hh-room-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hh-room-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hh-room-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hh-room-id {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-top: 4px;
}
.hh-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(212, 167, 98, 0.08),
    rgba(93, 64, 55, 0.02)
  );
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.hh-desc {
  color: rgba(42, 42, 42, 0.82);
  font-size: 0.92rem;
  max-height: 52px;
  overflow: hidden;
}

.hh-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.hh-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0.32rem 0.45rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(42, 42, 42, 0.04);
  font-size: 0.82rem;
  color: var(--secondary);
}

/* amenities */
.hh-amenities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.hh-amenity {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 42, 42, 0.06);
  font-size: 0.78rem;
  background: #fff;
  color: var(--secondary);
}

/* footer actions */
.hh-room-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.hh-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hh-price-amt {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--primary);
}
.hh-price-sub {
  color: var(--secondary);
  font-size: 0.8rem;
}

.hh-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hh-btn-wish {
  background: #fff;
  border: 1px solid rgba(42, 42, 42, 0.08);
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}
.hh-btn-view {
  background: #fff;
  border: 1px solid rgba(42, 42, 42, 0.08);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
.hh-btn-book {
  background: linear-gradient(180deg, var(--accent), rgba(212, 167, 98, 0.95));
  color: #fff;
  border: none;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

 /* Quick-view modal styles */
    .hh-modal {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2000;
    }

    .hh-modal.open {
      display: flex;
    }

    .hh-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(10, 10, 10, 0.45);
      backdrop-filter: blur(2px);
    }

    .hh-modal-panel {
      position: relative;
      background: #fff;
      border-radius: 12px;
      max-width: 980px;
      width: calc(100% - 40px);
      box-shadow: 0 20px 40px rgba(17, 24, 39, 0.35);
      overflow: hidden;
      transform: translateY(8px);
    }

    .hh-modal-close {
      position: absolute;
      right: 12px;
      top: 8px;
      background: transparent;
      border: none;
      font-size: 28px;
      color: #555;
      cursor: pointer;
      z-index: 3;
    }

    .hh-modal-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
    }

    .hh-modal-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      max-height: 420px;
    }

    .hh-modal-body {
      padding: 22px;
    }

    .hh-modal-body h2 {
      margin: 0 0 8px 0;
      font-size: 22px;
      color: #2b2b2b;
    }

    .hh-modal-meta {
      color: #777;
      font-size: 13px;
      margin-bottom: 8px;
    }

    .hh-modal-rating {
      color: #b9772a;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .hh-modal-price {
      margin-bottom: 14px;
    }

    .hh-modal-amenities {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 12px 0 18px;
    }

    .hh-amenity-badge {
      background: linear-gradient(180deg, #f6f6f6, #fff);
      border-radius: 8px;
      padding: 8px 10px;
      font-size: 13px;
      color: #555;
      box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04);
    }

    .hh-modal-actions {
      display: flex;
      gap: 12px;
      margin-top: 12px;
    }

    .hh-modal .hh-btn-viewlink {
      background: #fff;
      border: 1px solid #e5e7eb;
      color: #374151;
      padding: 10px 14px;
      border-radius: 8px;
      text-decoration: none;
    }

    .hh-modal .hh-btn-booklink {
      background: linear-gradient(90deg, #10b981, #059669);
      color: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      text-decoration: none;
    }

    @media (max-width: 900px) {
      .hh-modal-grid {
        grid-template-columns: 1fr;
      }

      .hh-modal-media img {
        max-height: 240px;
      }
    }

    /* Call button tooltip */
    .hh-btn-call,
    .hh-btn-calllink {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 8px;
      background: linear-gradient(90deg, #f3f4f6, #fff);
      border: 1px solid #e6e6e6;
      color: #000;
      text-decoration: none;
    }

    .hh-btn-call::after,
    .hh-btn-calllink::after {
      content: attr(data-phone);
      position: absolute;
      bottom: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      background: rgba(22, 22, 22, 0.9);
      color: #fff;
      padding: 6px 8px;
      border-radius: 6px;
      font-size: 12px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity .12s ease, transform .12s ease;
      transform-origin: center bottom;
    }

    .hh-btn-call:hover::after,
    .hh-btn-call:focus::after,
    .hh-btn-call.show-tooltip::after,
    .hh-btn-calllink:hover::after,
    .hh-btn-calllink:focus::after,
    .hh-btn-calllink.show-tooltip::after {
      opacity: 1;
      transform: translateX(-50%) translateY(-4px);
    }

/* small device responsive */
@media (max-width: 880px) {
  .hh-room-card {
    flex-direction: column;
  }
  .hh-room-media {
    width: 100%;
    height: 200px;
    max-width: none;
  }
  .hh-room-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hh-actions {
    justify-content: flex-end;
  }
}

/* minor utilities */
.hh-muted {
  color: rgba(42, 42, 42, 0.56);
  font-size: 0.9rem;
}
.hh-hidden {
  display: none !important;
}

/* notifications */
.hh-notif {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(42, 42, 42, 0.12);
  border: 1px solid rgba(42, 42, 42, 0.04);
}

/* accessibility focus */
button:focus,
a:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(93, 64, 55, 0.08);
  outline-offset: 2px;
}