/*
 * Stili condivisi tra le pagine pubbliche (index.html, catalogo.html):
 * navbar, menu mobile, FAB, griglia annunci/card, modale dettaglio + carosello.
 * Richiede che ogni pagina definisca le proprie variabili in :root
 * (--brand-blue, --brand-yellow, --white, --text-slate, --text-muted, --border-color, --transition).
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* NAVBAR STICKY: full-width e stile classico con giallo brand */
.navbar {
  background: linear-gradient(120deg, var(--brand-blue), #001f8c);
  border-bottom: 4px solid var(--brand-yellow);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0,68,255,0.18);
  transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
@media (min-width: 768px) {
  .navbar { padding: 0 2rem; }
}

.navbar.scrolled {
  height: 64px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
  background: linear-gradient(120deg, rgba(0,68,255,0.88), rgba(0,31,140,0.92));
  backdrop-filter: blur(20px) saturate(180%) brightness(0.75);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(0.75);
}
.brand { display: flex; align-items: center; text-decoration: none; z-index: 1001; }
.brand-icon-box { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.brand-text { margin-left: 12px; display: flex; align-items: center; line-height: 1.1; }
.brand-title { font-family: 'Teko', 'Space Grotesk', sans-serif; font-size: clamp(1.15rem, 4.5vw, 1.65rem); font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; position: relative; top: 0.1em; }

/* GRUPPO AZIONI DESTRA NAVBAR (RICERCA + HAMBURGER UNIFICATO) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

/* PULSANTE RICERCA DESKTOP & TABLET */
.nav-search-trigger {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 8px 16px 8px 14px;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.nav-search-trigger:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--brand-yellow);
  color: var(--white);
  box-shadow: 0 0 16px rgba(255,217,15,0.3);
}
.nav-search-icon { color: var(--brand-yellow); flex-shrink: 0; }
.nav-search-text { white-space: nowrap; }
.nav-search-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
@media (min-width: 640px) {
  .nav-search-trigger { display: inline-flex; }
}

/* PULSANTE RICERCA MOBILE ICON-ONLY */
.nav-mobile-search-btn {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-yellow);
  transition: var(--transition);
}
.nav-mobile-search-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--brand-yellow);
  transform: scale(1.05);
}
@media (min-width: 640px) {
  .nav-mobile-search-btn { display: none; }
}

/* HAMBURGER TOGGLE BUTTON UNIFICATO (DESKTOP & MOBILE) */
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  cursor: pointer;
  color: var(--brand-yellow);
  transition: var(--transition);
  height: 42px;
}
.mobile-toggle:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--brand-yellow);
  color: var(--white);
  transform: scale(1.03);
}
.mobile-toggle svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--brand-yellow); }
.mobile-toggle-label {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  display: none;
}
@media (min-width: 768px) {
  .mobile-toggle-label { display: inline-block; }
}
@media (max-width: 639px) {
  .mobile-toggle {
    padding: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
  }
}

/* MENU A DISCESA UNIFICATO */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: linear-gradient(160deg, #0044FF, #001f8c);
  border-bottom: 4px solid var(--brand-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem 2rem;
  transform: translateY(-150%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s ease;
  z-index: 999;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}
.mobile-menu.open { transform: translateY(0); }
.navbar.scrolled ~ .mobile-menu { top: 64px; }

/* Pulsante rapido ricerca dentro al menu */
.mobile-menu-search-btn {
  width: 100%;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin-bottom: 0.25rem;
}
.mobile-menu-search-btn:hover { background: #ffe14d; }

.mobile-menu .nav-link,
.mobile-menu .btn-catalog-nav,
.mobile-menu .btn-valuation-nav {
  width: 100%;
  max-width: 340px;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
}
.mobile-menu .nav-link {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: var(--brand-yellow);
}
.mobile-menu .nav-link:hover, .mobile-menu .nav-link.active {
  background: rgba(255,255,255,0.22);
  color: var(--white);
}
.mobile-menu .btn-catalog-nav {
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
}
.mobile-menu .btn-catalog-nav:hover { background-color: #ffe14d; }
.mobile-menu .btn-valuation-nav {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--white);
}
.mobile-menu .btn-valuation-nav:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.mobile-menu .nav-link.is-current,
.mobile-menu .btn-catalog-nav.is-current,
.mobile-menu .btn-valuation-nav.is-current {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.6);
}

.navbar a:focus-visible, .navbar button:focus-visible, .mobile-menu a:focus-visible, .nav-search-trigger:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   MODAL / POPUP RICERCA RAPIDA & FILTRI UNIVERSALE
   ========================================================================== */
.nav-search-modal-overlay { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.nav-search-modal-card { background: var(--white); width: 100%; max-width: 520px; border-radius: 28px; padding: 1.75rem 1.5rem; box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35); border: 2px solid var(--border-color); border-top: 5px solid var(--brand-yellow); max-height: 92vh; overflow-y: auto; position: relative; }
@media (min-width: 640px) { .nav-search-modal-card { padding: 2.25rem 2rem; } }

.nav-search-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.nav-search-header-title { display: flex; align-items: center; gap: 10px; }
.nav-search-header-title h3 { font-family: 'Space Grotesk', -apple-system, sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text-slate); text-transform: uppercase; }
.btn-close-search-modal { width: 38px; height: 38px; border-radius: 50%; background-color: #f1f5f9; border: 1px solid var(--border-color); color: var(--text-slate); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.btn-close-search-modal:hover { background-color: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); }

.nav-search-input-box { position: relative; margin-bottom: 1.25rem; }
.nav-search-input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.nav-search-input { width: 100%; padding: 14px 16px 14px 2.75rem; background: #f8fafc; border: 1.5px solid var(--border-color); border-radius: 16px; font-size: 14px; font-weight: 600; color: var(--text-slate); outline: none; transition: var(--transition); }
.nav-search-input:focus { border-color: var(--brand-blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0,68,255,0.1); }

.nav-search-section { margin-bottom: 1.25rem; }
.nav-search-label { font-size: 11px; font-weight: 900; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 7px; }

.nav-search-pills { display: flex; gap: 8px; }
.nav-pill { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--border-color); background: #f8fafc; font-size: 12.5px; font-weight: 800; color: var(--text-muted); cursor: pointer; transition: var(--transition); text-align: center; text-transform: uppercase; }
.nav-pill:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.nav-pill.active { background: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); box-shadow: 0 4px 12px rgba(0,68,255,0.25); }

.nav-search-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 540px) { .nav-search-grid { grid-template-columns: 1fr 1fr; } .nav-search-grid .nav-search-field.full { grid-column: 1 / -1; } }

.nav-search-select { width: 100%; padding: 12px 14px; background-color: #f8fafc; border: 1.5px solid var(--border-color); border-radius: 14px; font-size: 13.5px; font-weight: 600; color: var(--text-slate); outline: none; transition: var(--transition); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2364748b' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.nav-search-select:focus { border-color: var(--brand-blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(0,68,255,0.1); }

.nav-search-actions { display: flex; gap: 10px; align-items: center; padding-top: 1rem; border-top: 1px solid var(--border-color); }
.nav-search-btn-reset { padding: 12px 18px; border-radius: 999px; background: #f1f5f9; border: none; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.nav-search-btn-reset:hover { background: #e2e8f0; color: var(--text-slate); }
.nav-search-btn-submit { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand-yellow); color: var(--brand-blue); border: 2.5px solid var(--brand-blue); padding: 14px 24px; border-radius: 999px; font-size: 13.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(255,217,15,0.3); }
.nav-search-btn-submit:hover { background: #ffe14d; box-shadow: 0 6px 20px rgba(255,217,15,0.5); gap: 12px; }

/* GRID IMMOBILI */
.properties-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .properties-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); cursor: pointer; display: flex; flex-direction: column; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.card-img-container { position: relative; aspect-ratio: 16/10; width: 100%; overflow: hidden; background: #e2e8f0; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.4s ease; pointer-events: none; }
.card:hover .card-img { transform: scale(1.06); }
/* Se l'annuncio ha più di una foto, la seconda appare al passaggio del mouse o al tap */
.card-img-hover { opacity: 0; }
.card:hover .card-img-hover,
.card-img-container.show-second-img .card-img-hover { opacity: 1; }

/* Indicatori dot 1/2 foto */
.card-img-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 999px;
  transition: var(--transition);
}
.card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: all 0.25s ease;
}
.card-dot.active {
  background: var(--brand-yellow);
  width: 10px;
  border-radius: 4px;
}
.card-img-container.show-second-img .card-dot:first-child {
  background: rgba(255, 255, 255, 0.55);
  width: 5px;
  border-radius: 50%;
}
.card-img-container.show-second-img .card-dot:last-child {
  background: var(--brand-yellow);
  width: 10px;
  border-radius: 4px;
}
@media (hover: hover) {
  .card:hover .card-img-container:not(.show-second-img) .card-dot:first-child {
    background: rgba(255, 255, 255, 0.55);
    width: 5px;
    border-radius: 50%;
  }
  .card:hover .card-img-container:not(.show-second-img) .card-dot:last-child {
    background: var(--brand-yellow);
    width: 10px;
    border-radius: 4px;
  }
}
.card-content { padding: 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; position: relative; }
@media (min-width: 768px) { .card-content { padding: 1.15rem 1.25rem; } }

/* BADGE contratto (Vendita/Affitto) in alto a sinistra sulla foto */
.card-badge-contract { position: absolute; top: 10px; left: 10px; font-size: 9.5px; font-weight: 900; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.15); z-index: 10; }
.card-badge-contract.vendita { background-color: var(--brand-yellow); color: var(--brand-blue); border: 2px solid var(--white); }
.card-badge-contract.affitto { background-color: var(--brand-blue); color: var(--white); border: 2px solid var(--brand-yellow); }

/* BADGE in alto a destra sulla foto */
.card-badges { position: absolute; top: 10px; right: 10px; z-index: 10; display: flex; align-items: center; gap: 6px; }
.card-badge-reel,
.card-badge-share { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.2); transition: var(--transition); }
.card-badge-reel { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.card-badge-share { background: var(--white); color: var(--brand-blue); border: none; padding: 0; cursor: pointer; }
.card-badge-reel:hover,
.card-badge-share:hover { transform: scale(1.12); }

.card-title { font-family: 'Space Grotesk', -apple-system, sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-slate); margin-top: 0.35rem; margin-bottom: 0.35rem; line-height: 1.25; }
.card-zone { color: var(--brand-blue); font-size: 11.5px; font-weight: 800; display: flex; align-items: center; gap: 4px; margin-bottom: 0.75rem; }
.card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.75rem; padding-top: 0.65rem; border-top: 1px solid var(--border-color); }
.feature-item { background: #f1f5f9; font-size: 10.5px; font-weight: 800; color: var(--text-muted); padding: 4px 8px; border-radius: 10px; display: flex; align-items: center; gap: 4px; }

/* FOOTER card: solo prezzo + invito a scoprire, un'unica azione chiara */
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 0.75rem; border-top: 1px solid var(--border-color); }
.card-price-label { font-size: 9.5px; font-weight: 900; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 2px; }
.card-price { font-size: 1.25rem; font-weight: 900; color: var(--text-slate); }
.card-cta { font-size: 10.5px; font-weight: 900; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.03em; display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.card:hover .card-cta { gap: 8px; }

/* FLOATING ACTION MENU */
.fab-container { position: fixed; bottom: 24px; right: 24px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; transform-origin: bottom right; }
.fab-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
/* Pillole con testo sempre visibile (niente tooltip solo-hover: su mobile non funzionerebbe) */
.fab-action { height: 50px; padding: 0 18px 0 14px; border-radius: 30px; display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition); pointer-events: none; }
.fab-menu.open .fab-action { pointer-events: auto; }
.fab-action:hover { transform: scale(1.03); }
.fab-action svg { flex-shrink: 0; }
.fab-wa { background-color: #059669; }
.fab-wa svg { width: 27px; height: 27px; }
.fab-call { background-color: var(--brand-blue); }
.fab-call svg { width: 24px; height: 24px; }
.fab-main { width: 64px; height: 64px; border-radius: 50%; background-color: var(--brand-yellow); color: var(--brand-blue); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: var(--transition); z-index: 2; pointer-events: auto; }
.fab-main:hover { transform: scale(1.05); }
.fab-main svg { transition: var(--transition); }
.fab-container.active .fab-main svg { transform: rotate(45deg); }

@media (max-width: 640px) {
  .fab-container {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }
  .fab-main { width: 56px; height: 56px; }
}

/* MODALE SICURO E CAROSELLO */
.modal-overlay { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; overscroll-behavior: contain; }
.modal-card { background: var(--white); width: 100%; max-width: 600px; max-height: 90vh; max-height: 90dvh; border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overscroll-behavior: contain; }

.btn-close-modal { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(8px); border: 2px solid rgba(255,255,255,0.2); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100; transition: var(--transition); }
.btn-close-modal:hover { background-color: var(--brand-blue); transform: scale(1.05); }

.modal-scroll { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }

.modal-carousel-container { position: relative; width: 100%; aspect-ratio: 4/3; background: #0f172a; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; user-select: none; touch-action: pan-y; }
.modal-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; user-select: none; -webkit-user-drag: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15, 23, 42, 0.55); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; backdrop-filter: blur(4px); transition: var(--transition); }
.carousel-btn:hover { background: var(--brand-blue); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-zoom-btn { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; z-index: 10; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: var(--transition); }
.carousel-zoom-btn:hover { background: var(--brand-blue); border-color: var(--brand-blue); transform: translateX(-50%) scale(1.05); }
.carousel-dots { position: absolute; bottom: 10px; left: 0; width: 100%; display: flex; justify-content: center; gap: 6px; z-index: 10; pointer-events: auto; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.gallery-dot.active { background: var(--brand-yellow); transform: scale(1.2); }

/* FULLSCREEN LIGHTBOX */
.lightbox-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; background-color: rgba(5, 10, 20, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 3000; display: flex; flex-direction: column; justify-content: space-between; user-select: none; touch-action: none; animation: lightboxFadeIn 0.25s ease-out; }
@keyframes lightboxFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; z-index: 10; }
.lightbox-counter { color: white; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, 0.12); padding: 6px 14px; border-radius: 999px; letter-spacing: 0.05em; }
.lightbox-btn-close { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: white; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-btn-close:hover { background: var(--brand-blue); transform: scale(1.08); }
.lightbox-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; padding: 0 10px; }
.lightbox-img-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.lightbox-img { max-width: 95vw; max-height: 80vh; max-height: 80dvh; object-fit: contain; border-radius: 10px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); transition: opacity 0.2s ease; user-select: none; -webkit-user-drag: none; }
.lightbox-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: white; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; backdrop-filter: blur(8px); transition: var(--transition); }
.lightbox-nav-btn:hover { background: var(--brand-blue); transform: translateY(-50%) scale(1.08); }
.lightbox-nav-btn.prev { left: 20px; }
.lightbox-nav-btn.next { right: 20px; }
.lightbox-bottom { padding: 12px 20px 20px; display: flex; justify-content: center; align-items: center; z-index: 10; }
.lightbox-hint { color: rgba(255, 255, 255, 0.65); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-align: center; }

@media (max-width: 768px) {
  .lightbox-nav-btn { width: 42px; height: 42px; }
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
  .lightbox-img { max-width: 98vw; max-height: 76vh; max-height: 76dvh; border-radius: 6px; }
}

.modal-content { padding: 1.25rem; }
@media (min-width: 768px) { .modal-content { padding: 1.5rem; } }
.modal-type { display: inline-block; background: rgba(0,68,255,0.05); color: var(--brand-blue); font-size: 11px; font-weight: 900; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; margin-bottom: 0.5rem; }
.modal-title { font-family: 'Space Grotesk', -apple-system, sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--text-slate); line-height: 1.15; margin-bottom: 0.5rem; }
.modal-zone { color: var(--brand-blue); font-weight: 800; font-size: 13px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 6px; }
.modal-grid {
  display: flex;
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.modal-grid-item {
  flex: 1 1 0px;
  min-width: 0;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.modal-grid-item:last-child {
  border-right: none;
}
.modal-grid-icon {
  display: block;
  width: 15px;
  height: 15px;
  color: var(--brand-blue);
  margin: 0 auto 3px;
  opacity: 0.85;
}
.modal-grid-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1.15;
  margin-bottom: 2px;
}
.modal-grid-number {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-slate);
  letter-spacing: -0.01em;
}
.modal-grid-unit {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.modal-grid-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

@media (max-width: 520px) {
  .modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-grid-item {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 6px;
  }
  .modal-grid-item:nth-child(2n) {
    border-right: none;
  }
  .modal-grid-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
  .modal-grid-item:nth-last-child(-n+2):not(:last-child:nth-child(odd)) {
    border-bottom: none;
  }
}
.modal-desc-title { font-size: 11px; font-weight: 900; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.modal-desc { font-size: 14px; line-height: 1.6; color: var(--text-slate); font-weight: 500; white-space: pre-line; margin-bottom: 1.5rem; }

.modal-footer { padding: 1.25rem; border-top: 1px solid var(--border-color); background: #f8fafc; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .modal-footer { flex-direction: row; justify-content: space-between; align-items: center; padding: 1.5rem; } }
.modal-price-box { text-align: center; }
@media (min-width: 640px) { .modal-price-box { text-align: left; } }
.modal-price-label { font-size: 10px; font-weight: 900; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 4px; }
.modal-price { font-size: 1.75rem; font-weight: 900; color: var(--text-slate); line-height: 1; }
.modal-actions { display: flex; gap: 10px; width: 100%; align-items: center; }
@media (min-width: 640px) { .modal-actions { width: auto; } }

/* BOTTONI MODALE UNIFORMI E RESPONSIVE */
.btn-call { flex: 1 1 auto; min-width: 0; height: 46px; background-color: var(--brand-blue); color: var(--white); text-decoration: none; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12.5px; border-radius: 14px; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.05em; padding: 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-reel { width: 46px; height: 46px; flex-shrink: 0; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; transition: var(--transition); }
.btn-wa { width: 46px; height: 46px; flex-shrink: 0; background-color: #059669; color: var(--white); text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; transition: var(--transition); }
.btn-wa svg { width: 24px; height: 24px; }

/* BOTTONE CONDIVIDI */
.btn-share { width: 46px; height: 46px; flex-shrink: 0; background-color: var(--white); color: var(--brand-blue); border: 2px solid var(--border-color); text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; transition: var(--transition); cursor: pointer; }
.btn-share:hover { background-color: #f1f5f9; border-color: var(--brand-blue); }

/* OTTIMIZZAZIONE SPAZIO MODALE SU DESKTOP */
@media (min-width: 992px) {
  .modal-card { max-width: 1260px; height: 86vh; max-height: 850px; display: grid; grid-template-columns: 58% 42%; grid-template-rows: 1fr auto; }
  .modal-scroll { display: contents; /* Annulla il div wrapper per usare la griglia direttamente */ }
  .modal-carousel-container { grid-column: 1 / 2; grid-row: 1 / 3; height: 100%; width: 100%; aspect-ratio: auto; background-color: #0f172a; }
  .modal-img { object-fit: contain; }
  .modal-content { grid-column: 2 / 3; grid-row: 1 / 2; overflow-y: auto; min-height: 0; padding: 2.5rem 2rem 1.5rem 2rem; border-left: 1px solid var(--border-color); }
  .modal-footer { grid-column: 2 / 3; grid-row: 2 / 3; border-top: 1px solid var(--border-color); border-left: 1px solid var(--border-color); padding: 1.25rem 2rem 1.5rem; display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 0.75rem; }

  /* Adattamento bottone di chiusura per il layout desktop */
  .btn-close-modal { top: 20px; right: 20px; background-color: var(--bg-slate); color: var(--text-slate); border: 1px solid var(--border-color); }
  .btn-close-modal:hover { background-color: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); }
}

/* FOOTER
   Bordo giallo in cima come quello sotto la navbar: chiude la pagina con lo
   stesso segno con cui si apre. L'alone giallo in alto a sinistra toglie
   piattezza al blu, come nella card contatti della home. */
.site-footer { background: radial-gradient(80% 120% at 0% 0%, rgba(255,217,15,0.12) 0%, rgba(255,217,15,0) 55%), linear-gradient(160deg, var(--brand-blue), #001f80); color: var(--white); padding: 2.75rem 0 0; margin-top: auto; border-top: 4px solid var(--brand-yellow); }
@media (min-width: 768px) { .site-footer { padding: 4rem 0 0; } }
.footer-inner { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 1rem; }
@media (min-width: 768px) { .footer-inner { padding: 0 1.5rem; } }

/* Da telefono le tre colonne erano una sotto l'altra e tutte centrate: un
   nastro lungo da scorrere, con due liste di quattro voci ciascuna che da
   sole occupavano piu' di mezzo schermo. Ora la griglia e' a due colonne,
   con il blocco identita' a tutta larghezza in cima e le due liste affiancate
   sotto: stessa informazione, meta' altezza. Le colonne non sono uguali
   perche' "Contatti" contiene l'indirizzo email, molto piu' largo delle voci
   di menu, e con due colonne identiche andava a capo malamente.
   Le due liste vanno a sinistra e non centrate: e' l'allineamento che le
   rende leggibili una accanto all'altra. Il blocco identita' invece resta
   centrato, vedi sotto. */
.footer-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 2.25rem 1rem; padding-bottom: 2.25rem; text-align: left; }
/* Sotto i 360px due colonne diventano troppo strette perche' l'email ci stia
   su una riga, e sono comunque anguste per qualsiasi contenuto: li' si torna
   a una colonna sola. Riguarda pochissimi telefoni molto vecchi. */
@media (max-width: 359px) { .footer-grid { grid-template-columns: 1fr; } }
/* Il blocco identita' fa eccezione e resta centrato: prende tutta la
   larghezza, quindi allinearlo a sinistra come le due liste sotto lo
   lasciava sbilanciato. Logo, nome, frase e social si centrano insieme.
   Da 768px in su torna in colonna accanto alle altre e riprende
   l'allineamento a sinistra come il resto della fila. */
.footer-col-brand { grid-column: 1 / -1; text-align: center; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
  .footer-col-brand { grid-column: auto; text-align: left; }
}

/* Logo + nome + ruolo come un blocco solo: il nome da solo non diceva chi e'
   ne' cosa fa, ed era l'unico punto del sito dove il marchio non compariva. */
.footer-identity { display: flex; align-items: center; justify-content: center; gap: 0.85rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .footer-identity { justify-content: flex-start; } }
.footer-logo { width: 54px; height: 54px; flex-shrink: 0; }
.footer-brand-title { font-family: 'Teko', 'Space Grotesk', sans-serif; color: var(--brand-yellow); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.footer-brand-role { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); }
/* margin auto: con max-width la frase e' piu' stretta della colonna, quindi
   senza questo resterebbe appoggiata a sinistra dentro un blocco centrato. */
.footer-tagline { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 46ch; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .footer-tagline { margin-left: 0; margin-right: 0; } }

.footer-heading { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-yellow); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
/* overflow-wrap resta come rete di sicurezza: se una voce non ci sta va a
   capo invece di sfondare la colonna. align-items flex-start tiene l'icona
   sulla prima riga nel caso il testo si spezzi davvero. */
.footer-links a, .footer-links span { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 0.88rem; line-height: 1.45; transition: color 0.2s; display: flex; align-items: flex-start; gap: 8px; overflow-wrap: anywhere; }
@media (min-width: 768px) { .footer-links a, .footer-links span { font-size: 0.92rem; gap: 9px; } }
.footer-links a:hover { color: var(--brand-yellow); }
.footer-links svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--brand-yellow); opacity: 0.8; margin-top: 0.25em; }
@media (min-width: 768px) { .footer-links svg { width: 15px; height: 15px; } }
/* L'email e' di gran lunga la voce piu' lunga del footer: 26 caratteri, il
   doppio di qualsiasi altra. Nella colonna stretta del telefono andava a
   capo, e una email spezzata a meta' e' brutta da vedere e scomoda da
   leggere. Rimpicciolita solo lei - e solo da telefono - ci sta su una riga.
   Il selettore sull'href evita di dover aggiungere una classe nelle tre
   pagine che duplicano questo footer. */
@media (max-width: 767px) { .footer-links a[href^="mailto:"] { font-size: 0.78rem; } }

/* Pastiglie tonde da 44px invece delle icone nude: 44px e' la misura minima
   di un bersaglio toccabile, e prima erano due icone da 26px senza area
   cliccabile attorno, scomode da centrare col pollice. */
.footer-social { display: flex; justify-content: center; gap: 0.7rem; margin-top: 1.35rem; }
@media (min-width: 768px) { .footer-social { justify-content: flex-start; } }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--brand-yellow); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); transition: var(--transition); }
.footer-social a:hover { background: var(--brand-yellow); color: var(--brand-blue); border-color: var(--brand-yellow); }
.footer-social svg { width: 21px; height: 21px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 1.35rem 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.6); display: flex; flex-direction: column; gap: 0.45rem; line-height: 1.6; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* PALLINO VERDE LAMPEGGIANTE
   Segnala "sono disponibile / e' attivo" accanto a un'etichetta.
   Usato nel badge "Rispondo entro 24h" e sulla sezione Valutazione Gratuita
   della home, e nell'intestazione di valutazione.html. */
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: #10b981; opacity: 0.55; animation: pulse-dot-anim 1.8s ease-out infinite; }
@keyframes pulse-dot-anim { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(2.4); opacity: 0; } }

/* ==========================================================================
   SITE PRELOADER LUXURY CON LOGO ED ORBITING SATELLITE
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  background: radial-gradient(circle at center, #0e1a38 0%, #060a14 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(2.5rem, 9vh, 5.5rem);
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}
.site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  user-select: none;
}

.preloader-orbit-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bagliore morbido circolare nativo senza filtri di clipping */
.preloader-glow-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,68,255,0.45) 0%, rgba(255,217,15,0.18) 55%, transparent 75%);
  box-shadow: 0 0 45px rgba(0, 68, 255, 0.4);
  pointer-events: none;
}

/* Logo centrale intatto e circolare */
.preloader-logo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 25px rgba(0, 68, 255, 0.6), 0 0 50px rgba(255, 217, 15, 0.25);
}

/* Traccia circolare con satellite giallo orbitante */
.preloader-orbit-track {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 217, 15, 0.3);
  animation: preloaderOrbitSpin 2s linear infinite;
  pointer-events: none;
  z-index: 3;
}

/* Pallina gialla luminosa che ruota sul logo */
.preloader-satellite-dot {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd90f;
  box-shadow: 0 0 12px 3px #ffd90f, 0 0 22px 6px rgba(255, 217, 15, 0.5);
}
@keyframes preloaderOrbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SKELETON LOADER PER LE CARD IMMOBILI (VETRINA E CATALOGO)
   ========================================================================== */
.card-skeleton {
  pointer-events: none;
  background: var(--white);
  border-color: rgba(226, 232, 240, 0.9);
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.skeleton-badge {
  width: 70px;
  height: 12px;
  border-radius: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-title {
  width: 85%;
  height: 18px;
  border-radius: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-line {
  width: 50%;
  height: 12px;
  border-radius: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-features {
  display: flex;
  gap: 6px;
  margin-top: 0.35rem;
}
.skeleton-chip {
  width: 65px;
  height: 22px;
  border-radius: 8px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}
.skeleton-price {
  width: 90px;
  height: 20px;
  border-radius: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}
.skeleton-btn {
  width: 60px;
  height: 26px;
  border-radius: 20px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Shimmer Wave Effect */
.skeleton-img::after,
.skeleton-badge::after,
.skeleton-title::after,
.skeleton-line::after,
.skeleton-chip::after,
.skeleton-price::after,
.skeleton-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  animation: skeletonShimmer 1.5s infinite;
}
@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

/* CLASSI ENERGETICHE (APE) */
.energy-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.energy-a4, .energy-a3, .energy-a2, .energy-a1, .energy-a {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.energy-b {
  background: #ecfccb;
  color: #3f6212;
  border: 1px solid #bef264;
}
.energy-c {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
}
.energy-d {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fdba74;
}
.energy-e {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.energy-f {
  background: #fecaca;
  color: #881337;
  border: 1px solid #f87171;
}
.energy-g {
  background: #881337;
  color: #ffffff;
  border: 1px solid #4c0519;
}
.energy-def, .energy-esente {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* ==========================================================================
   OTTIMIZZAZIONI MOBILE GLOBALI (SAFARI iOS & CHROME MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  /* Previene lo zoom automatico forzato di iOS Safari sui campi con font-size < 16px */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea,
  .nav-search-input,
  .nav-search-select,
  .form-input,
  .filter-select,
  .search-input {
    font-size: 16px !important;
  }
}
