/* ===== BOAT DETAILS PAGE — CSS ===== */
  @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

  :root {
    --primary: #007BFF;
    --primary-dark: #0F75BC;
    --text-dark: #26212B;
    --text-black: #000000;
    --text-muted: #555555;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-lighter: #F7F7F7;
    --border-dark: #717171;
    --border-medium: #BFBFBF;
    --border-light: #D0D0D0;
    --border-lighter: #E2E2E2;
    --font-family: 'Nunito', sans-serif;
    --section-pad-desktop: 15px;
    --section-pad-mobile: 15px;
    --radius-btn: 8px;
    --radius-card: 15px;
    --radius-search: 34px;
    /* WordPress Global Variable Mappings */
    --wp-primary: var(--e-global-color-primary, #26212B);
    --wp-secondary: var(--e-global-color-secondary, #21A9E1);
    --wp-text: var(--e-global-color-text, #007BFF);
    --wp-accent: var(--e-global-color-accent, #010246);
    --wp-muted: var(--e-global-color-3bb6aef, #868686);
    --wp-dark-text: var(--ast-global-color-2, #1e293b);

    /* Map Design System to WP Variables */
    --text-dark: var(--wp-primary);
    --primary: var(--wp-text);
    --primary-dark: var(--e-global-color-c1ffcd0, #0F75BC);
    --text-muted: var(--wp-muted);
    --transition: 0.3s ease;
  }

  /* ---------- Reset ---------- */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
	
 

  /* ---------- Utility ---------- */

  .section-padding {
    padding-top: var(--section-pad-desktop);
    padding-bottom: var(--section-pad-desktop);
  }

  .section-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
  }

  .separator {
    margin: 35px 0 35px 0;
  }

  /* ===================================
   HEADER
   =================================== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-lighter);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 8px;
  }

  .header-logo img {
    width: 104px;
    height: 43px;
  }

  .search-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    max-width: 650px;
  }

  .search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-search);
    padding: 4px 4px 4px 12px;
    gap: 0;
    height: 48px;
    transition: box-shadow var(--transition);
    width: fit-content;
  }

  .search-bar:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  /* Desktop: Hide placeholder if search bar is functional */
  @media (min-width: 769px) {
    .search-placeholder {
      display: none;
    }
  }

  .search-bar .filter-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 20px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .search-bar .filter-item+.filter-item::before,
  .search-bar .filter-item+.date-filter-wrap::before,
  .search-bar .date-filter-wrap+.filter-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 19px;
    background: var(--border-medium);
  }

  .search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-left: 4px;
    flex-shrink: 0;
    transition: background var(--transition);
  }

  .search-btn:hover {
    background: var(--primary-dark);
  }

  .search-btn svg {
    width: 14px;
    height: 14px;
  }

  /* Date Filter Special Styling */
  .date-filter-wrap {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
  }

  .date-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
  }

  .date-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
  }

  .date-filter-wrap.has-value .date-placeholder {
    color: var(--text-dark);
  }

  .booking-date-wrap {
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    height: 48px;
    padding: 0 16px;
    justify-content: space-between;
  }

  .calendar-icon {
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2326212B" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>') no-repeat center;
  }

  .filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-search);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    height: 48px;
    transition: box-shadow var(--transition);
  }

  .filter-btn:hover {
    background: var(--bg-light);
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .dropdown-trigger {
    display: flex;
    gap: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    transition: color var(--transition);
  }

  .dropdown-trigger .arrow {
    border: solid var(--text-black);
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 3.5px;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition);
  }

  .dropdown-trigger.open .arrow {
    transform: translateY(1px) rotate(-135deg);
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-btn);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    padding: 8px 0;
  }

  .dropdown-trigger.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 220px;
    overflow: auto;
    scroll-behavior: auto;
  }

  .dropdown-menu li {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    list-style: none;
    color: var(--text-dark);
  }

  .dropdown-menu li:hover {
    background: var(--bg-light);
    color: var(--primary);
  }

  .filter-item .dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  .filter-item.open .dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  /* Custom selects for where, when, who, currency, etc. */
  /* Obsolete select styles removed */
  .currency-trigger {
    min-width: auto;
    justify-content: flex-end;
  }

  .currency-trigger .dd-value {
    margin-right: 4px;
  }

  .lang-trigger {
    min-width: auto;
    justify-content: flex-end;
  }

  .lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
  }

  .booking-dd {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    justify-content: space-between;
  }

  .booking-dd .arrow {
    margin-right: 4px;
  }

  .booking-dd .dropdown-menu {
    top: calc(100% + 4px);
    width: 100%;
    left: 0;
  }

  .search-bar .filter-item {
    color: var(--text-muted);
    font-weight: 500;
  }

  .search-bar .filter-item.open,
  .search-bar .filter-item:hover {
    color: var(--text-dark);
  }

  .search-bar .filter-item::after {
    display: none;
  }

  /* Ensure no arrows */
  .lang-flag {
    width: 24px;
    height: 12px;
    border-radius: 0;
  }

  /* ===================================
   HERO IMAGE GALLERY
   =================================== */
  .gallery-section {
    padding-top: 30px;
  }

  .gallery-title {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 34px;
  }
  
  .gallery-title.desktop-view {
	  display:block;
  }
  .gallery-title.mobile-view {
	  display:none;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 460px;
    border-radius: 12px;
    overflow: hidden;
  }

  .gallery-grid .gallery-main {
    width: 100%;
    height: 100%;
  }

  .gallery-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
  }

  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }

  

  .gallery-thumb {
    width: 100%;
    height: 100%;
	max-width: 310px;
    max-height: 230px;
    overflow: hidden;
    position: relative;
  }

  .gallery-thumb-last {
    position: relative;
  }

  .show-all-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border: none;
    border-radius: var(--radius-btn);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background var(--transition), transform 0.2s;
    background-color: #fff;
    color: inherit;
  }

  /*.show-all-btn:hover { background: #f0f0f0; transform: translateY(-2px); }*/
  .gallery-subtitle {
    font-size: 16px;
    color: #717171;
    margin-top: 15px;
    line-height: 24px;
  }

  .gallery-subtitle span.currency-display,
  .gallery-subtitle span.price-val {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .gallery-price {
    font-size: 18px;
    color: #717171;
    font-weight: 400;
    margin-top: 4px;
  }

  .gallery-price strong {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .gallery-price span {
    font-size: inherit;
    color: inherit;
  }

  .it-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: -3px;
  }

  /* Lightbox */
  .lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
  }

  .lightbox-overlay.active {
    display: flex;
  }

  .lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
  }

  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
  }

  .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  /* Mobile slider (hidden on desktop) */
  .gallery-slider {
    display: none;
  }

  /* ===================================
   BOOKING BAR
   =================================== */
  * New Booking Bar Overhaul */ .booking-bar-section {
    border-top: 1px solid #BFBFBF;
    border-bottom: 1px solid #BFBFBF;
    background: #fff;
  }

  .booking-bar-new {
    display: flex;
    align-items: stretch;
    padding: 12px 0;
  }

  .bb-field {
    flex: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
  }

  .bb-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
  }


  /* Parent container fix */
  .bb-field.dropdown-trigger {
    position: relative;
  }

  /* Top label row (Where, When, etc) */
  .bb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Arrow styling */
  .bb-arrow {
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    pointer-events: none;
    background: url('/wp-content/uploads/2026/04/download.png') no-repeat center;
    background-size: contain;
  }

  /* Create clean caret arrow */
  .bb-arrow::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin: auto;
  }

  /* Optional: spacing so text doesn't overlap */
  .bb-top label {
    padding-right: 15px;
  }


  .bb-val-wrap {
    display: flex;
    align-items: center;
  }

  .bb-field .dd-value {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
  }

  .bb-divider {
    width: 1px;
    margin: 0 18px 0 0;
    background: #ccc;
  }

  .bb-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-left: 20px;
    margin-left: auto;
  }

  .bb-total-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 20px;
  }

  .bb-action .total-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
  }

  .bb-action .total-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
  }

  .booking-bar-new .book-now-btn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    white-space: nowrap;
  }

  .booking-bar-new .book-now-btn:hover {
    background: #0056b3;
  }

  /* Custom Calendar Popup */
  .custom-calendar-popup {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    width: 300px;
  }

  .custom-calendar-popup.active,
  .dropdown-trigger.open .custom-calendar-popup {
    display: block;
  }

  .cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .cal-month-year-text {
    font-weight: 700;
    font-size: 16px;
  }

  .cal-nav {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    color: var(--text-dark);
  }

  .cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: #717171;
    margin-bottom: 10px;
  }

  .cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }

  .cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
  }

  .cal-day:hover {
    background: #f0f0f0;
  }

  .cal-day.active {
    background: #007BFF !important;
    color: #fff !important;
  }

  .cal-day.muted {
    color: #ccc;
    cursor: default;
  }

  .cal-day.today {
    border: 1px solid #007BFF;
  }




  /* ===================================
   DESCRIPTION
   =================================== */
  .description-section {
    margin-bottom: 50px;
  }

  .description-section p {
    font-size: 15px;
    line-height: 20px;
    color: var(--text-black);
  }

  /* ===================================
   WHAT THIS YACHT OFFERS
   =================================== */
  .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }

  .offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
  }

  .offer-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  /* ===================================
   AMENITIES ACCORDION
   =================================== */
  .accordion-item {
    border-bottom: none;
  }

  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    background: none;
    width: 100%;
    text-align: left;
    box-shadow: none;
  }

  button.accordion-header:focus {
    background: transparent;
    color: var(--text-dark);
  }

  .accordion-header .accordion-arrow {
    width: 12px;
    height: 12px;
    border: solid var(--text-dark);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform var(--transition);
  }

  .accordion-item.active .accordion-arrow {
    transform: rotate(-135deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 21px;
  }

  .accordion-content-inner {
    padding: 20px;

  }

  #amenities-section ul {
    column-count: 4;
	display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 columns */
    gap: 15px 40px; /* row gap / column gap */
  }
  
  span.amenities-icon {
    padding-right: 0;
    width: 23px;
    height: 23px;
    object-fit: contain;
  }
  span.amenities-icon img {
	background: none !important;
	box-shadow: none !important;
  }

  /* ===================================
   SLEEPING ARRANGEMENTS
   =================================== */
  .sleeping-grid {
    display: flex;
    background: transparent;
  }

  .sleeping-item {
    flex: 0 0 auto;
    padding: 0px 230px 0 0;
    text-align: left;
    border-right: 1px solid var(--border-light);
    margin-right: 21px;
  }

  .sleeping-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .sleeping-item .sleeping-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
  }

  .sleeping-item .sleeping-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
  }

  /* ===================================
   BOAT SPECIFICATION
   =================================== */
  .spec-grid {
    display: flex;
    background: transparent;
    flex-wrap: wrap;
  }

  .spec-item {
    padding: 0 60px 0 0;
    border-right: 1px solid var(--border-light);
    margin-right: 60px;
    text-align: left;
  }

  .spec-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .spec-item .spec-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
  }

  .spec-item .spec-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
  }

  /* ===================================
   TOUR ITINERARY
   =================================== */
  .itinerary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    margin-top: 27px;
  }

  .itinerary-card {
    background: var(--bg-lighter);
    border: none;
    border-radius: 12px;
    padding: 32px 24px;
  }

  .itinerary-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
  }

  .itinerary-badge.blue {
    background: #21A9E1;
  }

  .itinerary-badge.green {
    background: #007BFF;
  }

  .itinerary-badge.red {
    background: #010246;
  }

  .itinerary-list {
    padding-left: 0;
    list-style: none;
    position: relative;
  }

  ul.itinerary-list {
    margin: 0px;
  }

  .itinerary-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
  }

  .itinerary-list li:last-child {
    margin-bottom: 0;
  }

  .itinerary-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 2;
  }

  .itinerary-card:nth-child(1) .itinerary-list li::before {
    background: #21A9E1;
  }

  .itinerary-card:nth-child(2) .itinerary-list li::before {
    background: #007BFF;
  }

  .itinerary-card:nth-child(3) .itinerary-list li::before {
    background: #010246;
  }

  .itinerary-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 14px;
    width: 1px;
    height: calc(100% - 2px);
    border-left: 1px dotted #717171;
    z-index: 1;
  }

  .it-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
  }

  .itinerary-note {
    font-size: 15px;
    margin-top: 20px;
  }
  
  .picker-col li.disabled {
	  opacity: 0.3;
	  pointer-events: none;
	  cursor: not-allowed;
	}

  /* ===================================
   MOBILE HEADER — Search placeholder
   =================================== */
  .search-placeholder {
    display: none;
  }

  @media (min-width: 768px) {
    .search-placeholder {
      display: none !important;
    }
  }

  /* New css */
  .single-boat .ast-article-single {
    padding: 0 !important;
  }

  .single-boat #content {
    background-color: #fff;
  }

  .single-boat .section-padding {
    padding: 0;
  }

  .single-boat .elementor-top-section {
    background: #fff;
  }

  .single-boat .booking-bar-section {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 33px;
  }

  .single-boat button.accordion-header:hover {
    color: inherit;
    background-color: unset;
    border-color: unset;
  }

  .single-boat .hfe-before-footer-wrap {
    background-color: #ffffff;
  }

  #amenities-section ul {    
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #amenities-section ul li {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #444;
    transition: all 0.3s ease;
    display: flex;
	align-items: center;
  }

  /* Custom bullet */
  /*#amenities-section ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-size: 14px;
  }*/

  /* Hover effect */
  #amenities-section ul li:hover {
    color: var(--text-dark);
    /*transform: translateX(5px);*/
  }
  
  .bb-field .dropdown-menu li.selected {
    background: #007BFF;
    color: #fff;
  }
	
.listing-grid-section { height:0; }


.bb-field .dropdown-menu {
  display: none;
}

.bb-field.active .dropdown-menu {
  display: block;
}

.bb-field .dropdown-menu {
  display: none;
}

.bb-field.active .dropdown-menu {
  display: block;
}

/* optional if you use open for animation */
.bb-field.open {
  z-index: 10;
}

.bb-field .dropdown-menu { display:none; }
.bb-field.active .dropdown-menu { display:block; }

.picker-popup {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  z-index: 10;
  top: calc(100% + 15px);
  left: -15px;
}

.bb-field.active .picker-popup {
  display: block;
}

.picker-columns {
  display: flex;
  gap: 20px;
}

.picker-col {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  width: 60px;
  text-align: center;
}

.picker-col li {
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}

.picker-col li.active {
  background: #1a73e8;
  color: #fff;
}

.duration-mins li.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.duration-mins li.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.duration-mins li.active {
  background: #1a73e8;
  color: #fff;
}
.booking-error {
	display:none; color: #ff0000; font-size: 13px; margin-top: 10px; text-align: right; font-weight: bold;
}
.bb-field.active .dropdown-menu, .bb-field.active .custom-calendar-popup {
	display: block;
	visibility: visible;
	opacity: 1;
}
.bb-field.active .dropdown-menu {
	width:100%;
}		
	

  /* ===================================
   RESPONSIVE — MOBILE (max-width: 767px)
   =================================== */
  @media (max-width: 767px) {
    .section-padding {
      padding-top: var(--section-pad-mobile);
      padding-bottom: var(--section-pad-mobile);
    }

	.gallery-title.desktop-view {
	  display:none;
	  }
	  .gallery-title.mobile-view {
		  display: block;
          font-size: 21px;
          line-height: 26px;
          padding: 15px 15px 0;
	  }
	  .gallery-subtitle {
		 margin-top: 0;
		 font-size:15px;
	  }
	  .gallery-title.mobile-view {
		 margin-bottom: 0;
	  }

    /* Header */
    .search-filter-wrapper {
      order: 3;
      width: 100%;
      max-width: 100%;
      margin-top: 8px;
    }

    .search-bar {
      width: 100%;
      justify-content: space-between;
      height: 44px;
    }

    .search-bar .filter-item {
      display: none;
    }

    .search-bar .search-placeholder {
      display: block;
      font-size: 15px;
      font-weight: 600;
      margin-right: auto;
    }

    .filter-btn {
      height: 44px;
      padding: 0 16px;
    }

    .header-right {
      gap: 10px;
    }

    /* Gallery */
    .gallery-grid {
      display: none;
    }

    .gallery-slider {
      display: block;
      position: relative;
      /*border-radius: 12px;*/
      overflow: hidden;
    }

    .gallery-slider-track {
      display: flex;
      transition: transform 0.4s ease;
    }

    .gallery-slider-track img {
      flex: 0 0 100%;
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .gallery-slider-indicator {
      position: absolute;
      bottom: 12px;
      left: 80%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    /* Booking bar */
    .booking-bar {
      border-radius: 0;
      box-shadow: none;
      border: none;
      border-top: 1px solid var(--border-lighter);
      border-bottom: 1px solid var(--border-lighter);
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding: 24px 0;
      margin-top: 0;
      background: transparent;
    }

    .booking-field,
    .booking-total,
    .book-now-btn {
      width: 100%;
      margin: 0;
      border: none;
      padding-left: 0;
    }

    .booking-total {
      padding-top: 16px;
      border-top: 1px solid var(--border-lighter);
      text-align: left;
    }

    .book-now-btn {
      margin-top: 12px;
      height: 50px;
      font-size: 16px;
    }

    /* Offers */
    .offers-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    /* Sleeping / Spec Refinements for Mobile Match */
    .sleeping-grid {
      display: flex;
      flex-direction: row !important;
      background: transparent !important;
      border: none !important;
      gap: 0 !important;
    }

    .sleeping-item {
      flex: 1;
      border: none !important;
      border-right: 1px solid var(--border-lighter) !important;
      border-radius: 0 !important;
      background: transparent !important;
      padding: 0 20px 0 0 !important;
      text-align: left !important;
      display: block !important;
    }

    .sleeping-item:last-child {
      border-right: none !important;
      padding-left: 20px !important;
      padding-right: 0 !important;
    }

    .sleeping-item .sleeping-label {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .sleeping-item .sleeping-value {
      font-size: 18px;
      font-weight: 700;
    }

    .spec-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      grid-template-rows: auto auto !important;
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      gap: 20px 0 !important;
    }

    .spec-item {
      border: none !important;
      padding: 0 !important;
	  margin-right:0;
    }

    .spec-item:nth-child(odd) {
      border-right: 1px solid var(--border-lighter) !important;
      padding-right: 20px !important;
    }

    .spec-item:nth-child(even) {
      padding-left: 20px !important;
    }

    .spec-item .spec-label {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .spec-item .spec-value {
      font-size: 18px;
      font-weight: 700;
    }
	
	#amenities-section ul {
		column-count: 2;
		grid-template-columns: repeat(2, 1fr);
	  }


    /* Tour */
    .itinerary-grid {
      grid-template-columns: 1fr;
    }
	
	.single-boat .ast-container #primary {
		margin-top: 0;
		padding-top: 0;
	}
	
	.booking-bar-section {
        padding-right: 15px;
        padding-left: 15px;
    }
	
	.booking-bar-new {
		flex-direction: column;
	}
	
	.bb-field.dropdown-trigger {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.bb-divider {
		width: 100%;
		height: 0;
		border-top: 1px solid #BFBFBF;
		opacity: 1;
	}
	
	.bb-field .dropdown-menu {
		max-height:300px;
		min-width: 100%;
	}
	.bb-action {
		padding-left: 0;
		width: 100%;
	}
	.bb-total-price-wrap {
		width: 100%;
		justify-content: space-between;
	}
	
	section.listing-grid-section {
        padding-bottom: 0;
    }
	
	.bb-field label, .bb-field .dd-value, .bb-action .total-label, .bb-action .total-price, .offer-item, .amenities-title {
		font-size:15px;
	}
	.bb-arrow {
		background:none;
	}
	.bb-arrow::before {
		width: 13px;
		height: 13px;
	}

 
    .ast-separate-container #content .ast-container {
		  padding: 0;
	  }
	  .single-boat .section-padding {
		padding-right: 15px;
		padding-left: 15px;
	  }
	  .single-boat .section-padding.gallery-section {
		padding: 0;
	  }
	 .gallery-subtitle {
		padding-right: 15px;
		padding-left: 15px;
	  }
  }
  
  