/* CSS pour le site Le Petit Condo Lormont - Style Airbnb 100% */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #4C6039;
  --primary-hover: #3a4b2b;
  --primary-gradient: linear-gradient(to right, #3a4b2b 0%, #4C6039 50%, #5a7044 100%);
  --text-main: #222222;
  --text-secondary: #717171;
  --border-light: #DDDDDD;
  --bg-light: #F7F7F7;
  --bg-white: #FFFFFF;
  --shadow-main: 0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-light: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --border-radius-main: 12px;
  --border-radius-large: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  height: 80px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.logo-text {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}

/* ─── Language Switcher ─────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 4px 6px;
  margin-right: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.lang-btn:hover {
  background-color: var(--bg-white);
  color: var(--text-main);
}

.lang-btn.active {
  background-color: var(--bg-white);
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.lang-btn .lang-flag {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 600px) {
  .lang-btn span:not(.lang-flag) {
    display: none;
  }
  .lang-switcher {
    padding: 4px;
    margin-right: 6px;
  }
  .lang-btn {
    padding: 5px 7px;
  }
}
/* ─── End Language Switcher ─────────────────────────────── */

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 8px 8px 8px 24px;
  box-shadow: var(--shadow-light);
  transition: box-shadow 0.2s ease;
  max-width: 400px;
  cursor: pointer;
}

.search-bar:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.08);
}

.search-text {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-divider {
  width: 1px;
  height: 16px;
  background-color: var(--border-light);
  margin: 0 16px;
}

.search-subtext {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.search-button {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 16px;
}

.search-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* User Menu Dropdown Containers */
.user-menu {
  display: flex;
  align-items: center;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.host-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 24px;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-main);
}

.host-btn:hover {
  background-color: var(--bg-light);
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  border-radius: 21px;
  padding: 5px 5px 5px 12px;
  background-color: var(--bg-white);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.profile-btn:hover {
  box-shadow: var(--shadow-light);
}

.profile-btn svg.menu-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #717171;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
}

/* Custom Dropdown Menus */
.dropdown-menu-custom {
  position: absolute;
  top: calc(100% + 8px);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 200;
  min-width: 200px;
  display: none;
  flex-direction: column;
}

.dropdown-menu-custom.open {
  display: flex;
}

.dropdown-item-custom {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
}

.dropdown-item-custom:hover {
  background-color: var(--bg-light);
}

.dropdown-item-custom.bold {
  font-weight: 600;
}

.dropdown-divider-custom {
  height: 1px;
  background-color: var(--border-light);
  margin: 8px 0;
}

.dropdown-icon {
  margin-right: 12px;
  flex-shrink: 0;
}

/* MAIN LAYOUT */
.main-content {
  padding-top: 24px;
  padding-bottom: 80px;
}

/* Title Section */
.title-section {
  margin-bottom: 24px;
}

.listing-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-icon {
  color: var(--text-main);
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.meta-link {
  text-decoration: underline;
  color: var(--text-main);
  font-weight: 600;
}

.meta-bullet {
  color: var(--text-secondary);
}

.meta-location {
  text-decoration: underline;
  color: var(--text-main);
}

.meta-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  transition: background-color 0.2s;
}

.action-btn:hover {
  background-color: var(--bg-light);
}

.action-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* PHOTO GALLERY GRID */
.gallery-section {
  position: relative;
  margin-bottom: 24px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 8px;
  border-radius: var(--border-radius-main);
  overflow: hidden;
  height: 368px;
}

.grid-item {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  background-color: var(--bg-light);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s, transform 0.3s;
}

.grid-item:hover img {
  filter: brightness(0.9);
  transform: scale(1.02);
}

.item-main {
  grid-row: span 2;
  grid-column: span 1;
}

/* Button Show All Photos */
.show-all-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--bg-white);
  color: var(--text-main);
  border: 1px solid var(--text-main);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  transition: background-color 0.2s, transform 0.1s;
  z-index: 10;
}

.show-all-btn:hover {
  background-color: var(--bg-light);
}

.show-all-btn:active {
  transform: scale(0.96);
}

.show-all-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* TWO COLUMNS DETAIL SECTION */
.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  position: relative;
}

/* LEFT COLUMN */
.left-column {
  display: flex;
  flex-direction: column;
}

.host-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.host-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.host-meta {
  color: var(--text-secondary);
  font-size: 16px;
}

.host-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: var(--shadow-light);
}

/* Feature Highlights */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Description Section */
.description-section {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.description-text {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
  white-space: pre-line;
}

/* Sleeping arrangements */
.sleeping-section {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.sleeping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.sleeping-card {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-main);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sleeping-icon-row {
  display: flex;
  gap: 8px;
}

.sleeping-icon-row svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.sleeping-room {
  font-size: 16px;
  font-weight: 600;
}

.sleeping-beds {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Amenities Section */
.amenities-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  margin-bottom: 24px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}

.show-amenities-btn {
  border: 1px solid var(--text-main);
  border-radius: 8px;
  padding: 13px 23px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--bg-white);
  transition: background-color 0.2s;
  display: inline-block;
}

.show-amenities-btn:hover {
  background-color: var(--bg-light);
}

/* RIGHT COLUMN (STICKY SIDEBAR CARD) */
.right-column {
  position: relative;
}

.sticky-wrapper {
  position: sticky;
  top: 104px; /* header height + padding */
  z-index: 10;
}

.booking-card {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-main);
  padding: 24px;
  box-shadow: var(--shadow-main);
  background-color: var(--bg-white);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Highlight glow for search pill click */
.booking-card.highlight-card {
  animation: glow-animation 1.5s ease-in-out;
}

@keyframes glow-animation {
  0%, 100% { box-shadow: var(--shadow-main); border-color: var(--border-light); }
  50% { box-shadow: 0 0 25px rgba(76, 96, 57, 0.7); border-color: var(--primary-color); }
}

.booking-price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.price-value {
  font-size: 22px;
  font-weight: 700;
}

.price-value span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

/* Form Picker Box */
.picker-container {
  border: 1px solid #B0B0B0;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: var(--bg-white);
}

.dates-row {
  display: flex;
  border-bottom: 1px solid #B0B0B0;
  height: 56px;
}

.date-box {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.date-box:first-of-type {
  border-right: 1px solid #B0B0B0;
}

.date-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 2px;
}

.date-input {
  border: none;
  font-size: 14px;
  color: var(--text-main);
  font-family: inherit;
  width: 100%;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.guests-box {
  padding: 10px 12px;
  position: relative;
  cursor: pointer;
}

.guests-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 2px;
}

.guests-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guests-text {
  font-size: 14px;
  color: var(--text-main);
}

.chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.chevron-icon.open {
  transform: rotate(180deg);
}

/* Guest Dropdown Picker */
.guests-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.guests-dropdown.open {
  display: flex;
}

.dropdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.row-info {
  display: flex;
  flex-direction: column;
}

.row-title {
  font-size: 14px;
  font-weight: 600;
}

.row-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.row-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #B0B0B0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
  background-color: var(--bg-white);
}

.control-btn:hover:not(:disabled) {
  border-color: var(--text-main);
  color: var(--text-main);
}

.control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.control-value {
  font-size: 16px;
  width: 16px;
  text-align: center;
}

/* Booking Button */
.reserve-btn {
  width: 100%;
  height: 48px;
  background: var(--primary-gradient);
  color: var(--bg-white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  transition: transform 0.1s;
}

.reserve-btn:active {
  transform: scale(0.98);
}

.wont-charge-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 24px;
}

/* Price breakdown */
.pricing-breakdown {
  display: none; /* Only visible after date selection */
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-main);
}

.breakdown-label {
  text-decoration: underline;
  cursor: help;
}

.discount-label {
  color: #12A139;
  text-decoration: none;
}

.discount-value {
  color: #12A139;
}

.breakdown-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 12px 0;
}

.total-row {
  font-size: 16px;
  font-weight: 700;
}

/* REVIEWS SECTION */
.reviews-section {
  border-top: 1px solid var(--border-light);
  padding: 48px 0;
  margin-top: 48px;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
}

.review-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EBEBEB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
}

.review-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.review-comment {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
}

/* FULLSCREEN PHOTO TOUR MODAL STYLE Airbnb */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.photo-modal.open {
  display: flex;
}

.photo-tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-white);
  z-index: 10;
  position: relative;
  flex-shrink: 0;
}

.close-tour-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s;
  cursor: pointer;
}
.close-tour-btn:hover {
  background-color: var(--bg-light);
}
.close-tour-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-main);
}

/* Category Navigation (Visite Photo Tabs) */
.photo-tour-nav {
  display: flex;
  gap: 24px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  background-color: var(--bg-white);
  scrollbar-width: none;
  flex-shrink: 0;
}
.photo-tour-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
}
.nav-tab-item:hover, .nav-tab-item.active {
  opacity: 1;
}

.nav-tab-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background-color: var(--bg-light);
}
.nav-tab-item.active .nav-tab-thumb {
  border-color: var(--text-main);
}
.nav-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-tab-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

/* Photo Tour Scrollable Body */
.photo-tour-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px;
  scroll-behavior: smooth;
}

.tour-section {
  margin-bottom: 56px;
}
.tour-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 10px;
}

/* Section Grid (beautiful layout grouping) */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tour-photo-wrapper {
  aspect-ratio: 3/2;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.tour-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.tour-photo-wrapper:hover img {
  transform: scale(1.02);
  filter: brightness(0.95);
}

/* Lightbox Modal (Black overlay) */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.96);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  user-select: none;
}
.lightbox-modal.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 2100;
  display: flex;
  align-items: center;
}
.lightbox-close:hover {
  opacity: 1;
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 600;
  z-index: 2100;
}

.lightbox-actions {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--bg-white);
  display: flex;
  gap: 20px;
  z-index: 2100;
  font-size: 14px;
  font-weight: 600;
}
.lightbox-action-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-action-btn:hover {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bg-white);
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  z-index: 2100;
}
.lightbox-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}
.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}
.lightbox-prev {
  left: 32px;
}
.lightbox-next {
  right: 32px;
}

/* FOOTER */
.main-footer {
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-light);
  padding: 48px 0;
  font-size: 14px;
  color: var(--text-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-copy {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MOBILE BOTTOM BAR */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 90;
}

.mobile-price-col {
  display: flex;
  flex-direction: column;
}

.mobile-price-val {
  font-size: 18px;
  font-weight: 700;
}

.mobile-price-val span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.mobile-date-text {
  font-size: 12px;
  color: var(--text-main);
  text-decoration: underline;
}

.mobile-reserve-btn {
  background: var(--primary-gradient);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* RESPONSIVE MEDIA QUERIES */

@media (min-width: 744px) {
  .logo-text {
    display: inline;
  }
}

@media (max-width: 950px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .photo-grid {
    grid-template-columns: 2fr 1fr;
    height: 300px;
  }
  
  .photo-grid .grid-item:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 743px) {
  .main-header {
    height: 64px;
  }
  
  .header-container {
    padding: 0 16px;
  }
  
  .search-bar {
    max-width: 100%;
    flex: 1;
    margin: 0 12px;
    padding: 6px 6px 6px 16px;
  }
  
  .user-menu {
    display: none;
  }
  
  .photo-grid {
    grid-template-columns: 1fr;
    height: 250px;
    border-radius: 0;
    margin: 0 -24px;
  }
  
  .photo-grid .grid-item:nth-child(n+2) {
    display: none;
  }
  
  .show-all-btn {
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .right-column {
    display: none; /* Hide sticky sidebar card on mobile */
  }
  
  .mobile-bottom-bar {
    display: flex; /* Show bottom bar instead */
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Amenities Modal Overlay */
.amenities-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
}

.amenities-modal.open {
  display: flex;
}

/* Modal Content Container */
.amenities-modal-content {
  background-color: var(--bg-white);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  animation: slide-up-modal 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

@keyframes slide-up-modal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header */
.amenities-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.close-amenities-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  color: var(--text-main);
  line-height: 1;
}
.close-amenities-btn:hover {
  background-color: var(--bg-light);
}

/* Body */
.amenities-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px 40px;
}

/* Category styling */
.amenities-cat {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}
.amenities-cat:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.amenities-cat h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text-main);
}

.amenities-cat ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .amenities-cat ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.amenities-cat li {
  font-size: 15px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

/* Non inclus styling (crossed out) */
.non-inclus-cat li.unavailable {
  text-decoration: line-through;
  opacity: 0.55;
}

/* ==========================================================================
   Calendrier Flatpickr — habillage personnalisé (coins arrondis, jours
   indisponibles Airbnb barrés en rouge, cohérent avec la palette du site)
   ========================================================================== */
.flatpickr-calendar {
  border-radius: var(--border-radius-main);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-light);
  font-family: inherit;
}

.flatpickr-months .flatpickr-month {
  border-radius: var(--border-radius-main) var(--border-radius-main) 0 0;
}

.flatpickr-current-month {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: var(--text-secondary);
  transition: background-color 0.15s ease;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background-color: var(--bg-light);
  fill: var(--text-main);
}

span.flatpickr-weekday {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.flatpickr-day {
  border-radius: 10px;
  color: var(--text-main);
  font-size: 14px;
}

.flatpickr-day.today {
  border-color: var(--border-light);
  position: relative;
}

.flatpickr-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-color);
}

.flatpickr-day:hover {
  background: var(--bg-light);
  border-color: var(--bg-light);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.flatpickr-day.inRange {
  background: rgba(76, 96, 57, 0.12);
  border-color: rgba(76, 96, 57, 0.12);
  box-shadow: -5px 0 0 rgba(76, 96, 57, 0.12), 5px 0 0 rgba(76, 96, 57, 0.12);
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--text-secondary);
  opacity: 0.4;
}

/* Dates réservées sur Airbnb : barrées en rouge et non cliquables */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  background: rgba(255, 56, 92, 0.06);
  border-color: transparent;
  color: #FF385C;
  text-decoration: line-through;
  opacity: 0.7;
  cursor: not-allowed;
}
