/* 04-panels-footer.css */
.rp-menu-small strong {
  grid-column: 1 / -1;
  color: var(--rp-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.rp-menu-small a { color: var(--rp-muted); font-size: 13px; font-weight: 750; }

.rp-panel-enter,
.rp-panel-leave { transition: transform .42s var(--rp-ease), opacity .28s ease; }
.rp-panel-enter-start-right,
.rp-panel-leave-end-right { opacity: 0; transform: translateX(22px) scale(.985); }
.rp-panel-enter-start-bottom,
.rp-panel-leave-end-bottom { opacity: 0; transform: translateY(28px) scale(.985); }
.rp-panel-enter-end,
.rp-panel-leave-start { opacity: 1; transform: translate(0, 0) scale(1); }

.rp-js .rp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s var(--rp-ease);
}

.rp-js .rp-reveal.is-visible { opacity: 1; transform: translateY(0); }


@media (min-width: 760px) {
  .rp-brand img { width: 230px; max-height: 58px; }
  :root { --rp-header-h: 86px; }
  .rp-nav-actions { gap: 6px; }
  .rp-home-minimal-hero__inner { padding-right: min(42vw, 520px); }
  .rp-home-system__items { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rp-line); }
  .rp-home-system__items a { grid-template-columns: 1fr; align-content: start; min-height: 230px; border-bottom: 0; border-right: 1px solid var(--rp-line); padding: 24px 26px 24px 0; }
  .rp-home-system__items a:last-child { border-right: 0; padding-right: 0; padding-left: 26px; }
  .rp-home-system__items a:nth-child(2) { padding-left: 26px; }
  .rp-home-system__items em { grid-column: auto; }
  .rp-home-object-focus__grid { grid-template-columns: .9fr 1.1fr; }
  .rp-home-hero { padding-inline: 32px; }
  .rp-home-hero__image { inset: calc(var(--rp-header-h) + 22px) 4% 16% 48%; }
  .rp-home-hero__image img { width: min(42vw, 620px); border-radius: 54px; }
  .rp-home-hero__copy { margin-left: max(16px, calc((100vw - var(--rp-container)) / 2)); margin-right: auto; }
  .rp-product-chapter { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(34px, 7vw, 90px); }
  .rp-product-chapter--reverse { grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); }
  .rp-product-chapter--reverse .rp-product-chapter__image { order: 2; }
  .rp-season__grid { grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 110px); }
  .rp-product-index { grid-template-columns: .7fr 1.3fr; gap: clamp(34px, 7vw, 90px); }
  .rp-category-cover { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .rp-category-cover__image img { aspect-ratio: 1 / 1; }
  .rp-story-grid section { grid-template-columns: 90px minmax(220px, 380px) minmax(0, 720px); align-items: start; }
  .rp-checkout-layout { grid-template-columns: minmax(0, 1fr) 390px; }
  .rp-checkout-intro { grid-column: 1 / -1; }
  .rp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-cart-panel { left: auto; right: 16px; width: min(440px, calc(100vw - 32px)); }
}

@media (max-width: 520px) {
  .rp-nav { width: calc(100% - 22px); }
  .rp-brand img { width: 142px; }
  .rp-icon-btn { width: 39px; height: 39px; }
  .rp-home-minimal-hero { align-items: end; padding-bottom: 40px; }
  .rp-home-minimal-hero__object { width: min(58vw, 260px); right: 16px; top: calc(var(--rp-header-h) + 50px); }
  .rp-home-minimal-hero__object span { display: none; }
  .rp-home-minimal-hero h1 { font-size: clamp(64px, 19vw, 92px); }
  .rp-home-minimal-hero p { font-size: 19px; max-width: 94%; }
  .rp-home-system { min-height: auto; }
  .rp-home-system__items a { grid-template-columns: 34px 1fr; }
  .rp-home-system__items em { grid-column: 2; }
  .rp-home-product-row { grid-template-columns: 34px 1fr 72px; min-height: 126px; }
  .rp-home-product-row strong { grid-column: 2; }
  .rp-home-product-row em { grid-column: 2; font-size: 15px; }
  .rp-home-product-row b { grid-column: 2; }
  .rp-home-product-row figure { grid-column: 3; grid-row: 1 / span 3; width: 72px; height: 72px; border-radius: 20px; }
  .rp-home-object-focus__image img { aspect-ratio: 1; }
  .rp-home-hero { padding-bottom: 36px; }
  .rp-home-hero__image { inset: calc(var(--rp-header-h) + 4px) 0 38%; }
  .rp-home-hero__image img { width: min(84vw, 420px); border-radius: 32px; }
  .rp-home-hero h1 { font-size: clamp(47px, 16vw, 78px); }
  .rp-home-hero p { font-size: 19px; }
  .rp-manifesto { min-height: auto; }
  .rp-season__images { grid-template-columns: 1fr; }
  .rp-product-visual { height: 72svh; min-height: 560px; }
  .rp-product-intro h1 { font-size: clamp(54px, 17vw, 92px); }
  .rp-buy-bar form { grid-template-columns: 1fr auto; border-radius: 28px; }
  .rp-buy-bar__title { grid-column: 1 / -1; padding: 4px 12px 0; }
  .rp-buy-bar .rp-btn { min-height: 46px; padding-inline: 18px; }
  .rp-menu-panel { border-radius: 28px; }
  .rp-menu-small { grid-template-columns: 1fr; }
  .rp-summary-row,
  .rp-cart-item { grid-template-columns: 50px 1fr; }
  .rp-summary-row b,
  .rp-cart-item b { grid-column: 2; }
}

/* Home V5 — testata editoriale + carosello Apple */
.rp-header--home .rp-brand {
  opacity: 0;
  pointer-events: none;
}

.rp-home-v5 {
  background: #fff;
  overflow: hidden;
}

.rp-hero-statement {
  min-height: 100svh;
  padding: calc(var(--rp-header-h) + 12px) 0 clamp(54px, 7vw, 96px);
  background: #fff;
  display: grid;
  align-content: start;
  gap: clamp(26px, 5vw, 64px);
}

.rp-hero-statement__logo a {
  display: inline-flex;
  width: fit-content;
}

.rp-hero-statement__logo img {
  width: clamp(168px, 24vw, 310px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.rp-hero-statement__grid {
  display: grid;
  align-items: center;
  gap: clamp(32px, 7vw, 108px);
}

.rp-hero-statement__copy {
  display: grid;
  justify-items: start;
  gap: clamp(15px, 2.4vw, 22px);
}

.rp-hero-statement h1,
.rp-featured-product h2,
.rp-apple-carousel-head h2,
.rp-corporate-black h2 {
  margin: 0;
  color: var(--rp-ink);
  line-height: .9;
  letter-spacing: -.085em;
}

.rp-hero-statement h1 {
  max-width: 980px;
  font-size: clamp(58px, 14vw, 164px);
}

.rp-hero-statement p {
  max-width: 620px;
  margin: 0;
  color: var(--rp-ink);
  font-size: clamp(20px, 3.2vw, 32px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.rp-hero-statement__image {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(34px, 5vw, 72px);
}

.rp-hero-statement__image img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
}

.rp-featured-product {
  padding: clamp(76px, 12vw, 170px) 0;
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.rp-featured-product__image {
  display: block;
  overflow: hidden;
  border-radius: clamp(32px, 5vw, 64px);
}

.rp-featured-product__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .8s var(--rp-ease);
}

.rp-featured-product__image:hover img { transform: scale(1.025); }

.rp-featured-product__copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.rp-featured-product h2 {
  font-size: clamp(56px, 12vw, 138px);
}

.rp-featured-product p {
  max-width: 570px;
  margin: 0;
  color: var(--rp-ink);
}
