/* ! =========================
   PRODUCT DETAIL HERO
========================= */

.product-detail-hero-section {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
  background: #10202c;
  isolation: isolate;
}

/* =========================
   BACKGROUND IMAGE
========================= */

.product-detail-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================
   OVERLAY
========================= */

.product-detail-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(5, 40, 67, 0.84) 0%,
      rgba(16, 61, 87, 0.68) 30%,
      rgba(26, 51, 67, 0.42) 58%,
      rgba(10, 21, 29, 0.5) 100%
    ),
    linear-gradient(180deg, rgba(7, 18, 25, 0.1) 0%, rgba(7, 18, 25, 0.34) 100%);
}

/* =========================
   WRAPPER
========================= */

.product-detail-hero-wrapper {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 1320px);
  min-height: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   CONTENT
========================= */

.product-detail-hero-content {
  width: 100%;
  max-width: 1050px;
  padding: 74px 0;
  color: #ffffff;
  text-align: center;
}

/* Kicker */

.product-detail-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-detail-hero-kicker::before,
.product-detail-hero-kicker::after {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: #00b2e9;
}

/* H1 */

.product-detail-hero-content h1 {
  max-width: 1050px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 3rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 30px rgba(7, 18, 25, 0.26);
}

/* Subtitle */

.product-detail-hero-content p {
  max-width: 850px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .product-detail-hero-section,
  .product-detail-hero-wrapper {
    min-height: 430px;
  }

  .product-detail-hero-content {
    padding: 64px 0;
  }

  .product-detail-hero-content h1 {
    max-width: 850px;
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-detail-hero-section,
  .product-detail-hero-wrapper {
    min-height: 500px;
  }

  .product-detail-hero-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-detail-hero-image {
    object-position: center;
  }

  .product-detail-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 32, 50, 0.62) 0%,
      rgba(6, 27, 42, 0.86) 100%
    );
  }

  .product-detail-hero-content {
    padding: 58px 0;
  }

  .product-detail-hero-kicker {
    margin-bottom: 18px;
    font-size: 0.7rem;
  }

  .product-detail-hero-kicker::before,
  .product-detail-hero-kicker::after {
    width: 28px;
  }

  .product-detail-hero-content h1 {
    font-size: 2.35rem;
    line-height: 0.98;
  }

  .product-detail-hero-content p {
    margin-top: 19px;
    font-size: 1.05rem;
    line-height: 1.5;
  }
}

/* ! =========================
   PRODUCT CONTENT CAROUSEL
   Shared component
========================= */

.product-carousel-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: #f0f1f3;
}

/* Variante sfondo bianco */
.product-carousel-section.is-white {
  background: #ffffff;
}

.product-carousel-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.product-carousel-header {
  max-width: 950px;
  margin: 0 auto 42px;
  text-align: center;
}

.product-carousel-header h2,
.product-carousel-header h3 {
  margin: 0;

  color: #3772bc;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

.product-carousel-header p {
  max-width: 850px;

  margin: 18px auto 0;

  color: #252a31;

  font-size: 1rem;
  line-height: 1.45;
}

/* =========================
   SPLIDE
========================= */

.product-carousel-splide {
  position: relative;

  /*
   * Parte dal container 1320px
   * ma arriva fino al bordo destro viewport.
   */
  width: calc(100% + ((100vw - 100%) / 2));
}

.product-carousel-splide .splide__track {
  width: 100%;
  overflow: hidden;
}

.product-carousel-splide .splide__list {
  display: flex;
  align-items: stretch;
}

.product-carousel-splide .splide__slide {
  height: auto !important;
  min-height: 560px;

  display: flex;
}

/* =========================
   CARD
========================= */

.product-carousel-card {
  width: 100%;
  min-height: 560px;

  display: grid;
  grid-template-rows: 315px 1fr;

  background: transparent;
}

/* =========================
   IMAGE
========================= */

.product-carousel-media {
  position: relative;

  width: 100%;
  height: 315px;

  overflow: hidden;

  border-radius: 18px;

  background: #dce2e7;
}

.product-carousel-media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition:
    transform 0.5s ease,
    filter 0.35s ease;
}

.product-carousel-card:hover .product-carousel-media img {
  transform: scale(1.035);

  filter: saturate(1.05);
}

/* =========================
   CONTENT
========================= */

.product-carousel-content {
  width: 100%;
  min-width: 0;

  padding: 20px 8px 0;

  display: flex;
  flex-direction: column;
}

.product-carousel-content p {
  margin: 0;

  color: #252a31;

  font-size: 0.98rem;
  line-height: 1.42;
}

.product-carousel-content strong,
.product-carousel-content b {
  color: #15191e;
  font-weight: 900;
}

.product-carousel-content em {
  font-style: italic;
}

/* Accent */

.product-carousel-accent {
  display: block;

  width: 86px;
  height: 14px;

  margin-top: 22px;

  background: #00b2e9;
}

/* =========================
   CONTROLS
========================= */

/*
 * I controlli sono FUORI dallo Splide:
 * quindi rimangono centrati rispetto
 * alla pagina, anche se lo slider sfora.
 */

.product-carousel-controls {
  width: 100%;

  margin-top: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;
}

.product-carousel-control {
  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #3772bc;
  color: #ffffff;

  font-family: inherit;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-carousel-control:hover {
  background: #00b2e9;

  transform: scale(1.07);
}

/* =========================
   DOTS
========================= */

.product-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;
}

.product-carousel-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #9aaabd;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-carousel-dot.is-active {
  background: #3772bc;

  transform: scale(1.18);
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .product-carousel-section {
    padding: 68px 0;
  }

  .product-carousel-splide {
    width: calc(100% + ((100vw - 100%) / 2));
  }

  .product-carousel-splide .splide__slide {
    min-height: 540px;
  }

  .product-carousel-card {
    min-height: 540px;

    grid-template-rows:
      290px
      1fr;
  }

  .product-carousel-media {
    height: 290px;
  }

  .product-carousel-controls {
    margin-top: 40px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-carousel-section {
    padding: 52px 0;
  }

  .product-carousel-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-carousel-header {
    margin-bottom: 30px;
  }

  .product-carousel-header h2,
  .product-carousel-header h3 {
    font-size: 2rem;
  }

  .product-carousel-header p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .product-carousel-splide {
    width: calc(100% + ((100vw - 100%) / 2));
  }

  .product-carousel-splide .splide__slide {
    min-height: 520px;
  }

  .product-carousel-card {
    min-height: 520px;

    grid-template-rows:
      270px
      1fr;
  }

  .product-carousel-media {
    height: 270px;

    border-radius: 16px;
  }

  .product-carousel-content {
    padding: 18px 4px 0;
  }

  .product-carousel-content p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .product-carousel-accent {
    width: 70px;
    height: 11px;

    margin-top: 20px;
  }

  .product-carousel-controls {
    margin-top: 34px;

    gap: 10px;
  }

  .product-carousel-control {
    flex-basis: 36px;

    width: 36px;
    height: 36px;

    font-size: 1.8rem;
  }

  .product-carousel-dots {
    gap: 6px;
  }

  .product-carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* ! =========================
   PRODUCT FEATURE GRID
========================= */

.product-feature-section {
  padding: 80px 0;

  background: #f0f1f3;
}

.product-feature-wrapper {
  width: min(100% - 32px, 1320px);

  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.product-feature-header {
  margin-bottom: 30px;

  text-align: center;
}

.product-feature-header h2 {
  max-width: 900px;

  margin: 0 auto;

  color: #717985;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

/* =========================
   GRID
========================= */

.product-feature-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  align-items: stretch;
}

/* =========================
   CARD
========================= */

.product-feature-card {
  position: relative;

  min-width: 0;

  overflow: hidden;

  border-radius: 18px;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border: 1px solid rgba(15, 23, 42, 0.06);

  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.product-feature-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0, 178, 233, 0.18);

  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

/* =========================
   IMAGE
========================= */

.product-feature-media {
  position: relative;

  width: 100%;
  height: 315px;

  overflow: hidden;

  background: #dce2e7;
}

.product-feature-media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition:
    transform 0.5s ease,
    filter 0.35s ease;
}

.product-feature-card:hover .product-feature-media img {
  transform: scale(1.04);

  filter: saturate(1.04);
}

/* =========================
   CONTENT
========================= */

.product-feature-content {
  flex: 1;

  min-height: 0;

  padding: 28px 28px 24px;

  display: flex;
  flex-direction: column;
}

.product-feature-content p {
  margin: 0;

  color: #4a5562;

  font-size: 0.96rem;
  line-height: 1.58;

  font-weight: 400;
}

.product-feature-content strong,
.product-feature-content b {
  color: #263444;

  font-weight: 900;
}

.product-feature-content em {
  color: #263444;

  font-weight: 600;
}

/* =========================
   ACCENT
========================= */

.product-feature-accent {
  display: block;

  width: 82px;
  height: 8px;

  margin-top: auto;
  padding-top: 26px;

  position: relative;
}

.product-feature-accent::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 82px;
  height: 8px;

  border-radius: 999px;

  background: linear-gradient(90deg, #3772bc 0%, #00b2e9 100%);
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .product-feature-section {
    padding: 68px 0;
  }

  .product-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-feature-media {
    height: 290px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-feature-section {
    padding: 52px 0;
  }

  .product-feature-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-feature-header {
    margin-bottom: 24px;
  }

  .product-feature-header h2 {
    font-size: 2rem;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .product-feature-card {
    border-radius: 16px;
  }

  .product-feature-media {
    height: 270px;
  }

  .product-feature-content {
    padding: 24px 22px 22px;
  }

  .product-feature-content p {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

/* =========================
   PRODUCT FEATURE GRID
   VARIANTE 2 CARD
========================= */

.product-feature-grid.product-feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));

  max-width: 900px;
  margin-inline: auto;
}

/* MOBILE */

@media (max-width: 767.98px) {
  .product-feature-grid.product-feature-grid--two {
    grid-template-columns: 1fr;

    max-width: 100%;
  }
}

/* ! =========================
   PRODUCT OPERATING MODES
========================= */

.product-mode-section {
  padding: 80px 0;

  background: #ffffff;
}

.product-mode-wrapper {
  width: min(100% - 32px, 1320px);

  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.product-mode-header {
  max-width: 980px;

  margin: 0 auto 32px;

  text-align: center;
}

.product-mode-header h3 {
  margin: 0 0 18px;

  color: #717985;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

.product-mode-header p {
  max-width: 850px;

  margin: 0 auto;

  color: #4a5562;

  font-size: 1rem;
  line-height: 1.55;

  font-weight: 400;
}

/* =========================
   GRID
========================= */

.product-mode-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;

  align-items: stretch;
}

/* =========================
   CARD
========================= */

.product-mode-card {
  position: relative;

  min-width: 0;
  min-height: 340px;

  padding: 28px;

  border-radius: 18px;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: linear-gradient(145deg, #f7f9fb 0%, #eef3f7 100%);

  border: 1px solid rgba(15, 23, 42, 0.06);

  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.product-mode-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0, 178, 233, 0.2);

  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.11);
}

/* =========================
   NUMBER
========================= */

.product-mode-number {
  width: 64px;
  height: 64px;

  margin-bottom: 28px;

  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #3772bc 0%, #00b2e9 100%);

  color: #ffffff;

  font-size: 1.25rem;
  line-height: 1;

  font-weight: 900;

  letter-spacing: -0.03em;

  box-shadow: 0 12px 24px rgba(0, 178, 233, 0.2);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.product-mode-card:hover .product-mode-number {
  transform: translateY(-2px) scale(1.04);

  box-shadow: 0 16px 30px rgba(0, 178, 233, 0.28);
}

/* =========================
   CONTENT
========================= */

.product-mode-content {
  flex: 1;

  display: flex;
  flex-direction: column;
}

.product-mode-content p {
  margin: 0;

  color: #4a5562;

  font-size: 0.94rem;
  line-height: 1.58;

  font-weight: 400;
}

.product-mode-content strong,
.product-mode-content b {
  display: block;

  margin-bottom: 10px;

  color: #263444;

  font-size: 1.08rem;
  line-height: 1.25;

  font-weight: 900;
}

/* =========================
   DECORATIVE ACCENT
========================= */

.product-mode-card::after {
  content: "";

  position: absolute;

  right: -55px;
  bottom: -55px;

  width: 150px;
  height: 150px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0, 178, 233, 0.1) 0%,
    rgba(0, 178, 233, 0) 70%
  );

  pointer-events: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1099.98px) {
  .product-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-mode-card {
    min-height: 300px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-mode-section {
    padding: 52px 0;
  }

  .product-mode-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-mode-header {
    margin-bottom: 24px;
  }

  .product-mode-header h3 {
    font-size: 2rem;
  }

  .product-mode-header p {
    font-size: 0.94rem;
  }

  .product-mode-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .product-mode-card {
    min-height: 0;

    padding: 24px;

    border-radius: 16px;
  }

  .product-mode-number {
    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    border-radius: 14px;

    font-size: 1.15rem;
  }

  .product-mode-content p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

/* =========================
   PRODUCT MODE
   VARIANTE 3 CARD
========================= */

.product-mode-grid.product-mode-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));

  max-width: 1000px;
  margin-inline: auto;
}

/* TABLET */

@media (max-width: 1099.98px) {
  .product-mode-grid.product-mode-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: 100%;
  }

  .product-mode-grid.product-mode-grid--three .product-mode-card:last-child {
    grid-column: 1 / -1;

    width: calc((100% - 18px) / 2);

    justify-self: center;
  }
}

/* MOBILE */

@media (max-width: 767.98px) {
  .product-mode-grid.product-mode-grid--three {
    grid-template-columns: 1fr;
  }

  .product-mode-grid.product-mode-grid--three .product-mode-card:last-child {
    grid-column: auto;

    width: 100%;
  }
}

/* =========================
   PRODUCT MODE
   VARIANTE 6 CARD
========================= */

.product-mode-grid.product-mode-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* TABLET */

@media (max-width: 1099.98px) {
  .product-mode-grid.product-mode-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 767.98px) {
  .product-mode-grid.product-mode-grid--six {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PRODUCT MODE
   MODIFIER HEIGHT IMG CARD
========================= */
.product-feature-media img.product-feature-img--top {
  object-position: center top;
}

/* ! =========================
   PRODUCT LOADOUT
========================= */

.product-loadout-section {
  padding: 52px 0;
  background: #f0f1f3;
}

.product-loadout-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

.product-loadout-content {
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.product-loadout-content h3 {
  margin: 0 0 24px;

  color: #3772bc;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

.product-loadout-text {
  max-width: 940px;
  margin: 0 auto;

  color: #252a31;

  font-size: 1rem;
  line-height: 1.5;
}

.product-loadout-text p {
  margin: 0 0 18px;
}

.product-loadout-text p:last-child {
  margin-bottom: 0;
}

.product-loadout-text strong,
.product-loadout-text b {
  color: #15191e;
  font-weight: 900;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-loadout-section {
    padding: 42px 0;
  }

  .product-loadout-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-loadout-content h3 {
    margin-bottom: 20px;
    font-size: 2rem;
  }

  .product-loadout-text {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

/* ! =========================
   PRODUCT MODELS
========================= */

.product-models-section {
  padding: 80px 0;
  background: #f0f1f3;
}

.product-models-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.product-models-header {
  margin-bottom: 24px;
  text-align: center;
}

.product-models-header h2 {
  margin: 0;

  color: #1671d9;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

/* =========================
   MODEL SELECTOR
========================= */

.product-models-selector {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 32px;
}

.product-model-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 86px;

  padding: 10px 17px;

  border: 1px solid rgba(22, 113, 217, 0.14);
  border-radius: 999px;

  background: #ffffff;
  color: #3772bc;

  text-decoration: none;

  font-size: 0.85rem;
  line-height: 1;
  font-weight: 800;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.product-model-tab:hover {
  color: #ffffff;
  background: #3772bc;

  border-color: #3772bc;

  transform: translateY(-2px);
}

.product-model-tab.is-active {
  color: #ffffff;

  background: linear-gradient(90deg, #3772bc 0%, #00b2e9 100%);

  border-color: transparent;
}

/* =========================
   DYNAMIC CONTENT
========================= */

.product-model-dynamic-content {
  position: relative;

  width: 100%;

  min-height: 700px;

  transition: opacity 0.2s ease;
}

.product-model-dynamic-content.is-loading {
  opacity: 0.35;

  pointer-events: none;
}

/* Loader */

.product-model-loading {
  min-height: 400px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  color: #687786;

  font-size: 0.9rem;
  font-weight: 700;
}

.product-model-loading-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #00b2e9;

  animation: productModelPulse 0.7s ease-in-out infinite alternate;
}

@keyframes productModelPulse {
  from {
    opacity: 0.35;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ! =========================
   MODEL DETAIL
========================= */

.model-detail {
  width: 100%;
}

/* =========================
   GALLERY
========================= */

.model-gallery-splide {
  position: relative;

  max-width: 980px;

  margin: 0 auto;
}

.model-gallery-splide .splide__track {
  overflow: hidden;
}

.model-gallery-slide {
  width: 100%;
  height: 470px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.model-gallery-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;
}

/* =========================
   MODEL GALLERY ARROWS
========================= */

.model-gallery-splide {
  position: relative;
}

.model-gallery-splide .splide__arrows {
  pointer-events: none;
}

.model-gallery-splide .splide__arrow {
  pointer-events: auto;

  position: absolute;
  top: 50%;

  width: 54px;
  height: 54px;

  padding: 0;

  border: 2px solid rgba(191, 201, 214, 0.95);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.96);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1 !important;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);

  z-index: 20;

  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

/* Nasconde completamente l'icona SVG nativa */
.model-gallery-splide .splide__arrow svg {
  display: none !important;
}

/* Freccia custom */
.model-gallery-splide .splide__arrow::before {
  display: block;

  color: #3772bc;

  font-size: 2.35rem;
  line-height: 1;
  font-weight: 800;

  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

/* Prev */
.model-gallery-splide .splide__arrow--prev {
  left: 14px;

  transform: translateY(-50%);
}

.model-gallery-splide .splide__arrow--prev::before {
  content: "‹";

  transform: translate(-1px, -2px);
}

/* Next */
.model-gallery-splide .splide__arrow--next {
  right: 14px;

  transform: translateY(-50%);
}

.model-gallery-splide .splide__arrow--next::before {
  content: "›";

  transform: translate(1px, -2px);
}

/* Hover */
.model-gallery-splide .splide__arrow:hover:not(:disabled) {
  background: #ffffff;

  border-color: rgba(0, 178, 233, 0.5);

  transform: translateY(-50%) scale(1.06);

  box-shadow: 0 14px 30px rgba(0, 178, 233, 0.2);
}

.model-gallery-splide .splide__arrow:hover::before {
  color: #00b2e9;
}

/* Disabled */
.model-gallery-splide .splide__arrow:disabled {
  opacity: 0.4 !important;

  cursor: not-allowed;
}

/* =========================
   SPLIDE PAGINATION
========================= */

.model-gallery-splide .splide__pagination {
  bottom: 4px;

  gap: 4px;
}

.model-gallery-splide .splide__pagination__page {
  width: 10px;
  height: 10px;

  margin: 3px;

  opacity: 1;

  background: #969696;

  transform: none;
}

.model-gallery-splide .splide__pagination__page.is-active {
  background: #1671d9;

  transform: scale(1.05);
}

/* =========================
   MODEL INTRO
========================= */

.model-detail-intro {
  max-width: 850px;

  margin: 16px auto 28px;

  text-align: center;
}

.model-detail-intro h3 {
  margin: 0 0 10px;

  color: #1671d9;

  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

.model-detail-subtitle {
  margin-bottom: 8px;

  color: #252a31;

  font-size: 0.92rem;
  line-height: 1.4;

  font-weight: 500;
}

.model-detail-description {
  color: #252a31;

  font-size: 0.92rem;
  line-height: 1.45;
}

.model-detail-description p {
  margin: 0;
}

/* =========================
   TECHNICAL TABLE
========================= */

.model-tech-table {
  width: min(100%, 900px);

  margin: 0 auto;
}

.model-tech-row {
  display: grid;

  grid-template-columns:
    minmax(190px, 0.95fr)
    minmax(0, 2.05fr);

  border-bottom: 1px solid #3772bc;
}

.model-tech-row > div {
  min-width: 0;

  padding: 7px 10px;

  color: #263444;

  font-size: 0.88rem;
  line-height: 1.35;
}

/* Vertical separator */

.model-tech-row > div:first-child {
  border-right: 1px solid #3772bc;
}

/* Heading */

.model-tech-heading {
  border-bottom: 2px solid #3772bc;
}

.model-tech-heading > div {
  color: #1671d9;

  font-weight: 900;
}

/* Table label */

.model-tech-label {
  font-weight: 500;
}

/* Value */

.model-tech-value {
  font-weight: 400;
}

.model-tech-value p {
  margin: 0;
}

/* =========================
   STANDALONE MODEL PAGE
========================= */

.model-single-section {
  padding: 120px 0 80px;

  background: #f0f1f3;
}

.model-single-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .product-models-section {
    padding: 68px 0;
  }

  .model-gallery-slide {
    height: 420px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-models-section {
    padding: 52px 0;
  }

  .product-models-wrapper {
    width: min(100% - 24px, 1320px);
  }

  /* Header */

  .product-models-header h2 {
    font-size: 2rem;
  }

  /* Selector */

  .product-models-selector {
    justify-content: flex-start;

    flex-wrap: nowrap;

    margin-right: -12px;
    margin-left: -12px;

    padding: 0 12px 8px;

    overflow-x: auto;

    scrollbar-width: none;
  }

  .product-models-selector::-webkit-scrollbar {
    display: none;
  }

  .product-model-tab {
    flex: 0 0 auto;

    min-width: 82px;
  }

  /* Gallery */

  .model-gallery-splide .splide__arrow {
    width: 44px;
    height: 44px;
  }

  .model-gallery-splide .splide__arrow::before {
    font-size: 2rem;
  }

  .model-gallery-splide .splide__arrow--prev {
    left: 6px;
  }

  .model-gallery-splide .splide__arrow--next {
    right: 6px;
  }

  /* Intro */

  .model-detail-intro {
    margin-top: 14px;
  }

  .model-detail-intro h3 {
    font-size: 2.2rem;
  }

  /* Technical table */

  .model-tech-row {
    grid-template-columns:
      minmax(125px, 0.9fr)
      minmax(0, 1.6fr);
  }

  .model-tech-row > div {
    padding: 7px 8px;

    font-size: 0.78rem;
  }
}

/* ! =========================
   TECHNICAL RESOURCES
========================= */

.technical-resources-section {
  padding: 80px 0;

  /* Bianco sporco */
  background: #f7f7f5;
}

.technical-resources-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.technical-resources-header {
  max-width: 900px;
  margin: 0 auto 36px;

  text-align: center;
}

.technical-resources-header h2 {
  margin: 0;

  color: #3772bc;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

.technical-resources-header p {
  margin: 16px 0 0;

  color: #252a31;

  font-size: 1rem;
  line-height: 1.45;
}

/* =========================
   GRID
========================= */

.technical-resources-grid {
  max-width: 1050px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  /*
   * IMPORTANTE:
   * evita che tutte le card vengano
   * stirate alla stessa altezza.
   */
  align-items: start;
}

/* =========================
   CARD
========================= */

.technical-resource-card {
  width: 100%;

  height: auto;
  min-height: 0;

  padding: 28px 24px 22px;

  border-radius: 14px;

  background: linear-gradient(180deg, #477cba 0%, #344f73 55%, #273846 100%);

  color: #ffffff;

  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.12);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.technical-resource-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.22);
}

/*
 * Non usiamo più height:100%;
 * perché forzerebbe la struttura interna.
 */
.technical-resource-content {
  width: 100%;

  display: flex;
  flex-direction: column;

  text-align: center;
}

/* =========================
   TECHNICAL RESOURCES
   VARIANTE 2 CARD
========================= */

.technical-resources-grid.technical-resources-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));

  /*
   * Manteniamo circa la stessa larghezza
   * delle card della versione a 3 colonne
   */
  max-width: 700px;

  margin-inline: auto;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .technical-resources-grid.technical-resources-grid--two {
    grid-template-columns: 1fr;

    max-width: 100%;
  }
}

/* =========================
   TYPOGRAPHY
========================= */

.technical-resource-content h3 {
  margin: 0 0 20px;

  color: #ffffff;

  font-size: 1.25rem;
  line-height: 1.15;

  font-weight: 900;
  letter-spacing: -0.035em;
}

.technical-resource-content > p {
  margin: 0 auto;

  max-width: 280px;

  color: rgba(255, 255, 255, 0.94);

  font-size: 0.88rem;
  line-height: 1.42;
}

.technical-resource-content > p strong,
.technical-resource-content > p b {
  color: #ffffff;

  font-weight: 900;
}

/* =========================
   ICON
========================= */

.technical-resource-icon {
  width: 82px;
  height: 82px;

  margin: 26px auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.72);

  font-size: 4rem;
  line-height: 1;
}

/* =========================
   FOOTER / CTA
========================= */

.technical-resource-footer {
  margin-top: 26px;
}

.technical-resource-btn {
  min-height: 44px;

  padding: 0 18px;

  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(90deg, #00b2e9 0%, #3772bc 100%);

  color: #ffffff;

  text-decoration: none;

  font-size: 0.78rem;
  line-height: 1.15;

  font-weight: 900;

  box-shadow: 0 10px 22px rgba(0, 178, 233, 0.2);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.technical-resource-btn:hover {
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 14px 28px rgba(0, 178, 233, 0.3);
}

/* ! =========================
   TECHNICAL RESOURCE FORM
========================= */

.technical-resources-form {
  width: 100%;

  margin-top: 22px;
}

/* Override esclusivamente Angie Form
   dentro questa sezione */
.technical-resources-form form.angieform {
  position: relative;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  color: #ffffff !important;

  box-shadow: none !important;
}

/* =========================
   FORM WRAPPERS
========================= */

.technical-resources-form form.angieform > p,
.technical-resources-form form.angieform .form-group,
.technical-resources-form form.angieform .field-wrapper {
  margin: 0 0 8px !important;
}

/* =========================
   LABELS STANDARD
========================= */

/*
 * Nascondiamo le label normali perché
 * utilizziamo i placeholder.
 */
.technical-resources-form form.angieform label {
  display: none;
}

/* =========================
   PRIVACY LABEL
========================= */

/*
 * Riattiviamo però esplicitamente
 * la label della checkbox privacy.
 */
.technical-resources-form form.angieform .form-check label,
.technical-resources-form form.angieform .form-check-label,
.technical-resources-form form.angieform input[type="checkbox"] + label {
  display: inline !important;

  width: auto;

  margin: 0 !important;

  color: rgba(255, 255, 255, 0.92) !important;

  font-size: 0.7rem;
  line-height: 1.35;

  font-weight: 400;

  text-align: left;
}

/* Privacy link */
.technical-resources-form form.angieform .form-check a,
.technical-resources-form form.angieform input[type="checkbox"] + label a {
  color: #ffffff;

  text-decoration: underline;
}

/* =========================
   INPUTS
========================= */

.technical-resources-form
  form.angieform
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.technical-resources-form form.angieform select,
.technical-resources-form form.angieform textarea,
.technical-resources-form form.angieform .form-control {
  display: block;

  width: 100% !important;
  max-width: none !important;

  min-height: 36px;

  margin: 0 !important;
  padding: 7px 11px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;

  background: rgba(255, 255, 255, 0.82) !important;

  color: #263444;

  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.2;

  box-shadow: none;

  box-sizing: border-box;
}

/* Placeholder */

.technical-resources-form form.angieform input::placeholder,
.technical-resources-form form.angieform textarea::placeholder {
  color: #4b5561;

  opacity: 1;
}

/* Focus */

.technical-resources-form form.angieform input:focus,
.technical-resources-form form.angieform select:focus,
.technical-resources-form form.angieform textarea:focus {
  border-color: #00b2e9;

  outline: none;

  box-shadow: 0 0 0 3px rgba(0, 178, 233, 0.18);
}

/* =========================
   PRIVACY CHECKBOX
========================= */

.technical-resources-form form.angieform .form-check {
  margin: 10px 0 12px !important;

  display: flex;
  align-items: flex-start;

  gap: 7px;

  text-align: left;
}

.technical-resources-form form.angieform input[type="checkbox"] {
  flex: 0 0 16px;

  width: 16px !important;
  height: 16px;

  margin: 1px 0 0 !important;

  accent-color: #00b2e9;

  cursor: pointer;
}

/* =========================
   SUBMIT
========================= */

.technical-resources-form form.angieform button[type="submit"],
.technical-resources-form form.angieform input[type="submit"],
.technical-resources-form form.angieform .btn-primary {
  width: 100% !important;
  min-height: 40px;

  margin-top: 8px !important;
  padding: 0 14px;

  border: 0 !important;
  border-radius: 9px;

  background: linear-gradient(90deg, #00b2e9 0%, #3772bc 100%) !important;

  color: #ffffff !important;

  font-size: 0.76rem;

  font-weight: 900;

  text-transform: uppercase;

  cursor: pointer;
}

/* =========================
   REQUIRED FIELDS NOTE
========================= */

.technical-resources-form > p:last-child {
  margin-top: 6px !important;

  color: rgba(255, 255, 255, 0.58) !important;

  font-size: 0.58rem !important;
  letter-spacing: 0.02em;

  text-align: right !important;
}

/* ! =========================
   PRODUCT MODEL SELECT
   OVERRIDE FINALE
========================= */

.technical-resources-form form.angieform select#id_seleziona-modello {
  display: block !important;

  width: 100% !important;
  max-width: none !important;

  height: 36px !important;
  min-height: 36px !important;

  margin: 0 !important;

  padding: 0 42px 0 12px !important;

  border: 1px solid rgba(255, 255, 255, 0.3) !important;

  border-radius: 7px !important;

  color: #52606d !important;

  font-size: 0.78rem !important;
  line-height: 36px !important;

  cursor: pointer;

  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  background-color: rgba(241, 245, 249, 0.96) !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352606d' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;

  background-repeat: no-repeat !important;

  background-position: right 13px center !important;

  background-size: 14px 14px !important;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* HOVER */

.technical-resources-form form.angieform select#id_seleziona-modello:hover {
  border-color: rgba(0, 178, 233, 0.6) !important;

  background-color: #ffffff !important;
}

/* FOCUS */

.technical-resources-form form.angieform select#id_seleziona-modello:focus {
  outline: none !important;

  border-color: #00b2e9 !important;

  background-color: #ffffff !important;

  box-shadow: 0 0 0 3px rgba(0, 178, 233, 0.15) !important;
}

/* OPTIONS */

.technical-resources-form form.angieform select#id_seleziona-modello option {
  background: #ffffff !important;

  color: #263444 !important;

  font-size: 0.82rem !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
  .technical-resources-section {
    padding: 68px 0;
  }

  .technical-resources-grid {
    grid-template-columns: 1fr;

    max-width: 580px;
  }

  .technical-resource-card {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .technical-resources-section {
    padding: 52px 0;
  }

  .technical-resources-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .technical-resources-header {
    margin-bottom: 28px;
  }

  .technical-resources-header h2 {
    font-size: 2rem;
  }

  .technical-resources-header p {
    font-size: 0.94rem;
  }

  .technical-resource-card {
    height: auto;
    min-height: 0;

    padding: 26px 20px 22px;
  }
}

/* ! =========================
   PRODUCT DETAIL PRESS
========================= */

.product-detail-press-section {
  padding: 80px 0;

  background: #f7f7f5;
}

.product-detail-press-wrapper {
  width: min(100% - 32px, 1320px);

  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.product-detail-press-header {
  margin-bottom: 30px;

  text-align: center;
}

.product-detail-press-header h3 {
  margin: 0;

  color: #717985;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;

  letter-spacing: -0.05em;
}

/* =========================
   GRID
========================= */

.product-detail-press-grid {
  max-width: 1100px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  align-items: stretch;
}

/* =========================
   CARD
========================= */

.product-detail-press-card {
  position: relative;

  min-width: 0;

  padding: 30px;

  border-radius: 18px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(15, 23, 42, 0.07);

  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.product-detail-press-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0, 178, 233, 0.2);

  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
}

/* Accent */

.product-detail-press-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, #3772bc 0%, #00b2e9 100%);
}

/* =========================
   CONTENT
========================= */

.product-detail-press-content {
  min-height: 100%;

  display: flex;
  flex-direction: column;
}

/* =========================
   SOURCE
========================= */

.product-detail-press-source {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-bottom: 22px;

  padding: 7px 11px;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(55, 114, 188, 0.1) 0%,
    rgba(0, 178, 233, 0.1) 100%
  );

  color: #1671d9;

  font-size: 0.73rem;
  line-height: 1;

  font-weight: 900;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

/* =========================
   QUOTE
========================= */

.product-detail-press-content blockquote {
  position: relative;

  margin: 0 0 28px;

  padding: 0;

  color: #263444;

  font-size: 1.14rem;
  line-height: 1.5;

  font-weight: 650;
  font-style: italic;

  letter-spacing: -0.015em;
}

/* Decorative quote */

.product-detail-press-content blockquote::before {
  content: "“";

  display: block;

  height: 34px;

  margin-bottom: 5px;

  color: #00b2e9;

  font-size: 3.5rem;
  line-height: 1;

  font-weight: 900;

  font-style: normal;
}

/* =========================
   CTA
========================= */

.product-detail-press-link {
  width: fit-content;
  max-width: 100%;

  margin-top: auto;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: #263444;

  font-size: 0.78rem;
  line-height: 1.3;

  font-weight: 900;

  letter-spacing: 0.025em;

  text-transform: uppercase;

  text-decoration: none;

  transition: color 0.22s ease;
}

.product-detail-press-link span {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #3772bc 0%, #00b2e9 100%);

  color: #ffffff;

  font-size: 0.95rem;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.product-detail-press-link:hover {
  color: #00a6d6;
}

.product-detail-press-link:hover span {
  transform: translate(2px, -2px);

  box-shadow: 0 8px 18px rgba(0, 178, 233, 0.24);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .product-detail-press-section {
    padding: 52px 0;
  }

  .product-detail-press-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .product-detail-press-header {
    margin-bottom: 24px;
  }

  .product-detail-press-header h3 {
    font-size: 2rem;
  }

  .product-detail-press-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .product-detail-press-card {
    padding: 26px 22px;

    border-radius: 16px;
  }

  .product-detail-press-content blockquote {
    font-size: 1.04rem;
    line-height: 1.5;
  }

  .product-detail-press-link {
    font-size: 0.73rem;
  }
}
