/* ======================================
   HAVN STAYS – CLEAN CHECKOUT SYSTEM
====================================== */

body.woocommerce-checkout {
  background: #f4f6fb;
  color: #111827;
}

/* Page container */
.wc-block-checkout {
  max-width: 100%;
  margin: 56px auto;
  padding: 0 20px;
}

/* Two-column layout */
.wc-block-checkout__container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}
.hbe-main-grid {
  align-items: start;
}

.hbe-booking-card {
  align-self: start;
}

/* Main + Sidebar cards */
.wc-block-checkout__main,
.wc-block-components-sidebar {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* Section spacing */
.wc-block-checkout__section {
  margin-bottom: 40px;
}

/* Headings */
.wc-block-components-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Inputs */
.wc-block-components-text-input input,
.wc-block-components-select select,
.wc-block-components-textarea textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  padding: 16px 18px;
  font-size: 15px;
  background: #ffffff;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus,
.wc-block-components-textarea textarea:focus {
  border-color: #ff4f87;
  box-shadow: 0 0 0 3px rgba(255,79,135,0.12);
  outline: none;
}

/* Payment method cards */
.wc-block-components-radio-control__option {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 18px;
  margin-bottom: 16px;
  transition: all .2s ease;
}

.wc-block-components-radio-control__option:hover {
  border-color: #ff4f87;
}

.wc-block-components-radio-control__option[aria-checked="true"] {
  background: #fff1f6;
  border-color: #ff4f87;
}

/* Order summary */
.wc-block-components-order-summary {
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
}

.wc-block-components-order-summary-item {
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

/* Total emphasis */
.wc-block-components-totals-item__value {
  font-size: 22px;
  font-weight: 800;
}

/* Place Order CTA */
.wc-block-checkout__actions_row {
  margin-top: 48px;
}

.wc-block-components-checkout-place-order-button {
  width: 100%;
  background: #ff4f87 !important;
  color: #ffffff !important;
  border-radius: 20px;
  padding: 22px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(255,79,135,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(255,79,135,0.45);
}

/* Remove clutter */
.wc-block-components-checkout-return-to-cart-button {
  display: none;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 900px) {

.wc-block-checkout__container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
}


  /* Summary first on mobile */
  .wc-block-components-sidebar {
    order: -1;
  }

  .wc-block-checkout__main,
  .wc-block-components-sidebar {
    padding: 24px;
    border-radius: 18px;
  }

  .wc-block-components-checkout-place-order-button {
    padding: 20px;
    font-size: 17px;
  }
}

/* Left spacing for Order Summary (grid-safe) */
@media (min-width: 900px) {
  .wc-block-components-sidebar.wc-block-checkout__sidebar {
    padding-left: 56px;
  }
}

/* Remove background & shadow from LEFT checkout column */
.wc-block-checkout__main {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
}
/* ======================================
   ORDER SUMMARY – CONTENT & TYPOGRAPHY
====================================== */

/* Summary container */
.wc-block-components-order-summary {
  background: #f9fafb;
  border-radius: 16px;
  padding: 28px;
}

/* Section title */
.wc-block-components-order-summary__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Product row */
.wc-block-components-order-summary-item {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* Product name */
.wc-block-components-order-summary-item__description {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

/* Hotel / Room name emphasis */
.wc-block-components-order-summary-item__description strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

/* Booking details text */
.wc-block-components-order-summary-item__description span,
.wc-block-components-order-summary-item__description div {
  font-size: 13px;
  color: #6b7280;
}

/* Right-side price */
.wc-block-components-order-summary-item__total-price {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

/* Subtotals */
.wc-block-components-totals-item {
  padding: 14px 0;
}

/* Subtotal label */
.wc-block-components-totals-item__label {
  font-size: 14px;
  color: #6b7280;
}

/* Subtotal value */
.wc-block-components-totals-item__value {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* Final total */
.wc-block-components-totals-footer-item {
  border-top: 1px dashed #e5e7eb;
  padding-top: 18px;
  margin-top: 12px;
}

.wc-block-components-totals-footer-item__label {
  font-size: 16px;
  font-weight: 600;
}

.wc-block-components-totals-footer-item__value {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}


:root {
  --hbe-primary: #2563eb;
  --hbe-bg: #f8fafc;
  --hbe-card: #ffffff;
  --hbe-border: #e5e7eb;
  --hbe-text: #0f172a;
  --hbe-muted: #64748b;
}

body { margin: 0; }

.hbe-app {
  display: flex;
  min-height: 100vh;
  background: var(--hbe-bg);
  font-family: Inter, system-ui;
}

.hbe-sidebar {
  width: 260px;
  background: #0f172a;
  color: #fff;
  padding: 24px;
}

.hbe-sidebar a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #c7d2fe;
  margin-bottom: 6px;
  text-decoration: none;
}

.hbe-sidebar a.active,
.hbe-sidebar a:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.hbe-main {
  flex: 1;
  padding: 32px;
}

.hbe-card {
  background: var(--hbe-card);
  border-radius: 16px;
  padding: 24px;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.hbe-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.hbe-btn-primary {
  background: var(--hbe-primary);
  color: #fff;
}

.hbe-muted {
  color: var(--hbe-muted);
}
.hbe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.hbe-page-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--hbe-border);
  margin-bottom: 14px;
}
.hbe-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hbe-table {
  width: 100%;
  border-collapse: collapse;
}

.hbe-table th,
.hbe-table td {
  padding: 10px;
  border-bottom: 1px solid var(--hbe-border);
}
.hbe-sidebar a.active {
  font-weight: 600;
  color: #fff;
}
/* === HOTEL LISTING === */
.hbe-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.hbe-hotel-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
}

.hbe-hotel-card h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.hbe-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f5f5f5;
    display: inline-block;
    margin-bottom: 6px;
}

.hbe-price {
    font-size: 18px;
    font-weight: 600;
}

.hbe-muted {
    color: #888;
}

.hbe-btn {
    display: inline-block;
    margin-top: 10px;
    color: #e91e63;
    font-weight: 600;
    text-decoration: none;
}

.hbe-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 10px;
}

.hbe-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hbe-gallery-preview img {
  margin: 5px;
  border-radius: 6px;
}

/* ===== HOTEL PAGE ===== */
.hbe-hotel-page {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  font-family: Inter, sans-serif;
}

/* GALLERY */
/* ===== HOTEL GALLERY FIX ===== */

.hbe-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.hbe-gallery-main {
  height: 380px;
  overflow: hidden;
  border-radius: 14px;
}

.hbe-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hbe-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}

.hbe-gallery-grid div {
  overflow: hidden;
  border-radius: 12px;
  height: 180px;
}

.hbe-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hbe-view-all {
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


/* HEADER */
.hbe-hotel-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.hbe-tags {
  display: flex;
  gap: 8px;
}
.hbe-tag {
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

/* GRID */
.hbe-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

/* LEFT */
.hbe-section {
  margin-bottom: 32px;
}
.hbe-amenities {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

/* ROOM CARD */
.hbe-room-card {
  display: flex;
  gap: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
}
.hbe-room-img {
  width: 220px;
  height: 140px;
  background: #ddd;
  border-radius: 10px;
}
.hbe-room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hbe-add-btn {
  border: 1px solid #6b4eff;
  color: #6b4eff;
  background: transparent;
  padding: 6px 16px;
  border-radius: 8px;
}

/* BOOKING CARD */
.hbe-booking-card {
  position: sticky;
  top: 100px;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(135deg,#6b4eff,#ff7a18);
  color: #fff;
}
.hbe-book-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.qty button {
  background: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.hbe-reserve-btn {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  margin-top: 12px;
}

/* ===== GALLERY LIGHTBOX ===== */
.hbe-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.hbe-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.hbe-lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.hbe-lightbox-close {
  top: 20px;
  right: 30px;
  font-size: 48px;
}

.hbe-lightbox-prev {
  left: 30px;
}

.hbe-lightbox-next {
  right: 30px;
}

.hbe-lightbox-item {
  cursor: click;
}

/* ===== POLICY CARDS ===== */
.hbe-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.hbe-policy-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.hbe-policy-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.hbe-policy-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* === AMENITIES & TAGS === */
.hbe-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 14px;
}

.hbe-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hbe-amenity-item img,
.hbe-tag img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hbe-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.hbe-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.hbe-room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* ROOM LIGHTBOX */
.hbe-room-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.hbe-room-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
}

.hbe-room-lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

.hbe-room-close { top: 20px; right: 30px; }
.hbe-room-prev  { left: 30px; }
.hbe-room-next  { right: 30px; }

.hbe-room-card {
  margin-bottom: 20px;
}

.hbe-room-card {
  margin-bottom: 20px;
}

.hbe-room-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.hbe-old-price {
  color: #999;
  margin-right: 6px;
  font-size: 14px;
}

.hbe-new-price {
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.hbe-old-price {
  text-decoration-thickness: 2px;
}

.woocommerce-order .product-name strong {
    font-weight: 600;
}
.hbe-dashboard-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:20px;
}

.hbe-stat-card{
  background:#ffffff;
  padding:22px;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.hbe-stat-card h3{
  font-size:13px;
  color:#6b7280;
  margin-bottom:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.hbe-stat{
  font-size:30px;
  font-weight:700;
  color:#111827;
}

.hbe-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.hbe-table th,
.hbe-table td{
  padding:12px 10px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
}

.hbe-table th{
  font-weight:600;
  color:#374151;
  background:#f9fafb;
}

.hbe-status{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

.hbe-status-confirmed{
  background:#dcfce7;
  color:#166534;
}

.hbe-status-pending{
  background:#fef3c7;
  color:#92400e;
}

.hbe-status-cancelled{
  background:#fee2e2;
  color:#991b1b;
}

.hbe-dashboard-full{
  width:100%;
  margin-top:30px;
}
.hbe-form-wrapper{
  max-width:100%;
}

.hbe-form-title{
  font-size:28px;
  margin-bottom:20px;
}

.hbe-card{
  background:#fff;
  padding:24px;
  border-radius:16px;
  margin-bottom:24px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

.hbe-grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.hbe-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.hbe-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,120px);
  gap:12px;
  margin-top:15px;
}

.hbe-thumb{
  position:relative;
}

.hbe-thumb img{
  width:100%;
  border-radius:8px;
}

.hbe-remove{
  position:absolute;
  top:4px;
  right:6px;
  background:#000;
  color:#fff;
  border-radius:50%;
  width:20px;
  height:20px;
  text-align:center;
  cursor:pointer;
}
/* Force full-width content inside app shell */
.hbe-fullwidth{
  width:100%;
  max-width:100%;
}

/* Improve form layout */
.hbe-form-wrapper{
  padding:10px 0;
}

/* Make cards stretch */
.hbe-card{
  width:100%;
}
/* === OPTION GRID (Amenities / Tags) === */
.hbe-option-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:16px;
}

.hbe-option{
  position:relative;
}

.hbe-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.hbe-option-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 10px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  text-align:center;
  transition:.2s ease;
}

.hbe-option-box img{
  width:36px;
  height:36px;
  object-fit:contain;
}

.hbe-option-box span{
  font-size:14px;
  color:#0f172a;
  font-weight:500;
}

/* Checked state */
.hbe-option input:checked + .hbe-option-box{
  border-color:#0d9488;
  background:#ecfeff;
}
.hbe-step-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(135deg,#0d9488,#0f766e);
  padding:22px 26px;
  border-radius:18px;
  color:#fff;
  margin-bottom:28px;
}

.hbe-step-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.hbe-step-icon{
  width:44px;
  height:44px;
  background:rgba(255,255,255,.15);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

.hbe-step-badge{
  background:rgba(255,255,255,.2);
  padding:6px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}

.hbe-layout{
  display:grid;
  grid-template-columns:220px 1fr 280px;
  gap:24px;
  font-family:'Montserrat',sans-serif;
}

.hbe-left-nav{
  padding-top:40px;
}

.hbe-left-link{
  display:block;
  padding:12px 16px;
  margin-bottom:8px;
  border-radius:10px;
  background:#f1f5f9;
  font-weight:600;
  color:#0f172a;
  text-decoration:none;
}

.hbe-left-link.secondary{
  background:#fff;
  border:1px solid #e5e7eb;
}

.hbe-form-area{
  max-width:820px;
  margin:auto;
}

.hbe-step-header{
  background:linear-gradient(135deg,#0d9488,#0f766e);
  padding:22px;
  border-radius:18px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  margin-bottom:20px;
}

.hbe-form-card{
  background:#fff;
  padding:32px;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.08);
}

.hbe-form-title{
  font-size:24px;
  margin-bottom:4px;
}

.hbe-form-sub{
  color:#64748b;
  margin-bottom:20px;
}

.hbe-field label{
  font-weight:600;
  margin-bottom:6px;
  display:block;
}

.hbe-field input,
.hbe-field textarea,
select{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
}

.hbe-primary-btn{
  width:100%;
  margin-top:24px;
  padding:16px;
  background:#0d9488;
  color:#fff;
  font-weight:700;
  border:none;
  border-radius:14px;
}

.hbe-tips{
  background:#ffffff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.05);
}
/* === FORM RESET & PREMIUM LOOK === */
.hbe-form-area{
  max-width: 900px;
  margin: auto;
}

.hbe-form-header{
  background: linear-gradient(135deg,#0f766e,#0d9488);
  padding: 24px 28px;
  border-radius: 18px;
  color:#fff;
  margin-bottom: 24px;
}

.hbe-brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.hbe-brand h2{
  margin:0;
  font-size:22px;
  font-weight:700;
}

.hbe-brand p{
  margin:0;
  font-size:14px;
  opacity:.9;
}

/* Sections */
.hbe-section{
  margin-bottom: 32px;
}

.hbe-section-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:4px;
}

.hbe-section-sub{
  font-size:14px;
  color:#64748b;
  margin-bottom:18px;
}

/* Fields */
.hbe-field{
  margin-bottom:18px;
}

.hbe-field label{
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
}

.hbe-field input,
.hbe-field textarea,
.hbe-field select{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  font-family:Montserrat,sans-serif;
  font-size:14px;
}

.hbe-field textarea{
  resize:vertical;
}

/* Grid spacing */
.hbe-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.hbe-grid-3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:16px;
}

/* Save button */
.hbe-primary-btn{
  width:100%;
  padding:16px;
  border-radius:14px;
  background:#0d9488;
  color:#fff;
  font-size:16px;
  font-weight:700;
  border:none;
  cursor:pointer;
}
.hbe-tips{
  position:sticky;
  top:24px;
  background:#ffffff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.hbe-tips h4{
  font-size:16px;
  margin-bottom:12px;
}

.hbe-tips ul{
  padding-left:18px;
  color:#475569;
  font-size:14px;
}
/* =========================================================
   MODERN UI LAYER (NON-DESTRUCTIVE)
   Applies ONLY visual improvements
   ========================================================= */

/* ---------- GLOBAL ---------- */
.hbe-hotel-page,
.hbe-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.hbe-section h3,
.hbe-hotel-header h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- GALLERY ---------- */
.hbe-gallery {
  grid-template-columns: 2.2fr 1fr;
  gap: 16px;
}

.hbe-gallery-main,
.hbe-gallery-grid div {
  border-radius: 18px;
  overflow: hidden;
}

.hbe-gallery-main img,
.hbe-gallery-grid img {
  transition: transform .4s ease;
}

.hbe-gallery-main:hover img,
.hbe-gallery-grid div:hover img {
  transform: scale(1.05);
}

/* ---------- HEADER ---------- */
.hbe-hotel-header {
  margin: 24px 0;
}

.hbe-tags {
  flex-wrap: wrap;
}

.hbe-tag {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

/* ---------- MAIN GRID ---------- */
.hbe-main-grid {
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

/* ---------- AMENITIES ---------- */
.hbe-amenities {
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
}

.hbe-amenity-item {
  background: #f9fafb;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

/* ---------- ROOM CARDS ---------- */
.hbe-room-card {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.hbe-room-info h4 {
  font-size: 18px;
}

/* + / - buttons (JS SAFE) */
.hbe-room-actions button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.hbe-room-qty {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

/* ---------- BOOKING CARD ---------- */
.hbe-booking-card {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  border-radius: 20px;
  position: sticky;
  top: 100px;
}

.hbe-booking-card h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

.hbe-booking-card input,
.hbe-booking-card select {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
}

/* CTA */
.hbe-reserve-btn {
  background: linear-gradient(135deg,#ec4899,#f43f5e);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
}

.hbe-reserve-btn:disabled {
  opacity: .5;
}

/* ---------- POLICIES ---------- */
.hbe-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px; /* adjust: 16 / 24 / 32 */
}


.hbe-policy-card {
  border-radius: 16px;
}

/* ---------- FORMS ---------- */
.hbe-form-card {
  max-width: 860px;
  margin: auto;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.08);
}

.hbe-field input,
.hbe-field textarea,
.hbe-field select {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
}

/* Upload button */
.hbe-upload-btn {
  padding: 12px 20px;
  border-radius: 14px;
  background: #0d9488;
  color: #fff;
  font-weight: 600;
}

/* ---------- TIPS ---------- */
.hbe-tips {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 1024px) {
  .hbe-main-grid {
    grid-template-columns: 1fr;
  }
  .hbe-booking-card {
    position: static;
  }
}
/* ===== MODERN BOOKING CARD ===== */

.hbe-book-modern h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.hbe-book-sub {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 18px;
}

.hbe-book-section h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hbe-hour-packages {
  display: grid;
  gap: 10px;
}

.hbe-hour-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

.hbe-hour-card input {
  display: none;
}

.hbe-hour-card strong {
  display: block;
  font-size: 15px;
}

.hbe-hour-time {
  font-size: 12px;
  color: #64748b;
}

.hbe-hour-price {
  font-weight: 700;
}

.hbe-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.hbe-book-guests {
  margin-top: 16px;
}

.hbe-guest-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hbe-guest-qty button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
}

.hbe-book-cta {
  width: 100%;
  margin-top: 18px;
  background: linear-gradient(135deg,#ec4899,#f43f5e);
  color: #fff;
  border: none;
  padding: 14px;
  font-weight: 700;
  border-radius: 14px;
}

.hbe-book-note {
  font-size: 12px;
  color: #16a34a;
  margin-top: 10px;
}
.hbe-hour-card{
  border:1px solid #eee;
  transition:0.2s;
}
.hbe-hour-card:has(input:checked){
  border:2px solid #ff4f87;
  background:#fff0f6;
}
/* ===============================
   LOCATION SECTION (SINGLE COLUMN)
================================ */

.hbe-location-address {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.hbe-location-address strong {
  font-size: 16px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.hbe-location-address p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.hbe-location-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Mobile tweak */
@media (max-width: 768px) {
  .hbe-location-map iframe {
    height: 240px;
  }
}
/* ROOM FORM EXTENSIONS */

.hbe-upload-box {
  border: 2px dashed #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
}

.hbe-upload-box input {
  width: 100%;
}

.hbe-upload-box p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}
/* ROOMS PAGE */

/* ===== ROOMS – MODERN CARD ===== */

.hbe-room-card-modern {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  margin-bottom: 28px;
  align-items: center;
}

/* Image */
.hbe-room-thumb {
  width: 160px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.hbe-room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hbe-room-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 13px;
  color: #9ca3af;
}

/* Content */
.hbe-room-content {
  flex: 1;
}

.hbe-room-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.hbe-room-top h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

/* Edit button */
.hbe-room-edit {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.hbe-room-edit:hover {
  background: #e2e8f0;
}

/* Price */
.hbe-room-price {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.hbe-room-price span {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* Mobile */
@media (max-width: 768px) {
  .hbe-room-card-modern {
    flex-direction: column;
    align-items: stretch;
  }

  .hbe-room-thumb {
    width: 100%;
    height: 180px;
  }

  .hbe-room-top {
    flex-direction: column;
    gap: 8px;
  }
}

.hbe-room-actions-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hbe-soldout-toggle {
  background: #fff;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
}

.hbe-soldout-toggle.active {
  background: #dc2626;
  color: #fff;
}

.hbe-vendor-soldout {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc2626;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}
.hbe-room-card {
  position: relative;
}

.hbe-room-soldout {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626;
  color: #fff;
  padding: 6px 12px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 2;
}

.hbe-room-unavailable {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.hbe-hourly-soldout {
  text-align: center;
  padding: 28px;
  background: #fee2e2;
  border-radius: 16px;
}

.hbe-hourly-soldout span {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 10px 22px;
  font-size: 20px;
  font-weight: 800;
  border-radius: 12px;
  margin-bottom: 12px;
}

.hbe-hourly-soldout p {
  margin: 0;
  font-size: 14px;
  color: #7f1d1d;
}
/* Remove card shadow when sold out */


/* SOLD OUT container */
.hbe-hotel-soldout {
  position: relative;
  padding: 36px 28px;
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    rgba(255, 0, 80, 0.15),
    rgba(255, 0, 80, 0.05)
  );
  border: 1px solid rgba(255, 0, 80, 0.35);
  text-align: center;
  overflow: hidden;
  margin-top: 30px;
}


/* Subtle animated glow */
.hbe-soldout-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(255, 0, 80, 0.25),
    transparent
  );
  animation: spinGlow 6s linear infinite;
  opacity: 0.35;
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

/* SOLD OUT badge */
.hbe-soldout-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff0033, #ff3366);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(255, 0, 80, 0.5);
}

/* Main line */
.hbe-soldout-line {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #d93526;
}

/* Sub line */
.hbe-soldout-sub {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-size: 13px;
  color: #000205;
  letter-spacing: 0.2px;
}

/* Clean booking summary */
.hbe-checkout-summary {
  padding: 12px 0;
}

.hbe-title {
  font-size: 18px;
  font-weight: 600;
}

.hbe-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.hbe-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 6px;
}

.hbe-row.highlight {
  font-size: 16px;
  font-weight: 600;
}

.hbe-row.muted {
  color: #6b7280;
}

/* Remove minus sign visual */
.wc-block-components-formatted-money-amount {
  direction: ltr;
}

.hbe-search-wrapper {
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Tabs */
.hbe-search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.hbe-tab {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  background: #eee;
  font-weight: 600;
}

.hbe-tab.active {
  background: #111;
  color: #fff;
}

/* Search Bar */
.hbe-search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.hbe-field {
  padding: 10px 14px;
  border-right: 1px solid #eee;
}

.hbe-field:last-child {
  border-right: none;
}

.hbe-field label {
  font-size: 12px;
  color: #777;
}

.hbe-field input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
}

.hbe-submit button {
  background: #5b2dd8;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 26px;
  font-size: 16px;
  cursor: pointer;
}

.hbe-location-map {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.hbe-location-map h4 {
  margin-bottom: 12px;
}

.hbe-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* ===============================================
   HOTEL GALLERY - ENHANCED LIGHTBOX STYLES
================================================ */

/* Hotel Gallery Grid */
.hbe-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 450px;
}

.hbe-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

.hbe-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hbe-gallery-main:hover img {
  transform: scale(1.02);
}

.hbe-gallery-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  position: relative;
}

.hbe-hotel-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hbe-gallery-grid .hbe-hotel-gallery-item:first-child {
  border-radius: 0 20px 0 0;
}

.hbe-gallery-grid .hbe-hotel-gallery-item:last-of-type {
  border-radius: 0 0 20px 0;
}

.hbe-hotel-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hbe-hotel-gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery overlay for "more photos" */
.hbe-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  pointer-events: none;
}

/* View All Photos Button */
.hbe-view-all-photos {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}

.hbe-view-all-photos:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===============================================
   LIGHTBOX - HOTEL GALLERY
================================================ */

.hbe-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

.hbe-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hbe-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.hbe-lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hbe-lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hbe-lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 32px;
}

.hbe-lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hbe-lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hbe-lightbox-counter {
  margin-top: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
}

/* ===============================================
   ROOM GALLERY - ENHANCED STYLES
================================================ */

.hbe-room-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: box-shadow 0.2s ease;
}

.hbe-room-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hbe-room-gallery-section {
  width: 240px;
  flex-shrink: 0;
}

.hbe-room-img-main {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.hbe-room-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hbe-room-img-main:hover img {
  transform: scale(1.05);
}

.hbe-room-img-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hbe-room-noimg {
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
}

/* Room Thumbnail Strip */
.hbe-room-thumbs-strip {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.hbe-room-thumb-item {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.hbe-room-thumb-item:hover {
  border-color: #e91e63;
}

.hbe-room-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hbe-room-thumb-more {
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.hbe-room-thumb-more:hover {
  background: #334155;
}

/* Room Info Section */
.hbe-room-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hbe-room-info h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.hbe-room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 auto;
  font-size: 13px;
  color: #64748b;
}

.hbe-room-specs span {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}

.hbe-room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.hbe-room-footer .price {
  font-size: 14px;
  color: #64748b;
}

.hbe-room-footer .price strong {
  font-size: 20px;
  color: #0f172a;
}

/* ===============================================
   ROOM LIGHTBOX - ENHANCED STYLES
================================================ */

.hbe-room-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hbe-room-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hbe-room-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
}

.hbe-room-lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hbe-room-lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hbe-room-close {
  top: 20px;
  right: 20px;
  font-size: 32px;
}

.hbe-room-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hbe-room-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hbe-room-lightbox-counter {
  margin-top: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
}

/* ===============================================
   RESPONSIVE - GALLERY
================================================ */

@media (max-width: 768px) {
  .hbe-gallery {
    grid-template-columns: 1fr;
    max-height: none;
  }
  
  .hbe-gallery-main {
    border-radius: 16px;
    height: 250px;
  }
  
  .hbe-gallery-grid {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .hbe-gallery-grid .hbe-hotel-gallery-item {
    min-width: 120px;
    height: 80px;
    border-radius: 10px !important;
  }
  
  .hbe-view-all-photos {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  
  /* Room card mobile */
  .hbe-room-card {
    flex-direction: column;
  }
  
  .hbe-room-gallery-section {
    width: 100%;
  }
  
  .hbe-room-img-main {
    height: 200px;
  }
  
  /* Lightbox mobile */
  .hbe-lightbox button,
  .hbe-room-lightbox button {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  
  .hbe-lightbox-prev,
  .hbe-room-prev {
    left: 10px;
  }
  
  .hbe-lightbox-next,
  .hbe-room-next {
    right: 10px;
  }
}

/* ===============================================
   GALLERY MOSAIC - AIRBNB STYLE (v2)
================================================ */

.hbe-gallery-container {
  position: relative;
  margin-bottom: 24px;
}

.hbe-gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
}

.hbe-gallery-hero {
  position: relative;
  overflow: hidden;
  grid-row: span 2;
}

.hbe-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hbe-gallery-hero:hover img {
  transform: scale(1.03);
}

.hbe-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.hbe-gallery-thumb {
  position: relative;
  overflow: hidden;
}

.hbe-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hbe-gallery-thumb:hover img {
  transform: scale(1.05);
}

.hbe-gallery-last {
  position: relative;
}

.hbe-gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hbe-gallery-more-overlay span {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* View All Photos Button */
.hbe-gallery-viewall {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  z-index: 10;
}

.hbe-gallery-viewall:hover {
  background: #f7f7f7;
  transform: scale(1.02);
}

.hbe-gallery-empty {
  height: 300px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
}

/* Click cursor for gallery items */
.hbe-gallery-click {
  cursor: pointer;
}

/* ===============================================
   LIGHTBOX MODAL - COMPLETELY NEW (v2)
================================================ */

.hbe-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hbe-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.hbe-lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.hbe-lightbox-image-wrap {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hbe-lightbox-image-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Lightbox Buttons */
.hbe-lightbox-btn {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hbe-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hbe-lightbox-btn:active {
  transform: scale(0.95);
}

.hbe-lightbox-close-btn {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.hbe-lightbox-prev-btn,
.hbe-lightbox-next-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 300;
}

.hbe-lightbox-prev-btn {
  left: 24px;
}

.hbe-lightbox-next-btn {
  right: 24px;
}

/* Counter */
.hbe-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ===============================================
   RESPONSIVE - GALLERY MOSAIC
================================================ */

@media (max-width: 768px) {
  .hbe-gallery-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .hbe-gallery-hero {
    grid-row: auto;
    height: 280px;
  }
  
  .hbe-gallery-side {
    height: 160px;
  }
  
  .hbe-gallery-viewall {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    border-radius: 12px;
  }
  
  /* Lightbox mobile */
  .hbe-lightbox-prev-btn,
  .hbe-lightbox-next-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  
  .hbe-lightbox-prev-btn {
    left: 12px;
  }
  
  .hbe-lightbox-next-btn {
    right: 12px;
  }
  
  .hbe-lightbox-close-btn {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}
