/* =================================================================
   CRETE UNLOCKED - TOUR PAGE STYLES
   Pixel-perfect implementation from Figma design
   ================================================================= */

/* =================================================================
   CSS RESET & BASE STYLES
   ================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* =================================================================
   DESIGN TOKENS - CSS VARIABLES
   ================================================================= */
:root {
  /* Primary Colors */
  --color-white: #FFFFFF;
  --color-black: #1D1C2B;
  --color-teal: #67BFBF;
  --color-blue: #70B0E9;
  
  /* Neutral Colors */
  --color-neutral-50: #FAFAFA;
  --color-neutral-100: #F7F7F7;
  --color-neutral-200: #E5E5EF;
  --color-neutral-300: #E1E1E1;
  --color-neutral-400: #D8D8D8;
  --color-neutral-500: #D1D5DC;
  --color-neutral-600: #9291A5;
  --color-neutral-700: #717171;
  --color-neutral-800: #615E83;
  --color-slate: #4E5E68;
  --color-star: #FFB800; /* Default star color */
  
  /* Footer Colors */
  --color-footer-bg: #101828;
  --color-footer-secondary: #1E2939;
  --color-footer-border: #364153;
  
  /* Typography - Font Families */
  --font-primary: 'Montserrat', sans-serif;
  --font-display: 'Lora', serif;
  --font-ui: 'Inter', sans-serif;
  
  /* Typography - Font Sizes */
  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 17px;
  --text-xl: 18px;
  --text-2xl: 26px;
  --text-3xl: 34px;
  --text-4xl: 40px;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.57;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-bold: 700;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 20px;
  --radius-full: 30px;
  --radius-circle: 50%;
  
  /* Shadows */
  --shadow-light: 0px 12px 24px rgba(0, 0, 0, 0.07);
  --shadow-card: 0px 12px 24px rgba(0, 0, 0, 0.12);
  
  /* Layout */
  --container-width: 1440px;
  --content-width: 1280px;
  --sidebar-width: 419px;
  --main-content-width: 707px;
}

/* =================================================================
   TYPOGRAPHY UTILITIES
   ================================================================= */
.font-display {
  font-family: var(--font-display);
}

.font-primary {
  font-family: var(--font-primary);
}

.font-ui {
  font-family: var(--font-ui);
}

/* =================================================================
   LAYOUT COMPONENTS
   ================================================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.page-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  background: var(--color-white);
  overflow-x: hidden;
  padding: 62px 0px 0px 0px;
}

/* Main Layout Container */
.main-layout {
  display: flex;
  gap: 40px;
  padding: 20px 40px 0;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.main-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    padding: 16px 24px 0;
    gap: 24px;
  }
  
  /* Booking Sidebar - Full width, comes first */
  .booking-sidebar {
    width: 100%;
    max-width: none;
    order: -1;
    padding: 20px;
    border-radius: var(--radius-xl);
  }
  
  .booking-price {
    margin-bottom: 16px;
  }
  
  .booking-price-amount {
    font-size: 24px;
  }
  
  .calendar {
    padding: 16px;
    border-radius: var(--radius-lg);
  }
  
  .calendar-header {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .calendar-day {
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
  }
  
  .people-selector {
    padding: 12px 16px;
  }
  
  .trust-badges {
    gap: 16px;
  }
  
  .trust-badge {
    gap: 12px;
  }
  
  .trust-badge-icon {
    width: 32px;
    height: 32px;
  }
  
  .trust-badge-content h4 {
    font-size: var(--text-sm);
  }
  
  .trust-badge-content p {
    font-size: var(--text-xs);
    line-height: 1.4;
  }
  
  /* Mobile Tour Info - Visible at 900px */
  .mobile-tour-info {
    display: block;
    order: 1;
    width: 100%;
  }
  
  .mobile-tour-excerpt {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-slate);
    margin-bottom: 16px;
  }
  
  .mobile-tour-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-tour-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--color-slate);
  }
  
  .mobile-tour-meta .meta-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-tour-meta .meta-icon svg {
    width: 100%;
    height: 100%;
  }
  
  /* Main Content - Full width */
  .main-content {
    width: 100%;
    order: 2;
  }
  
  /* Hide desktop tour excerpt and meta at 900px */
  .tour-excerpt {
    display: none;
  }
  
  .tour-meta {
    display: none;
  }
}

/* =================================================================
   HERO GALLERY SECTION (matches index.html)
   ================================================================= */
.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 18px;
  padding: 84px 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-gallery__main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  height: 572px;
}

.hero-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gallery__secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 278px);
  gap: 18px;
}

.hero-gallery__item {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.hero-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.hero-gallery__item:hover img {
  transform: scale(1.05);
}

.hero-gallery__item--last {
  position: relative;
}

.hero-gallery__btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 165px;
  height: 47px;
  background-color: var(--color-blue);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.25px;
  transition: background-color 0.25s ease, transform 0.15s ease;
  z-index: 10;
}

.hero-gallery__btn:hover {
  background-color: #5a9ed8;
  transform: translateY(-2px);
}

.hero-gallery__btn:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Make gallery images clickable */
.hero-gallery__main,
.hero-gallery__item {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-gallery__main:hover {
  transform: scale(1.01);
}

.hero-gallery__main:focus,
.hero-gallery__item:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* =================================================================
   TOUR HEADER SECTION
   ================================================================= */
.tour-info {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 40px 0;
  position: relative;
}

.tour-location {
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 7.14px;
  margin-bottom: 8px;
}

.tour-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-star);
}

.rating-text {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-slate);
}

.tour-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-4xl);
  line-height: 64px;
  color: var(--color-slate);
  text-transform: capitalize;
  margin-bottom: 16px;
  max-width: 677px;
}

.tour-excerpt {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  line-height: 22px;
  color: var(--color-black);
  max-width: var(--main-content-width);
  margin-bottom: 24px;
}

.add-favorites {
  position: absolute;
  right: 40px;
  top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-teal);
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.add-favorites:hover {
  opacity: 0.8;
}

.add-favorites svg {
  width: 20px;
  height: 20px;
  fill: var(--color-teal);
}

/* =================================================================
   TOUR META INFO
   ================================================================= */
.tour-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto 24px;
  padding: 0 40px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-slate);
}

.meta-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

.meta-icon svg {
  width: 100%;
  height: 100%;
}

/* =================================================================
   FEATURED REVIEW BOX
   ================================================================= */
.featured-review {
  background: var(--color-teal);
  border-radius: var(--radius-2xl);
  padding: 22px 37px 40px;
  margin: 0;
}

.featured-review-stars {
  height: 42px;
  margin-bottom: 12px;
}

.featured-review-text {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-lg);
  line-height: 25px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.featured-review-author {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  line-height: 25px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.featured-review-date {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-lg);
  line-height: 25px;
  color: var(--color-white);
}

/* =================================================================
   BOOKING SIDEBAR
   ================================================================= */
.booking-sidebar {
  width: 360px;
  flex-shrink: 0;
  background: var(--color-neutral-50);
  border: 1px solid var(--color-teal);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-light);
  height: fit-content;
  margin-top: -158px;
}


.booking-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.booking-price-amount {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: 26px;
  color: var(--color-slate);
}

.booking-price-per {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: 13px;
  color: var(--color-slate);
}

/* Calendar Component */
.calendar-container {
  margin-bottom: 20px;
}

.calendar {
  background: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  padding: 16px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  margin-bottom: 16px;
}

.calendar-header-item {
  display: flex;
  align-items: center;
}

.calendar-month-select,
.calendar-year-select {
  font-family: var(--font-ui);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-neutral-800);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  padding-right: 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23615E83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 10px 6px;
}

.calendar-month-select:hover,
.calendar-year-select:hover {
  color: var(--color-teal);
}

.calendar-month-select:focus,
.calendar-year-select:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Legacy styles - kept for backwards compatibility */
.calendar-month,
.calendar-year {
  font-family: var(--font-ui);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-neutral-800);
}

.calendar-nav {
  width: 10px;
  height: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav svg {
  width: 10px;
  height: 6px;
}

.calendar-nav:hover {
  opacity: 1;
}

.calendar-line {
  height: 1px;
  background: var(--color-neutral-200);
  margin-bottom: 12px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 8px;
}

.calendar-weekday {
  font-family: var(--font-ui);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  color: var(--color-neutral-600);
  text-align: center;
  padding: 4px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  row-gap: 8px;
}

.calendar-day {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-black);
  border-radius: var(--radius-circle);
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 auto;
}

.calendar-day:hover:not(.selected):not(.disabled) {
  background: var(--color-neutral-200);
}

.calendar-day.selected {
  background: #70aee5;
  color: var(--color-white);
}

.calendar-day.disabled {
  color: var(--color-neutral-600);
  cursor: default;
}


/* Reserve Button */
.tour-buttonBook {
  width: 314px;
  height: 47px;
  background-color: #70b0e9;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.25px;;
  line-height: 64px;
  margin-bottom: 32px;
  transition: background-color 250ms ease, transform 150ms ease;
}

.tour-buttonBook:hover {
  background-color: #5a9dd6;
  transform: translateY(-2px);
}



/* People Selector */
.people-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-neutral-200);
}

.people-selector-label {
  font-family: var(--font-ui);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  color: var(--color-neutral-800);
}

.people-controls {
  display: flex;
  align-items: center;
  gap: 0;
}

.people-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: var(--font-normal);
  font-size: var(--text-xl);
  transition: all 0.2s ease;
}

.people-btn.minus,
.people-btn.plus {
  background: #70aee5;
  color: var(--color-white);
}

.people-btn.minus:hover,
.people-btn.plus:hover {
  background: #6a8db0;
}

.people-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.people-count {
  width: 44px;
  height: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-300);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: var(--font-medium);
  font-size: var(--text-md);
  color: var(--color-black);
}

/* Trust Badges */
.trust-badges {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-neutral-200);
}

.trust-badge {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.trust-badge:last-child {
  margin-bottom: 0;
}

.trust-badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 100%;
  height: 100%;
}

.trust-badge-content h4 {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  color: var(--color-slate);
  line-height: 1.4;
  margin-bottom: 4px;
}

.trust-badge-content p {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-neutral-700);
}

/* =================================================================
   CONTENT SECTIONS
   ================================================================= */
.content-section {
  margin-bottom: 24px;
}

/* Content sections inside main-content */
.main-content .content-section {
  margin-top: 24px;
}

.main-content .content-section:first-of-type {
  margin-top: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-2xl);
  line-height: 1.3;
  color: var(--color-slate);
  text-transform: capitalize;
  margin-bottom: 16px;
  margin-bottom: 16px;
}

.section-content {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  line-height: 22px;
  color: var(--color-black);
}

.section-content p {
  margin-bottom: 16px;
}

/* Highlights List */
.highlights-list {
  list-style: disc;
  padding-left: 21px;
}

.highlights-list li {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  line-height: 22px;
  color: var(--color-black);
  margin-bottom: 8px;
}

/* Included/Not Included Lists */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.included-item svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  margin-top: 2px;
}

.included-item.included svg {
  color: var(--color-teal);
}

.included-item.not-included svg {
  color: #e74c3c;
}

.included-item span {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  line-height: 22px;
  color: var(--color-black);
}

/* =================================================================
   MEETING POINT SECTION
   ================================================================= */
.meeting-point-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.meeting-point-map {
  position: relative;
  width: 100%;
  max-width: 707px;
  height: 350px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: 16px;
  z-index: 1;
}

/* Leaflet map overrides */
.meeting-point-map .leaflet-container {
  height: 100%;
  width: 100%;
  border-radius: var(--radius-2xl);
}

/* Custom map marker styles */
.custom-map-marker {
  background: transparent;
  border: none;
}

.custom-map-marker .marker-pin {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.leaflet-popup-tip {
  background: white;
}

/* =================================================================
   REVIEWS SECTION
   ================================================================= */
.reviews-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 40px;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.reviews-star {
  width: 52px;
  height: 52px;
}

.reviews-score {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-3xl);
  color: var(--color-slate);
}

.reviews-count {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-slate);
  margin-left: -8px;
}

/* Review Card */
.review-card {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-neutral-200);
}

.review-card:last-of-type {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  object-fit: cover;
}

.review-author {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-slate);
}

.review-date {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: 13.78px;
  color: var(--color-neutral-700);
}

.review-title {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-slate);
  margin-bottom: 16px;
}

.review-text {
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  line-height: 22px;
  color: var(--color-black);
  margin-bottom: 24px;
}

.review-images {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.review-image {
  width: 143px;
  height: 130px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.review-image:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

.review-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-base);
  color: var(--color-black);
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
  padding: 4px 0;
}

.review-action:hover {
  opacity: 0.7;
}

.review-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.review-action.not-helpful svg {
  transform: scaleY(-1);
}

/* Active state for review actions */
.review-action.active {
  color: var(--color-teal);
}

.review-action.active svg {
  fill: var(--color-teal);
  stroke: var(--color-teal);
}

/* More Reviews Button */
.more-reviews-btn {
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  letter-spacing: -0.25px;
  transition: background 0.2s ease;
  margin-top: 20px;
}

.more-reviews-btn:hover {
  background: #5a9ed8;
}

/* Reviews Divider */
.reviews-divider {
  height: 1px;
  background: var(--color-neutral-300);
  margin: 40px 95px;
}

/* =================================================================
   RELATED TOURS SECTION
   ================================================================= */
.related-tours-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.related-tours-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-2xl);
  line-height: 64px;
  color: var(--color-slate);
  text-transform: capitalize;
  margin-bottom: 24px;
}

.related-tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

/* Tour Card */
.tour-card {
  cursor: pointer;
  background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  height: 355px;
}

.tour-card-image {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card-favorite {
  position: absolute;
  top: 19px;
  left: 23px;
  width: 28px;
  height: 28px;
  background: var(--color-white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tour-card-favorite:hover {
  transform: scale(1.1);
}

.tour-card-favorite svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--color-slate);
  stroke-width: 1.5;
}

.tour-card-content {
  padding: 12px 23px 20px;
}

.tour-card-location {
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-xs);
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 5.1px;
  margin-bottom: 4px;
}

.tour-card-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-slate);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.tour-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-primary);
  font-weight: var(--font-normal);
  font-size: var(--text-xs);
  color: var(--color-slate);
}

.tour-card-meta-item svg {
  width: 11px;
  height: 11px;
}

.tour-card-rating {
  height: 26px;
  margin-bottom: 8px;
}

.tour-card-price {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-slate);
}


/* =================================================================
   UTILITY CLASSES
   ================================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

/* =================================================================
   MOBILE-ONLY TOUR INFO (Hidden on desktop)
   ================================================================= */
.mobile-tour-info {
  display: none;
}

/* =================================================================
   FOCUS STATES (Accessibility)
   ================================================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* =================================================================
   RESPONSIVE BREAKPOINTS
   Note: Desktop-first design as per Figma (1440px)
   ================================================================= */

@media (max-width: 1280px) {
  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
    gap: 16px;
  }
  
  .hero-gallery__main {
    height: 400px;
  }
  
  .hero-gallery__secondary {
    grid-template-rows: 190px 190px;
    gap: 16px;
  }
  
  .hero-gallery__btn {
    right: 12px;
    bottom: 12px;
    width: 130px;
    height: 40px;
    font-size: 12px;
  }
  
  .related-tours-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* ==================== MOBILE LAYOUT ==================== */
  
  /* Base padding for all sections */
  .hero-gallery,
  .tour-info,
  .tour-meta,
  .meeting-point-section,
  .reviews-section,
  .related-tours-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Hero Gallery Section - Mobile */
  .hero-gallery {
    display: block;
    padding-top: 16px;
  }
  
  .hero-gallery__main {
    border-radius: var(--radius-xl);
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
  }
  
  .hero-gallery__main img {
    border-radius: var(--radius-xl);
  }
  
  .hero-gallery__secondary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
  }
  
  .hero-gallery__item {
    flex: 0 0 auto;
    width: calc((100% - 24px) / 4);
    max-width: 75px;
    aspect-ratio: 1;
    height: auto;
    border-radius: var(--radius-lg);
  }
  
  .hero-gallery__item img {
    border-radius: var(--radius-lg);
  }
  
  .hero-gallery__btn {
    display: none;
  }

  .tour-card {
    height: 390px;
  }
  
  /* Tour Info Section */
  .tour-info {
    padding-top: 16px;
  }
  
  .tour-location {
    font-size: var(--text-sm);
    margin-bottom: 4px;
  }
  
  .add-favorites {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0;
    background: none;
    font-size: 0;
    gap: 0;
  }
  
  .add-favorites svg {
    width: 24px;
    height: 24px;
  }
  
  .tour-rating-row {
    margin-bottom: 8px;
  }
  
  .stars-image {
    height: 16px;
  }
  
  .rating-text {
    font-size: var(--text-sm);
  }
  
  .tour-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 0;
  }
  
  .tour-excerpt {
    display: none;
  }
  
  /* Tour Meta - Hide on mobile (shown after sidebar) */
  .tour-meta {
    display: none;
  }
  
  /* Main Layout - Tighter padding on mobile */
  .main-layout {
    padding: 16px;
  }
  
  /* Featured Review */
  .featured-review {
    padding: 16px 20px 24px;
    border-radius: var(--radius-xl);
  }
  
  .featured-review-stars {
    height: 24px;
    margin-bottom: 8px;
  }
  
  .featured-review-text {
    font-size: var(--text-base);
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .featured-review-author {
    font-size: var(--text-base);
  }
  
  .featured-review-date {
    font-size: var(--text-sm);
  }
  
  /* Content Sections */
  .content-section {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  
  .section-title {
    font-size: var(--text-xl);
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .section-content p {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  
  .highlights-list li {
    font-size: var(--text-sm);
    padding-left: 20px;
  }
  
  .highlights-list li::before {
    width: 6px;
    height: 6px;
    top: 8px;
  }
  
  .included-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .included-item {
    font-size: var(--text-sm);
  }
  
  .included-item svg {
    width: 20px;
    height: 20px;
  }
  
  /* Meeting Point */
  .meeting-point-section {
    margin-bottom: 40px;
  }
  
  .meeting-point-map {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-xl);
  }
  
  /* Reviews Section */
  .reviews-section {
    margin-bottom: 32px;
  }
  
  .reviews-header {
    margin-bottom: 24px;
  }
  
  .reviews-star svg {
    width: 40px;
    height: 40px;
  }
  
  .reviews-score {
    font-size: var(--text-xl);
  }
  
  .reviews-count {
    font-size: var(--text-sm);
  }
  
  .review-card {
    padding: 16px 0;
  }
  
  .review-avatar {
    width: 40px;
    height: 40px;
  }
  
  .review-author {
    font-size: var(--text-base);
  }
  
  .review-date {
    font-size: var(--text-sm);
  }
  
  .review-title {
    font-size: var(--text-base);
    margin-bottom: 8px;
  }
  
  .review-text {
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .review-images {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .review-image {
    width: calc(33.333% - 8px);
    height: 80px;
    border-radius: var(--radius-lg);
  }
  
  .review-actions {
    gap: 32px;
  }
  
  .review-action {
    font-size: var(--text-sm);
    gap: 6px;
  }
  
  .review-action svg {
    width: 18px;
    height: 18px;
  }
  
  .reviews-divider {
    margin: 0;
  }
  
  /* Related Tours */
  .related-tours-section {
    padding-bottom: 40px;
  }
  
  .related-tours-title {
    font-size: var(--text-xl);
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .related-tours-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tour-card {
    border-radius: var(--radius-xl);
  }
  
  .tour-card-image {
    height: 180px;
  }
  
  .tour-card-location {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .tour-card-content {
    padding: 16px;
  }
  
  .tour-card-title {
    font-size: var(--text-lg);
    margin-bottom: 8px;
  }
  
  .tour-card-description {
    font-size: var(--text-sm);
    margin-bottom: 12px;
  }
  
  .tour-card-rating img {
    height: 14px;
  }
  
  .tour-card-price {
    font-size: var(--text-lg);
  }
}

/* =================================================================
   EXTRA SMALL SCREENS (max-width: 400px)
   ================================================================= */
@media (max-width: 400px) {
  /* Booking Sidebar - Prevent overflow */
  .booking-sidebar {
    padding: 16px 12px;
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 0px;
    width: calc(100% + 16px);
    border-radius: var(--radius-lg);
    
  }
  
  /* Calendar - Smaller for tiny screens */
  .calendar {
    padding: 12px 8px;
  }
  
  .calendar-header {
    gap: 8px;
    padding: 0 4px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .calendar-month-select,
  .calendar-year-select {
    font-size: var(--text-sm);
    padding: 2px 4px;
    padding-right: 16px;
  }
  
  .calendar-weekdays {
    gap: 0;
  }
  
  .calendar-weekday {
    font-size: var(--text-xs);
    padding: 2px;
  }
  
  .calendar-days {
    gap: 1px;
    row-gap: 4px;
  }
  
  .calendar-day {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }
  
  /* People Selector */
  .people-selector {
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .people-btn {
    width: 32px;
    height: 32px;
    font-size: var(--text-base);
  }
  
  .people-count {
    width: 36px;
    height: 32px;
    font-size: var(--text-sm);
  }
  
  /* Trust Badges */
  .trust-badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .trust-badge-content h4 {
    font-size: var(--text-xs);
  }
  
  .trust-badge-content p {
    font-size: 10px;
  }
  
  /* Page sections padding */
  .hero-gallery,
  .tour-info,
  .meeting-point-section,
  .reviews-section,
  .related-tours-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .main-layout {
    padding: 12px;
  }
}


@media (max-width: 767px) {
	.booking-sidebar {
		margin-top: 0px;
		width:100%;
	}	
}	


.calendar-day.blocked {
  background: #f3f3f3;
  color: #bbb;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.blocked:hover {
  background: #f3f3f3;
}