/* ============================================================
   Detail pages — Al Serro, Al Cantello, Sapore di Mare
   ============================================================ */

/* ---- Dintorni & Attrazioni ---- */
.dintorni-section {
  background: var(--cream, #faf8f4);
  padding: 4rem 0;
}
.dintorni-section .section-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta, #b5883e);
  margin-bottom: .5rem;
}
.dintorni-section h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: .6rem;
}
.dintorni-section .dintorni-intro {
  color: var(--text-muted);
  font-size: .97rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.dintorni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.dintorni-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.dintorni-card .d-icon { font-size: 1.6rem; }
.dintorni-card .d-name {
  font-weight: 700;
  font-size: .97rem;
  color: var(--text);
}
.dintorni-card .d-dist {
  font-size: .82rem;
  color: var(--terracotta, #b5883e);
  font-weight: 600;
}
.dintorni-card .d-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 1rem 0;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 72px;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}
.breadcrumb .container { display: flex; align-items: center; gap: .5rem; }
.breadcrumb a { color: var(--terracotta); }
.breadcrumb span { color: var(--text-muted); }

/* ---- Detail Hero ---- */
.detail-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--stone);
}
.detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%);
}
.detail-hero-content {
  position: absolute; bottom: 2.5rem; left: 0; right: 0;
}
.detail-hero-content .container { display: flex; align-items: flex-end; justify-content: space-between; }
.detail-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
}
.detail-hero-content .hero-location {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  margin-top: .25rem;
}
.detail-hero-content .hero-price-badge {
  background: var(--terracotta);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  min-width: 140px;
}
.detail-hero-content .hero-price-badge .from { font-size: .75rem; opacity: .8; }
.detail-hero-content .hero-price-badge .amount { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.detail-hero-content .hero-price-badge .per { font-size: .75rem; opacity: .8; }

/* ---- Detail layout ---- */
.detail-body { padding: 4rem 0; }

/* Row 1: left-col (gallery + amenities) | right-col (house description) */
.detail-top-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.detail-top-left { min-width: 0; }
.detail-about-col { min-width: 0; }

/* ---- Amenities — Airbnb style ---- */
.amenities-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.amenities-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }

/* Preview list: 2 columns, separator lines */
.am-preview { margin-bottom: 1.25rem; }
.am-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: .75rem 0;
}
.am-preview-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.am-pi-icon { font-size: 1.25rem; flex-shrink: 0; width: 1.5rem; text-align: center; }
.am-pi-text { color: var(--text-dark); }
.am-preview-sep { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Show all button */
.am-show-all-btn {
  display: inline-block;
  margin-top: .5rem;
  padding: .7rem 1.4rem;
  border: 1.5px solid var(--text-dark);
  border-radius: 8px;
  background: #fff;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.am-show-all-btn:hover { background: var(--cream); }

/* ---- Amenities Modal ---- */
.am-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  align-items: center; justify-content: center;
}
.am-modal.open { display: flex; }
.am-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.am-modal-dialog {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: min(680px, 95vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 48px rgba(0,0,0,.25);
}
.am-modal-close {
  position: absolute; top: 1rem; left: 1rem;
  width: 2rem; height: 2rem;
  border: none; background: none;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.am-modal-close:hover { background: var(--cream); }
.am-modal-body {
  overflow-y: auto;
  padding: 3rem 2rem 2rem;
}
.am-modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.am-modal-section { margin-bottom: 2rem; }
.am-modal-cat {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1.5px solid var(--text-dark);
}
.am-modal-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  font-size: .95rem;
}
.am-mi-icon { font-size: 1.25rem; width: 1.75rem; text-align: center; flex-shrink: 0; }
.am-mi-it, .am-mi-en { flex: 1; }
.am-modal-sep { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Row 2: extras (left) + booking sidebar (right) */
.detail-bottom-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.detail-sidebar { position: sticky; top: 90px; }

/* Full-width booking panel below the detail row */
.detail-sidebar--full { position: static; top: auto; width: 100%; margin-top: 2.5rem; }
.detail-sidebar--full .sidebar-card { padding: 2rem 2.5rem; }
@media (min-width: 860px) {
  .detail-sidebar--full .sidebar-form {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    column-gap: 2.5rem;
    align-items: start;
  }
  .detail-sidebar--full .sidebar-calendar { grid-column: 1; grid-row: 1 / 999; margin-bottom: 0; }
  .detail-sidebar--full .sidebar-form > .form-group,
  .detail-sidebar--full .sidebar-form > .sidebar-extras-summary,
  .detail-sidebar--full .sidebar-form > .price-breakdown,
  .detail-sidebar--full .sidebar-form > button,
  .detail-sidebar--full .sidebar-form > p,
  .detail-sidebar--full .sidebar-form > .sidebar-whatsapp { grid-column: 2; }
}

/* Keep old classes for safety */
.detail-grid { }
.detail-main { }

/* ---- Gallery ---- */
.gallery-section { margin-bottom: 0; }
.gallery-section h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.5rem; }

.gallery-tabs { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 230px);
  gap: .35rem;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-item {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: unset;
  background: var(--stone);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* First item spans both rows on the left */
.gallery-item:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Items 6+ hidden (shown only in lightbox) */
.gallery-item:nth-child(n+6) {
  display: none !important;
}

/* "+X foto" overlay on 5th item */
.gallery-more-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
  pointer-events: none;
}

.gallery-label {
  position: absolute; bottom: .5rem; left: .5rem;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .72rem; font-weight: 600;
  padding: .2rem .5rem; border-radius: 4px;
  letter-spacing: .05em;
}

/* Mobile: single column scroll */
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
    border-radius: 8px;
  }
  .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .gallery-item:nth-child(n+6) {
    display: none !important;
  }
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 98vw; max-height: 97vh; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 48px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 2rem; cursor: pointer; padding: 1rem;
  background: rgba(255,255,255,.1); border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ---- About ---- */
.detail-about { margin-bottom: 3rem; }
.detail-about h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1rem; }
.detail-about p { color: var(--text-muted); margin-bottom: .75rem; line-height: 1.7; }
.detail-about .key-facts {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding: 1.5rem;
  background: var(--cream); border-radius: var(--radius);
}
.key-fact strong { display: block; font-size: 1.3rem; font-family: var(--font-display); color: var(--terracotta); }
.key-fact span { font-size: .82rem; color: var(--text-muted); }

/* ---- Amenities ---- */
.amenities-section { margin-bottom: 3rem; }
.amenities-section h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.25rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.amenity-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: var(--radius-sm);
  background: var(--cream); font-size: .88rem;
}
.amenity-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ---- Extras / Optional Services — compact (fits in left column) ---- */
.extras-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-bottom: 0; }
.extras-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .35rem; }
.extras-sub { color: var(--text-muted); font-size: .8rem; margin-bottom: 1rem; }
.extras-grid { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.extra-card {
  display: flex; align-items: center; gap: .75rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: .65rem .85rem; background: var(--warm-white);
  transition: all var(--transition); position: relative;
  cursor: pointer;
}
.extra-card:hover { border-color: var(--terracotta); background: #fff5f3; }
.extra-card.selected { border-color: var(--terracotta); background: #fff5f3; }
.extra-card.selected::after {
  content: '✓';
  position: absolute; top: .5rem; right: .65rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
}
.extra-icon { font-size: 1.3rem; flex-shrink: 0; align-self: flex-start; margin-top: .1rem; }
.extra-info { flex: 1; min-width: 0; }
.extra-name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.extra-desc { font-size: .73rem; color: var(--text-muted); margin-top: .1rem; line-height: 1.4; }

/* Expand section (allergies / pizza toppings) */
.extra-card { flex-wrap: wrap; }
.extra-expand {
  width: 100%; margin-top: .75rem;
  padding-top: .75rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .5rem;
}
.extra-allergy-label, .topping-label { font-size: .73rem; font-weight: 600; color: var(--text-dark); }
.topping-label small { font-weight: 400; color: var(--text-muted); margin-left: .3rem; }
.extra-allergy-input, .extra-toppings-input {
  font-size: .78rem; padding: .35rem .6rem;
  border: 1px solid var(--border); border-radius: 6px;
  background: #fff; outline: none; width: 100%;
}
.extra-allergy-input:focus, .extra-toppings-input:focus { border-color: var(--terracotta); }
.topping-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.topping-counter { display: flex; align-items: center; gap: .5rem; }
.topping-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: all var(--transition);
}
.topping-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.topping-count { font-size: .9rem; font-weight: 700; min-width: 1.2rem; text-align: center; }

/* ---- Interactive extra expand elements ---- */
.extra-counter-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.extra-dyn-note {
  font-size: .8rem; color: var(--text-muted);
  background: var(--cream); border-radius: 6px;
  padding: .4rem .6rem; margin-top: .25rem;
}
.extra-dyn-note strong { color: var(--terracotta); }
.basket-option {
  display: flex; align-items: center; gap: .55rem;
  font-size: .88rem; cursor: pointer; padding: .3rem 0;
}
.basket-option input[type=radio] { accent-color: var(--terracotta); width: 15px; height: 15px; }

/* ---- Sidebar booking card ---- */
.sidebar-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; }
.sidebar-price { margin-bottom: 1rem; }
.sidebar-price .amount { font-family: var(--font-display); font-size: 2rem; color: var(--terracotta); }
.sidebar-price .per { font-size: .85rem; color: var(--text-muted); }
.sidebar-price .note { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

.sidebar-dates {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  margin-bottom: 1rem;
}
.date-input-group label { display: block; font-size: .75rem; font-weight: 600; margin-bottom: .3rem; }
.date-input-group input {
  width: 100%; padding: .55rem .7rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; font-family: inherit;
  transition: border-color var(--transition);
}
.date-input-group input:focus { outline: none; border-color: var(--terracotta); }

.sidebar-form .form-group { margin-bottom: .75rem; }
.sidebar-form .form-group label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: .3rem; }
.sidebar-form .form-group input,
.sidebar-form .form-group select,
.sidebar-form .form-group textarea {
  width: 100%; padding: .55rem .7rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; font-family: inherit;
  transition: border-color var(--transition);
}
.sidebar-form .form-group input:focus,
.sidebar-form .form-group select:focus,
.sidebar-form .form-group textarea:focus { outline: none; border-color: var(--terracotta); }
.sidebar-form textarea { resize: vertical; }

.sidebar-extras-summary {
  background: var(--cream); border-radius: var(--radius-sm);
  padding: .75rem 1rem; margin-bottom: 1rem;
  font-size: .82rem;
}
.sidebar-extras-summary strong { display: block; margin-bottom: .3rem; }
.sidebar-extras-list { color: var(--text-muted); }

.price-breakdown { margin-bottom: 1rem; }
.pb-row { display: flex; justify-content: space-between; font-size: .85rem; padding: .3rem 0; }
.pb-row.total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .75rem; font-weight: 600; font-size: .95rem; }

.sidebar-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: #25D366; color: #fff;
  padding: .6rem; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600; margin-top: .75rem;
  transition: background var(--transition);
}
.sidebar-whatsapp:hover { background: #1ebe5d; }
.sidebar-whatsapp svg { width: 16px; height: 16px; }

/* ---- Location ---- */
.location-section { margin-bottom: 3rem; }
.location-section h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.25rem; }
.location-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.nearby-list { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.nearby-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-muted); }

/* ---- Attractions ---- */
.attractions-section { margin-bottom: 3rem; }
.attractions-section h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .5rem; }
.attractions-section .attr-sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }
.attractions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 600px) { .attractions-grid { grid-template-columns: 1fr; } }

.attraction-card {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--warm-white);
  margin-bottom: 1rem; transition: all var(--transition);
  overflow: hidden;
}
.attraction-card:hover { border-color: var(--terracotta); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

.attr-icon-col { display: flex; flex-direction: row; align-items: center; gap: .5rem; padding: .85rem 1.1rem 0; }
.attr-emoji { font-size: 2.2rem; }
.attr-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.attr-distance {
  font-size: .7rem; font-weight: 700; color: var(--terracotta);
  text-align: center; line-height: 1.3;
  background: var(--terracotta-light); padding: .2rem .4rem;
  border-radius: 6px; white-space: nowrap;
}

.attr-content { padding: .85rem 1.1rem 1.1rem; }
.attr-content h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .2rem; }
.attr-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .15rem .5rem; border-radius: 50px;
  margin-bottom: .5rem;
}
.tag-nature   { background: var(--olive-light); color: #3d4a1e; }
.tag-history  { background: #e8d5f5; color: #5b2d8e; }
.tag-sea      { background: var(--sea-light); color: #1a4a6e; }
.tag-village  { background: var(--stone); color: #5a4a30; }
.tag-island   { background: #fef3c7; color: #92400e; }

.attr-content p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; }

.attr-map-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.map-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; padding: .35rem .75rem;
  border-radius: 50px; border: 1.5px solid var(--border);
  transition: all var(--transition); color: var(--text);
}
.map-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.map-link.google { border-color: #4285F4; color: #4285F4; }
.map-link.google:hover { background: #4285F4; color: #fff; }
.map-link.apple { border-color: #555; color: #555; }
.map-link.apple:hover { background: #333; color: #fff; }
.map-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---- Reviews ---- */
.reviews-section { margin-bottom: 3rem; }
.reviews-section h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .5rem; }
.reviews-sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.review-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; background: var(--warm-white);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .75rem; }
.review-author-info { display: flex; align-items: center; gap: .6rem; }
.review-author-info > div { display: flex; flex-direction: column; gap: .1rem; }
.review-author { font-size: .95rem; font-weight: 600; }
.review-source { font-size: .75rem; color: var(--text-muted); }
.review-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; flex-shrink: 0; }
.review-stars { font-size: .9rem; }
.review-time { font-size: .72rem; color: var(--text-muted); }
.review-text { font-size: .85rem; color: var(--text-muted); line-height: 1.6; font-style: italic; }

/* Google star colours */
.star { color: #d1d5db; }
.star-full, .star-half { color: #f59e0b; }

/* Reviewer avatar */
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.review-avatar-placeholder {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
}

/* Rating summary bar */
.reviews-summary {
  display: flex; align-items: center; gap: .75rem;
  background: var(--cream); border-radius: var(--radius);
  padding: 1rem 1.5rem; margin-bottom: 1.5rem;
}
.reviews-avg { font-size: 2rem; font-weight: 700; color: var(--terracotta); line-height: 1; }
.reviews-avg-stars { font-size: 1.2rem; }
.reviews-total { font-size: .82rem; color: var(--text-muted); }

/* Skeleton loading */
.review-skeleton { pointer-events: none; }
.skel-line {
  display: block; border-radius: 4px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite;
}
.skel-name  { width: 100px; height: 13px; margin-bottom: 6px; }
.skel-sub   { width: 70px;  height: 10px; }
.skel-stars { width: 60px;  height: 12px; }
.skel-text  { width: 100%;  height: 11px; margin-top: 8px; }
.skel-text-short { width: 65%; }
@keyframes skel-shimmer { to { background-position: -200% 0; } }

/* Empty / error state */
.reviews-empty { color: var(--text-muted); font-size: .9rem; grid-column: 1/-1; padding: 1rem 0; }

.leave-review-box {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--cream); border-radius: var(--radius); padding: 1.5rem 2rem;
  flex-wrap: wrap;
}
.leave-review-text strong { display: block; font-size: 1rem; margin-bottom: .25rem; }
.leave-review-text p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.leave-review-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.review-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.1rem; border-radius: 50px;
  font-size: .82rem; font-weight: 600;
  border: 1.5px solid transparent; transition: all var(--transition);
}
.review-btn-google { background: #fff; border-color: #4285F4; color: #4285F4; }
.review-btn-google:hover { background: #4285F4; color: #fff; }
.review-btn-airbnb { background: #fff; border-color: #FF5A5F; color: #FF5A5F; }
.review-btn-airbnb:hover { background: #FF5A5F; color: #fff; }
.review-btn-booking { background: #fff; border-color: #003580; color: #003580; }
.review-btn-booking:hover { background: #003580; color: #fff; }

/* ---- Twemoji ---- */
img.emoji { height: 1em; width: 1em; margin: 0 .05em 0 .1em; vertical-align: -0.1em; display: inline; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .detail-hero { height: 340px; }
  .detail-hero-content .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nearby-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .leave-review-box { flex-direction: column; }
}
@media (max-width: 600px) {
  .extras-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .key-facts { gap: 1.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }

  /* Sidebar booking card su mobile */
  .sidebar-card {
    padding: 1.25rem;
    margin-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .price-breakdown {
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
  }
  .pb-row {
    font-size: .9rem;
    padding: .45rem 0;
  }
  .pb-row.total {
    font-size: 1rem;
    padding-top: .85rem;
    margin-top: .6rem;
  }
}
