/* =====================================================
   ITNETCOM — style-components.css
   Componenti UI (menu, card, bottoni, form, footer, popup)
   ===================================================== */

/* =====================================================
   HEADER / MENU (DESKTOP + MOBILE)
   ===================================================== */
.itn-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.itn-nav{
  max-width:var(--wrap);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.itn-logo img{ height:28px; width:auto; }
@media (min-width: 900px){
  .itn-logo img{ height:34px; }
}

.itn-menu{
  display:none;
  gap:28px;
  align-items:center;
}
@media (min-width: 900px){
  .itn-menu{ display:flex; }
}

.itn-menu a{
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  color:var(--itn-dark);
  opacity:.72;
  position:relative;
}
.itn-menu a:hover,
.itn-menu a.active{ opacity:1; }
.itn-menu a.active::after{
  content:"";
  position:absolute;
  bottom:-7px;
  left:50%;
  transform:translateX(-50%);
  width:18px;
  height:2px;
  background:#e10600;
  border-radius:2px;
}

.itn-cta{
  background:var(--itn-red);
  color:#fff !important;
  padding:10px 18px;
  border-radius:999px;
  font-weight:800;
  box-shadow:0 10px 30px rgba(227,6,19,.35);
}

.itn-burger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  font-size:26px;
  cursor:pointer;
  padding: 8px 10px;
  border-radius: 12px;
}
.itn-burger:focus-visible{ outline: 3px solid rgba(227,6,19,.35); outline-offset: 2px; }

@media (min-width: 900px){
  .itn-burger{ display:none; }
}

/* Overlay mobile menu */
.itn-mobile-menu{
  position:fixed;
  inset:0;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:24px;
  z-index:2000;

  opacity:0;
  pointer-events:none;
  transform:translateY(-18px);
  transition:opacity .35s ease, transform .35s ease;
}
.itn-mobile-menu.open{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.itn-mobile-menu a{
  font-size:22px;
  font-weight:900;
  color:var(--itn-dark);
  text-decoration:none;
}
.itn-mobile-menu a.active{ color:var(--itn-red); }
.itn-mobile-menu .close{
  position:absolute;
  top:20px;
  right:24px;
  font-size:28px;
  cursor:pointer;
  user-select:none;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 14px;
}
.itn-mobile-menu .close:focus-visible{ outline: 3px solid rgba(227,6,19,.35); outline-offset: 2px; }

/* =====================================================
   TITOLI SEZIONI (componente)
   ===================================================== */
.itn-h2{
  font-size:clamp(30px,4vw,44px);
  font-weight:800;
  letter-spacing:-0.035em;
  color:var(--itn-dark);
  margin:0 0 18px 0;
  text-align:center;
}
.itn-h2::after{
  content:"";
  display:block;
  width:42px;
  height:3px;
  background:#e10600;
  margin:14px auto 0;
  border-radius:2px;
}
.itn-lead{ max-width: 65ch; margin: 0 auto 18px; font-size: 16px; line-height:1.7; }

/* =====================================================
   CARD + GRID (componenti)
   ===================================================== */
.itn-grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:center;
}
@media (min-width: 900px){
  .itn-grid-2{
    grid-template-columns:1.2fr .9fr;
    gap:48px;
  }
}

.itn-card{
  background:#fff;
  border-radius:var(--radius-3);
  padding:36px 22px;
  box-shadow: var(--shadow-2);
}
@media (min-width: 900px){
  .itn-card{ padding:56px; }
}

.itn-img{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.12);
  transition:transform .5s ease, box-shadow .5s ease;
}
@media (hover:hover){
  .itn-img:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 50px 100px rgba(0,0,0,.18);
  }
}

/* =====================================================
   SERVIZI (cards)
   ===================================================== */
.itn-services{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  margin-top:28px;
}
@media (min-width: 900px){
  .itn-services{
    grid-template-columns:repeat(5,1fr);
    gap:32px;
    margin-top:48px;
  }
}

.itn-service{
  background:#fff;
  border-radius:var(--radius-2);
  padding:26px 18px;
  box-shadow: var(--shadow-1);
  transition:transform .4s ease, box-shadow .4s ease;
  text-align:left;
}
@media (hover:hover){
  .itn-service:hover{
    transform:translateY(-10px);
    box-shadow:0 40px 80px rgba(0,0,0,.14);
  }
}
.itn-ico{
  font-size:34px;
  color:var(--itn-red);
  margin-bottom:12px;
  line-height:1;
}
.itn-service h3,
.itn-service h4{
  font-size:14px;
  font-weight:900;
  color:var(--itn-dark);
  margin:0 0 8px 0;
}
.itn-service p{
  font-size:13px;
  line-height:1.55;
  margin:0;
}

/* =====================================================
   FORM + BOTTONI
   ===================================================== */
.itn-form{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media (min-width: 900px){
  .itn-form{
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
}

.itn-form input,
.itn-form textarea{
  border:1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px 12px;
  font: inherit;
  font-size: 15px;
  outline: none;
  background:#fff;
}
.itn-form textarea{ resize: vertical; min-height: 140px; }
.itn-form input:focus,
.itn-form textarea:focus{
  border-color: rgba(227, 6, 19, .45);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, .12);
}

.itn-consent{
  display:flex;
  flex-direction:row !important;
  align-items:flex-start;
  gap:10px !important;
  font-weight:650 !important;
  color:#222 !important;
  font-size: 14px !important;
}
.itn-consent input{ width:18px; height:18px; margin-top:2px; }

.itn-btn{
  border:0;
  cursor:pointer;
  background: var(--itn-red);
  color:#fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 30px rgba(227,6,19,.28);
}
.itn-btn.ghost{
  background: transparent;
  color: var(--itn-dark);
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: none;
}
.itn-btn:focus-visible{ outline: 3px solid rgba(227,6,19,.35); outline-offset: 2px; }

/* =====================================================
   FOOTER (struttura componente)
   ===================================================== */
.itn-footer{
  padding:56px 0;
  border-top:1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.65);
}

.itn-grid-3{
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
  align-items:start;
}
@media (min-width: 900px){
  .itn-grid-3{
    grid-template-columns:1fr 1fr 1.2fr;
    gap:36px;
  }
}

.itn-foot-addr{ margin: 10px 0 0; line-height: 1.6; }
.itn-hours .red{ color:var(--itn-red); font-weight:900; }
.itn-hours-row{ margin-top: 10px; display:grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 900px){
  .itn-hours-row{ grid-template-columns: 110px 1fr; align-items:start; }
}
.itn-hours-day{ font-weight: 800; color: var(--itn-dark); }

.itn-map iframe{
  width:100%;
  height:240px;
  border-radius:20px;
  border:0;
}

.itn-copyright{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 14px 0;
  background: #fff;
}
.itn-copyright .itn-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.itn-copyright a{ color: var(--itn-dark); text-decoration: none; opacity: .8; }
.itn-copyright a:hover{ opacity: 1; text-decoration: underline; }

/* =====================================================
   COOKIE POPUP (granulare) + FAB
   ===================================================== */
.cookie-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.cookie-box{
  background: #0f0f0f;
  color: #fff;
  max-width: 420px;
  width: calc(100% - 32px);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.cookie-box h3{
  margin: 0 0 10px;
  color: #25d366;
}

.cookie-box a{ color: #4da3ff; }

.cookie-options{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.cookie-options label{
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.cookie-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookie-save{
  background: #25d366;
  color: #000;
  border: 0;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

#cookie-reject{
  background: #555;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* Float cookie icon */
.cookie-fab{
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #d32525;
  color: #000;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.cookie-fab:hover{ transform: scale(1.05); }

/* mobile sizing + centratura emoji */
.cookie-fab{
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media (max-width: 768px) {
  .cookie-fab {
    bottom: 16px;
    left: 16px;
    width: 56px;
    height: 56px;
  }
}

/* =====================================================
   ANTISPAM ITNETCOM BADGE
   ===================================================== */
.itn-antispam-badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  opacity: 0.85;
  user-select: none;
}

.itn-antispam-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #37ac50;
  position: relative;
  box-shadow: 0 0 0 rgba(55, 172, 80, 0.7);
  animation: itn-pulse 1.8s infinite;
}

.itn-antispam-text {
  font-weight: 500;
  letter-spacing: 0.2px;
}

@keyframes itn-pulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 172, 80, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(55, 172, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 172, 80, 0); }
}

/* =====================================================
   CAROUSEL PRODOTTI - UX MOBILE FIRST
   ===================================================== */
.itn-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.itn-carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 2px 20px;
}

.itn-product-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.itn-product-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.itn-product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.itn-product-label {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #2ecc71;
  font-weight: 600;
}

/* DESKTOP: 4 PRODOTTI VISIBILI */
@media (min-width: 992px) {
  .itn-product-card {
    flex: 0 0 calc(25% - 15px);
  }
}

/* =====================================================
   MENU ATTIVO - GLOW ROSSO
   ===================================================== */
.itn-menu a.active,
.itn-mobile-menu a.active {
  color: #ff3b3b;
  font-weight: 700;
  text-shadow:
    0 0 4px rgba(255, 59, 59, 0.6),
    0 0 10px rgba(255, 59, 59, 0.4);
}

/* underline glow */
.itn-menu a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 3px;
  background: #ff3b3b;
  box-shadow:
    0 0 6px rgba(255, 59, 59, 0.8),
    0 0 14px rgba(255, 59, 59, 0.6);
  animation: glowPulse 2.2s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 4px rgba(255, 59, 59, 0.6),
      0 0 10px rgba(255, 59, 59, 0.4);
    opacity: 0.85;
  }
  50% {
    box-shadow:
      0 0 10px rgba(255, 59, 59, 0.9),
      0 0 22px rgba(255, 59, 59, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow:
      0 0 4px rgba(255, 59, 59, 0.6),
      0 0 10px rgba(255, 59, 59, 0.4);
    opacity: 0.85;
  }
}

/* =====================================================
   WHATSAPP FLOAT + CHAT POPUP (STILE WHATSAPP)
   ===================================================== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(37,211,102,0.6);
}

.wa-float img {
  width: 28px;
  height: 28px;
}

.wa-chat {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 320px;
  max-width: calc(100% - 36px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  z-index: 9999;

  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: all .25s ease;
}

.wa-chat.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-header {
  background: #075e54;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.wa-header span { font-size: 14px; }

.wa-header button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.wa-body {
  padding: 16px;
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}
.wa-body p { margin: 0; }

.wa-footer {
  padding: 14px;
  background: #f1f1f1;
}

.wa-start {
  display: block;
  width: 100%;
  background: #25d366;
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.wa-start:hover { background: #1ebe5d; }

@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-chat  { right: 16px; bottom: 86px; }
}
/* ===============================
   COMPONENT – LISTA SERVIZI
================================= */

.itn-list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.itn-list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.itn-list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}
/* ===============================
   COMPONENT – HIGHLIGHT SECTION
================================= */

.itn-highlight {
  background-color: #f8fafc;
  border-left: 4px solid #0f172a;
}
/* ===============================
   COMPONENT – PRIMARY BUTTON
================================= */

.itn-btn-primary {
  display: inline-block;
  padding: 14px 22px;
  background-color: #0f172a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.itn-btn-primary:hover {
  background-color: #020617;
}
/* ===============================
   COMPONENT – CARD STANDARD
================================= */

.itn-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.itn-cta-center {
  text-align: center;
  margin-top: 24px;
}
/* ===============================
   COMPONENT – IMMAGINI CONTENUTO
================================= */

.itn-img img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  display: block;
  margin: 16px auto 0;
  border-radius: 16px;
  object-fit: contain;
}
.itn-product-availability{
  margin: 10px 0 18px;
  font-weight: 600;
  font-size: 15px;
}

.itn-product-availability.available{
  color: #1a7f37; /* verde */
}

.itn-product-availability.unavailable{
  color: #b54708; /* arancio/grigio */
}

.itn-product-availability::before{
  content: "●";
  margin-right: 6px;
}
/* =====================================================
   PRODUCT CART – SAFE EXTENSION
   ===================================================== */

.itn-cart-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.itn-cart-qty{
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 140px;
}

.itn-cart-qty label{
  font-size: 14px;
  font-weight: 600;
  color: var(--itn-dark);
}

.itn-cart-qty input[type="number"]{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}

.itn-cart-qty input[type="number"]:focus{
  border-color: rgba(227, 6, 19, .45);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, .12);
}

.itn-product-unavailable{
  margin-top: 14px;
  padding: 12px 14px;
  background: #f5f5f5;
  border-radius: 16px;
  font-size: 14px;
  color: #666;
}
/* =====================================================
   PRODUCT PAGE – CART FIX (OVERRIDE MIRATO)
   ===================================================== */

.itn-product-page .itn-cart-form{
  margin-top: 24px;
}

.itn-product-page .itn-cart-inline{
  display: flex !important;
  align-items: flex-end;
  gap: 16px;
}

.itn-product-page .itn-cart-qty{
  max-width: 120px;
}

.itn-product-page .itn-cart-qty label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* 🔴 FORZIAMO COLORE ITNETCOM */
.itn-product-page .itn-cart-form .itn-btn{
  background: var(--itn-red) !important;
  box-shadow: 0 10px 30px rgba(227,6,19,.28) !important;
}

/* mobile */
@media (max-width: 640px){
  .itn-product-page .itn-cart-inline{
    flex-direction: column;
    align-items: stretch;
  }

  .itn-product-page .itn-cart-qty{
    max-width: 100%;
  }
}
/* =========================
   CART
   ========================= */

.itn-cart-table{
  width:100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.itn-cart-table th,
.itn-cart-table td{
  padding: 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: left;
}

.itn-cart-total{
  margin-top: 24px;
  font-size: 18px;
  text-align: right;
}

.itn-cart-actions{
  margin-top: 24px;
  text-align: right;
}
/* ===============================
   HEADER – CARRELLO
================================= */
.itn-cart-icon {
  position: relative;
  margin-left: 12px;
  font-size: 20px;
  text-decoration: none;
  color: var(--itn-dark);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.itn-cart-icon:hover {
  opacity: 0.8;
}

/* badge quantità */
.itn-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--itn-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* mobile spacing */
@media (max-width: 900px) {
  .itn-cart-icon {
    margin-left: auto;
    margin-right: 6px;
  }
}
/* ===============================
   HEADER – CARRELLO (PRIMARY)
================================= */

.itn-cart-icon--main{
  font-size: 22px;            /* più grande */
  margin-left: 16px;          /* staccato da Contattaci */
  padding: 10px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.itn-cart-icon--main:hover{
  background: rgba(227,6,19,.08);
  transform: scale(1.08);
}

/* badge leggermente più visibile */
.itn-cart-icon--main .itn-cart-badge{
  top: -4px;
  right: -6px;
}
/* =====================================================
   CHECKOUT
   ===================================================== */

.itn-checkout-box{
  background:#fff;
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow-1);
  margin-bottom:32px;
}

.itn-checkout-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:18px;
}

.itn-checkout-row{
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.itn-checkout-img img{
  width:64px;
  height:64px;
  object-fit:contain;
  border-radius:12px;
  background:#f7f8fa;
}

.itn-checkout-meta{
  font-size:14px;
  opacity:.75;
  margin-top:4px;
}

.itn-checkout-price{
  font-weight:700;
  white-space:nowrap;
}

.itn-checkout-total{
  margin-top:18px;
  text-align:right;
  font-size:18px;
}

.itn-checkout-form{
  background:#fff;
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow-1);
}

.itn-checkout-actions{
  margin-top:24px;
  text-align:right;
}
.itn-cart-remove{
  border: 0;
  background: transparent;
  color: #999;
  font-size: 18px;
  cursor: pointer;
}
.itn-cart-remove:hover{
  color: var(--itn-red);
}

.itn-cart-product{
  display: flex;
  align-items: center;
  gap: 10px;
}

.itn-cart-thumb{
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}
/* ===============================
   MOBILE MENU – CARRELLO
================================ */

.itn-mobile-cart{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--itn-dark);
  text-decoration: none;
  margin-top: 16px;
  position: relative;
}

.itn-mobile-cart-ico{
  font-size: 22px;
}

.itn-mobile-cart .itn-cart-badge{
  position: absolute;
  top: -6px;
  right: -14px;
  background: var(--itn-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsante carrello nelle card prodotto */
.itn-card-product .itn-btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px; /* pill, come ora ma più sobrio */
  line-height: 1.2;
}
/* ===============================
   PRODUCT CARD – ECOMMERCE
================================ */

.itn-catalog-grid.ecommerce{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap:24px;
}

.itn-product-card-ecom{
  background:#fff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
}

.itn-product-image{
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

.itn-product-image img{
  max-height:100%;
  object-fit:contain;
}

.itn-product-title{
  font-size:15px;
  font-weight:700;
  margin:0 0 6px;
}

.itn-product-brand{
  font-size:12px;
  font-weight:700;
  color:#666;
}

.itn-product-code{
  font-size:12px;
  color:#999;
  margin-bottom:10px;
}

.itn-product-price{
  font-size:20px;
  font-weight:900;
  color:#000;
  margin-bottom:6px;
}

.itn-product-availability{
  font-size:13px;
  font-weight:700;
}

.itn-product-availability.available{ color:#1a7f37; }
.itn-product-availability.unavailable{ color:#b54708; }

.itn-product-actions{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.itn-qty-selector{
  display:flex;
  align-items:center;
  border:1px solid rgba(0,0,0,.15);
  border-radius:12px;
  overflow:hidden;
}

.itn-qty-selector input{
  width:40px;
  text-align:center;
  border:0;
  font-weight:700;
}

.qty-btn{
  background:#f3f3f3;
  border:0;
  width:32px;
  font-size:18px;
  cursor:pointer;
}

.itn-btn-cart{
  background:var(--itn-red);
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  font-size:18px;
}

.itn-btn-cart:disabled{
  opacity:.5;
  cursor:not-allowed;
}
/* =====================================================
   ITNETCOM – ADD TO CART RAPIDO (PRODOTTI)
   Mobile-first, coerente con itn-btn
   ===================================================== */

.itn-add-cart {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Quantità */
.itn-qty {
  display: flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.itn-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f2f2f2;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.itn-qty-input {
  width: 42px;
  border: none;
  text-align: center;
  font-size: 15px;
  appearance: textfield;
}

/* rimuove spinner mobile */
.itn-qty-input::-webkit-inner-spin-button,
.itn-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Pulsante carrello */
.itn-btn-cart {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
}

/* Desktop fine-tuning */
@media (min-width: 768px) {
  .itn-qty-btn {
    width: 40px;
    height: 40px;
  }
}
/* Rimuove underline da titoli prodotto */
.itn-product-card a {
  text-decoration: none;
  color: inherit;
}

.itn-product-card a:hover {
  text-decoration: none;
}
.product-price {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e30613; /* colore brand */
}
