/* ==========================================================================
   1. CSS RESET & ROOT VARIABLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --cream: #efe9e0;
  --cream2: #f8f5ef;
  --dark: #171713;
  --green: #14251b;
  --olive: #566139;
  --gold: #c8a96a;
  --text: #28251f;
  --muted: #746e63;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(14px, 0.35vw + 12px, 16px);
}




/* ==========================================================================
   2. HERO SECTION & SLIDER
   ========================================================================== */

.hero {
  height: 555px;
  position: relative;
  overflow: hidden;
  background: #211a13;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.07);
  filter: saturate(.96);
  transition:
    opacity 1.15s cubic-bezier(.22, .61, .36, 1),
    transform 7s cubic-bezier(.22, .61, .36, 1),
    filter 1.15s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .78) 0%,
      rgba(0, 0, 0, .48) 45%,
      rgba(0, 0, 0, .08) 78%
    );
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 5.3%;
  top: 120px;
  color: #fff;
}

.eyebrow {
  font-size: calc(clamp(9px, 0.55vw, 12px) + 2px);
  font-weight: 700;
  letter-spacing: clamp(1.5px, 0.15vw, 2.5px);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: calc(clamp(38px, 4.1vw, 64px) + 2px);
  line-height: .94;
  font-weight: 500;
  margin: 0;
}

.hero h1 em {
  font-family: "Brush Script MT", cursive;
  font-size: calc(clamp(42px, 4.3vw, 68px) + 2px);
  color: #d4b36b;
  font-weight: 400;
  white-space: nowrap;
}

.hero-text {
  font-size: calc(clamp(12px, 0.9vw, 15px) + 2px);
  line-height: 1.55;
  margin: 20px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: clamp(10px, .8vw, 14px) clamp(14px, 1.4vw, 23px);
  border-radius: 25px;
  font-size: clamp(8px, 0.55vw, 11px);
  font-weight: 700;
  letter-spacing: .4px;
}

.btn-solid {
  background: #68734b;
  color: #fff;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn span {
  font-size: 17px;
  margin-left: 15px;
}


/* ==========================================================================
   HERO ARROWS & DOTS
   ========================================================================== */

.hero-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, .5);
  border-color: #d4b36b;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 23px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: .8;
  transition: .25s;
}

.hero-dots button.active {
  width: 25px;
  border-radius: 10px;
  background: #d4b36b;
  border-color: #d4b36b;
}


/* ==========================================================================
   3. OFFER CARD
   ========================================================================== */

.offer-card {
  position: absolute;
  z-index: 5;
  right: 5.2%;
  top: 99px;
  width: 295px;
  background: #f8f5ed;
  border-radius: 19px;
  padding: 19px 23px;
  color: #26231e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  text-align: center;
}

.offer-label {
  font-size: calc(clamp(8px, .5vw, 11px) + 2px);
  letter-spacing: 1.5px;
  color: #8c7860;
  font-weight: 700;
  margin: 0 0 6px;
}

.offer-card h2 {
  font-family: var(--serif);
  font-size: calc(clamp(20px, 1.55vw, 27px) + 2px);
  margin: 0 0 14px;
}

.offer-features {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d9d0c2;
  padding-bottom: 13px;
}

.offer-features div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: calc(clamp(7px, .48vw, 10px) + 2px);
}

.offer-features b {
  font-size: 17px;
  font-weight: 400;
}

.price-line,
.saving,
.pay-label {
  font-size: calc(clamp(9px, .55vw, 11px) + 2px);
}

.price-line {
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
}

.price-line s {
  color: #5d5a54;
}

.discount {
  text-align: left;
  color: #c56d2c;
  font-size: calc(clamp(11px, .7vw, 14px) + 2px);
  font-weight: 700;
  margin-top: 8px;
}

.saving {
  text-align: left;
  margin-top: 12px;
}

.saving strong {
  display: block;
  font-size: calc(clamp(11px, .7vw, 14px) + 2px);
  margin-top: 3px;
}

.pay-label {
  text-align: left;
  border-top: 1px solid #d9d0c2;
  margin-top: 10px;
  padding-top: 10px;
}

.pay-price {
  text-align: left;
  font-family: var(--serif);
  font-size: calc(clamp(24px, 1.8vw, 31px) + 2px);
  font-weight: 700;
  margin: 0 0 12px;
}

.offer-btn {
  display: block;
  background: #68734b;
  color: white;
  border-radius: 20px;
  padding: 10px;
  font-size: calc(clamp(8px, .55vw, 10px) + 2px);
  font-weight: 700;
}

.offer-btn span {
  float: right;
  font-size: 15px;
  margin-right: 5px;
}

.offer-card small {
  display: block;
  font-size: calc(clamp(6px, .4vw, 8px) + 2px);
  margin-top: 7px;
}


/* ==========================================================================
   4. BOOKING BAR
   ========================================================================== */

.booking-wrap {
  position: relative;
  width: 70%;
  max-width: 980px;
  margin: 20px auto 42px !important;
  padding: 0;
  z-index: 40;
  clear: both;
}

.booking-bar {
  position: relative;
  z-index: 31;
  background: #102018;
  border: 1px solid #8c815c;
  border-radius: 16px;
  padding: 5px !important;
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(0,1fr)
    minmax(0,1fr)
    clamp(92px,9vw,130px);
  gap: 5px !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .1);
  align-items: stretch;
}

.booking-bar label,
.booking-bar .date-field,
.booking-bar .occupancy-field {
  position: relative;
  z-index: 32;
  min-width: 0;
  min-height: 0;
  background: #f5eee1;
  border-radius: 9px !important;
  padding: 7px 11px !important;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.booking-bar .field-label,
.booking-bar label {
  font-size: clamp(8px,0.62vw,10px) !important;
  line-height: 1.15 !important;
  letter-spacing: clamp(.03em,.12vw,.07em) !important;
  text-transform: uppercase;
  font-weight: 700;
}

.booking-bar input,
.booking-bar select,
.booking-bar .date-summary,
.booking-bar .occupancy-summary {
  min-width: 0;
  font-size: clamp(11px,0.9vw,13px) !important;
  line-height: 1.25 !important;
  color: #29271f;
}

.booking-bar input,
.booking-bar select {
  border: 0;
  background: transparent;
  outline: 0;
  font: inherit;
}

.booking-bar input {
  width: 100%;
}

.booking-bar button,
#searchBtn {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0 !important;
  padding: 0 clamp(14px,1.5vw,22px) !important;
  margin: 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  white-space: nowrap;
  border: 0;
  border-radius: 9px !important;
  background: #c7a65e;
  font-size: clamp(10px,0.85vw,13px) !important;
  font-weight: 700;
  cursor: pointer;
}


/* ==========================================================================
   OCCUPANCY POPUP
   ========================================================================== */

.occupancy-field {
  cursor: pointer;
  outline: 0;
}

.occupancy-field:hover,
.occupancy-field:focus,
.occupancy-field.open {
  box-shadow: inset 0 0 0 2px #c7a65e;
}

.occupancy-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #29271f;
  white-space: nowrap;
}

.guest-popup {
  display: none !important;
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 346px !important;
  max-width: min(346px, calc(100vw - 24px));
  padding: 20px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow:
    0 8px 28px rgba(56,53,45,.18),
    0 2px 8px rgba(56,53,45,.10) !important;
  z-index: 10001 !important;
  transform: none !important;
}

.guest-popup.show {
  display: block !important;
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px !important;
  gap: 14px !important;
}

.guest-info {
  min-width: 0;
}

.guest-name {
  font-size: 13px !important;
  font-weight: 600;
  color: #29271f;
}

.guest-description {
  margin-top: 3px;
  font-size: 10px !important;
  color: #777064;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 154px;
  height: 42px;
  border: 1px solid #cfcac0;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 auto;
}

.counter button {
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #596541;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter button:hover {
  background: #e6eadc;
}

.counter-value {
  min-width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.guest-divider {
  height: 1px;
  background: #e8e3da;
  margin: 4px 0;
}

.guest-done {
  width: 100%;
  margin-top: 13px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #596541;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.guest-done:hover {
  background: #465033;
}


/* ==========================================================================
   DATE FIELD
   ========================================================================== */

.date-field {
  justify-content: center;
  cursor: pointer;
  outline: none;
}

.date-field:focus,
.date-field:hover {
  box-shadow: inset 0 0 0 2px #c7a65e;
}

.date-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #29271f;
  white-space: nowrap;
  overflow: hidden;
}

.date-summary span:first-child,
.date-summary span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-arrow {
  color: #897c63;
  font-size: 12px;
}


/* ==========================================================================
   5. CALENDAR POPUP
   ========================================================================== */

.calendar-popup {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 595px !important;
  max-width: min(595px, calc(100vw - 24px)) !important;
  padding: 15.5px !important;
  margin: 0 !important;
  background: #fffdf8 !important;
  border: 1px solid #ddd8ce !important;
  border-radius: 10px !important;
  box-shadow:
    0 8px 28px rgba(56,53,45,.16),
    0 2px 8px rgba(56,53,45,.08) !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10000 !important;
  overflow: hidden !important;
  transition: none !important;
  animation: none !important;
  color: #292824;
}

.calendar-popup.show {
  display: block !important;
}

.calendar-popup *,
.calendar-popup *::before,
.calendar-popup *::after {
  animation: none !important;
}

.selection-header {
  background: #f3eee5;
  border-radius: 9px;
  padding: 9.5px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8.5px !important;
  margin-bottom: 9.5px !important;
}

.selection-box {
  background: #fff;
  border: 1px solid #ddd8ce;
  border-radius: 8px;
  min-height: 48px !important;
  padding: 7px 9.5px !important;
}

.selection-box.active {
  border-color: #596541;
}

.selection-label {
  font-size: 9px !important;
  letter-spacing: 1px;
  color: #777267;
  font-weight: 700;
  margin-bottom: 4px;
}

.selection-value {
  font-size: 13px !important;
  font-weight: 700;
  color: #292824;
}

.calendar-navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px !important;
  min-height: 34px !important;
}

.month-nav {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f1ede5;
  color: #222;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: none;
}

.month-nav:hover {
  background: #e8e2d7;
}

.month-nav:active {
  transform: scale(.96);
}

.calendar-navigation .month-title-area {
  display: none !important;
}

.month-title-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.month-title {
  font-size: 15px;
  font-weight: 700;
  color: #292824;
}

.month-title-separator {
  color: #a29b8f;
  padding: 0 4px;
}

.calendar-months {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 14px !important;
  width: 100% !important;
  overflow: hidden !important;
  transform: none !important;
}

.month-calendar {
  min-width: 0;
  overflow: hidden !important;
  transform: none !important;
  transition: none !important;
}

.month-local-title {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700;
  color: #292824;
  margin: 0 0 5px;
  line-height: 22px !important;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 2px;
  transform: none !important;
  transition: none !important;
}

.weekday {
  height: 25px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b867b;
  font-size: 9px !important;
  font-weight: 700;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 36px !important;
  transform: none !important;
  transition: none !important;
}

.day {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding-top: 7px !important;
  font-size: 11px !important;
  color: #34332f;
  cursor: pointer;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  transition: none !important;
}

.day:hover {
  background: #f0f3eb;
}

.day.empty {
  cursor: default;
  background: transparent;
}

.day.disabled {
  color: #c9c4b9;
  cursor: not-allowed;
}

.day.disabled:hover {
  background: transparent;
}

.day-price {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px !important;
  text-align: center;
  color: #b38b43;
  font-size: 6px !important;
  line-height: 8px;
}

.day.checkin {
  background: #596541;
  color: #fff;
  font-weight: 700;
  border-radius: 7px 0 0 7px;
}

.day.checkout {
  background: #596541;
  color: #fff;
  font-weight: 700;
  border-radius: 0 7px 7px 0;
}

.day.checkin .day-price,
.day.checkout .day-price {
  color: #fff;
}

.day.in-range {
  background: #e6eadc;
  color: #30322d;
}

.day.in-range:hover {
  background: #dce3cf;
}

.day.checkin.checkout {
  border-radius: 7px;
}

.day.today::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b58b42;
}

.day.checkin.today::after,
.day.checkout.today::after {
  background: #fff;
}

.calendar-footer {
  margin-top: 10px !important;
  padding-top: 9px !important;
  border-top: 1px solid #e5e0d6;
  text-align: center;
}

.footer-main {
  font-size: 10px !important;
  color: #292824;
}

.footer-status {
  margin-top: 3px;
  color: #596541;
  font-size: 9px !important;
  font-weight: 700;
}


/* ==========================================================================
   6. LOCATIONS
   ========================================================================== */

.section {
  padding: 29px 3.5%;
}

.locations {
  background: #f8f5ef;
}

.section-heading {
  text-align: center;
  margin-bottom: 12px;
}

.section-heading p {
  margin: 0;
  color: #826d51;
  font-size: calc(clamp(8px, .55vw, 11px) + 2px);
  font-weight: 700;
  letter-spacing: clamp(1.5px, .18vw, 3px);
}

.section-heading span {
  display: block;
  font-size: calc(clamp(9px, .6vw, 12px) + 2px);
  color: #77736a;
  margin-top: 4px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1160px;
  margin: auto;
}

.location-card {
  height: 165px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  cursor: pointer;
}

.location-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .68),
      rgba(0, 0, 0, .04)
    );
}

.location-card.ubud {
  background-image:
    url("https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=900&q=80");
}

.location-card.dps {
  background-image:
    url("https://images.unsplash.com/photo-1539367628448-4bc5c9d171c8?auto=format&fit=crop&w=900&q=80");
}

.location-card.sanur {
  background-image:
    url("https://images.unsplash.com/photo-1518509562904-e7ef99cdcc86?auto=format&fit=crop&w=900&q=80");
}

.location-card > div {
  position: relative;
  z-index: 2;
  padding: 17px 18px;
}

.location-card h3 {
  font-family: var(--serif);
  font-size: calc(clamp(17px, 1.25vw, 21px) + 2px);
  margin: 0 0 5px;
}

.location-card p {
  font-size: calc(clamp(9px, .6vw, 12px) + 2px);
  line-height: 1.35;
  margin: 0 0 8px;
}

.location-card small {
  display: block;
  font-size: calc(clamp(7px, .45vw, 9px) + 2px);
}

.location-card strong {
  display: block;
  font-size: calc(clamp(11px, .7vw, 14px) + 2px);
  margin-top: 2px;
}

.location-card a {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 5px 10px;
  font-size: calc(clamp(7px, .45vw, 9px) + 2px);
  margin-top: 7px;
}

.location-card i {
  font-style: normal;
  margin-left: 15px;
  font-size: 12px;
}


/* ==========================================================================
   7. EXPERIENCES & PRODUCTS
   ========================================================================== */

.experiences {
  background: #f9f6ef;
  position: relative;
  padding-top: 33px;
  padding-bottom: 25px;
}

.large h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(29px, 2.7vw, 42px) + 2px);
  margin: 3px 0;
}

.leaf {
  position: absolute;
  color: #b7b098;
  font-size: 80px;
  opacity: .7;
  top: 15px;
}

.leaf-left {
  left: -10px;
  transform: rotate(-20deg);
}

.leaf-right {
  right: -10px;
  transform: rotate(160deg);
}


/* ==========================================================================
   PRODUCT CATEGORIES
   ========================================================================== */

.product-categories {
  max-width: 1240px;
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  row-gap: 0 !important;
  width: calc(100% - 32px);
}

.product-category {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 18px 0 14px;
  border-top: 1px solid rgba(37,47,30,.18);
}

.product-category:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-category + .product-category {
  margin-top: 0 !important;
}

.product-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}

.product-category-title {
  min-width: 0;
}

.product-category-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: #252f1e;
}

.product-category-count {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a887e;
  white-space: nowrap;
}

.product-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.product-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(37,47,30,.22);
  background: rgba(255,255,255,.68);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition:
    transform .2s ease,
    opacity .2s ease,
    background .2s ease,
    border-color .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.product-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(37,47,30,.42);
}

.product-arrow:active:not(:disabled) {
  transform: scale(.94);
}

.product-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.product-arrow:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}


/* ==========================================================================
   PRODUCT SCROLL
   ========================================================================== */

.product-scroll {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 14px;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-scroll .product {
  flex: 0 0 calc((100% - 56px) / 5);
  min-width: 210px;
  scroll-snap-align: start;
}


/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */

.product {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 11px rgba(50, 45, 35, .16);
  min-width: 0;
  cursor: pointer;
  pointer-events: auto;
}

.product:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.product * {
  cursor: inherit;
}

.product .book {
  cursor: pointer;
}

.product-scroll.is-dragging .product {
  cursor: grabbing;
  pointer-events: none;
}

.product-img {
  height: 152px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(37, 47, 30, .85);
  color: #fff;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 700;
}

.product-body {
  padding: 11px 11px 12px;
}

.product h3 {
  font-family: var(--serif);
  font-size: calc(clamp(14px, 1vw, 18px) + 2px);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta {
  font-size: calc(clamp(9px, .58vw, 12px) + 2px);
  color: #4d4a43;
  margin: 0 0 5px;
}

.product-body .location {
  font-size: calc(clamp(8px, .5vw, 10px) + 2px);
  color: #6d685e;
  margin: 0 0 7px;
}

.product-body .location::before {
  content: "●";
  color: #b97d3b;
  margin-right: 4px;
}

.old {
  font-size: calc(clamp(8px, .5vw, 10px) + 2px);
  color: #777;
  text-decoration: line-through;
  margin: 0;
}

.sale-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sale {
  /* font-family: var(--serif); */
  font-size: calc(clamp(15px, 1.15vw, 20px) + 2px);
  font-weight: 700;
  margin: 0;
}

.off {
  border: 1px solid #db9256;
  color: #d77c3d;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: calc(clamp(7px, .45vw, 9px) + 2px);
}

.book {
  width: 100%;
  border: 0;
  background: #5b6740;
  color: #fff;
  border-radius: 11px;
  padding: 9px;
  font-size: calc(clamp(8px, .5vw, 10px) + 2px);
  font-weight: 700;
  margin-top: 7px;
  cursor: pointer;
}

.book span {
  float: right;
  margin-right: 4px;
  font-size: 12px;
}


/* ==========================================================================
   DESKTOP PRODUCT DRAG
   ========================================================================== */

@media (min-width: 901px) {

  .product-scroll {
    cursor: grab;
    user-select: none;
    scrollbar-width: thin;
    scrollbar-color:
      rgba(37,47,30,.48)
      rgba(37,47,30,.08);
    scroll-padding-inline: 2px;
    padding-right:
      calc(
        (100vw - min(1180px,92vw))/2 + 24px
      ) !important;
    gap: 18px !important;
  }

  .product-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .product-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .product-scroll::-webkit-scrollbar-track {
    background: rgba(37,47,30,.08);
    border-radius: 999px;
  }

  .product-scroll::-webkit-scrollbar-thumb {
    background: rgba(37,47,30,.42);
    border-radius: 999px;
  }

  .product-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(37,47,30,.62);
  }

  .product-scroll .product,
  .product-scroll .product * {
    user-select: none;
  }

  .product-scroll .product {
    flex: 0 0 235px !important;
    min-width: 235px !important;
  }

  .product-category {
    margin-bottom: 0 !important;
  }
}


/* ==========================================================================
   8. TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #18261c;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: .3s;
  z-index: 50;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}


/* ==========================================================================
   9. RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 900px) {

  .hero-copy {
    max-width: 52%;
  }

  .offer-card {
    width: clamp(250px, 31vw, 300px);
  }

  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-wrap {
    width: min(94%, 980px) !important;
    margin: 16px auto 28px !important;
  }

  .booking-bar {
    grid-template-columns:
      minmax(0,1fr)
      minmax(0,1.08fr)
      minmax(0,1.12fr)
      clamp(78px,12vw,108px) !important;
    gap: 5px !important;
  }

  .booking-bar label,
  .booking-bar .date-field,
  .booking-bar .occupancy-field {
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 7px 9px !important;
  }

  .booking-bar .field-label,
  .booking-bar label {
    font-size: clamp(8px,1.15vw,10px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .booking-bar input,
  .booking-bar select,
  .booking-bar .date-summary,
  .booking-bar .occupancy-summary {
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(10px,1.45vw,13px) !important;
  }

  .booking-bar .date-summary,
  .booking-bar .occupancy-summary {
    overflow: hidden !important;
  }

  .booking-bar .date-summary > span:not(.date-arrow),
  .booking-bar .occupancy-summary > span:first-child {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .booking-bar > #searchBtn {
    grid-column: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 0 8px !important;
    font-size: clamp(11px,1.5vw,13px) !important;
  }

  .product-scroll .product {
    flex-basis: 240px;
    min-width: 240px;
  }

  .product-carousel-controls {
    display: none;
  }

  .calendar-popup {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 12px !important;
  }

  .calendar-months {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }

  .calendar-months .month-calendar:nth-child(2) {
    display: none !important;
  }

  .guest-popup {
    width: min(346px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
  }
}


/* ==========================================================================
   10. RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 700px) {

  body {
    font-size: 14px;
  }

  .hero {
    height: 440px;
    min-height: 440px;
  }

  .hero-copy {
    display: block !important;
    left: 22px;
    right: 22px;
    top: 92px;
    max-width: 360px;
    z-index: 5;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: .98;
  }

  .hero h1 em {
    font-size: 34px;
  }

  .hero-text {
    font-size: 11px;
    line-height: 1.4;
    margin: 12px 0;
    max-width: 310px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    padding: 8px 12px;
    font-size: 8px;
  }

  .offer-card {
    display: none !important;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, .72),
        rgba(0, 0, 0, .22)
      );
  }

  .hero-arrow {
    display: none !important;
  }

  .hero-dots {
    bottom: 12px;
  }

  .booking-wrap {
    width: auto !important;
    margin: 14px 15px 32px !important;
  }

  .booking-bar {
    grid-template-columns: minmax(0,1fr) !important;
    padding: 7px !important;
    gap: 5px !important;
  }

  .booking-bar label,
  .booking-bar .date-field,
  .booking-bar .occupancy-field {
    padding: 8px 11px !important;
  }

  .booking-bar .field-label,
  .booking-bar label {
    font-size: clamp(9px,2.6vw,11px) !important;
  }

  .booking-bar input,
  .booking-bar select,
  .booking-bar .date-summary,
  .booking-bar .occupancy-summary {
    font-size: clamp(12px,3.7vw,15px) !important;
  }

  .booking-bar > #searchBtn {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: clamp(12px,3.8vw,15px) !important;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    height: 180px;
  }

  .location-card h3 {
    font-size: 22px;
  }

  .large h2 {
    font-size: clamp(28px,8vw,36px);
  }

  .leaf {
    display: none;
  }

  .product-categories {
    width: 100%;
    margin-top: 18px;
    gap: 0 !important;
  }

  .product-category {
    padding: 15px 0 12px;
  }

  .product-category-heading {
    padding: 0 16px;
    margin-bottom: 11px;
    align-items: center;
    gap: 10px;
  }

  .product-category-heading h3 {
    font-size: 22px;
    line-height: 1.1;
  }

  .product-category-count {
    font-size: 9px;
    letter-spacing: .06em;
  }

  .product-scroll {
    width: 100%;
    gap: 10px;
    padding: 3px 16px 16px;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-scroll::-webkit-scrollbar {
    display: none;
  }

  .product-scroll .product {
    flex: 0 0 min(72vw,300px);
    min-width: min(72vw,300px);
    border-radius: 14px;
  }

  .product-scroll .product-img {
    height: 2045px;
  }

  .product-scroll .product-body {
    padding: 12px 12px 13px;
  }

  .product h3 {
    font-size: 18px;
  }

  .product-meta {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .product-body .location {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .old {
    font-size: 11px;
  }

  .sale {
    font-size: 20px;
  }

  .off {
    font-size: 9px;
    padding: 4px 6px;
  }

  .book {
    font-size: 11px;
    padding: 10px;
    margin-top: 8px;
    border-radius: 10px;
  }

  .calendar-popup {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 20px) !important;
    padding: 10px !important;
  }

  .calendar-months {
    grid-template-columns: 1fr !important;
    row-gap: 12px !important;
  }

  .calendar-months .month-calendar:nth-child(2) {
    display: none !important;
  }

  .month-local-title {
    font-size: 15px !important;
  }

  .days {
    grid-auto-rows: 36px !important;
  }

  .guest-popup {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 288px !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
  }
}


/* ==========================================================================
   11. SMALL MOBILE
   ========================================================================== */

@media (max-width: 430px) {

  .hero {
    height: 410px;
    min-height: 410px;
  }

  .hero-copy {
    top: 86px;
    left: 18px;
    right: 18px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero h1 em {
    font-size: 31px;
  }

  .hero-text {
    font-size: 10px;
    max-width: 280px;
  }

  .hero-actions {
    gap: 7px;
  }

  .btn {
    padding: 10px 13px;
    font-size: 8px;
  }

  .product-category-heading {
    padding: 0 14px;
  }

  .product-scroll {
    padding-left: 14px;
    padding-right: 14px;
    scroll-padding-left: 14px;
  }

  .product-scroll .product {
    flex-basis: 76vw;
    min-width: 76vw;
  }

  .product-scroll .product-img {
    height: 150px;
  }

  .product-category-heading h3 {
    font-size: 21px;
  }

  .calendar-popup {
    top: 0 !important;
    padding: 9px !important;
  }

  .selection-header {
    padding: 7px !important;
    gap: 6px !important;
  }

  .selection-box {
    padding: 5px 7px !important;
    min-height: 40px !important;
  }

  .selection-label {
    font-size: 7px !important;
    letter-spacing: .8px;
  }

  .selection-value {
    font-size: 10px !important;
  }

  .month-title {
    font-size: 12px !important;
  }
}


/* ==========================================================================
   12. FINAL POPUP POSITIONING
   ========================================================================== */

@media (min-width: 901px) {

  .calendar-popup,
  .guest-popup {
    position: absolute !important;
  }

}


/* ==========================================================================
   13. FINAL PRODUCT RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

  .product-categories {
    gap: 0;
  }

  .product-scroll .product {
    flex-basis: 240px;
    min-width: 240px;
  }

}


@media (max-width: 700px) {

  .product-categories {
    width: 100%;
    margin-top: 18px;
    gap: 0 !important;
  }

  .product-category + .product-category {
    margin-top: 0 !important;
  }

}


@media (max-width: 430px) {

  .product-scroll .product {
    flex-basis: 76vw;
    min-width: 76vw;
  }

}


/* ==========================================================================
   14. TABLET BOOKING BAR
   ========================================================================== */

@media (min-width: 601px) and (max-width: 900px) {

  .booking-wrap {
    width: min(94%,980px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .booking-bar {
    grid-template-columns:
      minmax(0,1fr)
      minmax(0,1.08fr)
      minmax(0,1.12fr)
      clamp(78px,12vw,108px) !important;
    gap: 5px !important;
  }

  .booking-bar label,
  .booking-bar .date-field,
  .booking-bar .occupancy-field {
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 7px 9px !important;
  }

  .booking-bar .field-label,
  .booking-bar label {
    font-size: clamp(8px,1.15vw,10px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .booking-bar input,
  .booking-bar select,
  .booking-bar .date-summary,
  .booking-bar .occupancy-summary {
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(10px,1.45vw,13px) !important;
  }

  .booking-bar input {
    width: 100% !important;
  }

  .booking-bar .date-summary,
  .booking-bar .occupancy-summary {
    overflow: hidden !important;
  }

  .booking-bar > #searchBtn {
    grid-column: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 0 8px !important;
    font-size: clamp(11px,1.5vw,13px) !important;
  }

}


/* ==========================================================================
   15. MOBILE CALENDAR
   ========================================================================== */

@media (max-width: 850px) {

  .calendar-popup {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
    padding: 10px !important;
  }

  .calendar-months {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }

  .calendar-months .month-calendar:nth-child(2) {
    display: none !important;
  }

  .guest-popup {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: min(346px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
  }

}


/* ==========================================================================
   16. FINAL MOBILE PRODUCT CAROUSEL
   ========================================================================== */

@media (max-width: 700px) {

  .product-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .product-scroll::-webkit-scrollbar {
    display: none;
  }

  .product-scroll .product {
    flex: 0 0 min(72vw,300px);
    min-width: min(72vw,300px);
  }

}


@media (max-width: 430px) {

  .product-scroll .product {
    flex: 0 0 76vw;
    min-width: 76vw;
  }

}


/* ==========================================================================
   END
   ========================================================================= */