/*
Theme Name: Blocksy Child
Description: Child theme for Blocksy
Author: Kay
Template: blocksy
Version: 1.0
*/

/* =========================
   Variables
========================= */

:root{
  --te-gap: 12px;
  --te-thumb-h: 210px;
  --te-stack-h: calc((var(--te-thumb-h) * 2) + var(--te-gap));

  --te-white: #fff;
  --te-black: #000;

  --te-olive: #585D54;
  --te-olive-hover: #4b5048;
  --te-accent: #8A8F4A;

  --te-panel-dark: #5f625f;
  --te-panel-light: #585D5426;
  --te-panel-light-text: #57625f;

  --te-shadow-block: #585D54;
}

@font-face{
  font-family: "Playfair Display";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Playfair Display";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/PlayfairDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Playfair Display";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Playfair Display";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.entry-content hr,
.te-room hr,
.te-archive hr{
  width: 100%;
  height: 1px;
  background-color: #333;
  border: 0;
  margin: 0;
}

/* Fade in (simple) */
@keyframes teFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Fade in + slight lift */
@keyframes teFadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* HOME: header + content */
.home #header{
  animation: teFadeIn .25s ease-out both;
}

.home main#main{
  animation: teFadeInUp .35s ease-out both;
}

/* ALL OTHER PAGES: content only */
body:not(.home):not(.elementor-page) main#main{
  animation: teFadeInUp .35s ease-out both;
}
/* Individual home room cards */
.te-home-card{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  padding: 0 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.te-home-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

/* Image fills card - consistent ratio */
.te-home-card img,
.te-home-card__img{
  width: 100%;
  aspect-ratio: 16 / 9;   /* try 3/2 if you prefer */
  height: auto;           /* important */
  object-fit: cover;
  display: block;
  margin: 0 !important;
  transition: transform .35s ease;
}

.te-home-card:hover img{
  transform: scale(1.03);
}

/* Title below image */
.te-home-card__title,
.te-home-card h3,
.te-home-card h4{
  margin: 0 !important;
  padding: 14px 16px 16px !important;
  text-align: center;

  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;

  color: #2b2b2b;
  background: #fff;
}

.te-home-card__title a {
  text-decoration: none;
  color: inherit;
}

.te-home-card__title a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Text Wrapper */
.te-content {
  max-width: min(100ch, 90vw);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.te-shared-module{
  position: relative;
}

.te-shared-module .te-shared-gallery{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 !important;
  padding: 0 !important;
  /* Override WP gallery block layout */
  grid-template-columns: unset !important;
  grid-template-rows: unset !important;
  align-content: unset !important;
}

.te-shared-module .te-shared-gallery::-webkit-scrollbar{
  display: none;
}

.te-shared-module .te-shared-gallery a.te-room__gallery-item{
  flex: 0 0 calc(25% - 11px) !important;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  display: block !important;
  width: auto !important;
}

.te-shared-module .te-shared-gallery img{
  display: block !important;
  width: 100% !important;
  height: var(--te-thumb-h) !important;
  object-fit: cover;
}

.te-shared-module .te-room__gallery-hidden{
  display: none !important;
}

/* Arrow buttons — shared styles */
.te-shared-module .te-gallery-prev,
.te-shared-module .te-gallery-next,
.te-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-family: system-ui, -apple-system, sans-serif;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.te-shared-module .te-gallery-prev{ left: -18px; }
.te-shared-module .te-gallery-next{ right: -18px; }

/* =========================
   Footer (Blocksy)
========================= */

footer#footer,
footer#footer [data-row],
footer#footer [data-row] > div{
  transform: translateZ(0);
  backface-visibility: hidden;
}

footer#footer [data-row],
footer#footer .ct-container-fluid[data-columns-divider]{
  --rowDividerWidth: 0px;
  --rowDividerStyle: none;
  --rowDividerColor: transparent;

  --columnsDividerWidth: 0px;
  --columnsDividerStyle: none;
  --columnsDividerColor: transparent;

  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

footer#footer [data-row]::before,
footer#footer [data-row]::after,
footer#footer [data-row] > div::before,
footer#footer [data-row] > div::after,
footer#footer .ct-container-fluid::before,
footer#footer .ct-container-fluid::after{
  content: none !important;
  display: none !important;
}

/* Footer separators */
footer#footer :where(hr, .wp-block-separator){
  border: 0 !important;
  height: 1px !important;
  background: var(--te-white) !important;
  opacity: 1 !important;
}

/* IG row does not show separators */
footer#footer [data-row="top"] :where(hr, .wp-block-separator){
  display: none !important;
}

/* IG row full-bleed container */
footer#footer [data-row="top"] .ct-container-fluid{
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 50px;
}

/* Hide empty widget paragraph text in IG row */
footer#footer [data-row="top"] .ct-widget > p,
footer#footer [data-row="top"] #block-28 > p:empty{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer IG title section */
footer#footer [data-row="top"] .te-room__top{
  background: var(--te-white);
  padding: 18px 0;
  margin: 0;
  display: block;
}

footer#footer [data-row="top"] .te-room__title{
  position: relative;
  display: inline-block;
  padding: 0 56px;
  color: var(--te-black);
}

footer#footer [data-row="top"] .te-room__title-wrap{
  margin-bottom: 0;
}

footer#footer [data-row="top"] .te-room__title,
footer#footer [data-row="top"] .te-room__title-line{
  color: var(--te-black);
}

footer#footer [data-row="top"] .te-room__title-line{
  background: rgba(255,255,255,.35);
}

/* Instagram row stretch */
footer#footer [data-row="top"] #sb_instagram{
  width: 100% !important;
  max-width: none !important;
}

/* Middle row: 3 columns grid */
footer#footer [data-row="middle"] .ct-container-fluid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  padding-bottom: 50px;
}

footer#footer [data-row="middle"] [data-column^="widget-area-"]{
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
}

/* Normalize widget spacing so columns line up */
footer#footer .widget_text p:empty{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer#footer [data-row="middle"] .ct-widget{
  margin: 0 !important;
}

footer#footer [data-row="middle"] h3,
footer#footer [data-row="middle"] p{
  margin: 0 !important;
}

footer#footer [data-row="middle"] .wp-block-separator{
  margin: 2px auto 26px !important;
  max-width: 120px;
}


/* =========================
   Image shadow blocks
========================= */
.shadow-left .wp-block-image,
.shadow-right .wp-block-image{
  position: relative;
  display: inline-block;
}

.shadow-left .wp-block-image::after{
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  background: var(--te-shadow-block);
  z-index: -1;
}

.shadow-right .wp-block-image::after{
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  background: var(--te-shadow-block);
  z-index: -1;
}


/* =========================
   Headings and small layout helpers
========================= */
.meet-hosts{
  width: fit-content;
  max-width: 100%;
  text-align: left;
  font-family: "Libre Baskerville", serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.05;
  font-weight: 700;
  font-size: 3rem;
}

.meet-hosts .accent{
  font-family: "Lovers Quarrel", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 3em;
  line-height: 0.7;
  color: var(--te-accent);
  display: inline-block;
  margin-left: 0;
  transform: translate(0px,-15px);
}

.why-totara h2{
  text-align: center !important;
  margin: 0 auto;
}

.why-totara .meet-hosts .accent{
  font-size: 2.5em;
}

/* Readable content block (Shared Spaces, etc.) */
.readable-wrap{
  width: min(92vw, 1100px);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.readable-text,
.entry-content p,
.contact-group p,
.te-room__description p,
.te-archive__text{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
}

.readable-text{
  max-width: 100ch;
  margin: 0 auto 56px;
  font-size: clamp(17px, 1.05vw, 19px);    /* bigger, responsive */
  line-height: 1.75;                       /* more inviting */
  color: rgba(0,0,0,0.78);                  /* softer than pure black */
  letter-spacing: 0.01em;                  /* tiny readability boost */
  font-weight: 500;
}

/* Make links look intentional if any appear */
.readable-text a{
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* =========================
   Contact page container + tighter spacing (desktop)
========================= */
.te-contact-wrap{
  max-width: 980px;          /* adjust 900–1100 if needed */
  margin: 0 auto;
  padding: 0 24px;
}

.te-contact-wrap .wp-block-columns{
  gap: 26px !important;
  margin-block: 0 !important;
}

.te-contact-wrap p{
  margin: 0 0 14px;
}

/* =========================
   Contact list (robust)
========================= */
.contact-list p{
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  margin: 0 0 14px;
}

.contact-list svg{
  width: 18px;
  height: 18px;
  grid-column: 1;
  margin-top: 3px;
  opacity: 0.8;
}

/* Everything except the SVG goes in column 2 */
.contact-list p > :not(svg){
  grid-column: 2;
}

/* Links: no underline, underline on hover */
.contact-list a{
  text-decoration: none;
}
.contact-list a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list p{
  line-height: 1.35;
}

/* =========================
   Reduce giant gap under first section (you had inline 100px)
========================= */
.contact-group{
  margin-bottom: 44px !important;
}

/* =========================
   Find Us block
========================= */
.te-findus{
  margin-top: 10px !important;
}

.te-findus .wp-block-columns{
  gap: 26px !important;
  align-items: center;
}

.te-findus iframe{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 420px !important;
  border: 0 !important;
  border-radius: 14px;
}

.te-findus h2{
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.find-us-text{
  max-width: 48ch;
  margin: 0 auto;
  font-size: 1.50rem !important;
  line-height: 1.6;
  opacity: 0.9;
}

.te-findus .wp-block-column:last-child{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   Feature row (image + text)
========================= */
.feature-row{
  align-items: stretch;
  min-height: 420px;
}

.feature-image-col{
  height: 100%;
}

.feature-image-col img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text-col{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}


/* =========================
   Header: CTA menu item + social icons
========================= */
.menu-item-1109{
  display: flex;
  align-items: center;
}

.menu-item-1109 > a{
  margin-left: 10px;
  background-color: var(--te-olive);
  color: #ffffff !important;
  height: auto !important;
  min-height: unset !important;
  line-height: 1 !important;
  aspect-ratio: auto !important;
  padding: 7px 16px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.menu-item-1109 > a:hover{
  background-color: var(--te-olive-hover);
}

.ct-social-box{
  display: flex;
  flex-direction: column;
}


/* =========================
   Containers
========================= */
.te-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0 80px;
}


/* =========================
   Single accommodation (te-room)
========================= */

/* Title block */
.te-room__title-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 28px;
}

.te-room__top .te-room__title{
  position: relative;
  display: inline-block;
  padding: 0 56px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
}

.te-room__title::before,
.te-room__title::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  background-image: url("/wp-content/uploads/2025/12/totara-enclave-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: .9;
  display: block;
}

.te-room__title::before{ left: 0; }
.te-room__title::after{ right: 0; }

.te-room__title-line{
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.25);
  max-width: 120px;
}

/* Top layout */
.te-room__top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* Media grid */
.te-room__media{
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--te-gap);
  align-items: stretch;
}

.te-room__hero-link{
  display: block;
  height: var(--te-stack-h);
  border-radius: 18px;
  overflow: hidden;
}

.te-room__hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery */
.te-room__gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--te-gap);
}

.te-room__gallery-item{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.te-room__gallery-img{
  width: 100%;
  height: var(--te-thumb-h);
  object-fit: cover;
  display: block;
}

.te-room__gallery-more{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  background: rgba(0,0,0,0.45);
  color: var(--te-white);
}

/* Booking card */
.te-room__booking{
  position: sticky;
  top: 110px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  background: var(--te-white);
}

/* Scope booking card title so it does not clash with the big page title */
.te-room__booking .te-room__title{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}

/* Availability section */
.te-room__availability{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.te-room__calendar{
  margin-bottom: 40px;
}

/* Features */
.te-room__features{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.te-feature{
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;
}

.te-feature__icon{
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .9;
  margin-top: 2px;
}

.te-feature__title,
.te-feature__text{
  grid-column: 2;
  min-width: 0;
}

.te-feature__title{
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.te-feature__text{
  opacity: .75;
  margin: 0;
  line-height: 1.45;
}

/* Main content */
.te-room__main{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Room description spacing + readability */
.te-room__description{
  margin-top: 40px;
  max-width: 720px;       /* keeps text readable on desktop */
}

.te-room__description p{
  margin-bottom: 18px;
  line-height: 1.7;
}

.te-room__description h2,
.te-room__description h3{
  margin-top: 40px;
  margin-bottom: 16px;
}

.te-room__description ul{
  margin: 20px 0;
  padding-left: 20px;
}

.te-room__description li{
  margin-bottom: 10px;
}


/* =========================
   Instagram feed
========================= */
#sbi_images{
  margin: 0 !important;
  padding: 0 !important;
}

#sb_instagram{
  margin: 0 !important;
}


/* =========================
   Acommodation Page (te-archive)
========================= */
.te-archive{
  padding: 80px 0 80px;
}

.te-archive .te-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.te-archive__title-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin: 10px 0 28px;
}

.te-archive__title{
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  margin:0;
}

.te-archive__title-line{
  height:1px;
  width:90px;
  background: rgba(0,0,0,.35);
}

.te-archive__list{
  display:flex;
  flex-direction:column;
  gap:22px;
}

/* Card layout */
.te-archive__row{
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:0;
  align-items:stretch;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.te-archive__row:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* Image right variant */
.te-archive__row--image-right{
  grid-template-columns: 1fr 1.2fr;
}
.te-archive__row--image-right .te-archive__media{ order:2; }
.te-archive__row--image-right .te-archive__panel{ order:1; }

/* Media */
.te-archive__media{
  min-height: 240px;
}

.te-archive__img-link{
  display:block;
  height:100%;
}

.te-archive__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Panel */
.te-archive__panel{
  background: var(--te-panel-dark);
  color: var(--te-white);
  padding: 22px 22px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Panel variations */
.te-archive__row--bg-one .te-archive__panel{
  background: var(--te-panel-dark);
  color: var(--te-white) !important;
}

.te-archive__row--bg-two .te-archive__panel{
  background: var(--te-panel-light);
  color: var(--te-panel-light-text);
}

.te-archive__name{
  margin:0 0 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.75rem;
  text-align: center;
}

.te-archive__name a{
  color: inherit;
  text-decoration:none;
}
.te-archive__name a:hover{
  text-decoration:underline;
}

.te-archive__text{
  font-size: 1rem;
  line-height: 1.65;
  opacity: .95;
}

/* Make whole card clickable */
.te-archive__stretched-link{
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

.te-archive__media,
.te-archive__panel{
  position: relative;
  z-index: 1;
}

/* Optional CTA button: hidden on desktop */
.te-archive__actions{ margin-top: 14px; }
.te-archive__btn{
  display: none;
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration:none;
  font-size: 13px;
}

/* Dark cards */
.te-archive__row--bg-one .te-archive__name,
.te-archive__row--bg-one .te-archive__name a,
.te-archive__row--bg-one .te-archive__text{
  color: var(--te-white) !important;
}

/* Light cards */
.te-archive__row--bg-two .te-archive__name,
.te-archive__row--bg-two .te-archive__name a,
.te-archive__row--bg-two .te-archive__text{
  color: var(--te-panel-light-text);
}

/* Shared spaces */
.te-archive__title-wrap--spaced{ margin-top: 46px; }
.te-shared__content{ max-width: 900px; margin: 0 auto 18px; font-size: 14px; line-height: 1.7; }
.te-shared__image{ margin-top: 18px; }
.te-shared__img{ width:100%; height:auto; display:block; }

.te-shared{
  margin-top: 100px;
}

/* =========================
   Reviews
========================= */

.te-reviews{
  max-width: 1200px;
  position: relative;
  padding: 40px 20px;
  margin: 0 auto;
}

.te-reviews__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 0 56px;
  align-items: start; /* ✅ prevents all cards matching tallest */
}

.te-review{
  background: #b5b7b1;
  border-radius: 16px;
  padding: 18px 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: auto; /* ✅ was 100% */
  transition: transform 180ms ease;
  min-height: 240px;
}

.te-review:has(.te-review__text[data-collapsed="0"]){
  transform: translateY(-2px);
}

.te-review__stars{
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 8px;
}

.te-review__name{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.te-review__date{
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.te-review__text{
  font-size: 12px;
  line-height: 1.5;
  min-height: 6.5em;
  text-align: left;
  text-wrap: pretty;
  hyphens: auto;
  flex: 1 1 auto;
  overflow: hidden;
  transition: max-height 220ms ease;
  padding-bottom: 14px;
}

.te-review__text p{
  margin: 0;
}

.te-review__text p + p{
  margin-top: 10px;
}

.te-review__text[data-collapsed="1"]{
  max-height: 7.5em;
}

.te-review__text[data-collapsed="0"]{
  max-height: 40em;
}

.te-review__more{
  background: transparent;
  border: 0;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  margin-top: auto;   /* pins button to bottom */
  align-self: center;
  padding-top: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor; /* nicer than underline */
  line-height: 1.2;
}

.te-reviews__nav--prev{ left: 12px; }
.te-reviews__nav--next{ right: 12px; }

.te-reviews--grid .te-reviews__nav {
  display: none;
}

.te-reviews--grid .te-reviews__track {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  overflow: visible;
  padding: 0;
}

/* ============================= */
/*  CHECKOUT REFINEMENT STYLES  */
/* ============================= */

/* Force layout order inside Booking Details grid */
#mphb-booking-details{
  grid-auto-flow: row;
}

/* Row 1: Booking Details title (full width) */
#mphb-booking-details > .mphb-booking-details-title,
#mphb-booking-details > .mphb-room-type-details-title,
#mphb-booking-details > h3,
#mphb-booking-details > h4{
  grid-row: 1 !important;
  grid-column: 1 / -1 !important;
}

/* Row 2: the two date cards */
#mphb-booking-details > p.mphb-check-in-date{
  grid-row: 2 !important;
  grid-column: 1 !important;
}
#mphb-booking-details > p.mphb-check-out-date{
  grid-row: 2 !important;
  grid-column: 2 !important;
}

/* Row 3: Change dates button (full width) */
#mphb-booking-details > a.te-change-dates{
  grid-row: 3 !important;
  grid-column: 1 / -1 !important;
  justify-self: start;
  margin-top: 12px;
}

.text {
  background: black;
}

/* Row 4: rates block (full width) */
#mphb-booking-details > .mphb-reserve-rooms-details{
  grid-row: 4 !important;
  grid-column: 1 / -1 !important;
}

.te-change-dates{
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

.mphb-booking-details-title {
    color: black !important;
}

.te-change-dates:hover{
  background: rgba(0,0,0,0.05);
}

/* Hide per-room guest name field (optional field under Guests) */
.te-checkout .mphb-guest-name-wrapper{
  display: none !important;
}

.te-checkout{
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 18px 60px;
}

/* ---------- Section Cards ---------- */

.te-checkout .mphb-checkout-form,
.te-checkout .mphb-reservation-details,
.te-checkout .mphb-reservation-total,
.te-checkout .mphb-price-breakdown,
.te-checkout form{
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.06);
  margin-bottom: 28px;
}

/* ---------- Headings & Labels ---------- */

.te-checkout h2,
.te-checkout h3{
  margin-bottom: 14px;
}

.te-checkout label{
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

/* ---------- Form Fields ---------- */

.te-checkout input,
.te-checkout select,
.te-checkout textarea{
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: 0.2s ease;
  background: #fff;
}

/* Text-based inputs only */
.te-checkout input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.te-checkout select,
.te-checkout textarea{
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  line-height: 1.35;
  min-height: 48px;
  background: #fff;
  transition: 0.2s ease;
}

/* Reset radio + checkbox */
.te-checkout input[type="radio"],
.te-checkout input[type="checkbox"]{
  width: auto;
  min-height: auto;
  padding: 0;
  margin-right: 6px;
}

/* ---------- Price Breakdown Table ---------- */

/* Price breakdown: remove harsh borders and tidy spacing */
.te-checkout .mphb-price-breakdown{
  border: 0 !important;
  box-shadow: none !important;
}

.te-checkout .mphb-price-breakdown,
.te-checkout .mphb-price-breakdown th,
.te-checkout .mphb-price-breakdown td{
  border-left: 0 !important;
  border-right: 0 !important;
}

.te-checkout .mphb-price-breakdown tr{
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.te-checkout .mphb-price-breakdown tr:last-child{
  border-bottom: 0 !important;
}

/* Optional: make the + expand control look nicer */
.te-checkout .mphb-price-breakdown-expand{
  text-decoration: none;
}
.te-checkout .mphb-inner-icon{
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.14);
  margin-right: 8px;
}

/* ---------- Total Section ---------- */

.te-checkout .mphb-reservation-total{
  font-size: 1.1rem;
}

/* ---------- Primary Button ---------- */

.te-checkout .mphb-book-button,
.te-checkout input[type="submit"],
.te-checkout button{
  background: #2e352f; /* adjust to match your theme */
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.te-checkout .mphb-book-button:hover,
.te-checkout input[type="submit"]:hover,
.te-checkout button:hover{
  transform: translateY(-2px);
  opacity: 0.92;
}

.te-checkout .mphb-room-rate-variant{
  margin-bottom: 10px;
}

/* ===============================
   Check-in / Check-out Layout
================================ */

.te-checkout #mphb-booking-details{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title title"
    "checkin checkout"
    "rest rest";
  gap: 20px;
  margin-bottom: 28px;
}

/* Title full width */
.te-checkout #mphb-booking-details .mphb-booking-details-title{
  grid-area: title;
  margin: 0 0 6px;
}

/* Assign areas */
.te-checkout #mphb-booking-details .mphb-check-in-date{
  grid-area: checkin;
}

.te-checkout #mphb-booking-details .mphb-check-out-date{
  grid-area: checkout;
}

/* Card styling */
.te-checkout #mphb-booking-details .mphb-check-in-date,
.te-checkout #mphb-booking-details .mphb-check-out-date{
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  margin: 0;
}

/* Make the label subtle */
.te-checkout .mphb-check-in-date span:first-child,
.te-checkout .mphb-check-out-date span:first-child{
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}

/* Make date stronger */
.te-checkout .mphb-check-in-date strong,
.te-checkout .mphb-check-out-date strong{
  font-size: 1.1rem;
}

/* Everything else under booking details goes full width */
.te-checkout #mphb-booking-details .mphb-reserve-rooms-details{
  grid-area: rest;
}

/* =========================
   ABOUT US (page-id-245)
   ========================= */

/* Page width + breathing room */
body.page-id-245 .entry-content.is-layout-constrained{
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(16px, 2.5vw, 26px);
}

/* Sections */
body.page-id-245 .te-about-section{
  margin-block: clamp(56px, 7vw, 96px);
}

/* Reverse only this section */
body.page-id-245 .te-about-section--reverse > .wp-block-columns > .wp-block-column:first-child{
  order: 1;
}

body.page-id-245 .te-about-section--reverse > .wp-block-columns > .wp-block-column:last-child{
  order: 2;
}

/* Text: readable */
body.page-id-245 .te-about-section .about-us-text,
body.page-id-245 .te-about-section .why-totara{
  max-width: 64ch;
}

body.page-id-245 .te-about-section .about-us-text p,
body.page-id-245 .te-about-section .why-totara p{
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.75;
  margin: 0 0 14px;
}

/* Heading block spacing */
body.page-id-245 .te-about-section .meet-hosts-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 18px !important;
}

body.page-id-245 .te-about-section h2.meet-hosts{
  margin: 0 !important;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Images: consistent sizing + polish */
body.page-id-245 .te-about-section .about-us-images figure{
  margin: 0 0 18px !important;
}

body.page-id-245 .te-about-section .about-us-images img{
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

/* Fix the portrait being narrower than the 541px images */
body.page-id-245 .te-about-section .about-us-images img[width="400"][height="533"]{
  max-width: 541px;
  margin-left: auto;
  margin-right: auto;
}

.about-us-images .wp-block-image:last-child img {
  max-height: 420px;
  object-fit: cover;
  object-position: center 80%;
  width: 100%;
}

/* Caption under the Why image */
body.page-id-245 .te-about-section p.has-small-font-size{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.75;
}

/* Instagram section: integrate */
body.page-id-245 .entry-content #sb_instagram{
  margin-top: clamp(40px, 6vw, 90px);
  padding-top: clamp(22px, 3.5vw, 42px);
  border-top: 1px solid rgba(0,0,0,0.12);
}

body.page-id-245 .entry-content #sb_instagram .sbi_photo{
  border-radius: 12px;
  overflow: hidden;
}

body.page-id-245 .te-about-section .about-us-images{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mphb_sc_checkout-wrapper {
    text-align: center;
    padding: 40px 20px;
}

.mphb-reservation-submitted-title {
    font-size: 1.6rem;
    color: #060606;
    margin-bottom: 12px;
}

.mphb_sc_checkout-success-reservation-message {
    font-size: 1rem;
    color: #555;
    max-width: 480px;
    margin: 0 auto;
}

.cabins-grid .wp-block-columns + .wp-block-columns {
  margin-top: 3rem !important;
}

/* Stripe card element — ensure container is block and has breathing room */
#mphb-stripe-card-element{
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(0,0,0,0.14) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

/* Let the iframe inside breathe */
#mphb-stripe-card-element iframe{
  min-height: 24px !important;
  width: 100% !important;
}

/* The __PrivateStripeElement wrapper */
#mphb-stripe-card-element .\\__PrivateStripeElement{
  width: 100% !important;
}

.menu-item-2059 {
  display: flex;
  align-items: center;
}

.home-book-button > a:hover {
  background: var(--theme-palette-color-2) !important;
}

.menu-item-2059 > .ct-menu-link {
  background: #585d54 !important;
  color: #fff !important;
  font-weight: 800;
  padding: 0.2em 0.5em !important;
  margin-left: 0.5em !important;
  border-radius: 14px;
 /* line-height: 1 !important; */
  align-self: center !important;
  height: auto !important;
  transition: background 0.2s ease;
}

.menu-item-2059 > a:hover {
  background: var(--theme-palette-color-2) !important;
  color: #fff !important;
}

.te-room__other {
  padding: 4rem 0;
}

.te-room__other-title {
  text-align: center;
  margin-bottom: 2rem;
}

.te-room__other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.te-other-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.te-other-card:hover {
  transform: translateY(-4px);
}

.te-other-card__image {
  aspect-ratio: 4 / 3;
  overflow: clip;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.te-other-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.te-other-card:hover .te-other-card__img {
  transform: scale(1.05);
}

.te-other-card__title {
  text-align: center;
  font-size: 1.25rem;
  margin: 0;
}

/* ===== Mobile Stack ===== */
/* responsive */
@media (min-width: 1024px){
  .te-reviews__track{
    grid-auto-columns: calc((100% - 48px) / 3); /* 3 cards visible */
  }
}

@media (max-width: 781px) {
  .cabins-grid .wp-block-columns + .wp-block-columns {
    margin-top: 2rem !important;
  }
}


/* =========================
   Responsive
========================= */
@media (max-width: 900px){
  :root{
    --te-thumb-h: 120px;
  }

  .site-title{
    max-width: 8ch !important;
  }

  .te-container{
    padding: 18px 12px;
  }
  
  .te-checkout .mphb-booking-details{
    grid-template-columns: 1fr;
  }
  
.te-checkout #mphb-booking-details{
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "title"
    "checkin"
    "checkout"
    "rest" !important;
  gap: 14px;
}

.te-checkout #mphb-booking-details > p.mphb-check-in-date,
  .te-checkout #mphb-booking-details > p.mphb-check-out-date{
    grid-row: auto !important;
    grid-column: 1 / -1 !important;
  }

  .te-checkout{
    padding-left: 10px;
    padding-right: 10px;
  }

  .te-checkout .mphb-checkout-form,
  .te-checkout form{
    padding: 16px !important;
  }
	
	.te-home-rooms{
    padding-left: 16px;
    padding-right: 16px;
  }

  .te-home-card {
    position: relative;
    overflow: clip;
    border-radius: 14px;
    background: #fff;
    padding: 0 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
    cursor: pointer;
  }
	
	.te-home-card img,
  .te-home-card__img{
    aspect-ratio: 4 / 3;  /* less wide on mobile */
  }

  .te-home-card__title,
  .te-home-card h3,
  .te-home-card h4{
    font-size: 1.2rem;
    letter-spacing: .20em;
    padding: 12px 14px 14px !important;
  }

  /* Footer: stack middle row */
  footer#footer [data-row="middle"] .ct-container-fluid{
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  footer#footer [data-row="middle"] [data-column^="widget-area-"]{
    align-items: center;
    text-align: center;
  }

/* Room: stack media and availability */
.te-room__media{
  grid-template-columns: 1fr;
}

/* If you added te-room__availability--with-desc, use flex on mobile so we can reorder */
.te-room__availability--with-desc{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Fallback: if not using --with-desc, still stack */
.te-room__availability{
  grid-template-columns: 1fr;
}

/* Booking: on mobile it should NOT be sticky and should appear first */
.te-room__availability--with-desc .te-room__booking{
  order: 1;
  position: static;
  padding: 14px;
}

.te-room__availability--with-desc .te-room__left{
  order: 2;
  min-width: 0;
}

/* If you are not using the --with-desc wrapper, keep your original behaviour */
.te-room__booking{
  position: static;
  padding: 14px;
}

.te-room__features{
  grid-template-columns: 1fr;
}

/* Prevent overflow (don’t kill horizontal scroll for the calendar) */
.te-room{
  overflow-x: clip; /* was hidden */
}

.te-room img,
.te-room iframe,
.te-room table{
  max-width: 100%;
}

/* Calendar on small screens */
.te-room__calendar{
  width: 100%;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* MotoPress calendar: override inline fixed widths */
.te-room__calendar .datepick,
.te-room__calendar .datepick-multi,
.te-room__calendar .mphb-calendar{
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep the inner table constrained */
.te-room__calendar table{
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
}

.te-room__calendar th,
.te-room__calendar td{
  padding: 6px !important;
  font-size: 12px;
  word-break: break-word;
}

/* Booking form inputs fit card */
.te-room .mphb-booking-form,
.te-room .mphb-booking-form *{
  box-sizing: border-box;
  max-width: 100%;
}

.te-room .mphb-booking-form input,
.te-room .mphb-booking-form select,
.te-room .mphb-booking-form textarea,
.te-room .mphb-booking-form button{
  width: 100% !important;
  max-width: 100% !important;
}

/* Title wrap */
.te-room__title-wrap{
  flex-direction: column;
  gap: 10px;
}

.te-room__top .te-room__title{
  padding: 0 !important;
}

.te-room__title::before,
.te-room__title::after{
  display: none !important;
}

.te-room__title-line{
  max-width: 60px;
}

  /* Feature row stack */
  .feature-row{
    min-height: auto;
  }

  .feature-image-col{
    height: 240px;
    order: 1;
  }

  .feature-image-col img{
    height: 100%;
  }

  .feature-text-col{
    padding: 32px 24px;
    order: 2;
  }

  .accom-highlights{
    text-align: center !important;
  }

  .ruler{
    display: block !important;
  }

  h1, h2{
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  h2{
    font-size: 1.75rem;
  }

  /* Hide CTA menu button on mobile */
  .menu-item-1109 a{
    display: none;
  }

  .why-totara .meet-hosts{
    font-size: 2em;
  }
	
body.page-id-245 .te-about-section > .wp-block-columns{
  gap: 18px;
  flex-direction: column;
}

body.page-id-245 .te-about-section .wp-block-column{
  padding: 0 16px !important;
}

body.page-id-245 .te-about-section--reversed > .wp-block-columns{
  flex-direction: column;
}

  body.page-id-245 .te-about-section .about-us-text,
  body.page-id-245 .te-about-section .why-totara{
    max-width: 100%;
  }
	
  body.page-id-245 .te-about-section--normal > .wp-block-columns > .wp-block-column:first-child{
    order: 2;
  }

  body.page-id-245 .te-about-section--normal > .wp-block-columns > .wp-block-column:last-child{
    order: 1;
  }
	
  body.page-id-245 .te-about-section--reversed > .wp-block-columns > .wp-block-column:first-child{
    order: 1;
  }

  body.page-id-245 .te-about-section--reversed > .wp-block-columns > .wp-block-column:last-child{
    order: 2;
  }

  /* Header social icons row on mobile */
  .ct-social-box{
    flex-direction: row;
  }

  /* Archive: stack cards and show CTA button */
  .te-archive__btn{
    display: inline-block;
  }

  .te-archive__row,
  .te-archive__row--image-right{
    grid-template-columns: 1fr;
  }

  .te-archive__row--image-right .te-archive__media,
  .te-archive__row--image-right .te-archive__panel{
    order: initial;
  }

  .te-archive__media{
    min-height: 220px;
  }
  
  .te-reviews--slider {
    padding: 30px 14px;
    max-width: 100%;
    overflow: visible;
  }

  .te-reviews--slider .te-reviews__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 14px;
  }

  .te-reviews--slider .te-review {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .te-reviews--slider .te-reviews__nav {
    width: 32px;
    height: 32px;
    top: 55%;
  }

  .te-reviews--slider .te-reviews__nav--prev { left: 6px; }
  .te-reviews--slider .te-reviews__nav--next { right: 6px; }

  /* Grid reviews → slider on mobile */
  .te-reviews--grid {
    padding: 30px 14px;
    max-width: 100%;
    overflow: visible;
  }

  .te-reviews--grid .te-reviews__track {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 14px;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
  }

  .te-reviews--grid .te-review {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .te-reviews--grid .te-reviews__nav {
    display: flex;
    place-items: center;
    font-size: 22px;
    width: 32px;
    height: 32px;
    top: 55%;
  }

  .te-reviews--grid .te-reviews__nav--prev { left: 6px; }
  .te-reviews--grid .te-reviews__nav--next { right: 6px; }

  .te-review__more {
    text-decoration: underline;
    color: black;
  }

  /* Narrow the Stripe card element to prevent internal overflow on mobile */
.te-checkout .mphb-stripe-payment-fields{
  max-width: 100%;
  overflow: hidden;
}

#mphb-stripe-card-element{
  max-width: 100% !important;
}

  /* Make wrapper feel less wide */
  .te-contact-wrap{
    padding: 0 18px;
  }

  /* Stack columns nicely */
  .te-contact-wrap .wp-block-columns{
    gap: 20px !important;
  }

  /* Contact list spacing */
  .contact-list p{
    margin: 0 0 12px;
    column-gap: 10px;
  }

  .contact-list svg{
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  /* Form fields feel tighter */
  .fluentform_wrapper .ff-el-group{
    margin-bottom: 14px;
  }

  /* Map cleaner and not oversized */
  .te-findus iframe{
    height: 300px !important;
    border-radius: 12px;
  }

  /* Find us text a bit wider on small screens */
  .find-us-text{
    max-width: 100%;
  }

  .te-shared-gallery{
    --te-gap: 12px;
  }

  .te-shared-gallery{
    gap: var(--te-gap);
  }

  .te-shared-gallery img{
    border-radius: 18px;   /* slightly softer on mobile */
  }

  .te-shared-gallery .te-room__gallery-more{
    font-size: 22px;
    font-weight: 600;
  }

    .te-shared-gallery img{
    height: --te-thumb-h;
    width: 100% !important;
    object-fit: cover !important;
  }

  .te-shared-module .te-shared-gallery a.te-room__gallery-item{
    flex: 0 0 85% !important;
  }

  .te-shared-module .te-gallery-prev{ left: 4px; }
  .te-shared-module .te-gallery-next{ right: 4px; }

  .about-us-images .wp-block-image:last-child img {
  max-height: 280px;
}

  .find-us-map {
    order: 2;
  }
  .find-us-content {
    order: 1;
  }

  .te-checkout #mphb-booking-details > p.mphb-check-in-date,
  .te-checkout #mphb-booking-details > p.mphb-check-out-date,
  .te-checkout #mphb-booking-details > a.te-change-dates,
  .te-checkout #mphb-booking-details > .mphb-reserve-rooms-details,
  .te-checkout #mphb-booking-details > .mphb-booking-details-title,
  .te-checkout #mphb-booking-details > .mphb-room-type-details-title,
  .te-checkout #mphb-booking-details > h3,
  .te-checkout #mphb-booking-details > h4{
    grid-row: auto !important;
    grid-column: 1 / -1 !important;
  }

  .te-checkout .mphb-stripe-payment-fields,
  #mphb-stripe-card-element{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #mphb-stripe-card-element iframe{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

    .te-other-cabins {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 12px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin-left: -1rem;
      margin-right: -1rem;
      padding-left: 1rem;
      padding-right: 1rem;
    }
  
    .te-other-cabins::-webkit-scrollbar {
      display: none;
    }
  
    .te-other-card {
      flex: 0 0 92%;
      scroll-snap-align: start;
    }
}