/* ==========================================================================
   BLUE HAVEN RESORT QUY NHƠN — COMBINED CUSTOM DESIGN SYSTEM (CSS v2.0)
   Chuẩn hóa toàn site: Spectral + Plus Jakarta Sans | French Luxury Resort
   ========================================================================== */

:root,
:host {
    /* --- BỘ MÀU CHÍNH (PRIMARY COLORS) --- */
    --bh-primary: #00408A;
    --bh-primary-hover: #002B66;
    --bh-bg-light: #E8F4FA;
    --bh-bg-white: #FFFFFF;
    --bh-text-dark: #16496E;
    --bh-text-light: #FFFFFF;

    /* --- HEADER & FOOTER --- */
    --bh-header-sticky-bg: rgba(0, 64, 138, 0.95);
    --bh-footer-bg: #00408A;
    --bh-footer-overlay: rgba(0, 64, 138, 0.92);
  --navy: #00408A;
  --navy-mid: #1A1A1A;
  --blue: var(--bh-primary);
  --blue-light: var(--bh-primary);
  --bs-primary: #00408A;
  --bs-primary-rgb: 0, 64, 138;
  --black: #0A0A0A;
  --charcoal: #2B2F33;
  --white: #FFFFFF;
  --fog: #F8F9FA;
  --slate: #6B7580;
  --line-light: rgba(10, 10, 10, 0.10);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* --- GLOBAL TYPOGRAPHY TOKENS (French Luxury Resort: Spectral + Plus Jakarta Sans) --- */
  --font-title: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-secondary: var(--font-primary);
  --font-script: 'Allison', cursive;
  --serif: var(--font-title);
  --sans: var(--font-primary);
  --script: var(--font-script);
  --color-accent-1: #00408A;

  /* Liquid Glass Refraction Tokens */
  --glass-frost: 0.1;
  --glass-saturation: 1.2;
  --filter-id: url(#glass-filter-_r_b_);
}

/* Force scrollCue & Animation Elements Visibility fallback */
[data-cue] {
  opacity: 1 !important;
  visibility: visible !important;
}

#preloader {
  display: none !important;
}

/* Boxed Section Layout: Padding sides + Rounded corners */
.bh-section-boxed {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .bh-section-boxed {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 12px;
    border-radius: 16px;
  }
}

/* Global Site Background: Pure White #ffffff */
html,
body,
main,
#page,
.bg_gray,
.bg-light,
.bg-color-1,
.bg-color-2 {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Global typography classes using root tokens */
.font-serif,
.bh-title-serif {
    font-family: var(--font-title) !important;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
    word-spacing: normal !important;
    letter-spacing: -0.015em !important;
}

.tracking-widest,
.title small,
.sub-title,
small.text-uppercase {
    letter-spacing: 0.04em !important;
    word-spacing: normal !important;
}

.font-sans {
    font-family: var(--font-primary) !important;
    font-weight: 500 !important;
}
h3.font-sans {
    font-size: 1.45rem !important;
}
h4.font-sans {
    font-size: 1.25rem !important;
}

body:not(.wp-admin),
input,
select,
textarea,
button,
.btn,
p,
label,
li:not(#wpadminbar *),
small,
span:not(.ab-icon):not([class*="dashicon"]):not(.bi):not([class*="fa"]),
div:not(#wpadminbar):not(#wpadminbar *),
.subtitle,
.sub-title,
.eyebrow,
.price,
.stat-number,
.counter,
.number {
  font-family: var(--font-primary);
  font-weight: 400;
  color: #666;
  line-height: 1.75em;
}

/* Badge Text Color Standard: Crisp White Text on all colored badges */
.badge.text-white,
.badge.bg-primary,
.badge.bg-danger,
.badge.bg-dark,
.badge.bg-success,
.badge.bg-secondary,
.badge.bg-info,
.badge.bh-badge-blue,
.badge[class*="bg-danger"],
.badge[class*="bg-primary"],
.badge[class*="bg-dark"],
.badge[class*="bg-success"],
.badge[class*="bg-secondary"],
.badge[class*="bg-info"],
.badge[class*="bg-danger"] *,
.badge[class*="bg-primary"] *,
.badge[class*="bg-dark"] *,
.badge[class*="bg-success"] * {
  color: #ffffff !important;
}

.badge.bg-primary-subtle {
  color: #00408A !important;
}

.badge.bg-success-subtle {
  color: #198754 !important;
}

.badge.bg-danger-subtle {
  color: #dc3545 !important;
}

.badge.bg-warning-subtle {
  color: #856404 !important;
}



h1,
h2,
h3,
h4,
h5,
h6,
.font-serif,
.font-title,
.title,
.section-title,
.section-heading,
.bh-section-title,
.card-title,
.entry-title {
  font-family: var(--font-title) !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  color: #222;
  line-height: 1.25em;
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h4 {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

h5 {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
}

h6 {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
}

/* Hero display title: Spectral (French Luxury Resort, việt hóa 100%) */
.owl-slide-animated.owl-slide-title,
h1.owl-slide-title,
.slide-text h1,
.bh-banner-title {
  font-family: var(--font-title) !important;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
  text-transform: none !important;
  line-height: 1.18 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

/* Subtitle / secondary text on hero slides: Plus Jakarta Sans */
.owl-slide-animated.owl-slide-subtitle,
p.owl-slide-subtitle,
.slide-text p,
.bh-banner-eyebrow,
.section-title-script,
.sub-title-script {
  font-family: var(--font-primary) !important;
  font-size: clamp(0.85rem, 1.15vw, 1.05rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-top: 6px !important;
}

.slide-text {
  text-align: center !important;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.owl-slide-animated.owl-slide-subtitle,
p.owl-slide-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.25rem) !important;
  line-height: 1.45 !important;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .slide-text {
    max-width: 92vw;
  }

  .owl-slide-animated.owl-slide-subtitle,
  p.owl-slide-subtitle {
    font-size: clamp(0.85rem, 2.8vw, 1.05rem) !important;
    max-width: 92vw;
  }
}

.bh-hero-title-area .bh-banner-eyebrow {
  font-family: var(--font-primary) !important;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem) !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.text-navy {
  color: #212a59 !important;
}

.text-blue {
  color: var(--bh-primary) !important;
}

/* ==================================================
   10. CHECKOUT REDESIGN
   ================================================== */
body.woocommerce-checkout {
    background-color: #f9fafb !important;
}
.woocommerce-checkout .checkout-billing-form label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 6px;
    display: inline-block;
}
.woocommerce-checkout .checkout-billing-form .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}
.woocommerce-checkout .checkout-billing-form input.input-text,
.woocommerce-checkout .checkout-billing-form select,
.woocommerce-checkout .checkout-billing-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    color: #111827;
    transition: all 0.2s;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.woocommerce-checkout .checkout-billing-form input.input-text:focus,
.woocommerce-checkout .checkout-billing-form select:focus,
.woocommerce-checkout .checkout-billing-form textarea:focus {
    border-color: #3b82f6 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.woocommerce-checkout .form-row {
    margin-bottom: 24px;
}
.woocommerce-checkout .form-row-first {
    float: left;
    width: 48%;
}
.woocommerce-checkout .form-row-last {
    float: right;
    width: 48%;
}
.woocommerce-checkout .form-row-wide {
    clear: both;
    width: 100%;
}
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    color: #111827;
    padding-left: 14px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

/* Order Review Card */
.checkout-order-review {
    position: sticky;
    top: 100px;
    background-color: #f9fafb !important;
}
.woocommerce-checkout-review-order-table .order-total strong {
    font-size: 1.25rem;
}
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e5e7eb;
    padding: 0 0 20px 0;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: #f3f4f6;
    color: #4b5563;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #f3f4f6;
}
.woocommerce-checkout #payment .place-order {
    padding: 20px 0 0 0;
}
.woocommerce-checkout #payment .button#place_order {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background-color: #111827;
    color: #fff;
    transition: all 0.2s;
}
.woocommerce-checkout #payment .button#place_order:hover {
    background-color: #1f2937;
    transform: translateY(-1px);
}

.text-primary {
  color: #212a59 !important;
}

.text-accent-blue {
  color: var(--bh-primary) !important;
}

.bg-navy {
  background-color: var(--bs-primary) !important;
}

.bg-navy-mid {
  background-color: #1A1A1A !important;
}

.bg-fog {
  background-color: #F8F9FA !important;
}

.bg-black {
  background-color: #0A0A0A !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-accent-blue {
  background-color: var(--bh-primary) !important;
}

/* Buttons Default to Luxury Monochrome Black with Blue Accent Hover */
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bh-primary) !important;
  border-color: var(--bh-primary) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   1. BOOTSTRAP FORM CONTROLS & COMPONENT OVERRIDES
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
  color: var(--navy);
  background-color: var(--white);
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(30, 95, 168, 0.25);
}

/* Dark variant form controls */
.bg-navy .form-control,
.bg-navy .form-select,
.booking_wrapper .form-control,
.booking_wrapper .form-select {
  background-color: var(--navy-mid);
  border-color: var(--line-dark);
  color: var(--white);
}

.bg-navy .form-control:focus,
.bg-navy .form-select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 0.25rem rgba(95, 160, 219, 0.25);
}

/* Floating labels fix */
.form-floating>label {
  font-size: 0.875rem;
  color: var(--slate);
  padding: 1rem 0.75rem;
}

.form-floating>.form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
}

/* Nice Select Plugin Overrides */
.nice-select {
  height: 48px;
  line-height: 46px;
  border-radius: 4px;
  border: 1px solid #ced4da;
  font-family: var(--sans);
  font-size: 14px;
}

.nice-select .list {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Quantity Plus/Minus Buttons */
.qty-buttons.version_2 {
  position: relative;
  width: 100%;
}

.qty-buttons.version_2 input.qty {
  width: 100%;
  text-align: center;
  padding-left: 35px;
  padding-right: 35px;
  height: 48px;
  font-weight: 600;
}

.qty-buttons.version_2 input.qtyplus,
.qty-buttons.version_2 input.qtyminus {
  position: absolute;
  top: 0;
  width: 36px;
  height: 48px;
  background: var(--fog);
  border: 1px solid #ced4da;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
}

.qty-buttons.version_2 input.qtyplus {
  right: 0;
  border-radius: 0 4px 4px 0;
}

.qty-buttons.version_2 input.qtyminus {
  left: 0;
  border-radius: 4px 0 0 4px;
}

/* --------------------------------------------------------------------------
   2. EASEPICK / DATERANGEPICKER CALENDAR 7-COLUMN GRID FORCE FIX
   -------------------------------------------------------------------------- */
.calendar>.daynames-row,
.calendar>.days-grid,
.daynames-row,
.days-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  row-gap: 4px !important;
  column-gap: 2px !important;
}

.calendar>.daynames-row>.dayname,
.calendar>.days-grid>.day {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  font-size: 13px !important;
  border-radius: 2px !important;
}

.calendar>.header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px !important;
}

.calendar>.header .month-name {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: var(--navy) !important;
}

/* --------------------------------------------------------------------------
   3. TOPBAR & UNIFIED FRAMED HERO BOX
   -------------------------------------------------------------------------- */
/* ==========================================================================
   FRAMED HERO BOX â€” Inner pages banner
   ========================================================================== */
.bh-hero-framed-box {
  position: relative;
  margin: 20px 20px 0 20px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0A0A0A;
  box-shadow: none;
  z-index: 10;
  min-height: 380px;
}

@media (max-width: 768px) {
  .bh-hero-framed-box {
    margin: 10px 10px 0 10px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   HOME PAGE HEADER OVERLAY – Topbar + Header float ABOVE carousel
   ========================================================================== */

/* Blur strip sits ON the slide image, BEHIND the header text */
#carousel-home {
  position: relative;
}
#carousel-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 115px; /* covers topbar + nav height */
  z-index: 99;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  background: linear-gradient(
    to bottom,
    rgba(4, 14, 30, 0.38) 0%,
    rgba(4, 14, 30, 0.10) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* Header overlay itself stays transparent — blur is handled by ::before above */
.bh-home-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bh-home-header-overlay>* {
  pointer-events: auto;
}

body.home .bh-home-header-overlay .bh-topbar {
  position: relative;
  z-index: 101;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bh-topbar {
  font-family: var(--font-primary) !important;
  font-size: 13px;
  border-bottom: none !important;
}

.bh-topbar span,
.bh-topbar a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.bh-topbar i {
  color: #ffffff !important;
  font-size: 13px !important;
}

.bh-topbar a:hover {
  color: #7aaddb !important;
}

body.home .bh-home-header-overlay .bh-header-wrap {
  position: relative;
  z-index: 101;
  background: transparent !important;
  border-bottom: none !important;
}

/* Inner-page framed-box topbar and header */
.bh-hero-framed-box .bh-topbar {
  position: relative;
  z-index: 20;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: none !important;
}

.bh-hero-framed-box .bh-header-wrap {
  position: relative;
  z-index: 20;
  background-color: transparent !important;
  border-bottom: none !important;
}

.bh-hero-framed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.bh-hero-framed-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.10) 100%);
  z-index: 2;
}

/* ==========================================================================
   HOME PAGE: carousel in <main> is styled like a framed box
   WordPress adds class 'home' to body on front page
   ========================================================================== */
body.home #carousel-home {
  margin: 20px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative !important;
}

@media (max-width: 768px) {
  body.home #carousel-home {
    margin: 10px !important;
    border-radius: 10px !important;
  }
}


/* Hotale 2-Row Hero Container: Row 1 Title, Row 2 Form */
body.home #carousel-home .slide-text {
  padding: 0 !important;
}

body.home .bh-home-header-overlay .bh-topbar .container,
body.home .bh-home-header-overlay .bh-header-wrap .container {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* bh-opacity-mask fill full slide and align 2 rows */
body.home #carousel-home .owl-slide .bh-opacity-mask,
#carousel-home .owl-slide .bh-opacity-mask,
.bh-opacity-mask {
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-top: 200px !important;
  padding-bottom: 220px !important;
}

/* Non-home carousel: keep as relative */
#carousel-home {
  position: relative !important;
}


.bh-hero-search-wrapper {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 15px;
}

/* Inner-page banner title area */
.bh-hero-title-area {
  position: relative;
  z-index: 10;
  padding: 50px 20px 70px 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .bh-hero-title-area {
    padding: 35px 15px 50px 15px;
  }
}

@media (max-width: 991.98px) {

  body.home #carousel-home,
  #carousel-home,
  #carousel-home .owl-carousel,
  #carousel-home .owl-carousel .owl-stage-outer,
  #carousel-home .owl-carousel .owl-stage,
  #carousel-home .owl-carousel .owl-slide {
    min-height: 800px !important;
    height: auto !important;
  }

  body.home #carousel-home {
    margin: 10px 10px 0 10px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  .owl-slide.background-image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.home #carousel-home .slide-text,
  .slide-text {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  .owl-slide-animated.owl-slide-title,
  h1.owl-slide-title {
    font-size: clamp(2.2rem, 7.8vw, 3.2rem) !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  .owl-slide-animated.owl-slide-subtitle,
  p.owl-slide-subtitle {
    font-size: clamp(0.75rem, 2.8vw, 0.88rem) !important;
    letter-spacing: 0.1em !important;
  }

  .bh-hero-search-wrapper {
    position: absolute !important;
    bottom: 12px !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    margin-top: 0 !important;
    width: 100% !important;
    padding: 0 10px !important;
    z-index: 100 !important;
  }

  .bh-hero-search-card {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .bh-hero-search-card .bh-glass-input {
    height: 40px !important;
    font-size: 13px !important;
  }

  .bh-hero-search-card label {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
}


/* ==========================================================================
   GLOBAL REUSABLE LIQUID GLASS UTILITY SYSTEM
   Usage: Add class 'bh-liquid-glass' to any card, form, badge, or container!
   ========================================================================== */
.bh-liquid-glass {
  position: relative;
  background: hsl(0 0% 0% / var(--glass-frost, 0.10)) !important;
  -webkit-backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.25)) blur(16px);
  backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.25)) blur(16px);
  box-shadow:
    inset 0 0 2px 1px #ffffff59,
    inset 0 0 10px 4px #ffffff26,
    inset 0 4px 16px #11111a0d,
    inset 0 8px 24px #11111a0d,
    0 15px 35px rgba(0, 0, 0, 0.35);
  border: none !important;
  border-radius: 14px;
  padding: 16px 22px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-hero-search-card {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 100;
  background: hsl(0 0% 0% / var(--glass-frost, 0.10)) !important;
  -webkit-backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.25)) blur(16px);
  backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.25)) blur(16px);
  box-shadow:
    inset 0 0 2px 1px #ffffff59,
    inset 0 0 10px 4px #ffffff26,
    inset 0 4px 16px #11111a0d,
    inset 0 8px 24px #11111a0d,
    0 15px 35px rgba(0, 0, 0, 0.35);
  border: none !important;
  border-radius: 14px;
  padding: 18px 26px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-liquid-glass-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-liquid-glass-hover:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 3px 1.5px #ffffff80,
    inset 0 0 14px 5px #ffffff33,
    0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Hero Form Labels & Text Overrides (Ensure Light Text & Perfect Alignment) */
.bh-hero-search-card label,
.bh-hero-search-wrapper label {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
}

.bh-hero-search-card .position-relative i.bi-calendar-event,
.bh-hero-search-wrapper .position-relative i.bi-calendar-event {
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 14px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.bh-glass-input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 400;
  height: 44px !important;
  padding: 8px 14px;
  display: flex !important;
  align-items: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-glass-input *,
.bh-glass-input span,
.bh-glass-input input,
.bh-glass-input div {
  color: #ffffff !important;
}

.bh-glass-input i.bi {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 1px !important;
}

span[id$="_label"] {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-right: 2px !important;
}

.bh-glass-input.ps-5 {
  padding-left: 38px !important;
  padding-right: 8px !important;
}

/* Quantity Stepper (+ / -) Buttons */
.bh-qty-btn {
  width: 26px;
  height: 26px;
  line-height: 1;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50% !important;
  transition: all 0.2s ease;
}

.bh-qty-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Hide native calendar icon indicator to eliminate double icons */
.bh-glass-input::-webkit-calendar-picker-indicator {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* Theme Built-in DateRangePicker Popup Custom Styling */
.daterangepicker {
  font-family: var(--font-primary) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25) !important;
  z-index: 99999 !important;
  padding: 10px !important;
  background: #ffffff !important;
}

.daterangepicker.drop-up {
  margin-top: -10px !important;
  margin-bottom: 10px !important;
}

.daterangepicker.drop-up:before {
  top: initial !important;
  bottom: -7px !important;
  border-bottom: initial !important;
  border-top: 7px solid #ccc !important;
}

.daterangepicker.drop-up:after {
  top: initial !important;
  bottom: -6px !important;
  border-bottom: initial !important;
  border-top: 6px solid #fff !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: var(--bh-primary) !important;
  border-color: var(--bh-primary) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

.daterangepicker td.available:hover {
  background-color: #e6f3fa !important;
  color: var(--bh-primary) !important;
  border-radius: 6px !important;
}

.daterangepicker th.month {
  color: #212a59 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

.flatpickr-months .flatpickr-month {
  background: transparent !important;
  color: #212a59 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700 !important;
}

.flatpickr-weekday {
  color: #888888 !important;
  font-weight: 600 !important;
}

.bh-glass-input.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 14px 10px !important;
}

.bh-glass-input:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.bh-glass-input option {
  background-color: #0A0A0A;
  color: #ffffff;
}

/* Submit button: White background, blue text, hover to blue background with white border */
.bh-search-submit-btn {
  background: #ffffff !important;
  color: var(--bh-primary) !important;
  border: 1px solid #ffffff !important;
  border-radius: 8px !important;
  letter-spacing: 0.08em;
  height: 44px;
  font-size: 14px !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-search-submit-btn i {
  color: var(--bh-primary) !important;
  transition: color 0.3s ease;
}

.bh-search-submit-btn:hover {
  background: var(--bh-primary) !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 113, 178, 0.45);
  transform: translateY(-1px);
}

.bh-search-submit-btn:hover i {
  color: #ffffff !important;
}

.bh-hero-title-area .bh-banner-eyebrow {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 12px;
}

.bh-topbar {
  position: relative;
  z-index: 10;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bh-topbar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bh-topbar a:hover {
  color: var(--blue-light);
}

/* Primary CTA Button */
.btn-bh-primary {
  background-color: var(--blue);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 28px;
  border-radius: 2px;
  border: none;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-bh-primary:hover {
  background-color: var(--blue-light);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 95, 168, 0.35);
}

.btn-bh-outline {
  background-color: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 26px;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.btn-bh-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white) !important;
}

/* --------------------------------------------------------------------------
   4. MARQUEE ANNOUNCEMENT STRIP
   -------------------------------------------------------------------------- */
.bh-marquee-strip {
  background-color: var(--navy);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.bh-marquee-content {
  display: inline-block;
  animation: marquee 32s linear infinite;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   5. WORDPRESS ADMIN BAR COMPATIBILITY FIX
   -------------------------------------------------------------------------- */
body.admin-bar header.reveal_header {
  top: 32px !important;
}

body.admin-bar .nav_panel {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.reveal_header {
    top: 46px !important;
  }

  body.admin-bar .nav_panel {
    top: 46px !important;
  }
}

/* --------------------------------------------------------------------------
   6. LIQUID GLASS SCROLL MOUSE BUTTON OVERRIDE
   -------------------------------------------------------------------------- */
.mouse_wp {
  right: 30px !important;
  bottom: 30px !important;
  z-index: 99 !important;
}

.mouse {
  width: 36px !important;
  height: 58px !important;
  border-radius: 100px !important;
  background: hsl(0 0% 0% / var(--glass-frost, 0.15)) !important;
  -webkit-backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.3)) blur(12px) !important;
  backdrop-filter: var(--filter-id, url(#glass-filter-_r_b_)) saturate(var(--glass-saturation, 1.3)) blur(12px) !important;
  box-shadow:
    inset 0 0 2px 1px #ffffff80,
    inset 0 0 8px 2px #ffffff33,
    0 6px 20px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  position: relative !important;
}

.mouse:before {
  display: none !important;
}

.mouse:after {
  background-color: #ffffff !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 100% !important;
  box-shadow: 0 0 8px #ffffff !important;
}

/* --------------------------------------------------------------------------
   7. MOBILE HERO BACKGROUND FIT & RESPONSIVE OPTIMIZATION
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .owl-slide.background-image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .mouse_wp {
    display: none !important;
  }

  /* Home: slide text padding on mobile */
  body.home #carousel-home .slide-text {
    padding-top: 0 !important;
    padding-bottom: 5px !important;
  }
}

/* --------------------------------------------------------------------------
   8. FINAL OVERRIDES â€” Home carousel styled as rounded framed box
   -------------------------------------------------------------------------- */
/* Ensure cover image always fills slide */
body.home #carousel-home .cover {
  background-size: cover !important;
  background-position: center center !important;
}

/* ==========================================================================
   HOTALE HEADER SYSTEM — Blue Haven Resort (Extracted from header.php)
   ========================================================================== */
.bh-topbar {
  position: relative;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.75);
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
}

.bh-topbar a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.bh-topbar a:hover {
  opacity: 1;
}

.bh-header-background-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.bh-header-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: none !important;
}

.bh-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.bh-logo img {
  height: 40px;
  width: auto;
}

.bh-nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

@media (max-width: 1200px) {
  .bh-nav-menu > li {
    padding: 0 10px;
  }
}

.bh-nav-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: var(--font-primary) !important;
  transition: color 0.25s ease;
  white-space: nowrap;
  border-bottom: none !important;
}

.bh-nav-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.bh-nav-menu > li > a:hover {
  color: #ffffff;
}

.bh-nav-menu > li > a:hover::after,
.bh-nav-menu > li:hover > a::after,
.bh-nav-menu > li.current > a::after,
.bh-nav-menu > li.current-menu-item > a::after,
.bh-nav-menu > li.current_page_item > a::after,
.bh-nav-menu > li.current-menu-ancestor > a::after,
.bh-nav-menu > li.current-page-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.bh-book-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bh-book-now-btn:hover {
  background: #ffffff;
  color: var(--bh-primary);
}

.bh-header-wrap.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bh-header-sticky-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
  height: 72px;
}

.bh-header-wrap.is-sticky .bh-book-now-btn {
  border-color: rgba(255, 255, 255, 0.6);
}

.bh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
}

.bh-hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: all 0.3s;
}

.bh-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bh-primary);
  z-index: 9999;
  padding: 30px 24px;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.bh-mobile-drawer.open {
  right: 0;
}

.bh-mobile-drawer .close-drawer {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.bh-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
}

.bh-mobile-drawer ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.bh-drawer-overlay.active {
  display: block;
}

.bh-page-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bh-primary);
}

.bh-page-banner .bh-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bh-page-banner .bh-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 30, 51, 0.40) 0%, rgba(11, 30, 51, 0.75) 100%);
}

.bh-page-banner .bh-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin-top: 60px;
}

.bh-page-banner .bh-banner-eyebrow {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 12px;
}

.bh-page-banner h1 {
  font-family: var(--font-title);
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .bh-page-banner {
    height: 250px;
    margin: 10px 10px 0 10px;
    border-radius: 10px;
  }

  .bh-page-banner h1 {
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .bh-nav-menu {
    display: none;
  }

  .bh-hamburger {
    display: flex;
  }

  .bh-book-now-btn {
    padding: 7px 14px;
    font-size: 11px;
  }

  .bh-header-wrap {
    height: 68px;
  }
}

@media (max-width: 767px) {
  .bh-topbar {
    display: none !important;
  }

  .bh-page-banner {
    height: 260px;
  }

  .bh-page-banner h1 {
    font-size: 28px;
  }
}

/* ==========================================================================
   UNIFIED HEADER & FOOTER TYPOGRAPHY & LAYOUT SYSTEM
   ========================================================================== */

/* --- Header Text Standardization --- */
.bh-topbar {
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.bh-nav-menu>li>a {
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.bh-book-now-btn {
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.bh-mobile-drawer ul li a {
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}

/* --- Footer Text & Element Standardization --- */
footer h5,
footer .h5,
footer .footer-title {
  font-family: var(--font-title) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-bottom: 1.25rem !important;
}

footer p,
footer span,
footer li,
footer a,
footer small {
  font-family: var(--font-primary) !important;
  font-size: 15px !important;
  line-height: 1.65em !important;
  font-weight: 400 !important;
  color: var(--bh-text-light) !important;
}

.footer_links ul li a {
  position: relative;
  padding-left: 16px;
}
.footer_links ul li a::before {
  content: '\F285';
  font-family: bootstrap-icons !important;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

footer a {
  color: var(--bh-text-light) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

footer a:hover,
footer .hover-white:hover {
  color: #ffffff !important;
}

footer .bi,
footer .bi::before,
footer i[class*="bi-"],
footer i[class*="bi-"]::before {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.btn-social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-social-circle:hover {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #ffffff !important;
  transform: translateY(-2px);
}

 
 /* Typography Fix: Limit max sizes for display classes and h2 */
.display-4, h2.display-4 {
    font-size: clamp(2.2rem, 4vw, 46px) !important;
}
.display-5, h2.display-5, h2.font-serif {
    font-size: clamp(1.8rem, 3.5vw, 42px) !important;
}
.pinned_over_content h2, .bh-home-about-strip h3 {
    font-size: clamp(2.2rem, 4vw, 46px) !important;
}

/* Beautiful Buttons Override */
.button, .btn_1, .btn_1.outline {
    display: inline-block !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    font-family: var(--font-primary), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: center;
    text-decoration: none;
    line-height: normal !important;
    white-space: nowrap !important;
}

/* Arrow Icon */
.button::after, .btn_1::after {
    content: '\2192'; /* Right arrow */
    margin-left: 8px;
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-2px); /* Kéo icon lên một chút để cân bằng với chữ */
    transition: transform 0.3s ease;
}

/* Solid Button (Primary) */
.button, .btn_1 {
    background-color: var(--bh-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--bh-primary) !important;
}
.button:hover, .btn_1:hover {
    background-color: #002c61 !important; /* Darker blue */
    border-color: #002c61 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 64, 138, 0.3);
}
.button:hover::after, .btn_1:hover::after {
    transform: translate(4px, -2px);
}

/* Outline Button */
.button.outline, .btn_1.outline {
    background-color: transparent !important;
    color: var(--bh-primary) !important;
    border: 1px solid var(--bh-primary) !important;
}
.button.outline:hover, .btn_1.outline:hover {
    background-color: var(--bh-primary) !important;
    color: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative;
}
@media (max-width: 991px) {
  .bh-section-boxed {
    margin: 10px !important;
    border-radius: 10px !important;
  }
}


/* Flat box border for single product page */
.bh-flat-box { border: 1.5px solid #cbd5e1 !important; }

/* Global Background Override */
body, .bg-light { background-color: #FBFBFD !important; }


/* Fix DatePicker Cell Borders */
.daterangepicker td, .daterangepicker th { border: none !important; }
.daterangepicker td.active, .daterangepicker td.active:hover { border: none !important; outline: none !important; box-shadow: none !important; }

/* === Single Product Gallery Mobile Optimization === */
@media (max-width: 768px) {
    /* Reduce gap between header and content */
    .single-product main > .container {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Tighter gallery card on mobile */
    .single-product .card {
        border-radius: 12px !important;
    }
    .single-product .card .position-relative.p-2 {
        padding: 4px !important;
    }
    
    /* Gallery grid: visible gaps between images */
    .single-product .card .row.g-2 {
        --bs-gutter-x: 8px;
        --bs-gutter-y: 8px;
    }
    
    /* Main hero image: shorter on mobile */
    .single-product .card .col-md-7 a[data-fancybox] {
        height: 240px !important;
        border-radius: 10px !important;
    }
    
    /* Sub images: compact height */
    .single-product .card .col-md-5 .col-6 a[data-fancybox] {
        height: 116px !important;
        border-radius: 8px !important;
    }
    
    /* Badge smaller on mobile */
    .single-product .card .badge {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    /* Show all button smaller */
    .single-product .card .position-absolute.bottom-0 .btn {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }
}

@media (max-width: 480px) {
    .single-product main > .container {
        padding-top: 0.5rem !important;
    }
    
    .single-product .card .col-md-7 a[data-fancybox] {
        height: 200px !important;
    }
    
    .single-product .card .col-md-5 .col-6 a[data-fancybox] {
        height: 96px !important;
    }
}

/* ==========================================================================
   GLOBAL TABS, BUTTONS & CATEGORY PILLS DESIGN SYSTEM (#00408A)
   ========================================================================== */

/* 1. Category Pills, Filter Tabs & Outline Buttons */
.btn-outline-dark,
.btn-outline-primary,
.bh-menu-filter {
    color: #00408A !important;
    background-color: #ffffff !important;
    border: 1.5px solid #00408A !important;
    font-weight: 500 !important;
    transition: all 0.25s ease-in-out !important;
}

.btn-outline-dark:hover,
.btn-outline-primary:hover,
.bh-menu-filter:hover {
    color: #ffffff !important;
    background-color: #00408A !important;
    border-color: #00408A !important;
    box-shadow: none !important;
}

/* Active State for Tabs & Filter Buttons */
.btn-dark,
.btn-primary,
.btn-outline-dark.active,
.btn-outline-dark.btn-dark,
.btn-outline-primary.active,
.bh-menu-filter.active {
    color: #ffffff !important;
    background-color: #00408A !important;
    border-color: #00408A !important;
    box-shadow: none !important;
}


/* 2. Text Primary and Background Primary Overrides */
.text-primary {
    color: #00408A !important;
}

.bg-primary {
    background-color: #00408A !important;
}

.bg-primary-subtle {
    background-color: rgba(0, 64, 138, 0.1) !important;
}

.text-primary-subtle {
    color: #00408A !important;
}

/* 3. Category & Navigation Pills */
.nav-pills .nav-link,
.bh-category-pill {
    color: #00408A !important;
    background-color: #ffffff !important;
    border: 1.5px solid #00408A !important;
    border-radius: 50rem !important;
    padding: 6px 18px !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.bh-category-pill.active,
.bh-category-pill:hover {
    color: #ffffff !important;
    background-color: #00408A !important;
    border-color: #00408A !important;
}

/* 4. Pagination Styling */
.bh-pagination .page-numbers,
.pagination .page-link {
    color: #00408A !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

.bh-pagination .page-numbers.current,
.bh-pagination .page-numbers:hover,
.pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #00408A !important;
    border-color: #00408A !important;
}

/* ==========================================================================
   BADGE DESIGN SYSTEM (LIQUID GLASS, SOLID BLUE & WHITE BOX BADGES)
   ========================================================================== */

/* 1. Liquid Glass Badge over Images */
.bh-badge-glass,
.badge-glass {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    color: #00408A !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

/* 2. Solid Blue Badge (Navy blue bg + white text) */
.bh-badge-blue,
.badge-blue {
    background-color: #00408A !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 64, 138, 0.2) !important;
}

/* 3. Pure White Box Badge (White bg + navy text & blue border) */
.bh-badge-white,
.badge-white {
    background-color: #FFFFFF !important;
    color: #00408A !important;
    font-weight: 600 !important;
    border: 1.5px solid #00408A !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Override all subtle muted badges to high-contrast White Box Badges */
.bg-primary-subtle,
.bg-success-subtle,
.bg-warning-subtle,
.bg-info-subtle,
.bg-danger-subtle {
    background-color: #FFFFFF !important;
    color: #00408A !important;
    border: 1.5px solid #00408A !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   GLOBAL HERO & BREADCRUMB STANDARDIZATION (EXTRACTED FROM HEADER.PHP)
   ========================================================================== */
.bh-hero-framed-box { 
    min-height: auto !important; 
    padding-bottom: 40px; 
}
@media (min-width: 992px) {
    .bh-hero-framed-box { padding-bottom: 60px; }
}

.single-product .bh-hero-framed-box {
    min-height: 210px !important;
    padding-bottom: 10px !important;
}
.single-product .bh-hero-title-area {
    padding: 85px 20px 15px 20px !important;
}
.bh-breadcrumb-nav {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.bh-breadcrumb-title {
    display: inline-block;
    vertical-align: bottom;
    font-weight: 400 !important;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bh-breadcrumb-nav a {
    color: #ffffff !important;
    opacity: 0.9;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.bh-breadcrumb-nav a:hover,
.bh-breadcrumb-nav a:focus {
    color: #0f172a !important;
    opacity: 1;
}
@media (max-width: 768px) {
    .single-product .bh-hero-framed-box {
        min-height: 150px !important;
        padding-bottom: 10px !important;
    }
    .single-product .bh-hero-title-area {
        padding: 60px 10px 12px 10px !important;
    }
    .bh-breadcrumb-nav {
        max-width: calc(100vw - 40px) !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 12px !important;
    }
    .bh-breadcrumb-title {
        max-width: 120px;
    }
    .bh-bc-c1 { display: none !important; }
    .bh-bc-c4 { display: none !important; }
}

/* ==========================================================================
   GLOBAL SITE-WIDE FONT HARMONIZATION (SPECTRAL + PLUS JAKARTA SANS)
   1. Title: Spectral quý phái, thanh tao kiểu Pháp (weight: 500/600), chuẩn Việt hoá 100% không tách dấu
   2. Base: Plus Jakarta Sans nhẹ nhàng, thanh thoát, đọc êm dịu
   3. Số: Numbers, Price, Stats, Timeline căn chỉnh chỉn chu, lining-nums & tabular-nums
   ========================================================================== */

/* 1. TOÀN BỘ TIÊU ĐỀ (HEADINGS & TITLES) -> SPECTRAL */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.font-serif,
.font-title,
.bh-title-serif,
.title,
.section-title,
.section-heading,
.bh-section-title,
.box_title h2,
.box_title h3,
.main_title_2 h2,
.main_title_3 h2,
.entry-title,
.card-title,
.hero-title,
.owl-slide-title,
.slide-text h1,
.menu_item .menu_title h3,
.menu-section .intro,
.txt_container ul li h3,
.m_title h2,
.bh-quote-text,
blockquote {
    font-family: var(--font-title, 'Spectral', Georgia, serif) !important;
    font-weight: 500 !important; /* Phong cách French Luxury Resort thanh tao, chuẩn tiếng Việt 100% */
    letter-spacing: -0.01em !important;
    line-height: 1.25;
}

/* Các tiêu đề nhỏ cấp 4-6 giữ độ tương phản rõ ràng vừa phải */
h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
}

/* 2. TOÀN BỘ VĂN BẢN THÂN BÀI, NỘI DUNG, MENU, NÚT BẤM -> PLUS JAKARTA SANS */
html,
body,
p,
li,
a,
span,
label,
input,
select,
textarea,
button,
.btn,
.font-sans,
.custom-nav,
.nice-select,
.main-menu,
.main-menu ul li a,
header#header .main-menu > ul > li > a,
#header_menu,
.sub-title,
.subtitle,
.eyebrow,
.bh-eyebrow,
.badge,
.menu_item p,
.menu_item .menu_title em,
.banner .wrapper p,
.menu-section .intro span,
.txt_container ul li p,
.m_title p,
.bh-lead-text,
.am-lead {
    font-family: var(--font-primary, 'Plus Jakarta Sans', -apple-system, sans-serif) !important;
}

body {
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: 0.005em;
}

/* 3. TỐI ƯU CÁC CON SỐ (NUMBERS, PRICES, TIMELINE, STATS) CHỈN CHU, ĐỀU TĂM TẮP */
.price,
.stat-number,
.counter,
.number,
.bh-stat-mini h3,
.bh-stat-mini small,
.bh-timeline-year,
.bh-timeline-date,
.amount,
.phone,
.hotline,
.phone-number,
.room-size,
.room-capacity,
.bh-badge-glass,
[class*="price"],
[class*="count"],
[class*="number"] {
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif) !important;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
}

/* 4. ĐỒNG BỘ NÉT CHỮ NGHỆ THUẬT (ALLISON SCRIPT) */
.font-script,
.script-accent,
.allison-accent {
    font-family: var(--font-script, 'Allison', cursive) !important;
}

/* ==========================================================================
   5. STATS CHUẨN AMOJA EDITORIAL (ĐỒNG BỘ TOÀN SITE - KHÔNG VIỀN BOX)
   ========================================================================== */
.bh-stat-amoja {
    text-align: left;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.bh-stat-amoja .bh-stat-num {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif) !important;
    font-weight: 600;
    color: var(--bh-navy, #0b1e33);
    line-height: 1.05;
    margin-bottom: 8px;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
    letter-spacing: -0.02em;
}

.bh-stat-amoja .bh-stat-label {
    font-size: 13px;
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
    font-weight: 500;
    line-height: 1.4;
    color: var(--bh-text-muted, #64748b);
    letter-spacing: 0.01em;
    text-transform: none; /* Giữ chữ hoa chữ thường tự nhiên sang trọng chuẩn Title Case */
    display: block;
}

@media (max-width: 767px) {
    .bh-stat-amoja .bh-stat-num {
        font-size: 2rem;
    }
    .bh-stat-amoja .bh-stat-label {
        font-size: 12px;
    }
}

/* ==========================================================================
   BLOG POST CONTENT TYPOGRAPHY & LAYOUT (STANDARD WORDPRESS ARTICLE)
   ========================================================================== */
.post-content {
    color: #334155;
    font-size: 16.5px;
    line-height: 1.85;
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #1e293b;
    font-weight: 500;
}

.post-content h2 {
    font-family: var(--font-spectral, 'Spectral', serif) !important;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bh-navy, #0b1e33);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    position: relative;
    padding-bottom: 8px;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--bh-primary, #00408A);
    border-radius: 2px;
}

.post-content h3 {
    font-family: var(--font-spectral, 'Spectral', serif) !important;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-content h4 {
    font-family: var(--font-spectral, 'Spectral', serif) !important;
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.post-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--bh-primary, #00408A);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.75;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content figure {
    margin: 2rem 0;
    text-align: center;
}

.post-content figure img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    height: auto;
}

.post-content figcaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

.post-content .bh-highlight-box {
    background: linear-gradient(135deg, rgba(0, 64, 138, 0.04) 0%, rgba(0, 64, 138, 0.08) 100%);
    border: 1px solid rgba(0, 64, 138, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.post-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.post-content table th,
.post-content table td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    font-size: 14.5px;
}

.post-content table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #0f172a;
}

/* ==========================================================================
   BLUE HAVEN RESORT — NEWS & EDITORIAL LAYOUT SYSTEM (v2.1)
   Luxury French Resort Editorial: Amoja-inspired filter pills & magazine grid
   ========================================================================== */

/* Category Filter Bar (No scrollbars, elegant pill buttons) */
.bh-cat-filter-section {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.bh-cat-filter-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE 10+ */
}

.bh-cat-filter-scroll::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Edge */
    width: 0 !important;
    height: 0 !important;
}

.bh-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: var(--sans);
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bh-cat-pill:hover {
    color: var(--bh-primary);
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.bh-cat-pill.active {
    color: #ffffff !important;
    background: var(--bh-primary) !important;
    border-color: var(--bh-primary) !important;
    font-weight: 600;
    box-shadow: none !important;
}

/* Featured Split Post Card - No shadow */
.bh-spotlight-card {
    transition: transform 0.35s ease, border-color 0.35s ease;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.bh-spotlight-card:hover {
    box-shadow: none !important;
    border-color: rgba(0, 64, 138, 0.3) !important;
}

.bh-img-zoom {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bh-spotlight-card:hover .bh-img-zoom,
.bh-news-card:hover .bh-img-zoom {
    transform: scale(1.05) !important;
}

/* News Grid Cards - No shadow */
.bh-news-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

.bh-news-card:hover {
    transform: translateY(-4px);
    box-shadow: none !important;
    border-color: rgba(0, 64, 138, 0.3) !important;
}

.bh-news-card .bh-card-title {
    font-size: 1.22rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.bh-news-card:hover .bh-card-title {
    color: var(--bh-primary) !important;
}

.bh-news-card .bh-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--bh-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bh-news-card .bh-read-more i {
    transition: transform 0.2s ease;
}

.bh-news-card:hover .bh-read-more i {
    transform: translateX(4px);
}

/* Sidebar Widgets - No shadow */
.bh-sidebar-widget {
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.bh-cat-list-item {
    transition: all 0.2s ease;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.bh-cat-list-item:last-child {
    border-bottom: none;
}

.bh-cat-list-item a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bh-cat-list-item:hover a {
    color: var(--bh-primary);
}

.bh-recent-post-item {
    transition: all 0.2s ease;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.bh-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bh-recent-post-item .bh-recent-title {
    font-size: 14px;
    line-height: 1.4;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bh-recent-post-item:hover .bh-recent-title {
    color: var(--bh-primary) !important;
}

/* ==========================================================================
   WORDPRESS ADMIN BAR DASHICONS FIX
   Prevent theme font-family rules from overriding admin bar dashicons
   ========================================================================== */
#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar [class*="ab-icon"],
#wpadminbar .dashicons,
#wpadminbar .dashicons:before,
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
    font-family: dashicons !important;
}







