
    :root {
      --primary-brown: #3D2B1F;
      --button-brown: #5C4033;
      --button-dark: #3D2B1F;
      --accent-gold: #C59B27;
      --bg-cream: #FAF7F2;
      --bg-soft-card: #F4EFEA;
      --border-color: #E6DFD5;
      --text-muted-custom: #7A6E65;
      --font-family-serif: 'Source Serif 4', serif;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 88px;
    }

    body,
    button,
    input,
    select,
    textarea {
      font-family: var(--font-family-serif);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    body {
      font-weight: 500;
      font-size: 18px;
      line-height: 1.6;
      background-color: var(--bg-cream);
      color: var(--primary-brown);
      overflow-x: hidden;
    }

    /* Strict Typography Rules */
    h1, h2, h3, .headline-40 {
      font-size: clamp(1.85rem, 3vw, 2.5rem) !important;
      font-weight: 700 !important;
      line-height: 1.2;
    }

    p, .body-18 {
      font-size: clamp(1rem, 1.25vw, 1.125rem) !important;
      font-weight: 500 !important;
    }

    img {
      max-width: 100%;
    }

    a,
    button {
      -webkit-tap-highlight-color: transparent;
    }

    :focus-visible {
      outline: 3px solid rgba(197, 155, 39, 0.45);
      outline-offset: 3px;
    }

    /* Navbar & Logo */
    .navbar {
      background: rgba(250, 247, 242, 0.95);
      backdrop-filter: blur(10px);
      padding: 14px 0;
      border-bottom: 1px solid rgba(230, 223, 213, 0.5);
    }

    .navbar-brand {
      min-width: 0;
      color: var(--primary-brown);
      text-decoration: none;
      gap: 10px;
    }

    .logo-png {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      object-fit: cover;
      border-radius: 12px;
      border: 1px solid var(--border-color);
      background: #fff;
    }

    .brand-name {
      font-size: 1.1rem;
      line-height: 1;
      white-space: nowrap;
      letter-spacing: -0.01em;
    }

    .navbar-toggler {
      width: 44px;
      height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 10px;
      box-shadow: none !important;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(61, 43, 31, 0.12) !important;
    }

    .hamburger-icon {
      width: 24px;
      height: 18px;
      display: inline-flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hamburger-icon span {
      display: block;
      width: 100%;
      height: 2px;
      border-radius: 99px;
      background: var(--primary-brown);
      transition: transform 0.25s ease, opacity 0.2s ease;
      transform-origin: center;
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
      opacity: 0;
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .nav-link {
      color: var(--primary-brown);
      font-weight: 500;
      font-size: 1rem !important;
      margin: 0 10px;
    }

    .btn-register {
      background-color: var(--button-brown);
      color: #FFF;
      border-radius: 20px;
      padding: 8px 24px;
      font-size: 0.95rem !important;
      font-weight: 600;
      border: none;
      transition: all 0.3s ease;
    }

    .btn-register:hover {
      background-color: var(--primary-brown);
      color: #FFF;
    }

    /* Sub-Navigation Bar (Back / Share / Save) */
    .top-action-bar {
      padding-top: 40px;
      padding-bottom: 20px;
    }

    .btn-action-pill {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: 30px;
      padding: 6px 18px;
      font-size: 0.9rem !important;
      font-weight: 600;
      color: var(--primary-brown);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .btn-action-pill:hover {
      background: var(--bg-soft-card);
      color: var(--primary-brown);
    }

    /* Image Gallery Grid */
    .main-hero-img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: 16px;
    }

    .thumb-img {
      width: 100%;
      height: 95px;
      object-fit: cover;
      border-radius: 12px;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }

    .thumb-img:hover {
      opacity: 0.85;
    }

    .thumb-overlay-container {
      position: relative;
    }

    .thumb-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      border-radius: 12px;
      color: #FFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem !important;
      font-weight: 600;
      cursor: pointer;
    }

    /* Booking + Host Sticky Sidebar */
    .sidebar-sticky {
      position: sticky;
      top: 96px;
      align-self: flex-start;
    }

    .booking-card {
      background: #FFFFFF;
      border-radius: 20px;
      border: 1px solid var(--border-color);
      padding: 30px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      position: static;
      top: auto;
    }

    .badge-sub-green {
      background: #EAF4EE;
      color: #2D6A4F;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.75rem !important;
      font-weight: 700;
      display: inline-block;
    }

    .btn-booking {
      background-color: var(--button-brown);
      color: #FFFFFF;
      border-radius: 10px;
      padding: 14px;
      width: 100%;
      font-size: 1rem !important;
      font-weight: 600;
      border: none;
      transition: all 0.3s ease;
    }

    .btn-booking:hover {
      background-color: var(--primary-brown);
    }

    /* Content Cards */
    .content-box {
      background: #FFFFFF;
      border-radius: 20px;
      border: 1px solid var(--border-color);
      padding: 32px;
      margin-bottom: 24px;
    }

    /* Highlight Pills */
    .highlight-pill {
      background: var(--bg-soft-card);
      border-radius: 30px;
      padding: 8px 18px;
      font-size: 0.88rem !important;
      color: var(--primary-brown);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-right: 8px;
      margin-bottom: 10px;
    }

    /* Grid Amenity Box */
    .amenity-pill {
      background: var(--bg-soft-card);
      border-radius: 30px;
      padding: 10px 20px;
      font-size: 0.9rem !important;
      color: var(--primary-brown);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-right: 8px;
      margin-bottom: 12px;
    }

    /* Host Details Card */
    .host-card {
      background: #FFFFFF;
      border-radius: 20px;
      border: 1px solid var(--border-color);
      padding: 24px;
    }

    .host-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .badge-host-type {
      font-size: 0.65rem !important;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: #EFEAE4;
      color: var(--primary-brown);
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 700;
    }

    .btn-outline-host {
      background: transparent;
      border: 1px solid var(--border-color);
      color: var(--primary-brown);
      border-radius: 8px;
      width: 100%;
      padding: 8px;
      font-size: 0.9rem !important;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .btn-outline-host:hover {
      background: var(--bg-soft-card);
    }

    /* Nearby Map & Distance List */
    .map-box {
      border-radius: 16px;
      overflow: hidden;
      height: 240px;
      position: relative;
      background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover no-repeat;
    }

    .map-pin {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #FFFFFF;
      padding: 6px 14px;
      border-radius: 20px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      font-weight: 700;
      font-size: 0.85rem !important;
      display: flex;
      align-items: center;
      gap: 6px;
      color: #2D6A4F;
    }

    .distance-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .distance-list li {
      display: flex;
      justify-content: space-between;
      font-size: 0.88rem !important;
      padding: 6px 0;
    }

    /* You Might Also Like Section */
    .property-card {
      background: #FFFFFF;
      border-radius: 16px;
      border: 1px solid var(--border-color);
      overflow: hidden;
      transition: all 0.3s ease;
      height: 100%;
    }

    .property-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .card-img-wrapper {
      position: relative;
      height: 170px;
    }

    .card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .wishlist-heart {
      position: absolute;
      top: 10px; right: 10px;
      background: rgba(255, 255, 255, 0.85);
      width: 28px; height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem !important;
      color: var(--primary-brown);
      cursor: pointer;
    }

    /* Section Wave Background */
    .section-wave-bg {
      background: radial-gradient(circle at 50% 0%, #F3ECE1 0%, #FAF7F2 75%);
    }

    /* Footer */
    footer {
      background-color: var(--primary-brown);
      color: #E6DFD5;
      position: relative;
      overflow: hidden;
    }

    footer h6 {
      color: #FFFFFF;
      font-size: 0.85rem !important;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    footer ul {
      list-style: none;
      padding: 0;
    }

    footer ul li {
      margin-bottom: 10px;
    }

    footer ul li a {
      color: #C2B6A9;
      text-decoration: none;
      font-size: 0.9rem !important;
      transition: color 0.2s ease;
    }

    footer ul li a:hover {
      color: #FFFFFF;
    }

    .social-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #FFF;
      margin-right: 6px;
      font-size: 0.85rem !important;
      transition: background 0.3s ease;
    }

    .social-btn:hover {
      background: var(--button-brown);
    }

    .footer-svg {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 380px;
      opacity: 0.18;
      pointer-events: none;
    }

    .description-clamped {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-align: left !important;
      word-break: normal;
      overflow-wrap: break-word;
      line-height: 1.65;
    }

    .description-clamped.description-expanded {
      display: block;
      overflow: visible;
      text-align: left !important;
      word-break: normal;
      overflow-wrap: break-word;
      line-height: 1.65;
    }

    #propertyDescription {
      text-align: left !important;
      word-break: normal;
      overflow-wrap: break-word;
      line-height: 1.65;
    }

    /* Responsive & interaction hardening */
    .nav-link {
      position: relative;
      border-radius: 10px;
      transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
      color: var(--primary-brown);
      background: rgba(61, 43, 31, 0.05);
    }

    .thumb-img.active-thumb {
      outline: 3px solid rgba(197, 155, 39, 0.75);
      outline-offset: 2px;
      opacity: 1;
    }

    .wishlist-heart,
    .btn-action-pill,
    .btn-booking,
    .btn-outline-host,
    .btn-register {
      touch-action: manipulation;
    }

    .wishlist-heart {
      border: 0;
    }

    .feedback-toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      z-index: 2000;
      transform: translate(-50%, 20px);
      background: var(--primary-brown);
      color: #fff;
      border-radius: 999px;
      padding: 10px 18px;
      font-size: 0.9rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.18);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease, transform 0.25s ease;
      max-width: calc(100vw - 32px);
      text-align: center;
    }

    .feedback-toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    @media (max-width: 1199.98px) {
      .booking-card {
        padding: 24px;
      }

      .content-box {
        padding: 26px;
      }

      .main-hero-img {
        height: 340px;
      }
    }

    @media (max-width: 991.98px) {
      .navbar {
        padding: 10px 0;
      }

      .navbar > .container {
        position: relative;
      }

      #navbarNav {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        display: block !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: rgba(250, 247, 242, 0.99);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        box-shadow: 0 16px 38px rgba(61, 43, 31, 0.13);
        transition: max-height 0.32s ease, opacity 0.22s ease, visibility 0.22s ease, padding 0.32s ease;
        padding: 0 16px;
      }

      #navbarNav.mobile-open {
        max-height: 620px;
        opacity: 1;
        visibility: visible;
        padding: 14px 16px 18px;
      }

      #navbarNav .navbar-nav {
        width: 100%;
        margin: 0 !important;
        gap: 3px;
      }

      #navbarNav .nav-link {
        width: 100%;
        margin: 0;
        padding: 10px 12px;
      }

      #navbarNav .btn-register {
        width: 100%;
        margin-top: 10px;
        min-height: 44px;
      }

      .top-action-bar {
        padding-top: 40px;
        padding-bottom: 16px;
      }

      .sidebar-sticky {
        position: static;
        top: auto;
      }

      .booking-card {
        position: static;
        top: auto;
      }

      .main-hero-img {
        height: clamp(260px, 52vw, 420px);
      }

      .thumb-img {
        height: clamp(72px, 16vw, 110px);
      }
    }

    @media (max-width: 767.98px) {
      .container {
        --bs-gutter-x: 1.5rem;
      }

      .top-action-bar .d-flex.justify-content-between {
        gap: 12px;
      }

      .top-action-bar .btn-action-pill {
        padding: 7px 12px;
      }

      .top-action-bar .body-18 {
        white-space: nowrap;
      }

      .content-box,
      .booking-card,
      .host-card {
        border-radius: 16px;
        padding: 20px;
      }

      .map-box {
        height: 220px;
      }

      .card-img-wrapper {
        height: 210px;
      }

      .distance-list li {
        gap: 16px;
      }

      .footer-svg {
        width: 270px;
      }
    }

    @media (max-width: 575.98px) {
      .logo-png {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
      }

      .brand-name {
        font-size: 1rem;
      }

      .top-action-bar {
        padding-top: 35px;
      }

      .top-action-bar > .d-flex {
        align-items: flex-start !important;
      }

      .top-action-bar .btn-action-pill {
        min-width: 42px;
        justify-content: center;
      }

      .top-action-bar .btn-action-pill .action-label {
        display: none;
      }

      .main-hero-img {
        height: 240px;
        border-radius: 14px;
      }

      .thumb-img,
      .thumb-overlay {
        border-radius: 9px;
      }

      .thumb-img {
        height: 68px;
      }

      .thumb-overlay {
        font-size: 0.7rem !important;
        text-align: center;
        padding: 5px;
      }

      .content-box,
      .booking-card,
      .host-card {
        padding: 17px;
      }

      .highlight-pill,
      .amenity-pill {
        margin-right: 5px;
        padding: 8px 13px;
      }

      .map-box {
        height: 190px;
      }

      .distance-list li {
        align-items: flex-start;
        gap: 10px;
      }

      .distance-list li > span:last-child {
        white-space: nowrap;
      }

      .card-img-wrapper {
        height: 190px;
      }

      footer .col-6 {
        width: 100%;
      }

      .modal-content {
        margin: 12px;
        padding: 1.25rem !important;
      }

      .feedback-toast {
        bottom: 16px;
      }
    }

    @media (max-width: 360px) {
      .brand-name {
        max-width: 126px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .top-action-bar .body-18 {
        font-size: 0.82rem !important;
      }

      .main-hero-img {
        height: 210px;
      }

      .thumb-img {
        height: 58px;
      }

      .content-box,
      .booking-card,
      .host-card {
        padding: 15px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }

      [data-aos] {
        opacity: 1 !important;
        transform: none !important;
      }
    }


/* ---------- price / policy footnotes & price styling ---------- */
.detail-price {
  color: #755527 !important;
  font-size: 26px !important;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.3px;
  font-family: 'Source Serif 4', Georgia, serif;
}

.detail-price-night {
  font-size: 18px;
  color: #6b655f;
  font-weight: 500;
  font-family: 'Source Serif 4', Georgia, serif;
}

.price-note-mark,
sup.price-note-mark {
  font-size: 14px;
  font-weight: 700;
  color: #755527 !important;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
  position: relative;
  top: -4px;
  cursor: help;
}

.price-note-star {
  font-size: 14px;
  font-weight: 700;
  color: #755527 !important;
  line-height: 1;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 3px;
}

.price-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: #7a6e65;
  display: flex;
  align-items: center;
  font-family: 'Source Serif 4', Georgia, serif;
}
