.linea-home-hero { position: relative; background: #312783; }
.linea-home-hero picture, .linea-home-hero picture img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.linea-home-hero .container { position: relative; }
.linea-home-hero .heading { text-shadow: 0 2px 14px #20194e; }
.linea-page-heading {
  background: linear-gradient(125deg, #211855, #312783 65%, #4838a3);
  padding: clamp(9.5rem, 20vw, 14rem) 0 3.5rem;
  text-align: center;
}
.linea-page-heading h1 { color: white; font-size: clamp(2.15rem, 5vw, 3.75rem); margin: 0; }
.linea-content { padding-top: 3.5rem; padding-bottom: 4.5rem; color: #464254; }
.linea-policy { max-width: 860px; }
.linea-policy h2 { font-size: 1.65rem; margin-top: 2rem; }
.linea-policy dd { margin: .25rem 0 1.25rem; }
.linea-policy a:not(.btn) { color: #312783; text-decoration: underline; }
.linea-error { text-align: center; }
.linea-error-code { color: #312783; font: 700 clamp(4rem, 13vw, 7rem)/1 "Playfair Display", Georgia, serif; }
.linea-action, .linea-action:hover, .linea-action:focus {
  background: #312783; color: #fff; padding: .8rem 1.15rem; border-radius: .4rem; letter-spacing: .07em;
}
.linea-action:hover { background: #211855; }
.linea-promo {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid #e6e1f4; border-radius: .8rem; color: #312783;
  background: white; box-shadow: 0 5px 16px #2118550d;
}
.linea-promo:hover { border-color: #786bbd; color: #312783; box-shadow: 0 9px 22px #21185522; }
.linea-promo img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f7f6fb; }
.linea-promo-copy { padding: .9rem 1rem; display: flex; flex: 1; flex-direction: column; gap: .55rem; }
.linea-promo-copy strong { font-weight: 700; line-height: 1.45; }
.linea-promo-copy > span { margin-top: auto; font-size: .85rem; font-weight: 600; }
.linea-cookie[hidden] { display: none; }
.linea-cookie {
  position: fixed; z-index: 11000; right: 1.25rem; bottom: 1.25rem;
  width: min(28rem, calc(100% - 2.5rem)); max-height: calc(100dvh - 2.5rem); overflow: auto;
  padding: 1.35rem; background: #fff; color: #464254; border: 1px solid #e6e1f4;
  border-top: 5px solid #312783; border-radius: .9rem; box-shadow: 0 14px 55px #21185540;
}
.linea-cookie > img { display: block; width: 118px; height: auto; padding: .5rem; background: #312783; border-radius: .4rem; }
.linea-cookie h2 { margin: .75rem 0 .45rem; font-size: 1.45rem; font-weight: 700; }
.linea-cookie p, .linea-map p { margin: 0 0 .9rem; font-size: .94rem; font-weight: 400; line-height: 1.5; }
.linea-cookie-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.linea-cookie button {
  min-height: 44px; border: 1px solid #312783; border-radius: .4rem;
  color: #312783; background: #f4f1ff; padding: .35rem; font-weight: 700; cursor: pointer;
}
.linea-cookie button:hover { color: white; background: #312783; }
.linea-cookie .linea-cookie-close { position: absolute; top: .65rem; right: .65rem; width: 44px; font-size: 1.45rem; line-height: 1; }
.linea-cookie-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
.linea-cookie-links a { color: #312783; font-size: .85rem; font-weight: 600; text-decoration: underline; }
.linea-footer-links a, .linea-footer-links button {
  display: inline-block; color: #fff; font: inherit; text-decoration: underline;
  padding: 0; background: none; border: 0; cursor: pointer;
}
.linea-map { padding: 2.5rem 1rem; text-align: center; background: #f7f6fb; color: #464254; border-radius: .8rem; }
.linea-map a:not(.btn) { color: #312783; text-decoration: underline; }
.linea-cookie :focus-visible, .linea-action:focus-visible, .linea-promo:focus-visible, .linea-footer-links button:focus-visible {
  outline: 3px solid #a68eff; outline-offset: 3px;
}


/* Le immagini hanno un’altezza propria e partecipano al flusso della home. */
.linea-home-categories { display: grid; }
.linea-home-categories > .block-half { display: flex; flex-direction: column; min-width: 0; }
.linea-home-categories .image-bg-fullwidth { height: clamp(14rem, 34vw, 29rem); flex: none; }
.linea-home-categories .full { flex: 1; background: #312783; }
@media (min-width: 992px) {
  .linea-home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linea-home-categories .image-bg-fullwidth { height: clamp(16rem, 29vw, 30rem); }
}

.section.linea-home-promotions, .section.linea-home-catalogs {
  padding-block: clamp(1.75rem, 3.2vw, 2.75rem);
}
