/* Outlet Videos: carosello a scorrimento (CSS puro, scroll-snap) di video o immagini. Colori neutri bianco/nero.
   --ov-ratio (forma delle schede) arriva dallo shortcode. */

.outlet-videos { max-width: 1140px; margin: 32px auto; }
.outlet-videos__title {
  margin: 0 16px 16px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #111;
}

.outlet-videos__track {
  position: relative; /* offsetLeft delle schede misurato da qui (outlet-videos.js) */
  display: flex;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.outlet-videos__track::-webkit-scrollbar { display: none; }
/* Se le schede entrano tutte nello schermo restano centrate; se no scorrono normalmente. */
.outlet-videos__card:first-child { margin-left: auto; }
.outlet-videos__card:last-child { margin-right: auto; }

.outlet-videos__card {
  position: relative;
  flex: 0 0 min(68vw, 300px);
  margin: 0;
  aspect-ratio: var(--ov-ratio, 9 / 16);
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  background: linear-gradient(160deg, #e9e9e9, #cfcfcf);
}
.outlet-videos__card video,
.outlet-videos__card img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.outlet-videos__card video { cursor: pointer; }
.outlet-videos__link { display: block; height: 100%; }

.outlet-videos__cta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 68px);
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.outlet-videos__cta:hover { background: #111; color: #fff; }

.outlet-videos__sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.65);
  color: #fff;
  cursor: pointer;
}
.outlet-videos__sound svg { width: 18px; height: 18px; }
.outlet-videos__ic-on,
.outlet-videos__card.has-sound .outlet-videos__ic-off { display: none; }
.outlet-videos__card.has-sound .outlet-videos__ic-on { display: block; }

/* Pallini piccoli. I temi stilano tutti i <button> (altezza minima, padding, ombra): qui si azzera tutto. */
.outlet-videos__dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; line-height: 0; }
.outlet-videos__dots button {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  box-sizing: border-box;
  width: 6px !important;
  height: 6px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #d3d3d3 !important;
  box-shadow: none !important;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.outlet-videos__dots .is-on { background: #111 !important; }
.outlet-videos__dots:empty { display: none; }

@media (min-width: 768px) {
  .outlet-videos__card { flex-basis: 260px; }
  .outlet-videos__track { padding: 0 24px; }
}
