/* =========================================================
   FULLWATT — scheda moto condivisa
   Struttura comune a Komodo, Sting, Ultra Bee ed Evo Pro.
   ========================================================= */

.product{
  background: var(--color-bg);
}

.product-hero{
  padding: clamp(28px, 5vw, 60px) 0 clamp(52px, 7vw, 82px);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 18% 18%, rgba(102,11,177,.3), transparent 46%),
    radial-gradient(circle at 74% 34%, rgba(0,230,119,.14), transparent 42%),
    var(--color-bg);
}

.product-hero-inner{
  display: grid;
  width: min(var(--container), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.hero-breadcrumb{
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 0 6px;
  z-index: 3;
}

.product-hero-left,
.product-hero-right{
  min-width: 0;
}

.product-kicker{
  display: inline-block;
  color: var(--color-green);
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-title{
  margin: 10px 0 14px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.product-lead{
  max-width: 62ch;
  margin: 0 0 24px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.72;
}

.product-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.product-price{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.price-old{
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--color-text-soft);
  font-size: clamp(15px, 2vw, 18px);
  text-decoration: line-through;
}

.price-old::after{
  content: "SCONTO";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  padding: 3px 8px;
  transform: translateY(-50%);
  border: 1px solid rgba(124,77,255,.42);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(102,11,177,.2);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.price-label,
.price-note{
  color: var(--color-text-soft);
  font-family: var(--font-body);
}

.price-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-value{
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.1;
}

.price-note{
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.5;
}

.product-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-badges li{
  padding: 7px 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  background: var(--color-surface-soft);
  font-family: var(--font-body);
  font-size: 12px;
}

.product-media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(124,77,255,.36);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.product-media :is(img, video){
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow{
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--color-text);
  background: rgba(0,0,0,.58);
  font-size: 25px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

.gallery-arrow:hover{
  border-color: rgba(0,230,119,.55);
  background: rgba(0,0,0,.78);
}

.gallery-prev{ left: 14px; }
.gallery-next{ right: 14px; }

/* Varianti */
.variant-panel{
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.variant-group + .variant-group{ margin-top: 16px; }

.variant-label{
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.variant-options{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.variant-chip{
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  background: rgba(255,255,255,.02);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.variant-chip:is(:hover, .is-active){
  border-color: var(--color-violet-bright);
  color: var(--color-text);
  background: rgba(124,77,255,.14);
}

.variant-chip:hover{ transform: translateY(-1px); }

.variant-note{
  margin-top: 12px;
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
}

.variant-switch{
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.variant-switch:hover{ transform: translateY(-1px); }

.variant-switch:is(:hover, .is-active){
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(124,77,255,.2);
}

.swatch{
  width: 23px;
  height: 23px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.38);
}

/* Contenuto e specifiche */
.product-block{
  padding: var(--section-space) 0;
}

.product-inner{
  width: min(var(--container), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.section-head{ margin-bottom: clamp(22px, 4vw, 34px); }

.h1,
.h2{
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: var(--font-heading);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.h1{
  font-size: clamp(30px, 4vw, 42px);
  text-align: center;
}

.h2{ font-size: clamp(24px, 3vw, 30px); }

.p,
.f.dim{
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
}

.p.dim{ color: var(--color-text-soft); }
.f.dim{ text-align: center; }

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.specs-col{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-card);
}

.product-card{ padding: clamp(20px, 3vw, 26px); }

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

.specs-col{ padding: 12px 18px; }

.spec-row{
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.spec-row:last-child{ border-bottom: 0; }

.spec-row span{
  color: var(--color-text-soft);
  font-family: var(--font-body);
}

.spec-row strong{
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: right;
}

.faq{
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  gap: 12px;
}

.faq-item{
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.faq-item summary{
  min-height: 58px;
  padding: 16px 18px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
}

.faq-item p{
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.72;
}

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

  .product-media{ aspect-ratio: 16 / 10; }
}

@media (max-width: 520px){
  .product-hero{ padding-block: 22px 48px; }

  .product-cta > *{ width: 100%; }

  .gallery-arrow{
    width: 40px;
    height: 40px;
  }

  .spec-row{
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .spec-row strong{ text-align: left; }
}
