/* =========================================================================
   Bumblebee Rooms & Booking — frontend styles  (v1.1)
   Matches the site: Kalnia headings, Jost body, gold accent.
   Heading sizes use higher specificity + !important so the theme's global
   heading sizes cannot override them.
========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Kalnia:wght@400;500;600;700&display=swap');

.bb-rooms,
.bb-room-single{
  --bb-heading-font:"Kalnia",Georgia,serif;
  --bb-body-font:"Jost","Poppins",sans-serif;
  --bb-accent:#C79A3B;
  --bb-ink:#211b14;
  --bb-muted:#6f685e;
  --bb-bg:#FAF6EF;
  --bb-card:#ffffff;
  --bb-line:rgba(27,22,17,.10);
  --bb-ease:cubic-bezier(.22,.61,.36,1);
  font-family:var(--bb-body-font);
  color:var(--bb-ink);
}
.bb-rooms *,.bb-rooms *::before,.bb-rooms *::after,
.bb-room-single *,.bb-room-single *::before,.bb-room-single *::after{ box-sizing:border-box; }

/* ---------- Buttons (slide-fill) ---------- */
.bb-rooms .bb-btn,.bb-room-single .bb-btn{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 26px;border-radius:999px;border:0;cursor:pointer;text-decoration:none;
  font-family:var(--bb-body-font);font-size:14px;font-weight:700;letter-spacing:.02em;
  background:var(--bb-accent);color:#fff;z-index:0;
  transition:color .4s var(--bb-ease),box-shadow .4s var(--bb-ease);
}
.bb-btn::before{ content:"";position:absolute;inset:0;z-index:-1;background:var(--bb-ink);
  transform:translateX(-101%);transition:transform .5s var(--bb-ease); }
.bb-btn:hover{ color:#fff;box-shadow:0 12px 26px rgba(199,154,59,.35); }
.bb-btn:hover::before{ transform:translateX(0); }
.bb-btn__arrow{ width:18px;height:18px;transition:transform .4s var(--bb-ease);flex:0 0 18px; }
.bb-btn:hover .bb-btn__arrow{ transform:translateX(4px); }
.bb-btn--block{ width:100%; }

/* ---------- "Our Rooms" section header ---------- */
.bb-rooms{ padding:90px 20px; }
.bb-rooms__inner{ max-width:1200px;margin-inline:auto; }
.bb-rooms-head{ display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:end;margin-bottom:44px; }
@media (max-width:820px){ .bb-rooms-head{ grid-template-columns:1fr;gap:14px;align-items:start;margin-bottom:32px; } }
.bb-eyebrow2{ display:flex;align-items:center;gap:12px;color:var(--bb-accent);
  font-family:var(--bb-heading-font);font-size:20px;letter-spacing:.02em;margin-bottom:10px; }
.bb-eyebrow2 .bb-diamond{ width:9px;height:9px;transform:rotate(45deg);border:1.5px solid var(--bb-accent);flex:0 0 9px; }
.bb-eyebrow2 .bb-eline{ width:56px;height:1px;background:var(--bb-accent);opacity:.7; }
.bb-rooms .bb-rooms-head__title{ font-family:var(--bb-heading-font)!important;font-weight:400!important;color:var(--bb-ink)!important;
  font-size:clamp(34px,5.2vw,58px)!important;line-height:1.05!important;margin:0!important;padding:0!important; }
.bb-rooms-head__right p{ margin:0;color:var(--bb-muted);font-size:17px;line-height:1.75; }

/* ---------- Room grid (fixed, no scroll) ---------- */
.bb-rooms-grid{ display:grid;grid-template-columns:repeat(var(--bb-cols,3),1fr);gap:26px; }
@media (max-width:1000px){ .bb-rooms-grid{ grid-template-columns:repeat(2,1fr);gap:20px; } }
@media (max-width:640px){ .bb-rooms-grid{ grid-template-columns:1fr; } }

.bb-room-card{
  position:relative;display:block;border-radius:16px;overflow:hidden;text-decoration:none;isolation:isolate;
  box-shadow:0 12px 30px rgba(27,22,17,.12);
  transition:transform .5s var(--bb-ease),box-shadow .5s var(--bb-ease);
}
.bb-room-card:hover{ transform:translateY(-6px);box-shadow:0 24px 48px rgba(27,22,17,.20); }
.bb-room-card__media{ position:relative;aspect-ratio:4/5;overflow:hidden;background:#2a2118;z-index:0; }
.bb-room-card__media img{ width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s var(--bb-ease); }
.bb-room-card:hover .bb-room-card__media img{ transform:scale(1.06); }
/* elegant fallback when a room has no photo yet */
.bb-room-card__placeholder{ display:block;width:100%;height:100%;
  background:linear-gradient(155deg,#2c2318 0%,#4a3a26 55%,#6d5326 100%); }
.bb-room-card__scrim{ position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(10,7,3,.92) 0%,rgba(10,7,3,.55) 34%,rgba(10,7,3,.05) 66%); }

.bb-room-card__content{ position:absolute;left:0;right:0;bottom:0;z-index:2;padding:24px 24px 26px;color:#fff;
  text-shadow:0 1px 14px rgba(0,0,0,.45); }
.bb-rooms .bb-room-card__title{ font-family:var(--bb-heading-font)!important;font-weight:400!important;color:#fff!important;
  font-size:clamp(22px,2.3vw,28px)!important;line-height:1.14!important;margin:0 0 12px!important;padding:0!important;
  overflow-wrap:break-word; }
.bb-room-card__meta{ display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 10px;
  color:rgba(255,255,255,.92);font-size:13.5px;font-family:var(--bb-body-font); }
.bb-room-card__meta span{ display:inline-flex;align-items:center;gap:7px; }
.bb-room-card__meta svg{ width:16px;height:16px;color:var(--bb-accent);flex:0 0 16px; }
.bb-rooms .bb-room-card__price{ font-family:var(--bb-heading-font)!important;font-weight:400!important;color:#fff!important;
  font-size:clamp(22px,2.3vw,28px)!important;line-height:1.1!important;margin:0!important; }

/* =========================================================================
   Single room page
========================================================================= */
.bb-eyebrow{ display:inline-block;font-size:13px;font-weight:600;letter-spacing:.30em;
  text-transform:uppercase;color:var(--bb-accent);margin-bottom:14px; }
.bb-room-single .bb-h2{ font-family:var(--bb-heading-font)!important;font-weight:400!important;color:var(--bb-ink)!important;
  font-size:clamp(22px,3vw,28px)!important;line-height:1.2!important;margin:0 0 16px!important;padding:0!important; }

.bb-room-single{ background:var(--bb-bg);padding:64px 20px; }
@media (max-width:600px){ .bb-room-single{ padding:40px 16px; } }
.bb-room-single__inner{ max-width:1160px;margin-inline:auto; }

.bb-room-single__head{ margin-bottom:28px; }
.bb-room-single .bb-room-single__title{ font-family:var(--bb-heading-font)!important;font-weight:400!important;color:var(--bb-ink)!important;
  font-size:clamp(30px,4.6vw,48px)!important;line-height:1.08!important;margin:0 0 14px!important;padding:0!important;
  overflow-wrap:break-word;hyphens:auto; }
.bb-room-single__meta{ display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;margin:0;color:var(--bb-muted);font-size:15px; }
.bb-room-single__meta span{ display:inline-flex;align-items:center;gap:9px; }
.bb-room-single__meta span::before{ content:"";width:8px;height:8px;transform:rotate(45deg);background:var(--bb-accent);flex:0 0 8px; }

.bb-room-single__cols{ display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:40px;align-items:start; }
@media (max-width:900px){ .bb-room-single__cols{ grid-template-columns:1fr;gap:30px; } }
.bb-room-single__main{ min-width:0; }

.bb-gallery{ margin:0 0 34px; }
.bb-gallery-swiper{ position:relative;border-radius:18px;overflow:hidden;box-shadow:0 20px 44px rgba(27,22,17,.16); }
.bb-gallery-swiper .swiper-slide{ aspect-ratio:16/10;background:#efe7d8; }
.bb-gallery-swiper .swiper-slide img{ width:100%;height:100%;object-fit:cover;display:block; }
.bb-gallery .swiper-pagination-bullet{ background:#fff;opacity:.6; }
.bb-gallery .swiper-pagination-bullet-active{ opacity:1;background:var(--bb-accent); }
.bb-nav{ position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;
  border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.35);color:#fff;
  font-size:22px;line-height:1;cursor:pointer;transition:background .3s; }
.bb-nav:hover{ background:var(--bb-accent);border-color:var(--bb-accent); }
.bb-nav--prev{ left:14px; } .bb-nav--next{ right:14px; }

.bb-room-single__desc{ color:var(--bb-muted);font-size:16px;line-height:1.8;margin-bottom:6px; }
.bb-room-single__desc p{ margin:0 0 16px; }
.bb-room-single__section{ margin-bottom:34px; }

.bb-amenities{ list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px 24px; }
@media (max-width:520px){ .bb-amenities{ grid-template-columns:1fr; } }
.bb-amenities li{ display:flex;align-items:flex-start;gap:10px;color:var(--bb-ink);font-size:15px; }
.bb-amenities svg{ width:20px;height:20px;flex:0 0 20px;color:var(--bb-accent);margin-top:1px; }

/* ---------- Booking card ---------- */
.bb-room-single__aside{ position:sticky;top:24px; }
@media (max-width:900px){ .bb-room-single__aside{ position:static; } }
.bb-booking{ background:var(--bb-card);border:1px solid var(--bb-line);border-radius:18px;
  padding:26px 24px;box-shadow:0 16px 40px rgba(27,22,17,.10); }
.bb-booking__price{ display:flex;align-items:baseline;gap:8px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--bb-line); }
.bb-booking__price .amt{ font-family:var(--bb-heading-font);font-size:30px;line-height:1;color:var(--bb-ink); }
.bb-booking__price .per{ color:var(--bb-muted);font-size:14px; }
.bb-booking__title{ font-family:var(--bb-heading-font)!important;font-weight:400!important;font-size:22px!important;
  line-height:1.2!important;margin:0 0 16px!important;color:var(--bb-ink)!important; }
.bb-grid2{ display:grid;grid-template-columns:1fr 1fr;gap:14px; }
.bb-field{ display:flex;flex-direction:column;gap:6px; }
.bb-field--full{ grid-column:1 / -1; }
.bb-field span{ font-size:13px;font-weight:600;color:var(--bb-ink); }
.bb-field input,.bb-field textarea{
  font-family:var(--bb-body-font);font-size:15px;color:var(--bb-ink);
  padding:11px 13px;border:1px solid var(--bb-line);border-radius:10px;background:#fff;width:100%;
  transition:border-color .25s,box-shadow .25s;
}
.bb-field input:focus,.bb-field textarea:focus{ outline:none;border-color:var(--bb-accent);box-shadow:0 0 0 3px rgba(199,154,59,.18); }
.bb-booking .bb-btn{ margin-top:6px; }
.bb-booking__note{ text-align:center;color:var(--bb-muted);font-size:12.5px;margin:12px 0 0; }
.bb-hp{ position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden; }

.bb-alert{ padding:12px 14px;border-radius:10px;margin-bottom:16px;font-size:14.5px;line-height:1.5; }
.bb-alert--ok{ background:#eaf7ee;color:#1c6b34;border:1px solid #bfe4c9; }
.bb-alert--err{ background:#fdeceb;color:#a3322b;border:1px solid #f3c6c2; }
.bb-empty{ color:var(--bb-muted);font-style:italic; }

/* ---------- At a glance (occupancy specs) ---------- */
.bb-specs{ display:grid;grid-template-columns:repeat(4,1fr);gap:14px; }
@media (max-width:640px){ .bb-specs{ grid-template-columns:repeat(2,1fr); } }
.bb-spec{ display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;
  background:var(--bb-card);border:1px solid var(--bb-line);border-radius:14px;padding:20px 12px;
  transition:transform .45s var(--bb-ease),box-shadow .45s var(--bb-ease); }
.bb-spec:hover{ transform:translateY(-3px);box-shadow:0 14px 30px rgba(27,22,17,.10); }
.bb-spec__icon{ display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  border-radius:50%;background:rgba(199,154,59,.12);color:var(--bb-accent);margin-bottom:6px; }
.bb-spec__icon svg{ width:23px;height:23px; }
.bb-spec__val{ font-family:var(--bb-heading-font);font-size:27px;line-height:1;color:var(--bb-ink); }
.bb-spec__label{ font-size:12.5px;letter-spacing:.01em;color:var(--bb-muted); }
.bb-roomcode{ margin:16px 0 0;font-size:13px;color:var(--bb-muted); }
.bb-roomcode strong{ color:var(--bb-ink);letter-spacing:.05em;margin-left:4px; }

/* ---------- Rate table ---------- */
.bb-rates-head{ display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px; }
.bb-room-single .bb-rates-head .bb-h2{ margin:0 !important; }
.bb-cur-toggle{ display:inline-flex;border:1px solid var(--bb-line);border-radius:999px;padding:3px;background:var(--bb-card); }
.bb-cur{ border:0;background:transparent;cursor:pointer;font-family:var(--bb-body-font);font-weight:600;font-size:13px;
  color:var(--bb-muted);padding:8px 18px;border-radius:999px;transition:color .3s,background .3s; }
.bb-cur.is-active{ background:var(--bb-accent);color:#fff;box-shadow:0 6px 16px rgba(199,154,59,.30); }
.bb-rates{ overflow-x:auto;border:1px solid var(--bb-line);border-radius:16px;background:var(--bb-card);
  box-shadow:0 12px 30px rgba(27,22,17,.06); }
.bb-ratetable{ border-collapse:collapse;width:100%;min-width:520px; }
.bb-ratetable th,.bb-ratetable td{ padding:15px 16px;text-align:center;border-bottom:1px solid var(--bb-line); }
.bb-ratetable thead th{ background:rgba(199,154,59,.08); }
.bb-ratetable thead .bb-rt-occ{ text-align:left; }
.bb-ratetable .bb-rt-code{ display:block;font-family:var(--bb-heading-font);font-size:20px;color:var(--bb-accent);
  text-decoration:none;border:0;cursor:help; }
.bb-ratetable .bb-rt-plan{ display:block;font-size:11px;letter-spacing:.01em;color:var(--bb-muted);margin-top:3px; }
.bb-ratetable tbody th{ text-align:left;font-family:var(--bb-body-font);font-weight:600;color:var(--bb-ink);font-size:15px; }
.bb-ratetable tbody tr:last-child th,.bb-ratetable tbody tr:last-child td{ border-bottom:0; }
.bb-ratetable tbody tr:nth-child(even) th,.bb-ratetable tbody tr:nth-child(even) td{ background:rgba(27,22,17,.02); }
.bb-price{ font-family:var(--bb-heading-font);font-size:18px;color:var(--bb-ink);white-space:nowrap; }
.bb-price .bb-dash{ color:var(--bb-muted);font-family:var(--bb-body-font); }
.bb-plan-legend{ list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin:16px 0 0;padding:0;
  color:var(--bb-muted);font-size:13px; }
.bb-plan-legend strong{ color:var(--bb-accent);margin-right:5px;font-weight:700; }
@media (max-width:520px){
  .bb-ratetable th,.bb-ratetable td{ padding:12px; }
  .bb-price{ font-size:15px; }
}

@media (prefers-reduced-motion:reduce){
  .bb-rooms *,.bb-room-single *{ transition:none !important; }
}

/* ---------- Package select (match the other booking fields) ---------- */
.bb-booking .bb-field select{
  font-family:var(--bb-body-font);
  font-size:15px;
  color:var(--bb-ink);
  padding:11px 42px 11px 13px;
  border:1px solid var(--bb-line);
  border-radius:10px;
  background-color:#fff;
  width:100%;
  cursor:pointer;
  line-height:1.3;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C79A3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  transition:border-color .25s,box-shadow .25s;
}
.bb-booking .bb-field select::-ms-expand{ display:none; }
.bb-booking .bb-field select:hover{ border-color:rgba(199,154,59,.55); }
.bb-booking .bb-field select:focus{
  outline:none;
  border-color:var(--bb-accent);
  box-shadow:0 0 0 3px rgba(199,154,59,.18);
}
.bb-booking .bb-field select option{ color:var(--bb-ink); }
