/* Homepage cinema hero + product showcase */
.rv-home--cinema {
  background: #0f0e0c;
}

.rv-home-cinema {
  position: relative;
  min-height: max(34rem, 92svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  color: #fff8e8;
}

.rv-home-cinema__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rv-home-cinema__slide {
  position: absolute;
  inset: -4%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.15) 0%, rgba(15, 14, 12, 0.72) 55%, rgba(15, 14, 12, 0.96) 100%),
    var(--cinema-img) center 22% / cover no-repeat;
}

.rv-home-cinema__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.rv-home-cinema__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 14, 12, 0.92) 0%, rgba(15, 14, 12, 0.45) 48%, rgba(15, 14, 12, 0.2) 100%),
    radial-gradient(circle at 82% 18%, rgba(197, 160, 89, 0.22), transparent 42%);
  pointer-events: none;
}

.rv-home-cinema__grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.rv-home-cinema__inner {
  position: relative;
  z-index: 10;
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.rv-home-cinema__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rv-gold, #c5a059);
  font-weight: 700;
}

.rv-home-cinema__title {
  margin: 0;
  max-width: 11ch;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.rv-home-cinema__sub {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 248, 232, 0.82);
}

.rv-home-cinema__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rv-home-cinema__cta {
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rv-home-cinema__cta-ghost {
  border-color: rgba(255, 248, 232, 0.35);
  color: #fff8e8;
}

.rv-home-cinema__search-wrap {
  position: relative;
  max-width: 34rem;
  margin-top: 1.35rem;
}

.rv-home-cinema__search-wrap .rv-search-suggest--home {
  z-index: 40;
  max-height: min(20rem, 48vh);
}

.rv-home-cinema--search-open .rv-home-cinema__controls {
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}

.rv-home-cinema__search {
  display: flex;
  gap: 0.5rem;
  max-width: 34rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(15, 14, 12, 0.55);
  backdrop-filter: blur(14px);
}

.rv-home-cinema__search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.75rem;
  margin: 0;
}

.rv-home-cinema__search-field svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.rv-home-cinema__search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff8e8;
  font: inherit;
  outline: none;
  min-height: 2.6rem;
}

.rv-home-cinema__search-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  background: var(--rv-gold, #c5a059);
  color: #14120f;
  font-weight: 700;
  cursor: pointer;
}

.rv-home-cinema__spot-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 18, 15, 0.72);
  backdrop-filter: blur(18px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.rv-home-cinema__spot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 160, 89, 0.45);
}

.rv-home-cinema__spot-media {
  border-radius: 0.85rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #1a1814;
}

.rv-home-cinema__spot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-home-cinema__spot-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}

.rv-home-cinema__spot-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-gold, #c5a059);
  font-weight: 700;
}

.rv-home-cinema__spot-brand {
  font-size: 0.78rem;
  color: rgba(255, 248, 232, 0.65);
}

.rv-home-cinema__spot-title {
  font-size: 1rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-home-cinema__spot-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rv-gold, #c5a059);
}

.rv-home-cinema__spot-cta {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(255, 248, 232, 0.75);
}

.rv-home-cinema__controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  width: min(76rem, 100%);
  margin: 0 auto;
}

.rv-home-cinema__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.rv-home-cinema__dot {
  width: 2.4rem;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.rv-home-cinema__dot.is-active {
  background: var(--rv-gold, #c5a059);
  transform: scaleX(1.15);
}

.rv-home-cinema__hint {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 232, 0.45);
}

/* Shop showcase */
.rv-home-shop {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(197, 160, 89, 0.12), transparent 28rem),
    linear-gradient(180deg, #0f0e0c 0%, #14120f 72%, #1a1814 100%);
  color: #fff8e8;
}

.rv-home-shop__marquee {
  overflow: hidden;
  margin-bottom: 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rv-home-shop__marquee-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: rv-home-marquee 42s linear infinite;
}

.rv-home-shop__marquee-item {
  width: 5.5rem;
  height: 7rem;
  border-radius: 0.65rem;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: saturate(0.85);
}

@keyframes rv-home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.rv-home-shop__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.rv-home-shop__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rv-home-shop__head--center .rv-home-shop__lead {
  margin-left: auto;
  margin-right: auto;
}

.rv-home-shop__cta {
  margin-top: 0.35rem;
}

.rv-home-audience-cta {
  width: 100%;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* SEO hub: bottone delicato sulla card gold (homepage) */
.rv-seo-hub-grid .rv-new-card--gold .rv-btn-ghost {
  align-self: center;
  padding: 0.62rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  border-width: 1px;
  border-color: rgba(255, 248, 232, 0.45);
  color: rgba(255, 248, 232, 0.92);
  background: rgba(255, 248, 232, 0.08);
  box-shadow: none;
}

.rv-seo-hub-grid .rv-new-card--gold .rv-btn-ghost:hover {
  border-color: rgba(255, 248, 232, 0.72);
  color: #fff8e8;
  background: rgba(255, 248, 232, 0.14);
}

.rv-home-shop__lead {
  max-width: 36rem;
  margin-top: 0.5rem;
  color: rgba(255, 248, 232, 0.78);
}

.rv-home-shop__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.rv-home-shop__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.rv-home-shop__editorial {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-height: 8rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rv-home-shop__editorial-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rv-gold, #c5a059);
  font-weight: 700;
}

.rv-home-shop__editorial-brand {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 248, 232, 0.58);
}

.rv-home-shop__editorial-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.2;
  color: #fff8e8;
}

.rv-home-shop__editorial-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 248, 232, 0.78);
}

.rv-home-shop__editorial-link {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rv-gold, #c5a059);
  text-decoration: none;
}

.rv-home-shop__editorial-link:hover {
  text-decoration: underline;
}

.rv-home-card--feature {
  height: 100%;
}

.rv-home-card--feature .rv-home-card__link {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rv-home-card--feature .rv-home-card__media {
  flex: 1;
  min-height: 14rem;
  aspect-ratio: auto;
}

.rv-home-card {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff8e8;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rv-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.38);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rv-home-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rv-home-card__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1814;
}

.rv-home-card--feature .rv-home-card__media {
  aspect-ratio: 16/11;
}

.rv-home-card--side .rv-home-card__media {
  aspect-ratio: 16/10;
}

.rv-home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rv-home-card:hover .rv-home-card__media img {
  transform: scale(1.04);
}

.rv-home-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--rv-gold, #c5a059);
  color: #14120f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-home-card__soldout {
  position: absolute;
  inset: auto 0.65rem 0.65rem 0.65rem;
  text-align: center;
  padding: 0.35rem;
  border-radius: 0.5rem;
  background: rgba(15, 14, 12, 0.82);
  font-size: 0.78rem;
}

.rv-home-card__hover {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 0.85rem 0.75rem 0.7rem;
  border-radius: 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff8e8;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 14, 12, 0.55) 35%, rgba(15, 14, 12, 0.92) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.rv-home-card:hover .rv-home-card__hover {
  opacity: 1;
  transform: translateY(0);
}

.rv-home-card__info {
  padding: 0.85rem 0.95rem 1rem;
  background: rgba(15, 14, 12, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rv-home-card__brand {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 232, 0.62);
  margin-bottom: 0.2rem;
}

.rv-home-card__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #fff8e8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-home-card__price {
  margin: 0.35rem 0 0;
  font-weight: 700;
  color: var(--rv-gold, #c5a059);
}

.rv-home-shop__rail-wrap {
  margin-top: 0.5rem;
}

.rv-home-shop__rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.rv-home-shop__rail-title {
  margin: 0;
  font-size: 1.1rem;
}

.rv-home-shop__rail-link {
  color: var(--rv-gold, #c5a059);
  text-decoration: none;
  font-size: 0.88rem;
}

.rv-home-shop__rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rv-home-shop__rail .rv-home-card {
  flex: 0 0 min(14rem, 72vw);
  scroll-snap-align: start;
}

.rv-home-shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.rv-home--cinema .rv-section:not(.rv-home-shop):not(.rv-new-flow):not(.rv-new-channels) {
  background: #f4f0e8;
  color: var(--rv-cream, #14120f);
}

/* Sezione "Dal catalogo alla consegna" — testo scuro su sfondo chiaro */
.rv-home--cinema .rv-new-flow {
  background: #f4f0e8;
  color: var(--rv-cream, #14120f);
}

.rv-home--cinema .rv-new-flow .rv-h2,
.rv-home--cinema .rv-new-flow .rv-kicker {
  color: var(--rv-cream, #14120f);
}

.rv-home--cinema .rv-new-flow-grid > div {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(197, 160, 89, 0.22);
  box-shadow: 0 12px 36px rgba(20, 18, 15, 0.08);
}

.rv-home--cinema .rv-new-flow-grid p {
  color: var(--rv-muted, #6b645a);
}

.rv-home--cinema .rv-new-flow-grid span {
  background: var(--rv-gold, #c5a059);
  color: #14120f;
}

@media (max-width: 900px) {
  .rv-home-cinema__inner {
    grid-template-columns: 1fr;
  }

  .rv-home-cinema__spot-card {
    max-width: 24rem;
  }

  .rv-home-shop__hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-home-cinema__slide {
    transition: opacity 0.5s ease;
    transform: none !important;
  }

  .rv-home-shop__marquee-track {
    animation: none;
  }
}
