/* --------------------------------------------------------------------------
   Variabili globali
   -------------------------------------------------------------------------- */
/*--tutti i colori sono in prova, da definire in base al brand e al design system --*/
:root {
  color-scheme: light;

  --font-testi: 'Montserrat', Arial, sans-serif;
  --font-titoli: 'Lora', Georgia, serif;

/* -- Colori -- */
  --blue-logo: #376fa5;
  --blue: #01377d;
  
  /*--verde-fluo: #7FC04C;  credibile */
  --verde-fluo: #87C855; /*  */
  /* More details: https://colorchips.us/ral-classic-colors/green-shades/ral-6018/ */
  --verde-fluo-soft: color-mix(in srgb, var(--verde-fluo) 70%, transparent);

  --verde-offerta: #26723a;
  --giallo: #f7e05a;
 
  --nero:#110f15;
  --bianco:#ffffff;

/* -- fondini -- */

  /* --fondo-fluo2:#D8EDC8;
  --fondo-fluo1:#ECF6E4; */
  --fondo-fluo2:#D8EDC8;
  --fondo-fluo1:#ECF6E4;

  --ombra-sm: 0 8px 15px rgba(16, 19, 20, 0.15);
  --ombra-md: 0 6px 20px rgba(16, 19, 20, 0.4);
  /*    box-shadow: 0 2px 4px #00000026, 0 4px 10px #0000001a;*/
  --ombra-custom: 0 2px 4px #00000026, 0 4px 10px #0000001a;
  --transizione-base: 180ms ease;
}
/*  Accessibilità e preferenze utente  */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Immagini, video e contenuti incorporati */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}
img, video { height: auto; }
svg { flex-shrink: 0; }
iframe {border: 0; }
/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* -- Stili di base -- */
html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background-color: #ffffff;
  color: var(--nero);
  font-family: var(--font-testi);
  font-size: 18px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767.98px) {
  .container {
    max-width: 100%;
    padding-right: 25px;
    padding-left: 25px;
  }
}
/* Reset tipografico */
h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titoli);
  /* color: var(--nero); */
  /* font-weight: 600; */
}
/* -- Link -- */
a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition:
    color var(--transizione-base),
    opacity var(--transizione-base),
    text-decoration-color var(--transizione-base);
}

a:hover {
  color: inherit;
  text-decoration-color: transparent;
}

:focus-visible {
  outline: 0.1875rem solid var(--colore-focus);
  outline-offset: 0.1875rem;
}

:focus:not(:focus-visible) {
  outline: none;
}
/* --------------------------------------------------------------------------
   Colori Utility
   -------------------------------------------------------------------------- */
  .text-white { color: #ffffff; }
  .text-dark { color: var(--nero); }
  .text-fluo { color: var(--verde-fluo); }
  .text-blue { color: var(--blue); }
  .text-blue-logo { color: var(--blue-logo); }

  .highlight { color: var(--verde-fluo);}
   
  .bg-blue { background-color: var(--blue); }
  .bg-blue-logo { background-color: var(--blue-logo); }
  .bg-fluo { background-color: var(--fondo-fluo2); }
  .bg-grigio { background-color: #f5f5f5; }
  .bg-nero { background-color: var(--nero); }
  .ombra-sm {
    box-shadow: 0 8px 15px rgba(16, 19, 20, 0.15);
  }
/* -- utility generiche -- */
  .bordo-diagonale-fluo {
      position: relative;
  }

  .bordo-diagonale-fluo::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 40px;
      background-color: var(--verde-fluo);
      clip-path: polygon(0 100%, 100% 0, 100% 100%);
  }

/* --------------------------------------------------------------------------
   TIPOGRAFIA - titoli e dimensioni font
   -------------------------------------------------------------------------- */
/* -- h1 -- */   
.big-title-serif {
  font-family: var(--font-titoli);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.12;
  padding-bottom: 10px;
}

.big-title-sans {
  font-family: var(--font-testi);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.medium-title-bold {
  font-family: var(--font-testi);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.small-title-bold {
  font-family: var(--font-testi);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.tiny-title-bold {
  font-family: var(--font-testi);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase; 
}
.tiny-bold {
  font-family: var(--font-testi);
  font-size: 18px;
  font-weight: 600;
  /* text-transform: uppercase;  */
}

.big-par {
  font-family: var(--font-testi);
  font-weight: 400;
  font-size:22px; 
  line-height: 1.4;
}

.big-par-corsivo {
  font-family: var(--font-testi);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
}

p {
    margin: 0 0 1rem;
}
/* font styles responsive */
@media (max-width: 991.98px) {
  .small-title-bold {
    font-size: 22px;
  }
}


@media (max-width:767.98px ){
  .big-title-serif {
    font-size: 42px;
  }
  .tiny-title-bold {
    font-size: 16px;
  }
  .big-title-sans {
    font-size: 40px;
  }
  .medium-title-bold {
    font-size: 30px;
  }
  .small-title-bold {
    font-size: 20px;
  }
  .big-par,
  .big-par-corsivo {
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .big-title-serif {
    font-size: 36px;
  }
  .big-title-sans {
    font-size: 32px;
  }
  .medium-title-bold {
    font-size: 28px;
  }
  .small-title-bold {
    font-size: 16px;
  }
  .tiny-title-bold,
  .tiny-bold {
    font-size: 14px;
  }
  .big-par,
  .big-par-corsivo {
    font-size: 18px;
  }
}

/* --- larghezze --- */
.wide-70 { max-width: 70%; }
.wide-90 { max-width: 90%; }
@media (max-width: 991.98px) {
  .wide-70,
  .wide-90 {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Pulsanti
   -------------------------------------------------------------------------- */
.btn-fluo {
  display: inline-flex;
  color: var(--bianco);
  background-color: var(--verde-fluo);
  padding: 10px 30px;
  border-radius: 100px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--ombra-sm);
  transition:
    background-color var(--transizione-base),
    color var(--transizione-base);
}

.btn-fluo:hover,
.btn-fluo:focus-visible {
  background-color: var(--blue);
  color: var(--bianco);
}



/* torna su */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;

  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background-color: var(--verde-fluo);
  color: var(--bianco);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Struttura e utility globali
   -------------------------------------------------------------------------- */

/* -- Padding e margini -- */
.pt-170 {padding-top: 170px;}
.pt-140 {padding-top: 140px;}
.pt-120 {padding-top: 120px;}
.pt-100 {padding-top: 100px;}
.pt-80 {padding-top: 80px;}
.pt-40 {padding-top: 40px;}
.pt-20 {padding-top: 20px;}

.pb-170 {padding-bottom: 170px;}
.pb-140 {padding-bottom: 140px;}
.pb-120 {padding-bottom: 120px;}
.pb-100 {padding-bottom: 100px;}
.pb-80 {padding-bottom: 80px;}
.pb-40 {padding-bottom: 40px;}
.pb-20 {padding-bottom: 20px;}

.mt-80 {margin-top: 80px;}
.mt-120 {margin-top: 120px;}
.mb-80 {margin-bottom: 80px;}
.mb-100 {margin-bottom: 100px;}
.mb-120 {margin-bottom: 120px;}
.mb-140 {margin-bottom: 140px;}

/* -- Responsive padding e margini -- */
@media (max-width: 991.98px) {
    .mt-80 { margin-top: 60px;}
    .mt-120 { margin-top: 90px;}
    .mb-80 { margin-bottom: 60px;}
    .mb-100 { margin-bottom: 80px;}
    .mb-120 { margin-bottom: 90px;}
    .mb-140 { margin-bottom: 120px;}
    .pt-80 { padding-top: 60px;}
    .pb-100 { padding-bottom: 80px;}
    .pb-80 { padding-bottom: 60px;}
}

@media (max-width: 767.98px) {
    .mt-40 { margin-top: 25px;}
    .mt-80 { margin-top: 50px;}
    .mb-140 { margin-bottom: 100px;}
    .pt-100 { padding-top: 70px;}
    .pt-120 { padding-top: 90px;}
    .pb-120 { padding-bottom: 90px;}
}
@media (max-width: 575.98px) {
  .pt-40 {padding-top: 30px;}
  .pb-40 {padding-bottom: 30px;}
  .pt-80 { padding-top: 40px;}
  .pt-100 {padding-top: 50px;}
  .pb-100 {padding-bottom: 50px;}
  .pt-120 {padding-top: 70px;}
  .pb-120 {padding-bottom: 70px;}
  .mt-120 {margin-top: 70px;}
  .mb-120 {margin-bottom: 70px;}
}

/* ========================================================================== 
   Breakpoint responsive — Bootstrap 5

   Approccio desktop-first:
   Desktop = da 1200px (stili di base, senza media query)
   lg  = fino a 1199.98px
   md  = fino a 991.98px
   sm  = fino a 767.98px
   xs  = fino a 575.98px
   ========================================================================== */

/* lg — Desktop con larghezza inferiore a 1200px */
@media (max-width: 1199.98px) {
  /* Regole lg */
}

/* md — Tablet con larghezza inferiore a 992px */
@media (max-width: 991.98px) {
  /* Regole md */
}

/* sm — Tablet e smartphone con larghezza inferiore a 768px */
@media (max-width: 767.98px) {
  /* Regole sm */
}

/* xs — Smartphone con larghezza inferiore a 576px */
@media (max-width: 575.98px) {
/* Regole xs  */
 
}


/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--bianco);
}

.navbar-font {
  font-family: var(--font-testi);
  font-size: 16px;
  font-weight: 500;
}

.navbar-search-icon {
  color: var(--blu-logo);
  font-size: 18px;
}

.navbar-search {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  /* background-color: #6cff4f44; Verde precedente con trasparenza */
  background-color:var(--fondo-fluo1);
}

.navbar-search .form-control {
  padding-left: 48px;
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.navbar-search .form-control:focus {
  background-color: transparent;
  box-shadow: none;
}

.navbar-search .navbar-search-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: flex;
  width: 48px;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background-color: transparent;
}
/* --------------------------------------------------------------------------
   INDEX
   -------------------------------------------------------------------------- */

/* ------ Slider Hero ------ */
.hero-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
}

.hero-slider__slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider__slide .hero-slider__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.hero-slider__slide.swiper-slide-active .hero-slider__background {
  transform: scale(1);
}

.hero-slider__slide .container {
  position: relative;
  z-index: 2;
}

.hero-slider__content {
  max-width: 60%;
}

.hero-slider__content .hero-slider__title {
  font-family: var(--font-titoli);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 10px;
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.hero-slider__content .hero-slider__text {
  font-size: 22px;
  font-weight:500;
  margin-bottom: 30px;
  transition: opacity 1s ease 0.7s, transform 1s ease 0.7s;
}

.hero-slider__content .hero-slider__cta {
  display: flex;
  flex-wrap: wrap;
  transition: opacity 1s ease 0.9s, transform 1s ease 0.9s;
}

.hero-slider .swiper-initialized .hero-slider__title,
.hero-slider .swiper-initialized .hero-slider__text,
.hero-slider .swiper-initialized .hero-slider__cta {
  opacity: 0;
  transform: translateY(30px);
}

.hero-slider .swiper-slide-active .hero-slider__title,
.hero-slider .swiper-slide-active .hero-slider__text,
.hero-slider .swiper-slide-active .hero-slider__cta {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider__pagination {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-slider__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--bianco);
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.25);
}
/* ------ Hero Slides Responsive ------ */
@media (max-width: 767.98px) {
  .hero-slider { 
  height: 370px;
  }
  .hero-slider__content {
    max-width: 45%;
  }
  .hero-slider__content .hero-slider__title {
    font-size: 40px;
    line-height: 1.15;
  }
  .hero-slider__content .hero-slider__text {
    font-size:18px;
  }
  .hero-slider__slide .hero-slider__background {
    background-position: 65% center;
  }

}
@media (max-width: 575.98px) {  
  .hero-slider__content {
    max-width: 90%;
  }
  .hero-slider__content .hero-slider__title,
  .hero-slider__content .hero-slider__text {
    /* text-shadow: 0 1px 1px rgba(0, 50, 3, 0.9); */
    text-shadow: 0 1px 1px rgba(30, 47, 18, 0.9);
  }

}

/* -------------------  COSA OFFRIAMO  ---------------------- */

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

.cosa-offriamo-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cosa-offriamo-card {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background-color: #f5f5f5f0;
    box-shadow: 0 5px 20px rgb(0 0 0 / 20%);
    transition: box-shadow 300ms ease;
}

.cosa-offriamo-link:hover .cosa-offriamo-card,
.cosa-offriamo-link:focus-visible .cosa-offriamo-card {
    box-shadow: 0 14px 34px rgb(0 0 0 / 25%);
}

.cosa-offriamo-image {
    width: 100%;
    /* aspect-ratio: 1 / 0.9; */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cosa-offriamo-link:hover .cosa-offriamo-image,
.cosa-offriamo-link:focus-visible .cosa-offriamo-image {
    transform: scale(1.035);
}

.cosa-offriamo-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 24px;
}

.cosa-offriamo-title {
    margin-bottom: 5px;
    color: var(--blue-logo);
    font-family: var(--font-testi);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color 300ms ease;
}

.cosa-offriamo-link:hover .cosa-offriamo-title,
.cosa-offriamo-link:focus-visible .cosa-offriamo-title {
    color: var(--verde-fluo);
}

.cosa-offriamo-text {
    margin-top: auto;
    color: var(--blue-logo);
    font-size: 14px;
    font-weight: 500;
    /* line-height: 1.55; */
}

/* -------------------  CATEGORIE PRODOTTI  ---------------------- */
.categorie-card {
    padding-top: 32px;
}

.categorie-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.categorie-card-item {
    align-items: center;
    padding: 24px 16px 18px;
    border: 0;
    border-radius: 16px;
    background-color: var(--fondo-fluo2);
}

.categorie-card-image {
    width: 240px;
    height: 160px;
    object-fit: contain;
    transition: transform 300ms ease;
}

.categorie-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 0 0;
    text-align: center;
}

.categorie-card-title {
    margin: 0;
    font-family: var(--font-testi);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.categorie-card-link:hover .categorie-card-image,
.categorie-card-link:focus-visible .categorie-card-image {
    transform: scale(1.06);
}

/* ------------------  PROMESSE  -------------------- */

.promesse {
  background-color: var(--bianco);
    position: relative;
    z-index: 1;
    margin-bottom: -60px;
    box-shadow: var(--ombra-md);
}

.promesse-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-inline: 32px;
    text-align: center;
}

.promesse-icon {
    color: var(--verde-fluo);
    font-size: 48px;
}
/* responsive */
@media (max-width:767.98px) {
  

  .promesse {
      max-width: 75%;
      margin-bottom:-20px;
  }

}
@media (max-width:575.98px) {
  .promesse-item {
    gap: 10px;
    padding-inline: 5px;
    margin-bottom: 30px;
  }
}




/* ------------------  RICHIESTA PREVENTIVO  -------------------- */
.preventivo-content {
    margin-top: 60px;
}

.preventivo-form .form-control {
    min-height: 50px;
    border: 1px solid var(--bianco);
    border-radius: 0;
    background-color: var(--bianco);
    color: var(--nero);
}

.preventivo-form textarea.form-control {
    min-height: 120px;
}

.preventivo-form .form-control:focus {
    border-color: var(--verde-fluo);
    /* box-shadow: 0 0 0 3px rgb(107 255 79 / 15%); */
    box-shadow: 0 0 0 3px rgb(97 153 59 / 15%);
}

.preventivo-submit {
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    border: 0;
}

.contact-form-feedback {
    margin-top: 16px;
    font-weight: 600;
}

.contact-form-feedback.is-success {
    color: #ffffff;
}

.contact-form-feedback.is-error {
    color: #dc3545;
}



/* ------------------  PROTEZIONE HYDROGEL PREMIUM  -------------------- */
.hydrogel-premium-eyebrow,
.hydrogel-premium-subtitle {
    color: var(--blue-logo);
    font-size: 24px;
    font-weight: 700;
}

.hydrogel-premium-eyebrow {
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hydrogel-premium-title {
    font-family: var(--font-testi);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.hydrogel-premium-subtitle {
  margin-top: 12px;
}

.hydrogel-premium-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.hydrogel-premium-benefit {
  display: flex;
  align-items: center;
  gap: 28px;
}
  .hydrogel-premium-benefit p{
    margin: 0;
  }

.premium-number {
  flex-shrink: 0;
  color: var(--verde-fluo);
  font-size: 110px;
  font-weight: 200;
  line-height: 1;
  width: 2ch;
}

.hydrogel-premium-benefit-title {
  color: var(--blue-logo);
  font-family: var(--font-testi);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .hydrogel-premium {
    padding: 60px 0;
  }

  .hydrogel-premium-image {
    max-height: 320px;
    margin-top: 40px;
  }
  .hydrogel-premium-title {
    font-size: 48px;
  }
}

@media (max-width: 767.98px) {
  .hydrogel-premium-benefit {
    padding-bottom: 20px;
  }
  .hydrogel-premium-title {
    font-size: 44px;
  }
  .hydrogel-premium-subtitle {
    font-size: 20px;
  }
  .premium-number {
    font-size: 100px;
  }
}

@media (max-width: 575.98px) {
  .hydrogel-premium-eyebrow,
  .hydrogel-premium-subtitle {
      font-size: 18px;
  }

  .hydrogel-premium-title {
      font-size: 36px;
  }

  .hydrogel-premium-benefit {
      gap: 18px;
  }

  .hydrogel-premium-number {
      font-size: 76px;
      font-weight: 200;
  }

  .hydrogel-premium-benefit-title {
      font-size: 17px;
  }
}

/* -----------  ASSISTENZA E RIPARAZIONE  ------------------------- */

.assistenza-vantaggi {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.assistenza-vantaggio {
    display: flex;
    width: 68%;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    border: 5px solid var(--verde-fluo);
    border-radius: 56px;
    box-shadow: var(--ombra-md);
    color: var(--verde-fluo);
    background-color: var( --bianco);
    text-align: center;
}

.assistenza-vantaggio:nth-child(even) {
    align-self: flex-end;
}

.assistenza-vantaggio-icon {
    font-size: 48px;
}

.assistenza-vantaggio-title {
    font-family: var(--font-testi);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .assistenza-vantaggio {
        width: 78%;
    }
}

@media (max-width: 767.98px) {
  .assistenza-vantaggi {
    gap: 50px;
  }
}

/* -----------  APRI IL TUO PUNTO VENDITA  ------------------------- */
.apri-punto-vendita-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.apri-punto-vendita-number {
    flex-shrink: 0;
    color: var(--verde-fluo);
    font-size: 80px;
    font-weight: 300;
    line-height: 1;
}

/* ------------------  CONTATTACI  -------------------- */

.contattaci-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    object-fit: cover;
}


.contattaci-form {
    display: grid;
    gap: 16px;
}

.contattaci-form .form-control {
    min-height: 50px;
    border: 0;
    border-radius: 0px;
}

.contattaci-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contattaci-form .form-control:focus {
    /* box-shadow: 0 0 0 3px rgb(107 255 79 / 25%); */
    box-shadow: 0 0 0 3px rgb(97 153 59 / 25%);
}

.form-privacy-label {
    font-size: 14px;
}

.contattaci-submit {
    justify-self: start;
    align-items: center;
    gap: 8px;
    border: 0;
}

@media (max-width: 991.98px) {
    .contattaci-image {
        max-height: 420px;
    }

    .contattaci-text {
        margin-top: 24px;
    }
}


/* --------------------------------------------------------------------------
   MENU CATEGORIE PRODOTTI
   -------------------------------------------------------------------------- */
/* -- navbar delle categorie prodotti -- */
.categorie-menu {
  position: relative;
  z-index: 2;
  box-shadow: var(--ombra-sm);
}

.categorie-menu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.categorie-menu-list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.categorie-menu-list.collapse:not(.show) {
  display: flex;
}

.categorie-menu-link {
  display: block;
  padding: 16px 0 10px;
  color: var(--blue);
  font-family: var(--font-testi);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.categorie-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.categorie-menu-link:hover,
.categorie-menu-link:focus-visible,
.categorie-menu-link[aria-current="page"] {
  color: var(--blue-logo);
  opacity: 0.8;
}

@media (max-width: 1399.98px) {
  .categorie-menu-nav {
    position: relative;
    justify-content: space-between;
    gap: 16px;
  }

  .categorie-menu-toggle {
    display: block;
  }

  .categorie-menu-list {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    width: min(280px, 100%);
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px 0;
    background: var(--bianco);
    box-shadow: var(--ombra-sm);
  }

  .categorie-menu-list.collapse:not(.show) {
    display: none;
  }

  .categorie-menu-list .categorie-menu-link {
    padding: 11px 16px;
  }
}
.header-cart-count {
    display: inline-grid;
    min-width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border-radius: 999px;
    background: var(--verde-fluo);
    color: var(--nero);
    font-size: 0.75rem;
    font-weight: 700;
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color:var(--blue);
  color:#ffffffb2;
  font-size: 14px;
  padding-left: 100px;
  padding-right: 100px;
}
.site-footer img {
  max-width: 140px;
  margin: 0px 0 20px;
}

/* Link styles */
 .site-footer a:not(.btn) {
  color: #ffffffb2;
  text-decoration: none;
  text-underline-offset: 0.25em;
  transition: color 0.25s ease;
}

.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-informativa {
  padding:10px 30px;
  font-size: 11px;
  text-align: center;
}
.footer-bottom {
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 10px;
} 

/* ---------- Offerte e Aggiornamenti Form -------------- */

.offerte-input-group {
    display: flex;
    width: 100%;    
}

.offerte-input-group input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 1rem;
    background: rgba(255, 253, 248, 0.08);
    border: 1px solid rgba(255, 253, 248, 0.2);
    color: var(--bianco);
}

.offerte-input-group input::placeholder {
    color: rgba(255, 253, 248, 0.65);
}

.offerte-input-group input:focus {
    outline: 0;
    border-color: var(--verde-fluo);
}

.offerte-input-group button {
    width: 70px;
    height: 50px;
    border: 0;
    background: var(--verde-fluo);
    color: var(--bianco);
}
.offerte-input-group button:hover {
    background: var(--blue-logo);
    color: var(--bianco);
    transition: background 0.3s ease, color 0.3s ease;
}

.offerte-privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.offerte-privacy input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0;
}

.offerte-feedback,
.offerte-loader {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}
