/* ============================================================
   PAGINA DETTAGLIO OFFERTA — v2 — 2026-03
   agriturismi.it — Mobile-first, coerente con scheda-v2
   Prefisso: od-
   ============================================================ */

/* --- Reset overflow globale ---------------------------------- */
html, body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* --- Layout -------------------------------------------------- */
.od-page { background: #f9fafb; min-height: 100vh; }

/* --- Breadcrumb ---------------------------------------------- */
.od-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  padding: 14px 0 0;
  line-height: 1.4;
}
.od-breadcrumb a { color: #6b7280; text-decoration: none; }
.od-breadcrumb a:hover { color: #0d9488; text-decoration: underline; }
.od-breadcrumb-sep { margin: 0 5px; color: #d1d5db; }

/* --- Hero ---------------------------------------------------- */
.od-hero {
  position: relative;
  overflow: hidden;
  /* Gradient più caldo (teal → crema) per dare carattere all'offerta */
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #fffbeb 100%);
  border-bottom: 1px solid #e5e7eb;
  padding: 0 0 16px;
}
/* Il contenuto resta sopra il layer animato */
.od-hero > .container { position: relative; z-index: 1; }
/* Sfondo a icone a tema (sole, foglia, calice, uva) che galleggiano lentamente.
   Tutto in CSS: SVG inline ripetuto, drift di un tile per loop senza salti.
   Tenue (opacità bassa) per non disturbare la lettura. (2026-06-14) */
.od-hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.13'%3E%3Cg transform='translate(40,42)'%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Cline x1='0' y1='-16' x2='0' y2='-12'/%3E%3Cline x1='0' y1='12' x2='0' y2='16'/%3E%3Cline x1='-16' y1='0' x2='-12' y2='0'/%3E%3Cline x1='12' y1='0' x2='16' y2='0'/%3E%3Cline x1='-11' y1='-11' x2='-8' y2='-8'/%3E%3Cline x1='8' y1='8' x2='11' y2='11'/%3E%3Cline x1='-11' y1='11' x2='-8' y2='8'/%3E%3Cline x1='8' y1='-8' x2='11' y2='-11'/%3E%3C/g%3E%3Cg transform='translate(146,52) rotate(20)'%3E%3Cpath d='M0 0 C 18 -14 36 -4 30 16 C 12 22 -6 14 0 0 Z'/%3E%3Cpath d='M4 3 L 26 14'/%3E%3C/g%3E%3Cg transform='translate(56,150)' stroke='%23f59e0b'%3E%3Cpath d='M-9 -16 L 9 -16 L 5 -3 A 6 6 0 0 1 -5 -3 Z'/%3E%3Cline x1='0' y1='-3' x2='0' y2='14'/%3E%3Cline x1='-8' y1='14' x2='8' y2='14'/%3E%3C/g%3E%3Cg transform='translate(162,150)'%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='9' cy='2' r='4'/%3E%3Ccircle cx='4' cy='9' r='4'/%3E%3Ccircle cx='-5' cy='9' r='4'/%3E%3Ccircle cx='3' cy='17' r='4'/%3E%3Cpath d='M3 -5 q 5 -6 10 -7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
  animation: od-hero-drift 40s linear infinite;
  will-change: transform;
}
@keyframes od-hero-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-220px, -220px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .od-hero::before { animation: none; }
}
.od-hero-struttura {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 2px;
}
.od-hero-struttura a { color: #0d9488; text-decoration: none; }
.od-hero-struttura a:hover { text-decoration: underline; }

.od-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.2;
}

/* Riga prezzo */
.od-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.od-discount-badge {
  background: #e11d48;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}
.od-special-badge {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d7c72 0%, #0780a0 100%);
  box-shadow: 0 2px 8px rgba(13,148,136,.4);
  letter-spacing: .3px;
}
.od-special-badge .fa { font-size: 12px; margin-right: 4px; }
.od-price-old {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
}
.od-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: #e11d48;
  line-height: 1;
}
.od-price-unit {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-left: 2px;
  letter-spacing: .2px;
}

/* Numero eroe: prezzo a persona a notte (2026-06-15).
   È il dato che converte davvero: lo presentiamo subito sotto il prezzo grezzo,
   in verde "buon affare", per spostare la percezione da "52€ a camera" a "26€ a testa". */
.od-ppn {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
}
.od-ppn-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #047857;
  line-height: 1;
}
.od-ppn-unit {
  font-size: 13px;
  font-weight: 600;
  color: #059669;
}
/* Versione compatta nella sidebar e sotto al prezzo del riquadro laterale */
.od-sidebar-ppn {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #047857;
}

/* Chips — caratteristiche offerta, leggibilità migliorata (2026-06-15):
   testo più grande, più aria, icona in pastiglia teal tenue per leggerla a colpo d'occhio. */
.od-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.od-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 8px 15px 8px 9px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  line-height: 1.2;
}
/* Icona dentro un cerchietto teal tenue: separa visivamente icona e testo */
.od-chip .fa {
  color: #0d9488;
  font-size: 14px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  border-radius: 50%;
  flex: 0 0 26px;
}
.od-chip--cat { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.od-chip--cat .fa { color: #f59e0b; background: #fef9c3; }

/* Info fondamentali in risalto: numero ospiti + validità date (2026-06-14).
   Stesso stile chip ma testo leggermente più marcato. */
.od-chip:has(.fa-users),
.od-chip--date {
  background: #fff;
  border-color: #e5e7eb;
  color: #111827;
  font-weight: 700;
  white-space: normal;
}
.od-chip:has(.fa-users) .fa,
.od-chip--date .fa { color: #0d9488; }

/* CTA primaria */
.od-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
  box-shadow: 0 3px 12px rgba(22,163,74,.25);
  width: 100%;
}
.od-cta:hover, .od-cta:focus {
  background: #15803d;
  color: #fff;
  transform: translateY(-1px);
}

/* --- Hero row: prezzo su una riga, chip raggruppati sotto (2026-06-14) --- */
.od-hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.od-hero-row .od-price-row { margin-bottom: 0; }
.od-hero-row .od-chips { margin-bottom: 0; width: 100%; }

/* --- Esclusiva inline (nell'hero) — micro-strip discreta ----- */
.od-exclusive-inline {
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  background: #ecfdf5;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 14px;
  border: 1px solid #bbf7d0;
  margin-top: 2px;
}
.od-exclusive-inline .fa { color: #f59e0b; margin-right: 4px; font-size: 11px; }

/* --- Mappa inline (full-width, dopo gallery) ----------------- */
.od-map-row {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
}
.od-map-inline {
  height: 200px;
  width: 100%;
}
.od-map-label {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
}

/* --- Gallery (hero immagine) --------------------------------- */
.od-gallery {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
/* Variante: gallery posizionata dopo il form, con spazio sopra */
.od-gallery--bottom {
  margin-top: 28px;
}

/* Riordino 2026-06-14: galleria in alto (sotto hero), mappa in fondo e ridotta */
.od-gallery--top {
  margin-top: 4px;
  margin-bottom: 24px;
}
.od-map-row--bottom {
  margin-top: 28px;
  margin-bottom: 8px;
}
.od-map-row--bottom .od-map-inline {
  height: 180px;
}
.od-gallery-grid {
  display: grid;
  gap: 4px;
  height: 380px;
  background: #e8eaed;
}
/* 1 foto */
.od-gallery-grid--1 { grid-template-columns: 1fr; }
/* 2 foto */
.od-gallery-grid--2 { grid-template-columns: 3fr 2fr; }
/* 3+ foto: grande a sinistra, colonna secondaria a destra */
.od-gallery-grid--3 { grid-template-columns: 3fr 2fr; }
/* 4-5 foto: grande a sinistra, griglia 2x2 a destra */
.od-gallery-grid--multi { grid-template-columns: 3fr 2fr; }

/* Contenitore foto secondarie */
.od-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
/* 5 foto: griglia 2x2 a destra */
.od-gallery-grid--multi .od-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.od-gimg {
  overflow: hidden;
  min-height: 0;
}
.od-gimg a { display: block; width: 100%; height: 100%; cursor: pointer; }
.od-gimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.od-gimg:hover img { transform: scale(1.03); }

/* Counter foto */
.od-gallery-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* --- Contenuto ----------------------------------------------- */
.od-content { padding: 16px 0 40px; }

.od-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
.od-section-title .fa { color: #0d9488; }

.od-desc {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 28px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* --- Form richiesta ------------------------------------------ */
.od-form-card {
  background: #fff;
  border: 2px solid #16a34a;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(22,163,74,.08);
}
.od-form-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.od-form-title .fa { color: #16a34a; }

.od-form-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #0369a1;
  margin-bottom: 16px;
  line-height: 1.5;
}

.od-form-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}
.od-form-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.od-form-input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
textarea.od-form-input { height: auto; padding: 10px 12px; resize: vertical; }
select.od-form-input { appearance: auto; }
.od-form-input[readonly] { background: #f9fafb; cursor: pointer; }

/* Errore inline */
.od-form-input.is-invalid { border-color: #e11d48; }
.od-form-error {
  font-size: 11px;
  color: #e11d48;
  margin-top: 2px;
  display: none;
}
.od-form-input.is-invalid + .od-form-error { display: block; }

.od-form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 3px 12px rgba(22,163,74,.2);
}
.od-form-btn:hover { background: #15803d; }

/* Honeypot */
.od-hp { display: none !important; visibility: hidden !important; }

/* Privacy checkbox */
/* Consenso: testo che fluisce inline (NO flex, altrimenti ogni <a> diventa una
   colonna). Checkbox in absolute a sinistra + riquadro tenue per ordine. (2026-06-14) */
.od-form-privacy {
  display: block;
  position: relative;
  padding: 11px 14px 11px 40px;
  background: #f9fafb;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}
.od-form-privacy input[type="checkbox"] {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}
.od-form-privacy a {
  color: #0d9488;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

/* --- CTA sticky mobile (2026-06-15) -------------------------- */
/* Barra fissa in basso su mobile: prezzo sempre visibile + bottone che
   riporta al form di richiesta. Nascosta da lg in su (d-lg-none). */
.od-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0,0,0,.10);
}
.od-sticky-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex: 0 0 auto;
}
.od-sticky-old {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}
.od-sticky-amount {
  font-size: 1.4rem;
  font-weight: 900;
  color: #e11d48;
  line-height: 1;
}
.od-sticky-unit {
  font-size: 11px;
  color: #6b7280;
}
.od-sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(22,163,74,.25);
  transition: background .15s;
}
.od-sticky-btn:hover, .od-sticky-btn:focus, .od-sticky-btn:active { background: #15803d; color: #fff; }

/* --- Sidebar ------------------------------------------------- */
.od-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.od-sidebar-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.od-sidebar-tipo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #0369a1;
  margin-bottom: 4px;
}
.od-sidebar-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.od-sidebar-loc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}
.od-sidebar-loc .fa { color: #0d9488; margin-right: 3px; }

.od-sidebar-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.od-sidebar-rating .fa { color: #f5a623; }

.od-sidebar-link {
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none !important;
  border-top: 1px solid #f0f2f4;
  margin-top: 8px;
  padding-top: 12px;
}
.od-sidebar-link:hover { color: #0f766e; }

/* Prezzo riepilogo sidebar */
.od-sidebar-price {
  text-align: center;
  border: 2px solid #e11d48;
}
.od-sidebar-price-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.od-sidebar-price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #e11d48;
}
.od-sidebar-price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Mappa sidebar */
.od-sidebar-map {
  padding: 0;
  overflow: hidden;
}
.od-sidebar-map-inner {
  height: 180px;
  border-radius: 14px 14px 0 0;
}
.od-sidebar-map-label {
  padding: 8px 14px;
  font-size: 12px;
  color: #6b7280;
}

/* Sidebar sticky desktop */
@media (min-width: 992px) {
  .od-sidebar-sticky { position: sticky; top: 72px; }
  .od-sidebar-col { align-self: flex-start; }
}

/* --- Altre offerte ------------------------------------------- */
.od-other-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.od-other-title .fa { color: #0d9488; }

.od-other-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.od-other-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.od-other-card-img {
  flex: 0 0 130px;
  overflow: hidden;
}
.od-other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 120px;
}
.od-other-card-body {
  flex: 1;
  padding: 12px 14px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.od-other-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.od-other-card-title a { color: inherit; text-decoration: none; }
.od-other-card-title a:hover { color: #0d9488; }

.od-other-card-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}
.od-other-card-meta .fa { color: #0d9488; margin-right: 2px; }

/* Badge sconto sull'immagine */
.od-other-card-img { position: relative; }
.od-other-badge-sconto {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.4;
}

/* Date validità */
.od-other-card-dates {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}
.od-other-card-dates .fa { color: #0d9488; margin-right: 3px; font-size: 10px; }

/* Estratto descrizione */
.od-other-card-descr {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.35;
  margin-bottom: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Prezzo con barrato */
.od-other-card-price {
  font-size: 16px;
  font-weight: 800;
  color: #e11d48;
}
.od-other-card-price-old {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 4px;
}

/* --- CTA sticky mobile: spazio sotto al contenuto (bar visibile <992px) --- */
@media (max-width: 991px) {
  body.od-page { padding-bottom: 76px; }
}

/* --- Mobile -------------------------------------------------- */
@media (max-width: 767px) {
  .od-hero { padding: 0 0 18px; }
  .od-hero-title { font-size: 1.25rem; }
  .od-price-main { font-size: 1.7rem; }

  .od-gallery {
    border-radius: 10px;
    margin-left: 0;
    margin-right: 0;
  }
  .od-gallery-grid {
    height: 220px;
    grid-template-columns: 1fr !important;
  }
  .od-gallery-grid .od-gallery-side { display: none; }

  .od-content { padding: 18px 15px 28px; }
  .od-form-card { padding: 16px; }
  .od-cta { font-size: 14px; padding: 11px 20px; }

  .od-map-inline { height: 160px; }

  .od-other-card-img { flex: 0 0 100px; }
  .od-other-card-body { padding: 10px 10px 10px 0; }
  .od-other-card-title { font-size: 13px; }
  .od-other-card-descr { -webkit-line-clamp: 1; font-size: 10px; }
  .od-other-card-dates { font-size: 10px; }
  .od-other-card-price { font-size: 14px; }
  .od-other-card-price-old { font-size: 11px; }
  .od-other-badge-sconto { font-size: 10px; padding: 1px 5px; }

  /* Privacy checkbox mobile */
  .od-form-privacy {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 575px) {
  .od-chip { font-size: 13px; padding: 7px 13px 7px 8px; }
  .od-chip .fa { width: 24px; height: 24px; flex-basis: 24px; }
}

/* ===========================================================================
   RESTYLE form richieste — coordinato teal + look Airbnb (2026-06-17)
   Da verde acceso (#16a34a) + bordo 2px → teal sito, framing leggero. Solo CSS.
   =========================================================================== */
.od-form-card {
  border: 1px solid #e6e9ec;                         /* hairline neutro, niente bordo 2px verde */
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 28px rgba(15,23,42,.05);
  padding: 22px;
}
.od-form-title { font-weight: 700; }
.od-form-title .fa { color: #0d9488; }               /* teal */

.od-form-info {                                       /* info-box: da azzurro a teal tenue */
  background: #f0fbf7;
  border: 1px solid #cdeee2;
  color: #0f766e;
}

.od-form-input:focus {                               /* focus ring teal */
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,.14);
}

.od-form-btn {                                        /* CTA teal, prominente ma sobrio */
  background: #0d9488;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(13,148,136,.22);
  letter-spacing: .1px;
}
.od-form-btn:hover { background: #0f766e; box-shadow: 0 6px 18px rgba(13,148,136,.3); }

/* ===========================================================================
   FIX campo data mobile + leggibilità form (2026-07-16). Solo CSS.
   Su mobile flatpickr sostituisce #checkin con un <input type="date"> nativo
   (classe .flatpickr-mobile): iOS lo rende con larghezza intrinseca (sborda
   dalla card) e testo centrato. appearance:none + min-width:0 lo riportano
   in riga con gli altri campi.
   =========================================================================== */
input[type="date"].od-form-input,
.od-form-input.flatpickr-mobile {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: left;
  line-height: 42px;                /* centra verticalmente il valore nei 44px */
  background: #f9fafb;              /* stesso segnale "tappa per scegliere" del readonly desktop */
}
/* iOS: il valore dentro input date è centrato dalla UA — riallineo a sinistra */
input[type="date"].od-form-input::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}
/* Il col Bootstrap è flex item: senza min-width la larghezza intrinseca
   dell'input date nativo può allargarlo oltre la riga */
.od-form-card .row > [class*="col-"] { min-width: 0; }

@media (max-width: 767px) {
  /* 16px previene lo zoom automatico iOS al focus (nome/telefono/email erano 14px) */
  .od-form-input {
    font-size: 16px;
    height: 48px;
  }
  textarea.od-form-input { height: auto; }
  input[type="date"].od-form-input,
  .od-form-input.flatpickr-mobile { line-height: 46px; }  /* 48px - 2px bordi */
  .od-form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

.od-form-privacy input[type="checkbox"] { accent-color: #0d9488; }  /* teal */
