@charset "utf-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right,
      rgba(48, 49, 146, 0.8) 0%,
      rgba(184, 233, 252, 0.8) 20%,
      rgba(218, 242, 253, 0.8) 75%,
      rgba(0, 149, 218, 0.8) 100%);
  color: #000;
}

html {
  scroll-behavior: smooth;
}

.pagina-accesso {
  min-height: 100vh;
}

.accesso-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url("cliadentsfondo.png") center / cover no-repeat;
}

.accesso-card {
  width: min(100%, 390px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 2, 5, 0.28);
}

.accesso-logo {
  width: 150px;
  max-width: 70%;
  align-self: center;
  object-fit: contain;
}

.accesso-card h1 {
  margin: 8px 0 0 0;
  color: #031b28;
  font-size: 1.7rem;
  line-height: 1.15;
  text-align: center;
}

.accesso-card p {
  margin: 0;
  color: #123247;
  line-height: 1.45;
  text-align: center;
}

.accesso-label {
  margin-top: 6px;
  color: #031b28;
  font-weight: 800;
}

.accesso-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid rgba(3, 27, 40, 0.45);
  border-radius: 10px;
  background: #fff;
  color: #031b28;
  font-size: 1.05rem;
}

.accesso-input:focus {
  outline: 3px solid rgba(36, 116, 224, 0.24);
  border-color: #2474e0;
}

.accesso-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffe9e9;
  color: #9b1c1c !important;
  font-weight: 700;
}

.accesso-btn {
  min-height: 48px;
  margin-top: 4px;
  border: 2px solid rgb(3, 27, 40);
  border-radius: 12px;
  background: #2474e0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(3, 27, 40, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.accesso-btn:hover {
  background: #1a5bb8;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(3, 27, 40, 0.24);
}

.accesso-help {
  font-size: 0.95rem;
}

.accesso-help a {
  color: #2474e0;
  font-weight: 800;
  text-decoration: none;
}

.accesso-help a:hover {
  text-decoration: underline;
}

#sfondoheader { backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-image: url("cliadentfront3.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: clamp(120px, 20vw, 180px);
}

.promo-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(3, 27, 40, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #031b28;
  white-space: nowrap;
}

.promo-marquee-track {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  font-size: clamp(0.82rem, 1.8vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: promo-marquee-scroll 24s linear infinite;
}

.promo-marquee-group {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 7px clamp(28px, 5vw, 64px) 7px 0;
}

.promo-marquee-group span,
.promo-marquee-group a {
  position: relative;
}

.promo-marquee-green {
  color: #148a3b;
  text-decoration: none;
}

.promo-marquee-green:hover {
  color: #0f6f2f;
  text-decoration: underline;
}

.promo-marquee-group span::after,
.promo-marquee-group a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(28px, 5vw, 64px) / -2);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2474e0;
  transform: translate(50%, -50%);
}

@keyframes promo-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-marquee-track {
    animation: none;
    transform: none;
  }
}

#main {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: rgba(236, 244, 237, 1) solid 1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url("cliadentsfondo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: auto;
  padding-top: 20px;
  padding: 10px 40px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: left;
  align-items: stretch;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
}


#mainordini{
  border-top: rgba(236, 244, 237, 1) solid 1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url("cliadentsfondo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 20px;
  padding: 10px 40px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: left;
  align-items: stretch;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
}

#schede {height: auto; 
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: left;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
}

.card-text {
  margin: 0;
  font-size: 1.1rem;
  color: #031b28;
  line-height: 1.4;
}

.phone-btn {
  text-decoration: none;
  color: #031b28;
  font-weight: bold;
  font-size: 1.1rem;
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.btn-ordine {
  margin-top: 15px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid rgb(3, 27, 40);
  background: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ordine:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.containerindex {
  display: flex;
  flex-direction: column;
  padding: 24px;
  width: 320px;
  gap: 12px;
  background-color: rgba(200, 231, 246, 0.4);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 2, 5, 0.5);
  min-height: 390px; /* spazio sufficiente per testo + immagine */
}


.containerindex p {
  margin: 0;
}

/* link che contiene l'immagine diventa il flex item "flessibile" */
.catalogo-link {
  margin-top: auto;      /* spinge verso il fondo della card */
  display: flex;         /* necessario per centrare l'immagine */
  justify-content: center;
}

#schede .catalogo-img {
  width: auto;
  max-height: 320px;
  object-fit: contain;
}

.novita-home {
  width: 100%;
  max-width: 1200px;
  margin: 8px auto 12px;
  padding: 26px;
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(218, 242, 253, 0.78)),
    linear-gradient(to right, rgba(48, 49, 146, 0.2), rgba(0, 149, 218, 0.18));
  box-shadow: 0 10px 24px rgba(0, 2, 5, 0.42);
}

.novita-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.novita-kicker {
  margin: 0 0 6px 0;
  color: #0a8f2a;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.novita-heading h1 {
  margin: 0;
  color: #031b28;
  font-size: 2rem;
  line-height: 1.15;
}

.novita-heading p:not(.novita-kicker):last-child {
  margin: 8px 0 0 0;
  color: #123247;
  font-size: 1.08rem;
  line-height: 1.5;
}

.novita-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.novita-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 300px;
  padding: 18px;
  border: 2px solid rgba(3, 27, 40, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 16px rgba(0, 2, 5, 0.18);
  overflow: hidden;
}

.novita-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(220, 20, 60);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.novita-img-link {
  display: flex;
  min-width: 0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 2, 5, 0.2);
}

.novita-img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.novita-img-link:hover .novita-img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.novita-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.novita-category {
  margin: 0;
  color: #2474e0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.novita-content h2 {
  margin: 0;
  color: #031b28;
  font-size: 1.35rem;
  line-height: 1.2;
}

.novita-content p {
  margin: 0;
  color: #123247;
  font-size: 1rem;
  line-height: 1.48;
}

.novita-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #2474e0;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 5px 13px rgba(0, 2, 5, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.novita-btn:hover {
  transform: translateY(-2px);
  background: #1a5bb8;
  box-shadow: 0 7px 16px rgba(0, 2, 5, 0.28);
}

.card-text2 {
  font-size: 1.3rem;          /* più grande */
  font-weight: 700;            /* grassetto */
  color: #031b28;              /* colore scuro per contrasto */
  line-height: 1.4;            /* migliore leggibilità */
  margin-bottom: 12px;         /* distanza dal link/immagine */
  text-align: center;          /* centra il testo nella card */
}

.container {
  background-color: rgba(200, 231, 246, 0.4);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0, 2, 5, 0.5);
}

.container.prodotto {
  position: relative;
}

.prodotto-novita-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 64px;
  min-height: 64px;
  padding: 10px;
  border: 3px solid #0a8f2a;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0a8f2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 5px 13px rgba(0, 2, 5, 0.25);
}

.bottom-card {
  margin-top: auto;  /* ðŸ”¥ questa Ã¨ la magia */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalogo-img {
  max-width: 100%;    /* non esce dal container */
  height: auto;       /* mantiene proporzioni */
  cursor: pointer;    /* cambia cursore al passaggio del mouse */
  border-radius: 8px; /* facoltativo, bordi arrotondati */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* facoltativo, effetto leggero */
  transition: transform 0.2s ease;
}

.catalogo-img:hover {
  transform: scale(1.05); /* leggero ingrandimento al passaggio */
}

.container img {
  display: block;
  margin: 0 auto;
}

/* CARD ORDINE CLICCABILE */
.ordine-card {
  display: block;
  text-align: center;
  width: calc(100% - 20px);
  max-width: 900px;
  margin: 18px auto;
  background: linear-gradient(to right,
      rgba(48, 49, 146, 0.8) 0%,
      rgba(184, 233, 252, 0.8) 20%,
      rgba(218, 242, 253, 0.8) 75%,
      rgba(0, 149, 218, 0.8) 100%);

  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 8px 20px rgba(0, 2, 5, 0.5);
  text-decoration: none; /* toglie sottolineatura link */
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
  max-width: 900px;
}


/* centra il contenuto dentro la card */
#ordine {
  text-align: center;
}

/* il vero bottone */
.ordine-link {
  display: inline-block;
  width: 260px;
  max-width: 90%;
}

/* immagine adattiva */
.ordine-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
}

/* effetti */
.ordine-link:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.ordine-link:active img {
  transform: scale(0.96);
}

#ordine:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.65);
  /* glow + ombra */
  box-shadow:
    0 12px 26px rgba(0, 2, 5, 0.65),
    0 0 18px rgba(72, 189, 228, 0.8),
    0 0 35px rgba(72, 189, 228, 0.5);
}

/* sollevamento card */
.ordine-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 28px rgba(0, 2, 5, 0.65),
    0 0 18px rgba(72, 189, 228, 0.7);
}

.ordine-img {
  width: 520px;     /* MOLTO più grande */
  max-width: 95%;   /* non esce mai dal box */
  height: auto;
  display: block;
  margin: 0 auto;
  will-change: transform;
  transition: transform .18s ease, filter .18s ease;
}

/* zoom SOLO sull'immagine, senza creare contesto globale */
.ordine-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.ordine-card:active img {
  transform: scale(0.96);
}

.wp-logo {
  max-width: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.home-footer {
  border-top: 1px solid rgba(236, 244, 237, 1);
  background: linear-gradient(to right,
      rgba(48, 49, 146, 0.92) 0%,
      rgba(184, 233, 252, 0.9) 20%,
      rgba(218, 242, 253, 0.9) 75%,
      rgba(0, 149, 218, 0.92) 100%);
  box-shadow: 0 -10px 24px rgba(0, 2, 5, 0.18);
}

.home-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 34px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.home-footer-card {
  flex: 1 1 0;
  max-width: 560px;
  min-height: 0;
  gap: 18px;
}

.home-footer-catalogo {
  justify-content: center;
}

.home-footer-catalogo-body {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.home-footer-catalogo-img-link {
  flex: 0 0 170px;
  display: flex;
}

.home-footer-catalogo-img {
  width: 170px;
  max-width: 170px;
  max-height: 170px;
  object-fit: contain;
}

.home-footer-catalogo-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.home-footer-catalogo .card-text2 {
  font-size: 1.25rem;
  text-align: left;
}

.home-footer-catalogo-copy {
  text-align: left;
}

.home-footer-catalogo-btn {
  display: inline-block;
  align-self: flex-start;
  width: auto;
}

.home-footer-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.home-footer-photo-wrap {
  flex: 0 0 auto;
}

.home-footer-photo {
  width: 140px;
  max-width: 140px;
  display: block;
}

.home-footer-copy {
  flex: 1 1 220px;
  text-align: left;
}

.home-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 320px);
}

.home-footer-actions .phone-btn,
.home-footer-actions .mailto-btn {
  width: 100%;
}

.qty-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid rgb(3, 27, 40);
  background: white;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prezzo {
  margin: 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #031b28;

  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 12px;
  padding: 8px 12px;
}

.caption {padding-left: 25%; padding-right: 25%;}

.testo-contornato {
  color: rgb(0, 149, 218); /* blu */
  font-weight: bold;
  font-size: 1.5rem;
  /* contorno bianco */
  text-shadow:
    -1px -1px 0 rgb(255, 255, 255),
     1px -1px 0 rgb(255, 255, 255),
    -1px  1px 0 rgb(255, 255, 255),
     1px  1px 0 rgb(255, 255, 255);
}
 
.btn-svuota {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-svuota:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.azioni-ordine {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

/* contenitore bottoni a destra */
.nav-pagine {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* stile bottone link */
.btn-pagina {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
  color: #031b28;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pagina:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.notifica-ordine {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 999999;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  color: #031b28;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.notifica-ordine.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.riepilogo {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgb(3, 27, 40);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0, 2, 5, 0.35);
}

.riepilogo-title {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: #031b28;
}

.riepilogo-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.riepilogo-riga {
  display: flex;
  align-items: center;        /* allinea verticalmente al centro */
  justify-content: space-between; /* spazio tra colonne */
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(200, 231, 246, 0.35);
  border: 1px solid rgba(3, 27, 40, 0.25);
}

.riepilogo-nome {
  flex: 2;             /* prende piÃ¹ spazio */
  text-align: left;
}

.riepilogo-qta {
  flex: 1;             /* spazio medio */
  text-align: center;
}

.riepilogo-subtot {
  flex: 1.2;           /* un poâ€™ piÃ¹ spazio per i prezzi */
  text-align: right;
}

.riepilogo-totale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid rgba(3, 27, 40, 0.25);
  font-size: 1.1rem;
}

.riepilogo-remove {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  background: rgba(255, 80, 80, 0.95);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.riepilogo-remove:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.qty-value {
  width: 60px;
  height: 38px;
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  border: 2px solid rgb(3, 27, 40);
  border-radius: 12px;
  background: white;
  color: #031b28;
  outline: none;
  /* Firefox */
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Chrome, Edge, Safari */
.qty-value::-webkit-outer-spin-button,
.qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-value:focus {
  box-shadow: 0 0 0 3px rgba(72, 189, 228, 0.5);
}

.mailto-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  background-color: #2474e0;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mailto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.promo-glitter{
  margin: 6px 0 10px 0;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  /* testo rosso */
  color: rgb(220, 20, 60);
  /* effetto glitter / luce */
  text-shadow:
    0 0 2px #fff,
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 0, 0, 0.9),
    0 0 16px rgba(255, 0, 0, 0.8),
    0 0 22px rgba(255, 80, 80, 0.8);
  animation: glitterPulse 1.2s infinite alternate;
}

.consiglio {
  padding-left: 5%;
  color:#2d8ae1 ;
}

.prezzo-promo {
  color: #0a8f2a; /* verde */
  font-weight: bold;
}

.omaggio {
  color: #0a8f2a; /* verde */
  font-weight: bold;
}

@keyframes glitterPulse {
  from {
    transform: scale(1);
    filter: brightness(1);
  }
  to {
    transform: scale(1.03);
    filter: brightness(1.35);
  }
}


@media (max-width: 480px) {
  .ordine-card {
    padding: 18px 12px;
  }
  .ordine-img {
    width: 300px;
  }
  .ordine-link {
    width: 180px;
  }
}

@media (max-width: 600px) {
  .azioni-ordine {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-pagine {
    justify-content: space-between;
  }
  .btn-pagina,
  .btn-svuota {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #main {
    padding: 10px 15px;
  }

  .container {
    width: 100%;
  }
  .containerindex {
    width: 100%;
    min-height: 340px;
  }

  #schede .catalogo-img {
    max-height: 280px;
  }

  .novita-home {
    padding: 20px 15px;
  }

  .novita-heading h1 {
    font-size: 1.65rem;
  }

  .novita-grid {
    grid-template-columns: 1fr;
  }

  .novita-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .novita-img {
    height: 260px;
    max-height: none;
  }

  .novita-btn {
    width: 100%;
    text-align: center;
  }

  .home-footer-inner {
    padding: 20px 15px 26px;
    flex-direction: column;
    align-items: stretch;
  }

  .home-footer-card {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .home-footer-catalogo-body {
    gap: 16px;
  }

  .home-footer-catalogo-img-link {
    flex-basis: 110px;
  }

  .home-footer-catalogo-img {
    width: 110px;
    max-width: 110px;
    max-height: 120px;
  }

  .home-footer-catalogo-btn {
    display: none;
  }

  .home-footer-card-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "photo copy"
      "actions actions";
    align-items: flex-start;
    column-gap: 16px;
    row-gap: 14px;
  }

  .home-footer-photo-wrap {
    grid-area: photo;
  }

  .home-footer-photo {
    width: 110px;
    max-width: 110px;
  }

  .home-footer-copy {
    grid-area: copy;
    align-self: center;
  }

  .home-footer-actions {
    grid-area: actions;
    width: 100%;
  }
}

body.pagina-ordine {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 35%),
    linear-gradient(135deg, #eff7fb 0%, #d8eef8 48%, #f7fbfd 100%);
}

.pagina-ordine #mainordini {
  padding: 28px;
  gap: 24px;
  align-items: stretch;
  flex-direction: column;
  background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)), url("cliadentsfondo.png");
}

.ordine-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(3, 27, 40, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.96), rgba(36, 116, 224, 0.92));
  box-shadow: 0 20px 50px rgba(3, 27, 40, 0.18);
  color: #fff;
}

.ordine-eyebrow {
  margin: 0 0 10px 0;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.ordine-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.ordine-subtitle {
  margin: 14px 0 0 0;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.ordine-hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.ordine-kpi {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ordine-kpi-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.ordine-kpi strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.ordine-tabs {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ordine-tab {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(3, 27, 40, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #123247;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(3, 27, 40, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ordine-tab:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 30px rgba(3, 27, 40, 0.12);
}

.ordine-tab.is-active {
  background: #123247;
  color: #fff;
  border-color: transparent;
}

.ordine-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 26px;
  align-items: start;
}

.catalogo-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.catalogo-intro {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(3, 27, 40, 0.1);
  box-shadow: 0 16px 34px rgba(3, 27, 40, 0.09);
}

.catalogo-intro h2 {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
  color: #123247;
}

.catalogo-intro p {
  margin: 0;
  color: #426274;
  line-height: 1.6;
}

.pagina-ordine #schede {
  gap: 22px;
}

.pagina-ordine .container {
  width: 320px;
  padding: 24px;
  border: 2px solid rgb(3, 27, 40);
  border-radius: 16px;
  background-color: rgba(200, 231, 246, 0.4);
  box-shadow: 0 8px 20px rgba(0, 2, 5, 0.5);
}

.pagina-ordine .catalogo-img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pagina-ordine .caption {
  padding-left: 25%;
  padding-right: 25%;
  text-align: center;
}

.pagina-ordine .testo-contornato {
  color: rgb(0, 149, 218);
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow:
    -1px -1px 0 rgb(255, 255, 255),
     1px -1px 0 rgb(255, 255, 255),
    -1px  1px 0 rgb(255, 255, 255),
     1px  1px 0 rgb(255, 255, 255);
}

.pagina-ordine .promo-glitter {
  margin: 6px 0 10px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: rgb(220, 20, 60);
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 2px #fff,
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 0, 0, 0.9),
    0 0 16px rgba(255, 0, 0, 0.8),
    0 0 22px rgba(255, 80, 80, 0.8);
  animation: glitterPulse 1.2s infinite alternate;
}

.promo-glitter .promo-main,
.promo-glitter .promo-sub {
  display: block;
}

.promo-glitter .promo-main {
  font-size: 1.08em;
}

.promo-glitter .promo-sub {
  margin-top: 4px;
  font-size: 0.82em;
  font-weight: 700;
  opacity: 0.72;
  text-shadow:
    0 0 1px #fff,
    0 0 4px rgba(255, 255, 255, 0.7),
    0 0 7px rgba(255, 0, 0, 0.45);
}

.pagina-ordine .consiglio {
  padding-left: 5%;
  font-size: 1rem;
  color:#2d8ae1;
}

.pagina-ordine .prezzo {
  text-align: center;
  font-size: 1.3rem;
  border: 2px solid rgb(3, 27, 40);
  background: rgba(255, 255, 255, 0.6);
}

.pagina-ordine .qty-box {
  justify-content: center;
}

.pagina-ordine .qty-btn {
  border-color: rgb(3, 27, 40);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pagina-ordine .qty-value {
  border-color: rgb(3, 27, 40);
}

.pagina-ordine .riepilogo {
  width: 100%;
  max-width: none;
  position: sticky;
  top: 22px;
  border-radius: 26px;
  border: 1px solid rgba(3, 27, 40, 0.12);
  box-shadow: 0 18px 38px rgba(3, 27, 40, 0.12);
}

.pagina-ordine .riepilogo-title {
  font-size: 1.35rem;
}

.pagina-ordine .azioni-ordine {
  margin-top: 0;
  padding: 16px 0 0 0;
}

.catalogo-col > .azioni-ordine {
  display: none;
}

.ordine-footer-actions {
  width: 100%;
}

.ordine-footer-actions-nav-only {
  justify-content: flex-end;
}

.btn-svuota-riepilogo {
  width: 100%;
  margin-top: 16px;
}

.pagina-ordine .btn-svuota,
.pagina-ordine .btn-pagina,
.pagina-ordine .btn-ordine {
  border: 2px solid rgb(3, 27, 40);
  box-shadow: 0 10px 22px rgba(3, 27, 40, 0.08);
}

.pagina-ordine .btn-ordine {
  background: white;
  color: #031b28;
}

.ordine-card-cta {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 28px;
  border: 1px solid rgba(3, 27, 40, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(3, 27, 40, 0.1);
}

.ordine-card-cta .card-text {
  max-width: 58ch;
  margin: 0 auto 10px auto;
  color: #426274;
}

.ordine-card-cta:hover {
  transform: none;
  box-shadow: 0 18px 38px rgba(3, 27, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.ordine-card-cta:hover img {
  transform: none;
  filter: none;
}

@media (max-width: 980px) {
  .ordine-hero,
  .ordine-shell {
    grid-template-columns: 1fr;
  }

  .pagina-ordine .riepilogo {
    position: static;
  }
}

@media (max-width: 768px) {
  .pagina-ordine #mainordini {
    padding: 16px;
  }

  .ordine-hero {
    padding: 22px;
  }

  .ordine-hero-summary {
    grid-template-columns: 1fr;
  }

  .pagina-ordine .container {
    width: 100%;
    min-height: 0;
  }

  .ordine-card-cta {
    padding: 20px;
  }
}

.pagina-404 #sfondoheader {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-image: url("cliadentfront3.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: clamp(120px, 20vw, 180px);
}

.pagina-404 #main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  border-bottom: rgba(236, 244, 237, 1) solid 1px;
  background: linear-gradient(
    to right,
    rgba(48, 49, 146, 0.8) 0%,
    rgba(184, 233, 252, 0.8) 20%,
    rgba(218, 242, 253, 0.8) 75%,
    rgba(0, 149, 218, 0.8) 100%
  );
}

.pagina-404 #error_txt h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #e63946;
  text-shadow: 1px 1px 2px white;
}

.pagina-404 #error_txt p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.pagina-404 #error_txt a {
  color: #2474e0;
  text-decoration: none;
  font-weight: bold;
}

.pagina-404 #error_txt a:hover {
  text-decoration: underline;
}

.pagina-404 .btn-home {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 12px;
  background-color: #2474e0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  border: 2px solid white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pagina-404 .btn-home:hover {
  background-color: #1a5bb8;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}


