/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/**
 * FILE ORGANIZATION:
 * 
 * 1. MOBILE BOTTOM BAR CRITICAL STYLES (must be first for specificity)
 * 2. LAMUSE TABS - Tab navigation component
 * 3. TRIP BUILDER - Main booking system (Steps 1-3)
 *    - Step containers and titles
 *    - Variant cards with steppers
 *    - Subtotal and error displays
 * 4. CHECKOUT FORM STYLING - Date/time picker wrapper
 * 5. WOOCOMMERCE INTEGRATION - Cart/checkout/order customization
 * 6. VIDEO BACKGROUND FIX - Mobile video autoplay
 * 7. SUMMARY & BOOKING BUTTONS - Step 3 review section
 * 8. DESKTOP STICKY SUMMARY - Fixed sidebar (1100px+)
 * 9. MOBILE BOTTOM BAR - Fixed bottom bar (<1100px)
 * 10. MOBILE RESPONSIVE - Small screen adjustments
 */

/**
 * MOBILE BOTTOM BAR - CRITICAL STYLES
 * These styles must be at the top with high specificity to override theme defaults
 * The mobile bottom bar is a fixed element that appears at the bottom of the screen
 * on mobile devices (<1100px) showing booking status and a "View & Book" button
 */

/* Force mobile bottom bar to show on small screens */
@media (max-width: 1099px) {
  #hsMobileBottomBar.hs-mobile-bottom-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
  }
}

/**
 * LAMUSE TABS
 * Custom tab component styling for content sections
 */

.lamuse-tabs {
  margin-top: 20px;
}
.tabs-header {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 16px;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.tab-btn.active {
  font-weight: bold;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.tab-section {
  margin-top: 30px;
}

/**
 * ===== TRIP BUILDER =====
 * Complete booking system with 3 steps:
 * Step 1: Date selection
 * Step 2: Variant cards with traveler steppers
 * Step 3: Summary and booking button
 * 
 * Additional components:
 * - Desktop sticky summary sidebar (1100px+)
 * - Mobile bottom bar (<1100px)
 */

/* ===== TRIP BUILDER ===== */

.trip-booking {
  max-width: 900px;
}

/**
 * Step Container
 * Each step (date, options, summary) is wrapped in .step
 * Provides consistent spacing between sections
 */

/* Steps */
.step {
  margin-top: 20px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight:600;
  margin-bottom:10px;
}

.trip-booking .step-title span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #11202d;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 32px;
}

/**
 * Variants Container
 * Holds all variant cards in a vertical flex layout
 * Each variant represents a different trip option (e.g., Standard, Deluxe)
 */

/* Variants */
.variants {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trip-booking .step #booking-date,
.trip-booking .step .input-date {
  display: block;
  width: 80%;
  max-width: 80%;
  box-sizing: border-box;
}

/**
 * Variant Cards
 * Individual trip option cards containing:
 * - Header with title and badge
 * - Description and note
 * - Price display
 * - Traveler steppers (adults, children, infants)
 * - Subtotal (shown when travelers added)
 * - Error messages (shown when validation fails)
 * 
 * States:
 * - .has-selection: Has travelers but passes validation (shows subtotal)
 * - .is-invalid: Has travelers but fails min_adults validation (red border + error)
 */

/* Variant Cards */
.variant {
  border: 1px solid #0b7e93;
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.variant.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.08);
}

/**
 * Variant Header
 * Title and "Most popular" badge positioning
 */

/* Variant Header */
.variant-header {
  display:flex;
  justify-content:space-between;
}

.badge{
  background:#f5a623;
  padding:4px 10px;
  border-radius:8px;
  font-size:11px;
}

.price strong{
  font-size:20px;
  font-weight: 700;
}

/**
 * Variant Note
 * Optional informational box with icon
 * Supports bold text via <b> or <strong> tags
 * Example: "Minimum 2 adults required to book this option"
 */

/* Variant Note */
.trip-booking .variant-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  padding: 10px 12px;
  border: 1px solid #d3d8de;
  border-radius: 14px;
  background: #f3f6f8;
}

.trip-booking .variant-note-icon {
  width: 20px;
  height: 20px;
  border: 1px solid #9aa9b7;
  border-radius: 999px;
  color: #647789;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  line-height: 1;
}

.trip-booking .variant-note p {
  margin: 0;
  color: #415568;
  font-size: 15px;
  line-height: 1.35;
}

.trip-booking .variant-note p b,
.trip-booking .variant-note p strong {
  font-weight: 700;
}

/**
 * Variant Rows (Traveler Steppers)
 * Contains the traveler type rows with quantity controls
 * Each row has: Label (e.g., "Adults Age 8+") + Stepper (-, qty, +)
 * 
 * Stepper buttons:
 * - .minus: Decrease quantity (minimum 0)
 * - .plus: Increase quantity (no maximum)
 * - .qty: Current quantity display
 */

/* Variant Rows (Traveler Steppers) */
.trip-booking .row {
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center;
  width:100%;
  gap:12px;
  margin-top:10px;
  justify-content: space-between;
}

.trip-booking .left{
  flex: 0 0 50%;
  min-width: 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left: 15px;
}

.trip-booking .variant-rows .left {
  padding-left: 0;
}

.trip-booking .stepper{
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 24px 24px 24px;
  align-items: center;
  justify-items: center;
  margin-right: 15px;
  column-gap: 6px;
  min-height: 28px;
}

.trip-booking .stepper button{
  width:24px;
  height:24px;
  border-radius:50%;
  cursor:pointer;
  background: none;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.trip-booking .stepper .minus{
  border-color: rgba(0, 0, 0, 0.25);
}

.trip-booking .stepper .minus:hover{
  border-color: rgba(0, 0, 0, 1);
}

.trip-booking .stepper .plus{
  border-color: rgba(0, 0, 0, 0.2);
}

.trip-booking .stepper .plus:hover{
  border-color: rgba(0, 0, 0, 1);
}

.trip-booking .stepper .qty{
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: start;
  text-align: center;
  line-height: 28px;
  font-weight: 600;
}

.trip-booking .variant-rows{
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 0px;
  padding: 8px 0;
}

.trip-booking .variant-rows .row{
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0;
}

.trip-booking .variant-rows .row + .row {
  margin-top: 0px !important;
}

.trip-booking .variant-rows .left div {
  line-height: 1.1;
  font-size: 16px;
  margin: 0;
}

.trip-booking .variant-rows .left small {
  font-size: 12px;
  line-height: 1.2;
  display: block;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/**
 * Variant Subtotal
 * Shows calculated price for this variant
 * Hidden by default, shown when .has-selection class added (JavaScript)
 * Only displays when travelers are selected AND validation passes
 */

/* Variant Subtotal */
.trip-booking .variant .variant-subtotal {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 !important;
  margin-left: 0 !important;
}

.trip-booking .variant.has-selection .variant-subtotal {
  display: flex;
}

.trip-booking .variant .variant-subtotal > span:first-child {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.trip-booking .variant-subtotal strong{
  font-size: 18px;
  font-weight: 700;
}

/**
 * Variant Error Messages
 * Inline validation error box with icon
 * Shows when variant has travelers but min_adults requirement not met
 * Example: "Add 1 more adult to book this option (min. 2)"
 * 
 * Display controlled by:
 * - .variant.is-invalid class (shows error)
 * - [hidden] attribute (overrides display)
 */

/* Variant Error Messages */
.trip-booking .variant-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ffb3b3;
  border-radius: 14px;
  background: #fff1f1;
}

.trip-booking .variant.is-invalid .variant-error {
  display: flex;
}

.trip-booking .variant-error[hidden] {
  display: none !important;
}

.trip-booking .variant-error-icon {
  width: 18px;
  height: 18px;
  border: 1px solid #ff6b6b;
  border-radius: 999px;
  color: #ff3b30;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  line-height: 1;
  margin-top: 2px;
}

.trip-booking .variant-error-text {
  margin: 0;
  color: #ff3b30;
  font-size: 15px;
  line-height: 1.4;
}

/**
 * Checkout Form Styling
 * Custom date/time picker wrapper for specific products
 * Yellow dashed border design for emphasis
 */

/* Checkout & Order Pages */
.chon-ngay-gio-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px;
  background: #fffbe6;
  border: 2px dashed #fccb00;
  border-radius: 8px;
  max-width: 100%;
  align-items: flex-end;
}

.chon-ngay-gio-wrapper .field-ngay {
  flex: 2 1 0%;
  min-width: 140px;
}

.chon-ngay-gio-wrapper .field-gio {
  flex: 1 1 0%;
  min-width: 100px;
}

.chon-ngay-gio-wrapper label {
  font-weight: 600;
  font-size: 14px;
  color: #d35400;
  margin-bottom: 6px;
  display: block;
}

.chon-ngay-gio-wrapper input,
.chon-ngay-gio-wrapper select {
  width: 100%;
  padding: 10px 10px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

/**
 * WooCommerce Checkout & Order Details
 * Custom formatting for booking data display in cart, checkout, and order pages
 * Handles variant subtotal alignment and meta data presentation
 */

/* Checkout booking row alignment */
.woocommerce-checkout-review-order-table td.product-name dl.variation,
.woocommerce-checkout-review-order-table td.product-name dl.variation dt,
.woocommerce-checkout-review-order-table td.product-name dl.variation dd {
  line-height: 1.5;
}

.woocommerce-checkout-review-order-table td.product-total .hs-booking-subtotal-lines {
  display: block;
}

.woocommerce-checkout-review-order-table td.product-total .hs-booking-subtotal-line {
  display: block;
  line-height: 1.5;
}

.woocommerce-checkout-review-order-table td.product-total .hs-booking-subtotal-lines.has-departure-date {
  padding-top: 1.5em;
}

/* Order-received booking row alignment */
.woocommerce-order-details td.product-total {
  position: relative;
  vertical-align: top;
}

.woocommerce-order-details .hs-order-variant-total-stack {
  position: relative;
  min-height: 1px;
}

.woocommerce-order-details .hs-order-variant-total-line {
  display: block;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.woocommerce-order-details .hs-order-variant-total-line-abs {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  margin: 0;
  width: 100%;
}

.woocommerce-order-details .hs-order-variant-total-line.has-meta-gap {
  margin-bottom: 1.45em;
}

.woocommerce-order-details td.product-name dl.variation dt,
.woocommerce-order-details td.product-name .wc-item-meta .wc-item-meta-label,
.woocommerce-order-details td.product-name ul.wc-item-meta strong {
  display: inline;
  margin-right: 0.35em;
  font-weight: 700;
}

.woocommerce-order-details td.product-name dl.variation dd {
  display: inline;
  margin: 0;
}

.woocommerce-order-details td.product-name .hs-order-meta-value {
  font-weight: 400;
}

.woocommerce-checkout-review-order-table td.product-name a,
.woocommerce-order-details td.product-name a {
  font-weight: 700;
}

/**
 * Video Background Mobile Fix
 * Forces Flatsome theme video backgrounds to display and autoplay on mobile devices
 * By default, Flatsome hides video backgrounds on mobile for performance
 */

@media (max-width: 768px) {
  .ux-bg .background-video,
  .ux-bg-video,
  .background-video,
  .hs-force-show-bg-video {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/**
 * ===== SUMMARY & BOOKING BUTTONS =====
 * Step 3: Final review section before booking
 * Contains:
 * - Selection list (departure date + variant rows)
 * - Grand total display
 * - Main booking button
 */

/* ===== SUMMARY & BOOKING BUTTONS ===== */

.summary {
  margin-top: 30px;
  padding:20px;
  background:#f5f5f5;
  border-radius:12px;
}

/**
 * Step 3 Title Spacing
 * Reduces gap between numbered title and summary box
 */

.trip-booking .step-summary-title {
  margin-bottom: 10px;
}

.trip-booking .step-summary-title + .summary {
  margin-top: 0;
}

/**
 * Summary Selection List
 * Shows what user has selected:
 * - Departure date (bold, with border bottom)
 * - Variant rows (title Ã— quantity + price)
 * Empty state: Helper message when no travelers selected
 */

.summary-selection-list {
  margin-bottom: 20px;
}

.summary-empty-message {
  color: #7a7a7a;
  font-size: 15px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.summary-date-row {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}

.summary-date-row strong {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e8e8e8;
}

.summary-item-row:last-child {
  margin-bottom: 16px;
}

.summary-item-title {
  flex: 1;
  font-size: 15px;
  color: #444;
  line-height: 1.4;
}

.summary-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

/**
 * ===== BOOKING BUTTONS =====
 * Main booking buttons with different states:
 * - Disabled: Gray background, cursor not-allowed
 * - Active: Green background (#1D9962), clickable
 * Button text changes based on validation state
 */

/* ===== BOOKING BUTTONS ===== */

#reserveBtn {
  width: 100%;
  height:50px;
  background:#1D9962;
  color:#fff;
  border:none;
  border-radius:999px;
}

/**
 * Sticky Reserve Button (Desktop Sidebar)
 * Same styling as main button but for sticky summary sidebar
 */

#stickyReserveBtn {
  width: 100%;
  height: 56px;
  background: #22a162;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

#stickyReserveBtn:disabled {
  background: #7dc5a5;
  cursor: not-allowed;
}

/**
 * ===== DESKTOP STICKY SUMMARY =====
 * Fixed sidebar that appears on desktop (1100px+) when travelers are selected
 * Follows scroll and shows:
 * - "YOUR SELECTION" heading
 * - Departure date with calendar icon
 * - Selected variants with quantities and prices
 * - Total price (large display)
 * - Booking button
 * 
 * Positioning:
 * - JavaScript calculates left/top based on page layout
 * - Aligns with Reserve section to avoid overlapping product images
 * - Visible only when .is-visible class added (has travelers)
 */

/* ===== DESKTOP STICKY SUMMARY ===== */

.hs-sticky-summary {
  display: none;
}

@media (min-width: 1100px) {
  .hs-sticky-summary {
    position: fixed;
    z-index: 60;
    margin-top: 0;
  }

  .hs-sticky-summary.is-visible {
    display: block;
  }
}

/**
 * ===== MOBILE BOTTOM BAR =====
 * Fixed bottom bar for mobile devices (<1100px viewport)
 * Provides quick access to booking status and summary
 * 
 * Features:
 * - 64px height with 8px bottom margin
 * - Dynamic text based on booking state:
 *   1. "Choose your options" (no travelers, button disabled)
 *   2. "Minimum adults not meet" (validation failed, button disabled)
 *   3. "Ready to book" (all valid, button enabled)
 * - "View & Book" button scrolls to Step 3 on click
 * - Green button matching main booking button style
 * 
 * Z-index: 99999 to ensure it appears above all theme elements
 * Requires high specificity (#ID.class) to override theme styles
 */

/* ===== MOBILE BOTTOM BAR ===== */

/* Mobile Bottom Bar */
.hs-mobile-bottom-bar {
  display: none;
  position: fixed !important;
  bottom: 8px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background: #f8f9fa !important;
  border-top: 2px solid #ddd !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1) !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

/**
 * Mobile Bottom Bar Media Query
 * Shows bar on small screens and adds padding to prevent content hiding
 */

@media (max-width: 1099px) {
  .hs-mobile-bottom-bar {
    display: block !important;
  }

  .trip-booking {
    padding-bottom: 88px;
  }
  
  body {
    padding-bottom: 72px !important;
  }
}

/**
 * Mobile Bottom Bar Content
 * Flexbox layout: text on left, button on right
 * Both vertically centered
 */

.hs-mobile-bottom-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 0 24px;
  max-width: 100%;
}

/**
 * Mobile Bottom Bar Text
 * Status message on left side
 * Truncates with ellipsis if too long
 */

.hs-mobile-bottom-bar-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0;
}

/**
 * Mobile Bottom Bar Button
 * "View & Book" button on right side
 * States:
 * - Active: Green (#22a162), clickable
 * - Hover: Darker green (#1d9962)
 * - Disabled: Light green (#7dc5a5), not clickable
 * Height: 36px with 14px top/bottom margins = 64px total bar height
 */

.hs-mobile-bottom-bar-btn {
  flex-shrink: 0;
  padding: 0 24px;
  background: #22a162 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  margin: 14px 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-mobile-bottom-bar-btn:hover:not(:disabled) {
  background: #1d9962 !important;
}

.hs-mobile-bottom-bar-btn:disabled {
  background: #7dc5a5 !important;
  color: #fff !important;
  cursor: not-allowed;
}

.hs-sticky-summary-card {
  background: #fff;
  border: 1px solid #dbe1e5;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 26px rgba(12, 28, 40, 0.12);
}

.hs-sticky-summary-heading {
  margin: 0 0 16px;
  color: #6d7b86;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hs-sticky-summary-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #24343e;
}

.hs-sticky-summary-date-row strong {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.hs-sticky-summary-icon {
  font-size: 18px;
  line-height: 1;
}

.hs-sticky-summary-items {
  border-bottom: 1px solid #dde3e7;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.hs-sticky-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.hs-sticky-summary-item:first-child {
  margin-top: 0;
}

.hs-sticky-summary-item-left {
  min-width: 0;
  color: #5d707c;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-sticky-summary-item-price {
  color: #1f2f39;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hs-sticky-summary-total-row {
  margin-bottom: 16px;
}

.hs-sticky-summary-total-row > span {
  display: block;
  margin-bottom: 6px;
  color: #576a75;
  font-size: 16px;
}

.hs-sticky-summary-total-row > strong {
  display: block;
  color: #1f2f39;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

/**
 * ===== MOBILE RESPONSIVE =====
 * Adjustments for small screens (max-width: 768px)
 * - Full-width date input
 * - Full-width booking sections
 */

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

  .trip-booking .step {
    width: 100%;
  }

  .trip-booking .step input#booking-date,
  .trip-booking .step input.input-date {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
  }


}

/**
 * ===== DAY CRUISE DETAIL TEMPLATE =====
 * Shortcode: [hs_day_cruise_detail cruise="..."]
 */

.hs-cruise-detail {
  --hs-cruise-accent: #1d9a64;
  --hs-cruise-accent-hover: #157a4f;
  --hs-cruise-muted: #666666;
  --hs-cruise-border: #e5e7eb;
  --hs-cruise-bg-soft: #f8faf8;
  color: #111827;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hs-cruise-hero {
  margin-bottom: 28px;
}

.hs-cruise-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* --- Gallery: Mosaic layout --- */
.hs-cruise-gallery {
  margin-bottom: 24px;
}

@media (min-width: 850px) {
  .product-summary .hs-cruise-gallery {
    width: 171.43%;
    max-width: 1200px;
  }
}

.hs-cruise-gallery-mosaic {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 8px;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
}

.hs-cruise-gallery-feature {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.hs-cruise-gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hs-cruise-gallery-feature:hover img {
  transform: scale(1.04);
}

.hs-cruise-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hs-cruise-gallery-thumb {
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.hs-cruise-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hs-cruise-gallery-thumb:hover img {
  transform: scale(1.05);
}

.hs-gallery-more-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hs-cruise-gallery-empty {
  padding: 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #fafafa;
  color: #6b7280;
}

/* --- Lightbox --- */
.hs-cruise-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.hs-cruise-lightbox[hidden] {
  display: none !important;
}

.hs-lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 0;
}

.hs-lb-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.hs-lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hs-lb-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hs-lb-stage {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
}

.hs-lb-track {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.hs-lb-pane {
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.hs-lb-pane-prev {
  flex: 0 0 15%;
  cursor: pointer;
  background: #000;
}

.hs-lb-pane-prev::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.hs-lb-pane-active {
  flex: 0 0 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}

.hs-lb-pane-next {
  flex: 0 0 15%;
  cursor: pointer;
  background: #000;
}

.hs-lb-pane-next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.hs-lb-pane-prev img,
.hs-lb-pane-next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-lb-pane-active img {
  max-width: 100%;
  max-height: calc(100vh - 164px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.hs-lb-pane-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.hs-lb-enlarge {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.hs-lb-enlarge:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hs-lb-counter {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px;
  border-radius: 20px;
}

.hs-lb-gallery-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.hs-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hs-lb-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hs-lb-nav-prev {
  left: 14px;
}

.hs-lb-nav-next {
  right: 14px;
}

.hs-lb-thumbstrip {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  height: 84px;
  box-sizing: border-box;
  overflow-x: auto;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hs-lb-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}

.hs-lb-thumb:hover {
  opacity: 0.85;
}

.hs-lb-thumb.is-active {
  opacity: 1;
  border-color: #fff;
  transform: scale(1.08);
}

.hs-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-cruise-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 28px;
}

.hs-cruise-tabs {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hs-cruise-tab {
  background: transparent;
  border: none;
  color: #666666;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 2px 14px;
  white-space: nowrap;
  text-transform: none;
  transition: color 0.25s ease;
}

.hs-cruise-tab:hover,
.hs-cruise-tab.is-active {
  color: var(--hs-cruise-accent);
}

.hs-cruise-tab-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--hs-cruise-accent);
  border-radius: 99px;
  transition: transform 0.28s ease, width 0.28s ease;
}

.hs-cruise-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 28px;
}

.hs-related-cruises {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hs-cruise-border);
}

.hs-related-cruises h2 {
  margin: 0 0 24px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
}

.hs-related-cruise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hs-related-cruise-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hs-cruise-border);
  border-radius: 14px;
  background: #fff;
}

.hs-related-cruise-image {
  display: block;
  overflow: hidden;
}

.hs-related-cruise-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 13px 13px 0 0;
}

.hs-related-cruise-content {
  padding: 18px;
}

.hs-related-cruise-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.hs-related-cruise-content h3 a {
  color: #111827;
  text-decoration: none;
}

.hs-related-cruise-content h3 a:hover {
  color: var(--hs-cruise-accent);
}

.hs-related-cruise-content p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hs-related-cruise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hs-related-cruises {
    margin-top: 36px;
    padding-top: 32px;
  }

  .hs-related-cruise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hs-cruise-section {
  margin-bottom: 32px;
  scroll-margin-top: 90px;
}

.hs-cruise-section h2,
.hs-cruise-section h3,
.hs-cruise-section h4 {
  color: #0f172a;
}

.hs-cruise-main p {
  color: #374151;
  line-height: 1.7;
}

.hs-cruise-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.hs-cruise-spec-card {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--hs-cruise-border);
  border-radius: 12px;
  background: var(--hs-cruise-bg-soft);
}

.hs-cruise-spec-card p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hs-cruise-spec-card strong {
  font-size: 15px;
  color: #111827;
}

.hs-cruise-check-list,
.hs-cruise-x-list,
.hs-cruise-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-cruise-check-list li,
.hs-cruise-x-list li,
.hs-cruise-trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #374151;
}

.hs-cruise-check-list li span[aria-hidden="true"],
.hs-cruise-trust-list li span[aria-hidden="true"] {
  color: var(--hs-cruise-accent);
  font-weight: 700;
  flex: 0 0 auto;
}

.hs-cruise-check-list li .hs-cruise-highlight-text {
  color: #374151;
  font-weight: 400;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.hs-cruise-check-list li .hs-cruise-highlight-text b,
.hs-cruise-check-list li .hs-cruise-highlight-text strong {
  font-weight: 700;
  color: #111827;
}

.hs-cruise-x-list li span {
  color: #94a3b8;
  line-height: 1.2;
}

.hs-cruise-itinerary {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.hs-cruise-itinerary li {
  position: relative;
  padding: 0 0 18px 28px;
  border-left: 2px solid #d1fae5;
  margin-left: 8px;
}

.hs-cruise-itinerary li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hs-cruise-accent);
}

.hs-cruise-time {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.hs-cruise-itinerary p {
  margin: 0;
}

.hs-cruise-include-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hs-review-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.hs-review-platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--hs-cruise-border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hs-review-platform:hover,
.hs-review-platform:focus {
  border-color: var(--hs-cruise-accent);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
  color: inherit;
}

.hs-review-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.hs-review-badge-tripadvisor {
  background: #34e0a1;
  color: #0f172a;
  font-size: 13px;
}

.hs-review-platform-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.hs-review-platform-name {
  color: #0f172a;
  font-weight: 700;
}

.hs-review-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-review-score strong {
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
}

.hs-review-stars {
  color: #f5a623;
  letter-spacing: 1px;
}

.hs-review-platform-meta {
  color: var(--hs-cruise-muted);
  font-size: 13px;
}

.hs-review-link-icon {
  color: var(--hs-cruise-muted);
  font-size: 18px;
}

.hs-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hs-review-card {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--hs-cruise-border);
  border-radius: 12px;
  background: var(--hs-cruise-bg-soft);
}

.hs-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hs-review-author strong {
  display: block;
  color: #0f172a;
}

.hs-review-avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hs-cruise-accent);
  color: #fff;
  font-weight: 700;
}

.hs-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hs-cruise-muted);
  font-size: 13px;
}

.hs-review-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.hs-review-note {
  margin: 16px 0 0;
  color: var(--hs-cruise-muted);
  font-size: 13px;
  font-style: italic;
}

@media (max-width: 700px) {
  .hs-review-summary,
  .hs-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hs-cruise-cancel-box {
  background: var(--hs-cruise-bg-soft);
  border: 1px solid var(--hs-cruise-border);
  border-radius: 16px;
  padding: 8px 24px;
}

.hs-cruise-cancel-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
}

.hs-cruise-cancel-row + .hs-cruise-cancel-row {
  border-top: 1px solid var(--hs-cruise-border);
}

.hs-cruise-cancel-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  margin-top: 2px;
}

.hs-cruise-cancel-icon-shield {
  color: var(--hs-cruise-accent);
}

.hs-cruise-cancel-icon-clock,
.hs-cruise-cancel-icon-alert {
  border: 1.5px solid #9ca3af;
  color: #6b7280;
}

.hs-cruise-cancel-icon-alert {
  border-color: #f59e0b;
  color: #b45309;
  font-weight: 700;
}

.hs-cruise-cancel-text strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

.hs-cruise-cancel-text p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Cancellation policy page ===== */
.hs-policy-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  color: #374151;
}

.hs-policy-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.hs-policy-header h1,
.hs-policy-section-heading h2 {
  color: #111827;
  letter-spacing: 0;
}

.hs-policy-header h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hs-policy-header > p:last-child {
  margin: 0;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.7;
}

.hs-policy-kicker {
  margin: 0 0 12px;
  color: var(--hs-cruise-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hs-policy-section {
  margin-top: 56px;
}

.hs-policy-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.hs-policy-section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.hs-policy-grid,
.hs-policy-detail-grid,
.hs-policy-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hs-policy-cruise,
.hs-policy-detail-block,
.hs-policy-responsibility {
  min-width: 0;
  border: 1px solid var(--hs-cruise-border);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.hs-policy-cruise h3,
.hs-policy-detail-block h3,
.hs-policy-responsibility h3 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.hs-policy-rules {
  display: grid;
  gap: 15px;
}

.hs-policy-rule {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hs-policy-rule-marker {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--hs-cruise-accent);
}

.hs-policy-rule strong {
  display: block;
  color: #111827;
  line-height: 1.45;
}

.hs-policy-rule p,
.hs-policy-detail-block p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.hs-policy-section--details {
  padding-top: 32px;
  border-top: 1px solid var(--hs-cruise-border);
}

.hs-policy-responsibility h3 span {
  display: inline-block;
  min-width: 22px;
  color: var(--hs-cruise-accent);
}

.hs-policy-responsibility ul {
  margin: 0;
  padding-left: 20px;
}

.hs-policy-responsibility li {
  margin-bottom: 12px;
  color: #4b5563;
  line-height: 1.65;
}

.hs-policy-responsibility li:last-child {
  margin-bottom: 0;
}

.hs-policy-empty {
  margin: 0;
  color: #6b7280;
}

@media (max-width: 700px) {
  .hs-policy-page {
    padding: 40px 16px 56px;
  }

  .hs-policy-header {
    margin-bottom: 40px;
  }

  .hs-policy-grid,
  .hs-policy-detail-grid,
  .hs-policy-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .hs-policy-cruise,
  .hs-policy-detail-block,
  .hs-policy-responsibility {
    padding: 20px;
  }
}

/* ===== WordPress Privacy Policy page ===== */
.page-id-4285 .privacy-policy-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-id-4285 .privacy-policy-container ul {
  padding-left: 24px;
}

@media (max-width: 700px) {
  .page-id-4285 .privacy-policy-container {
    padding: 40px 16px 56px;
  }

  .page-id-4285 .privacy-policy-container ul {
    padding-left: 20px;
  }
}

.hs-cruise-sidebar {
  position: relative;
}

.hs-cruise-booking-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.hs-cruise-from {
  margin: 0 0 6px;
  color: #71717a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.hs-cruise-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.hs-cruise-sale-price {
  font-size: 28px;
  line-height: 1;
  color: #111827;
}

.hs-cruise-regular-price {
  color: #9ca3af;
  text-decoration: line-through;
}

.hs-cruise-discount {
  background: #e6f4ea;
  color: #1d9a64;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.hs-cruise-price-sub {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.hs-cruise-book-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #1d9a64;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  box-shadow: 0 4px 12px rgba(29, 154, 100, 0.25);
  transition: background 0.2s ease;
  margin-bottom: 16px;
}

.hs-cruise-book-btn:hover,
.hs-cruise-book-btn:focus {
  color: #ffffff;
  background: #157a4f;
}

.hs-cruise-trust-list {
  margin-bottom: 16px;
}

.hs-cruise-guarantee {
  border-top: 1px solid #f3f4f6;
  margin-top: 16px;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.hs-cruise-error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  border-radius: 10px;
  padding: 12px;
}

@media (max-width: 991px) {
  .hs-cruise-gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    height: 360px;
  }

  .hs-cruise-layout {
    grid-template-columns: 1fr;
  }

  .hs-mobile-booking-bar-active {
    padding-bottom: 76px;
  }

  .hs-cruise-sidebar {
    position: static;
  }

  .hs-cruise-booking-card {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px;
    border: none;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
  }

  .hs-cruise-booking-card .hs-cruise-price-block {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hs-cruise-booking-card .hs-cruise-from {
    margin: 0 0 2px;
  }

  .hs-cruise-booking-card .hs-cruise-price-row {
    margin-bottom: 0;
  }

  .hs-cruise-booking-card .hs-cruise-price-sub,
  .hs-cruise-booking-card .hs-cruise-trust-list,
  .hs-cruise-booking-card .hs-cruise-guarantee {
    display: none;
  }

  .hs-cruise-booking-card .hs-cruise-book-btn {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 12px 28px;
    box-shadow: none;
  }

  .hs-cruise-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hs-cruise-detail {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hs-cruise-gallery-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hs-cruise-gallery-feature {
    height: 240px;
  }

  .hs-cruise-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    height: 90px;
  }

  .hs-lb-pane-prev,
  .hs-lb-pane-next {
    display: none;
  }

  .hs-lb-pane-active {
    flex: 0 0 100%;
  }

  .hs-lb-nav-prev {
    left: 8px;
  }

  .hs-lb-nav-next {
    right: 8px;
  }

  .hs-cruise-tabs {
    gap: 16px;
  }

  .hs-cruise-spec-grid,
  .hs-cruise-include-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
 * HALONG SAILING — Forest & Gold (Header / Footer / Homepage)
 * Implements: halongsailing-flatsome-implementation.md §1–§6
 * ========================================================= */
:root{
  --hs-forest:#173A2A;
  --hs-emerald:#3F6B45;
  --hs-cream:#F7F5EC;
  --hs-cream-alt:#F1EEE0;
  --hs-gold:#D4A93A;
  --hs-muted:#57655B;
  --hs-border:#C9CEC0;
}

.hs-home,
.hs-site-header,
.hs-site-footer{font-family:'Work Sans',sans-serif;-webkit-font-smoothing:antialiased;}
.hs-home h1,.hs-home h2,.hs-home h3,.hs-home h4,
.hs-h1-look{font-family:'Instrument Serif',Georgia,serif;letter-spacing:0;color:var(--hs-forest);font-weight:400;}
.hs-home h1,.hs-h1-look{font-size:clamp(2.5rem,6vw,4.75rem);line-height:1.02;}
.hs-home h2{font-size:clamp(2rem,4.5vw,3.5rem);line-height:1.08;}
.hs-home h3{font-size:clamp(1.75rem,3vw,3rem);}
.hs-home p{color:var(--hs-muted);line-height:1.75;}
.hs-home{background:var(--hs-cream);}

/* Kickers & hairlines */
.hs-kicker{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;
  color:var(--hs-gold);display:flex;align-items:center;gap:14px;margin-bottom:18px;}
.hs-kicker:before{content:"";width:48px;height:1px;background:var(--hs-gold);display:inline-block;}
.hs-rule-left{border-left:1px solid rgba(212,169,58,.5);padding-left:28px;}
.hs-sec-head{border-bottom:1px solid var(--hs-border);padding-bottom:28px;margin-bottom:56px;}

/* Buttons (scoped to home/header/footer markup only) */
.hs-btn{display:inline-block;background:var(--hs-emerald);border:1px solid var(--hs-emerald);
  color:var(--hs-cream);border-radius:2px;font-weight:600;padding:0 32px;height:52px;
  line-height:52px;text-decoration:none;transition:background .2s,border-color .2s;}
.hs-btn:hover{background:var(--hs-forest);border-color:var(--hs-forest);color:var(--hs-cream);}
.hs-btn-outline{display:inline-block;border:1px solid var(--hs-forest);color:var(--hs-forest);
  border-radius:2px;font-weight:600;padding:0 32px;height:52px;line-height:52px;
  text-decoration:none;transition:background .2s,color .2s;}
.hs-btn-outline:hover{background:var(--hs-forest);color:var(--hs-cream);}

/* ===== Header ===== */
/* Flatsome's real #header wrapper still reserves flow height even though its
   inner rows were removed; take it out of flow too so hero sits flush under it. */
.hs-home #header{position:absolute;left:0;right:0;top:0;z-index:40;height:auto;min-height:0;
  background:transparent;box-shadow:none;border:0;}
.hs-home #main{margin-top:0;padding-top:0;}
.hs-site-header{position:absolute;left:0;right:0;top:0;z-index:40;}
.hs-home .hs-site-header{background:transparent;}
.hs-site-header .hs-header{
  background:rgba(23,58,42,.82);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(247,245,236,.15);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:12px 30px;min-height:80px;}
.hs-brand{display:flex;align-items:center;gap:12px;flex-shrink:0;text-decoration:none;}
.hs-brand img{height:56px;width:auto;}
.hs-brand span{font-family:'Instrument Serif',serif;font-size:22px;color:var(--hs-cream);}
.hs-nav{display:flex;align-items:center;gap:18px;}
.hs-nav a{font-size:11.5px;font-weight:500;color:rgba(247,245,236,.85);text-decoration:none;
  border-bottom:1px solid transparent;padding:6px 0;transition:color .2s,border-color .2s;}
.hs-nav a:hover{color:var(--hs-gold);border-bottom-color:var(--hs-gold);}
.hs-burger{display:none;background:none;border:0;padding:10px;cursor:pointer;}
.hs-burger span{display:block;width:22px;height:2px;margin:4px 0;background:var(--hs-cream);transition:.25s;}
.hs-burger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.hs-burger.is-open span:nth-child(2){opacity:0;}
.hs-burger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
.hs-mobile-nav{background:var(--hs-forest);padding:8px 24px 20px;}
.hs-mobile-nav a{display:block;padding:14px 0;font-size:14px;color:var(--hs-cream);
  text-decoration:none;border-bottom:1px solid rgba(247,245,236,.1);}
.hs-mobile-nav a:hover{color:var(--hs-gold);}

@media (max-width:1199px){
  .hs-nav{display:none;}
  .hs-burger{display:block;}
}
@media (max-width:849px){
  .hs-site-header .hs-header{padding:10px 16px;min-height:66px;}
  .hs-brand img{height:44px;}
  .hs-brand span{display:none;}
}

/* ===== Hero slider (vanilla fade slideshow, no video) ===== */
.hs-hero{position:relative;min-height:850px;overflow:hidden;}
.hs-hero-slides{position:absolute;inset:0;}
.hs-hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;
  opacity:0;will-change:opacity;pointer-events:none;
  transition:opacity 2200ms cubic-bezier(.42,0,.2,1);display:flex;align-items:flex-end;}
.hs-hero-slide.is-active{opacity:1;pointer-events:auto;z-index:1;}
.hs-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,42,30,.85),rgba(15,42,30,.3));}
.hs-hero-content{position:relative;z-index:2;max-width:780px;padding:0 48px 96px;color:var(--hs-cream);}
.hs-hero-content h1,.hs-hero-content .hs-h1-look{color:var(--hs-cream);}
.hs-hero-lead{color:rgba(247,245,236,.82);max-width:34rem;margin-bottom:28px;}
.hs-hero-dots{position:absolute;z-index:2;right:48px;bottom:40px;display:flex;gap:8px;}
.hs-hero .hs-hero-dots > button.hs-hero-dot{box-sizing:border-box;width:20px!important;min-width:20px!important;height:6px!important;min-height:6px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;line-height:0!important;
  background:rgba(247, 245, 236, 0.4);cursor:pointer;}
.hs-hero .hs-hero-dots > button.hs-hero-dot.is-active{width:40px!important;min-width:40px!important;background:var(--hs-gold);}
@media (max-width:849px){
  .hs-hero{min-height:620px;}
  .hs-hero-content{padding:0 24px 40px;}
  .hs-hero-dots{left:24px!important;right:24px!important;width:auto!important;box-sizing:border-box;bottom:16px;gap:4px;}
  .hs-hero .hs-hero-dots > button.hs-hero-dot,
  .hs-hero .hs-hero-dots > button.hs-hero-dot.is-active{flex:1 1 0!important;width:0!important;min-width:0!important;}
}
@media (prefers-reduced-motion:reduce){
  .hs-hero-slide{transition-duration:.01ms;}
}

/* ===== Editorial intro ===== */
.hs-intro{background:var(--hs-cream);padding:96px 24px;}
.hs-intro-row{max-width:1320px;margin:0 auto;display:flex;gap:48px;align-items:flex-end;flex-wrap:wrap;}
.hs-intro-left{flex:1 1 320px;}
.hs-intro-right{flex:1 1 420px;}
@media (max-width:849px){
  .hs-intro{padding:56px 16px;}
}

/* ===== Cruises section ===== */
.hs-cruises{background:var(--hs-cream-alt);padding:96px 24px;}
.hs-sec-head,.hs-cruise-list{max-width:1320px;margin:0 auto;}
.hs-sec-head-desc{max-width:28rem;margin-left:auto;text-align:right;}
.hs-cruise{display:flex;align-items:center;gap:40px;margin-bottom:80px;}
.hs-cruise:last-child{margin-bottom:0;}
.hs-cruise-reverse{flex-direction:row-reverse;}
.hs-cruise-media{position:relative;flex:0 0 58%;}
.hs-cruise-media img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;
  transition:transform .7s ease;}
.hs-cruise:hover .hs-cruise-media img{transform:scale(1.03);}
.hs-num{position:absolute;top:0;left:0;z-index:2;margin:0;background:var(--hs-forest);
  color:var(--hs-cream);font-family:'Instrument Serif',serif;font-size:24px;padding:12px 20px;}
.hs-cruise-body{flex:0 0 calc(42% - 40px);}
.hs-cruise-icon{display:block;color:var(--hs-gold);font-size:28px;margin-bottom:16px;}
.hs-cruise-link{color:var(--hs-emerald);text-decoration:none;font-weight:600;}
.hs-cruise-link:hover{color:var(--hs-forest);}
@media (max-width:849px){
  .hs-cruise,.hs-cruise-reverse{flex-direction:column;margin-bottom:48px;}
  .hs-cruise-media,.hs-cruise-body{flex:1 1 100%;}
}

/* ===== Landscape feature ===== */
.hs-landscape{background:var(--hs-cream);padding:96px 24px;}
.hs-landscape-row{max-width:1320px;margin:0 auto;display:flex;align-items:center;gap:48px;flex-wrap:wrap;}
.hs-portrait-wrap{position:relative;flex:1 1 380px;}
.hs-portrait{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;}
.hs-tag{position:absolute;right:-32px;bottom:-24px;background:var(--hs-gold);
  color:var(--hs-forest);padding:24px;margin:0;}
.hs-tag strong{font-family:'Instrument Serif',serif;font-size:30px;display:block;line-height:1;}
.hs-tag small{text-transform:uppercase;font-size:11px;letter-spacing:.08em;}
.hs-pl{flex:1 1 420px;padding-left:48px;}
@media (max-width:849px){
  .hs-tag{right:12px;bottom:12px;padding:16px;}
  .hs-pl{padding-left:0;margin-top:32px;}
}

/* ===== Footer ===== */
.hs-site-footer{background:var(--hs-forest);color:var(--hs-cream);}
.hs-site-footer .hs-footer{max-width:1320px;margin:0 auto;padding:64px 24px;
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);
  align-items:start;gap:64px;}
.hs-footer__column{min-width:0;}
.hs-footer__logo{display:flex;align-items:center;gap:12px;}
.hs-footer__logo img{height:60px;width:auto;}
.hs-footer__logo span{font-family:'Instrument Serif',serif;font-size:26px;color:var(--hs-cream);}
.hs-footer p,.hs-footer__contact{color:rgba(247,245,236,.65);font-size:14px;max-width:24rem;}
.hs-footer__tagline{margin:18px 0 28px;line-height:1.7;}
.hs-site-footer .hs-footer__title{color:var(--hs-cream);font-family:'Work Sans',sans-serif;font-size:13px;font-weight:600;letter-spacing:.06em;line-height:1.5;margin:0 0 20px;text-transform:uppercase;}
.hs-footer__contact{display:flex;flex-direction:column;gap:8px;margin:0;line-height:1.6;}
.hs-footer__contact a{color:inherit;text-decoration:none;}
.hs-footer__contact a:hover{color:var(--hs-gold);}
.hs-site-footer .hs-footer__nav{display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.hs-site-footer .hs-footer__nav a{display:block;font-size:14px;color:rgba(247,245,236,.7);text-decoration:none;}
.hs-footer__nav a:hover{color:var(--hs-gold);}
.hs-footer__bar{display:flex;justify-content:space-between;gap:8px;border-top:1px solid rgba(247,245,236,.1);
  max-width:1320px;margin:0 auto;padding:20px 24px;font-size:12px;color:rgba(247,245,236,.5);}
@media (max-width:849px){
  .hs-site-footer .hs-footer{grid-template-columns:1fr;padding:48px 16px;gap:32px;}
  .hs-footer__bar{flex-direction:column;text-align:left;}
}

/* ===== Housekeeping ===== */
.hs-home .page-title,.hs-home .entry-title{display:none;}
.absolute-footer,#top-bar{display:none;}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;}
}

/* ===== JSON-driven brand catalog ===== */
.hs-brand-page {
  background: var(--hs-cream);
  padding: 0 0 96px;
}

.hs-brand-intro {
  background: var(--hs-cream-alt);
  padding-bottom: 56px;
}

.hs-brand-intro + .hs-brand-products {
  padding-top: 56px;
}

.hs-brand-products {
  max-width: 1320px;
  margin: 0 auto;
}

.hs-brand-products {
  max-width: none;
  padding: 88px 24px 0;
}

.hs-brand-product-grid {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1320px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-brand-product-card {
  background: var(--hs-cream);
  border: 1px solid var(--hs-border);
  border-radius: 4px;
  min-width: 0;
  overflow: hidden;
}

.hs-brand-product-media {
  aspect-ratio: 16 / 10;
  background: var(--hs-cream-alt);
  display: block;
  overflow: hidden;
}

.hs-brand-product-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}

.hs-brand-product-card:hover .hs-brand-product-media img {
  transform: scale(1.03);
}

.hs-brand-product-content {
  padding: 20px;
}

.hs-brand-product-content h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.hs-brand-product-content h3 a {
  color: var(--hs-forest);
  text-decoration: none;
}

.hs-brand-product-content p {
  margin-bottom: 14px;
}

.hs-brand-product-content .hs-brand-product-price {
  color: var(--hs-forest);
  font-weight: 600;
}

.hs-catalog-empty {
  margin: 24px auto;
  max-width: 1320px;
}

@media (max-width: 900px) {
  .hs-brand-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hs-brand-page {
    padding: 0 0 64px;
  }

  .hs-brand-intro {
    padding-bottom: 40px;
  }

  .hs-brand-intro + .hs-brand-products {
    padding-top: 40px;
  }

  .hs-brand-products {
    padding: 56px 18px 0;
  }

  .hs-brand-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* ===== About page ===== */
.hs-about-page{background:var(--hs-cream);color:var(--hs-forest);font-family:'Work Sans',sans-serif;padding:148px 24px 96px;}
.hs-about-page h1,.hs-about-page h2,.hs-about-page h3{color:var(--hs-forest);font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:0;}
.hs-about-page h1{font-size:clamp(2.75rem,6vw,5.25rem);line-height:1;max-width:760px;margin:0;}
.hs-about-page h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;margin:0;}
.hs-about-page h3{font-size:1.55rem;line-height:1.1;margin:0 0 14px;}
.hs-about-page p{color:var(--hs-muted);line-height:1.75;}
.hs-about-intro,.hs-about-values,.hs-about-timeline,.hs-about-contact{max-width:1320px;margin:0 auto;}
.hs-about-intro{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:80px;align-items:end;padding-bottom:96px;border-bottom:1px solid var(--hs-border);}
.hs-about-intro .hs-kicker,.hs-about-section-heading .hs-kicker{margin-top:0;}
.hs-about-lead{font-size:1.15rem;max-width:720px;margin:28px 0 0;}
.hs-about-intro__aside{border-left:1px solid rgba(212,169,58,.7);padding-left:28px;}
.hs-about-intro__aside p{margin:0;}
.hs-about-values{padding:96px 0 112px;}
.hs-about-section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;border-bottom:1px solid var(--hs-border);padding-bottom:28px;margin-bottom:48px;}
.hs-about-section-heading .hs-kicker{margin-bottom:0;}
.hs-about-section-heading h2{max-width:600px;}
.hs-about-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
.hs-about-value{border-top:3px solid var(--hs-gold);padding-top:18px;}
.hs-about-value__number{display:block;color:var(--hs-gold);font-size:12px;font-weight:600;letter-spacing:.08em;margin-bottom:36px;}
.hs-about-value p{font-size:14px;margin:0;}
.hs-about-timeline{background:var(--hs-cream-alt);padding:64px 48px 72px;max-width:1416px;}
.hs-about-section-heading--timeline{border-bottom-color:rgba(23,58,42,.2);}
.hs-timeline-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0;position:relative;}
.hs-timeline-list:before{background:var(--hs-gold);content:"";height:2px;left:7%;position:absolute;right:7%;top:274px;}
.hs-timeline-item{min-width:0;position:relative;text-align:center;}
.hs-timeline-card{align-items:center;display:flex;flex-direction:column;min-height:250px;}
.hs-timeline-logo{align-items:center;background:var(--hs-cream);border:1px solid var(--hs-border);display:flex;height:170px;justify-content:center;margin-bottom:20px;padding:16px;transition:border-color .2s,transform .2s;width:100%;}
.hs-timeline-logo:hover{border-color:var(--hs-gold);transform:translateY(-4px);}
.hs-timeline-logo img{height:100%;max-width:100%;object-fit:contain;width:100%;}
.hs-timeline-card p{font-size:13px;line-height:1.55;margin:0;max-width:250px;}
.hs-timeline-node{background:var(--hs-cream);border:5px solid var(--hs-gold);border-radius:50%;height:18px;margin:16px auto 12px;position:relative;width:18px;z-index:1;}
.hs-timeline-year{color:var(--hs-forest)!important;font-family:'Instrument Serif',Georgia,serif;font-size:2rem;line-height:1;margin:0!important;}
.hs-about-contact{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-top:96px;}
.hs-about-contact__details{border-left:1px solid var(--hs-gold);display:flex;flex-direction:column;gap:10px;padding-left:28px;}
.hs-about-contact__details strong{font-size:13px;letter-spacing:.04em;line-height:1.5;}
.hs-about-contact__details span,.hs-about-contact__details a{color:var(--hs-muted);font-size:14px;line-height:1.6;text-decoration:none;}
.hs-about-contact__details a:hover{color:var(--hs-forest);}
@media (max-width:849px){
  .hs-about-page{padding:112px 16px 64px;}
  .hs-about-intro{display:block;padding-bottom:64px;}
  .hs-about-intro__aside{margin-top:36px;}
  .hs-about-values{padding:64px 0 72px;}
  .hs-about-section-heading{align-items:flex-start;display:block;margin-bottom:32px;}
  .hs-about-section-heading h2{margin-top:16px;}
  .hs-about-value-grid{grid-template-columns:1fr 1fr;gap:36px 20px;}
  .hs-about-value__number{margin-bottom:20px;}
  .hs-about-timeline{padding:48px 20px 56px;}
  .hs-timeline-list{display:block;padding-left:18px;}
  .hs-timeline-list:before{bottom:36px;height:auto;left:26px;right:auto;top:36px;width:2px;}
  .hs-timeline-item{display:grid;grid-template-columns:44px minmax(0,1fr);text-align:left;}
  .hs-timeline-card{align-items:flex-start;display:block;min-height:0;padding:0 0 36px;}
  .hs-timeline-logo{height:150px;margin-bottom:16px;max-width:280px;}
  .hs-timeline-node{grid-column:1;grid-row:1;margin:18px auto 0;}
  .hs-timeline-card,.hs-timeline-year{grid-column:2;}
  .hs-timeline-year{grid-row:2;margin:-20px 0 36px 0!important;}
  .hs-about-contact{display:block;padding-top:64px;}
  .hs-about-contact__details{margin-top:32px;}
}
@media (max-width:520px){
  .hs-about-value-grid{grid-template-columns:1fr;}
  .hs-timeline-logo{max-width:none;}
}
