/* ===== landing (gia' home.css, la home vera ora e' home.css): hero e vetrina, ricerca per misure, marchi, perche' comprare, recensioni, banner, categorie con icone, punti di forza, landing. usata dal page type Landing ===== */

/* ===== hero: pannello foto a sinistra + vetrina offerte a destra. Sotto 1180px la vetrina diventa una fila di schede da far scorrere ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(560px, 46vw, 680px);
    background: var(--ink)
}

.hero__panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    color: #fff
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

/* il velo è lo sfondo del blocco testo, esteso a tutto il pannello: scurisce la foto sotto il titolo (contrasto ≥ 5,7:1) */
.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 56px 48px 80px var(--hg);
    background: var(--veil)
}

.hero__panel h1 {
    max-width: 8em;
    font-size: clamp(56px, 6.6vw, 104px);
    font-weight: 800;
    line-height: .92;
    text-transform: uppercase;
    color: #fff
}

.hero__panel em {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: .09em;
    text-underline-offset: .1em
}

.hero__panel p {
    max-width: 30em;
    font-size: 17px;
    font-weight: 500;
    color: #fff
}

.hero__panel .btn {
    background: transparent;
    border-color: #fff;
    color: #fff
}

.hero__panel .btn:hover {
    background: #fff;
    color: var(--ink)
}

.hero__panel .btn.btn--solid {
    background: var(--red);
    border-color: var(--red)
}

.hero__panel .btn.btn--solid:hover {
    background: var(--red2);
    border-color: var(--red2);
    color: #fff
}

/* vetrina: una scheda alla volta in dissolvenza */
.showcase {
    position: relative;
    overflow: hidden;
    background: var(--ground)
}

.showcase__track {
    display: grid;
    height: 100%
}

.showcase__slide {
    grid-area: 1/1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s var(--ease), visibility 0s .6s
}

.showcase__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .6s var(--ease)
}

.showcase__photo {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--ground)
}

.showcase__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 1.6s var(--ease)
}

.showcase__slide.is-active .showcase__photo img {
    transform: none
}

.showcase__card {
    position: absolute;
    left: 20px;
    bottom: 54px;
    width: min(300px, calc(100% - 48px));
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 15px;
    background: var(--glass);
    backdrop-filter: blur(6px);
    transform: translateY(16px);
    opacity: 0;
    transition: transform .7s var(--ease) .15s, opacity .7s var(--ease) .15s
}

.showcase__slide.is-active .showcase__card {
    transform: none;
    opacity: 1
}

.showcase__card h2 {
    font: 600 14px/1.3 var(--f);
    letter-spacing: 0;
    text-transform: none
}

.showcase__card .discount-badge {
    justify-self: start
}

.showcase__card .spec-chips {
    margin: 2px 0 0
}

.showcase__card .price b {
    font-size: 38px
}

.showcase__card .add-to-cart {
    height: 44px;
    font-size: 14px
}

/* indicatori a barra con avanzamento (guida anche la rotazione) e pausa */
.showcase__controls {
    position: absolute;
    right: 20px;
    bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px
}

.showcase__dots {
    display: flex;
    gap: 6px
}

.showcase__dots button {
    display: grid;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer
}

.showcase__dots i {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(13, 23, 23, .25);
    position: relative;
    overflow: hidden
}

.showcase__dots i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left
}

.showcase__dots .is-active i::after {
    transform: scaleX(1);
    animation: fill 6s linear
}

.showcase.is-paused .showcase__dots .is-active i::after,
.showcase:hover .showcase__dots .is-active i::after {
    animation-play-state: paused
}

.showcase.is-static .showcase__dots .is-active i::after {
    animation: none
}

@keyframes fill {
    from {
        transform: scaleX(0)
    }
}

.showcase__pause {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    cursor: pointer
}

.showcase__pause[hidden] {
    display: none
}

.showcase__pause svg {
    width: 13px;
    height: 13px
}

.showcase__pause:hover {
    background: var(--ink);
    color: #fff
}

/* tablet e telefono: foto sopra, poi schede prodotto che scorrono di lato (la successiva si intravede) con indicatori di posizione */
@media (max-width:1180px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .hero__content {
        padding: 64px 32px 56px
    }

    .hero+.container {
        margin-top: 24px
    }

    .showcase,
    .showcase__track {
        background: var(--soft)
    }

    .showcase__track {
        display: flex;
        gap: 12px;
        height: auto;
        padding: 24px 16px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scrollbar-width: none
    }

    .showcase__track::-webkit-scrollbar {
        display: none
    }

    .showcase__slide {
        flex: none;
        width: min(80%, 360px);
        display: flex;
        flex-direction: column;
        grid-area: auto;
        scroll-snap-align: start;
        opacity: 1;
        visibility: visible;
        background: #fff;
        border: 1px solid var(--line2);
        transition: none
    }

    .showcase__photo {
        position: relative;
        aspect-ratio: 4/3
    }

    .showcase__photo img {
        transform: none
    }

    .showcase__card {
        position: static;
        flex: 1;
        align-content: start;
        gap: 8px;
        width: auto;
        padding: 16px;
        border-radius: 0;
        background: #fff;
        backdrop-filter: none;
        transform: none;
        opacity: 1
    }

    .showcase__card .discount-badge {
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 0
    }

    .showcase__card h2 {
        min-height: 2.6em;
        font-size: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .showcase__card .price b {
        font-size: 34px
    }

    .showcase__card .add-to-cart {
        margin-top: 4px;
        height: 48px
    }

    .showcase__controls {
        position: static;
        padding: 0 10px 40px
    }

    .showcase__dots .is-active i::after {
        animation: none
    }

    .showcase__pause {
        display: none
    }
}

@media (max-width:700px) {
    .hero__content {
        padding: 48px 16px 40px
    }

    .hero__panel h1 {
        font-size: 52px
    }
}

/* ===== ricerca per misure: pillola su una riga; sotto 1180px scheda con campi in griglia ===== */
.finder {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 10px 10px 10px 32px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff
}

.finder__title {
    padding-right: 16px;
    border-right: 1px solid var(--line);
    font-size: 26px;
    text-transform: uppercase
}

.finder label {
    display: grid;
    padding-left: 16px;
    border-left: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.3;
    color: var(--mut)
}

.finder select {
    width: 100%;
    height: 44px;
    padding: 0 22px 0 0;
    border: 0;
    background: transparent var(--chev) no-repeat right 4px center;
    appearance: none;
    font: 500 16px var(--f);
    color: var(--ink);
    cursor: pointer
}

.finder select:focus {
    outline: none;
    box-shadow: 0 2px 0 var(--lime)
}

@media (max-width:1180px) {
    .finder {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 20px;
        border-radius: 15px
    }

    .finder__title {
        grid-column: 1/-1;
        padding: 0;
        border: 0
    }

    .finder label {
        padding: 0;
        border: 0
    }

    .finder select {
        padding: 0 30px 0 12px;
        border: 1px solid var(--field);
        border-radius: 10px
    }

    .finder .finder__submit {
        grid-column: 1/-1
    }
}

@media (max-width:700px) {
    .finder {
        grid-template-columns: 1fr 1fr
    }

    .finder label:last-of-type {
        grid-column: 1/-1
    }
}

.slider-arrows {
    display: flex;
    gap: 8px
}

.slider-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center
}

.slider-arrows button:hover {
    background: var(--ink);
    color: #fff
}

.slider-arrows svg {
    width: 18px;
    height: 18px;
    stroke-width: 2
}

.slider-arrows button:first-child svg {
    transform: scaleX(-1)
}

.tiles {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 64px)/5);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.tiles::-webkit-scrollbar {
    display: none
}

.tile {
    position: relative;
    scroll-snap-align: start;
    display: block;
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    background: var(--ground)
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease)
}

.tile:hover img {
    transform: scale(1.05)
}

.tile__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .92)
}

.tile__label b {
    font: 400 24px var(--f);
    letter-spacing: -.03em
}

.tile__label i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    transition: background .2s, color .2s, transform .3s var(--ease)
}

.tile__label svg {
    width: 16px;
    height: 16px;
    stroke-width: 2
}

.tile:hover .tile__label i {
    background: var(--lime);
    color: var(--ink);
    transform: translateX(3px)
}

.band {
    margin-top: 88px;
    background: var(--soft)
}

.band .section {
    margin-top: 0;
    padding-top: 72px;
    padding-bottom: 64px
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tabs button {
    height: 44px;
    padding: 0 18px;
    border-radius: 0;
    border: 1px solid #cfd2cf;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s, color .2s
}

.tabs button:hover {
    border-color: var(--ink)
}

.tabs button.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

/* marchi: nastro continuo su una riga (home.js duplica i loghi e accende .is-active); senza JS o con movimento ridotto riga da scorrere a mano */
.brands {
    margin-top: 88px;
    border-block: 1px solid var(--line)
}

.marquee {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.marquee::-webkit-scrollbar {
    display: none
}

.marquee__track {
    display: flex;
    width: max-content;
    padding: 12px 0
}

.marquee__track .marquee__item {
    flex: none;
    width: 210px;
    height: 80px;
    padding: 0 20px
}

.marquee__track .marquee__item img {
    max-width: 100%
}

.marquee.is-active {
    overflow: hidden
}

.marquee.is-active .marquee__track {
    animation: mq var(--mqd, 60s) linear infinite
}

.marquee.is-active:hover .marquee__track,
.marquee.is-active:focus-within .marquee__track {
    animation-play-state: paused
}

@keyframes mq {
    to {
        transform: translateX(-50%)
    }
}

@media (max-width:1000px) {
    .marquee__track {
        padding: 8px 0
    }

    .marquee__track .marquee__item {
        width: 150px;
        height: 64px;
        padding: 0 16px
    }

    .marquee__track .marquee__item img {
        height: 28px
    }
}

/* perché comprare: mosaico a spigoli vivi, campo scuro col titolo + 4 celle a tono */
.why-us {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4px
}

.why-us h2 {
    padding: 32px 40px 40px;
    background: var(--ink);
    color: #fff
}

.why-us h2 em {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: .09em;
    text-underline-offset: .1em
}

.why-us dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px
}

/* punto: blocco ripetibile (dt con icona + dd) */
.why-us dl>div {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 32px 32px;
    background: var(--soft)
}

.why-us dt {
    font: 700 26px/1.05 var(--d);
    font-stretch: 78%;
    letter-spacing: .005em
}

.why-us dd {
    max-width: 36ch;
    color: var(--ink);
    text-wrap: pretty
}

.two-col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px 48px
}

/* recensioni: slider a scorrimento con aggancio */
.reviews {
    grid-column: 1;
    grid-row: span 3;
    display: grid;
    grid-template-rows: subgrid;
    gap: 24px;
    min-width: 0
}

.reviews [hidden] {
    display: none
}

.reviews__head,
.reviews__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px
}

.reviews__foot {
    align-items: center;
    flex-wrap: wrap
}

.reviews .slider-arrows button {
    border-radius: 0;
    transition: background .2s, color .2s, opacity .2s
}

.reviews .slider-arrows button[aria-disabled="true"] {
    opacity: .3;
    cursor: default;
    background: #fff;
    color: var(--ink)
}

.reviews__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none
}

.reviews__track::-webkit-scrollbar {
    display: none
}

.reviews__track:focus-visible {
    outline-offset: 4px
}

.review {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 280px;
    padding: 32px 36px 28px;
    border: 1px solid var(--line);
    background: #fff
}

.review>svg {
    width: 34px;
    height: 34px;
    color: var(--red)
}

.review blockquote {
    color: var(--ink);
    font-size: clamp(19px, 1.65vw, 24px);
    line-height: 1.42;
    max-width: 44ch;
    text-wrap: pretty
}

.review figcaption {
    margin-top: auto;
    color: var(--mut);
    font-size: 15px
}

.review figcaption b {
    color: var(--ink);
    font-weight: 600
}

.reviews__foot .reviews__link {
    margin-left: auto
}

/* il negozio si allinea alla card della recensione (stessa riga del subgrid) */
.shop-card {
    grid-column: 2;
    grid-row: 2;
    background: var(--soft);
    padding: 32px 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
}

.shop-card .btn {
    margin-top: auto
}

.shop-card h3 {
    font-size: 30px
}

@media (max-width:1180px) {

    .tiles {
        grid-auto-columns: calc((100% - 32px)/3)
    }

    .why-us,
    .two-col {
        grid-template-columns: 1fr
    }

    .two-col {
        row-gap: 48px
    }

    .reviews,
    .shop-card {
        grid-area: auto
    }

    .reviews {
        grid-template-rows: none
    }
}

@media (max-width:700px) {

    .tiles {
        grid-auto-columns: 62%
    }

    .reviews__track {
        gap: 12px
    }

    /* sul telefono si intravede la recensione successiva */
    .review {
        flex-basis: 86%;
        min-height: 0;
        padding: 24px 22px 22px;
        gap: 16px
    }

    .review>svg {
        width: 28px;
        height: 28px
    }

    .reviews__foot .reviews__link {
        margin-left: 0
    }

    .shop-card {
        padding: 24px 22px 22px
    }

    .why-us h2 {
        padding: 28px 20px
    }

    .why-us dl {
        grid-template-columns: 1fr
    }

    .why-us dl>div {
        padding: 22px 20px 24px
    }

    .why-us dt {
        font-size: 23px
    }

    .section-head .slider-arrows {
        display: none
    }
}

/* marchi: loghi reali, in grigio, a colori al passaggio */
.marquee__item {
    display: grid;
    place-items: center;
    height: 96px;
    padding: 0 34px
}

.marquee__item img {
    height: 34px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.05);
    opacity: .62;
    transition: opacity .25s, filter .25s
}

.marquee__item:hover img {
    filter: none;
    opacity: 1
}

.tile__label b {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 700
}

.marquee__track span {
    font-size: 34px
}

/* punti di forza di un e-commerce */
.trust-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 36px;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden
}

.trust-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px 18px
}

.trust-list li+li {
    border-left: 1px solid var(--line)
}

.trust-list svg {
    width: 32px;
    height: 32px;
    flex: none;
    stroke-width: 1.5;
    color: var(--ink)
}

.trust-list b {
    display: block;
    font: 700 17px/1.2 var(--d);
    font-stretch: 78%;
    text-transform: uppercase;
    letter-spacing: .02em
}

.trust-list small {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    color: #3d4545;
    margin-top: 3px
}

@media (max-width:1180px) {
    .trust-list {
        grid-template-columns: repeat(3, 1fr)
    }

    .trust-list li:nth-child(4) {
        border-left: 0
    }

    .trust-list li:nth-child(n+4) {
        border-top: 1px solid var(--line)
    }
}

@media (max-width:700px) {
    .trust-list {
        grid-template-columns: 1fr 1fr
    }

    .trust-list li {
        padding: 14px 12px
    }

    .trust-list li:nth-child(odd) {
        border-left: 0
    }

    .trust-list li:nth-child(even) {
        border-left: 1px solid var(--line)
    }

    .trust-list li:nth-child(n+3) {
        border-top: 1px solid var(--line)
    }

    .trust-list svg {
        width: 26px;
        height: 26px
    }

    .trust-list b {
        font-size: 15px
    }

    .trust-list small {
        font-size: 13px
    }
}

.tile__label {
    gap: 10px;
    padding: 16px 18px
}

.tile__label b {
    font-size: 21px;
    line-height: 1.05;
    min-width: 0;
    overflow-wrap: anywhere
}

.tile__label i {
    flex: none
}

/* categorie con icone */
.category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: border-color .2s, transform .35s var(--ease)
}

.category-card:hover {
    border-color: var(--ink);
    transform: translateY(-4px)
}

.category-card__icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    margin-bottom: 16px;
    transition: background .25s, transform .35s var(--ease)
}

.category-card__icon svg {
    width: 54px;
    height: 54px;
    stroke-width: 2.2
}

.category-card:hover .category-card__icon {
    background: var(--lime);
    transform: scale(1.06)
}

.category-card b {
    font: 700 22px/1.05 var(--d);
    font-stretch: 78%;
    text-transform: uppercase;
    letter-spacing: .01em;
    min-height: 2.1em
}

.category-card small {
    font-size: 14px;
    color: var(--mut)
}

@media (max-width:1180px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width:700px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .category-card {
        padding: 16px 14px
    }

    .category-card__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px
    }

    .category-card__icon svg {
        width: 36px;
        height: 36px
    }

    .category-card b {
        font-size: 19px;
        min-height: 0
    }
}

/* banner pubblicitario: foto in restyling/images/banner/banner-1.jpg (2400x900) */
.banner {
    position: relative;
    isolation: isolate;
    border-radius: 15px;
    overflow: hidden;
    min-height: clamp(340px, 32vw, 440px);
    display: flex;
    align-items: center;
    background: var(--ink);
    color: #fff
}

.banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: -2
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 23, 23, .42);
    z-index: -1
}

.banner__content {
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 44px clamp(24px, 5vw, 64px);
    max-width: 640px
}

.banner__content h2 {
    font-size: clamp(36px, 4.4vw, 64px);
    text-transform: uppercase;
    color: #fff
}

.banner__content p {
    max-width: 26em;
    font-size: 18px;
    color: #fff
}

.banner__content .price b {
    color: #fff;
    font-size: 52px
}

.banner__content .price s {
    color: #e3e6e3;
    font-size: 20px
}

.banner__content .button-row {
    margin-top: 4px
}

.banner__content .btn {
    background: transparent;
    border-color: #fff;
    color: #fff
}

.banner__content .btn:hover {
    background: #fff;
    color: var(--ink)
}

.banner__content .add-to-cart.add-to-cart--large {
    background: var(--red);
    border-color: var(--red);
    color: #fff
}

.banner__content .add-to-cart.add-to-cart--large:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink)
}

@media (max-width:700px) {
    .banner {
        min-height: 0
    }

    .banner::after {
        background: rgba(13, 23, 23, .55)
    }

    .banner__content {
        padding: 28px 20px
    }

    .banner__content .price b {
        font-size: 42px
    }

    .banner__content p {
        font-size: 16px
    }

    .banner__content .button-row .btn {
        display: none
    }
}

.banner__content .add-to-cart {
    width: auto;
    padding: 0 28px;
    height: 50px
}

.banner__content .btn {
    height: 50px
}

/* banner a tutta larghezza: testo su fondo scuro pieno, foto ritagliata (mai deformata) che sfuma da destra */
.banner-full {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(400px, 34vw, 520px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 85% 50%, #2a0a0a 0, var(--ink) 62%);
    color: #fff
}

.banner-full .banner-full__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0, #000 42%)
}

.banner-full .banner-full__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 46% center
}

.banner-full .container {
    width: 100%
}

.banner-full .banner__content {
    padding: 48px 0;
    max-width: 560px;
    gap: 14px
}

.banner-full .banner-full__kicker {
    display: flex;
    align-items: center;
    gap: 14px
}

.banner-full .banner-full__eyebrow {
    font: 600 14px/1 var(--f);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e3e6e3
}

.banner-full .banner__content h2 {
    font-size: clamp(40px, 4.6vw, 68px)
}

.banner-full .banner__content h2 em {
    display: block;
    color: var(--lime)
}

.banner-full .banner-full__specs {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22)
}

.banner-full .banner-full__specs li {
    padding: 12px 26px 11px 0;
    margin-right: 26px
}

.banner-full .banner-full__specs li+li {
    border-left: 1px solid rgba(255, 255, 255, .22);
    padding-left: 26px
}

.banner-full .banner-full__specs b {
    display: block;
    font: 700 30px/1 var(--d);
    font-stretch: 78%;
    letter-spacing: .01em
}

.banner-full .banner-full__specs small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #cfd3cf
}

@media (max-width:900px) {
    .banner-full .banner-full__media {
        width: 70%;
        opacity: .55
    }
}

@media (max-width:700px) {
    .banner-full {
        margin-top: 60px;
        min-height: 0;
        flex-direction: column;
        align-items: stretch
    }

    .banner-full .banner-full__media {
        position: relative;
        width: 100%;
        height: 230px;
        opacity: 1;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
        mask-image: linear-gradient(180deg, #000 55%, transparent)
    }

    .banner-full .banner-full__media img {
        object-position: 44% 40%
    }

    .banner-full .container {
        margin-top: -36px
    }

    .banner-full .banner__content {
        padding: 0 0 36px
    }

    .banner-full .banner-full__specs li {
        padding-right: 16px;
        margin-right: 16px
    }

    .banner-full .banner-full__specs li+li {
        padding-left: 16px
    }

    .banner-full .banner-full__specs b {
        font-size: 26px
    }
}

/* categorie: angoli vivi, senza arrotondamenti */
.category-card,
.category-card__icon,
.tile,
.tile__label,
.tile__label i {
    border-radius: 0
}

.category-card:hover .category-card__icon {
    transform: none
}

/* categorie sul telefono: griglia a due colonne con riquadri bassi (icona a sinistra, nome a destra) */
@media (max-width:700px) {

    .category-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        overflow: visible;
        margin-right: 0;
        padding-right: 0
    }

    .category-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        text-align: left;
        width: auto
    }

    .category-card small {
        display: none
    }

    .category-card__icon {
        flex: none;
        width: 56px;
        height: 56px;
        margin: 0
    }

    .category-card__icon svg {
        width: 38px;
        height: 38px
    }

    .category-card b {
        font-size: 18px;
        min-height: 0;
        line-height: 1.05
    }

    .category-card:last-child {
        grid-column: 1/-1
    }

    .tiles {
        grid-auto-columns: 46%
    }

    .tile {
        aspect-ratio: 4/3
    }

    .tile__label {
        padding: 10px 12px
    }

    .tile__label b {
        font-size: 17px
    }

    .tile__label i {
        width: 28px;
        height: 28px
    }

    .tile__label svg {
        width: 14px;
        height: 14px
    }
}

@media (max-width:700px) {
    .category-card {
        gap: 10px;
        padding: 8px 10px
    }

    .category-card__icon {
        width: 50px;
        height: 50px
    }

    .category-card__icon svg {
        width: 34px;
        height: 34px
    }

    .category-card b {
        font-size: 16px
    }
}

/* categorie sul telefono: tessere grandi che scorrono di lato (la successiva si intravede) */
@media (max-width:700px) {
    .category-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-right: -16px;
        padding-right: 16px
    }

    .category-grid::-webkit-scrollbar {
        display: none
    }

    .category-card {
        position: relative;
        flex: none;
        width: 136px;
        scroll-snap-align: start;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 14px;
        border: 0;
        background: var(--soft);
        text-align: left
    }

    /* freccia nell'angolo, come il cerchio delle tessere (.tile__label i) */
    .category-card::after {
        content: "";
        position: absolute;
        top: 12px;
        right: 12px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center;
        transition: background-color .2s
    }

    .category-card:hover::after,
    .category-card:active::after {
        background-color: var(--lime);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d1717' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    }

    .category-card:last-child {
        grid-column: auto
    }

    .category-card small {
        display: none
    }

    .category-card__icon {
        width: 56px;
        height: 56px;
        margin: 0;
        background: transparent
    }

    .category-card__icon svg {
        width: 52px;
        height: 52px
    }

    .category-card b {
        font-size: 20px;
        line-height: 1;
        min-height: 2em;
        display: block
    }

    .category-card:hover {
        transform: none
    }
}

.scroll-hint {
    display: none
}

.reviews__link {
    grid-column: 1/-1;
    justify-self: start
}

@media (max-width:700px) {
    .scroll-hint {
        display: inline;
        font-size: 14px;
        color: var(--mut);
        padding-bottom: 4px
    }

    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none
    }

    .tabs::-webkit-scrollbar {
        display: none
    }

    .tabs button {
        flex: none
    }
}

/* icone categoria: tratto nero, dettaglio rosso (e verde sul LED del caricabatterie) */
.category-card__icon svg .icon-stroke-accent {
    stroke: var(--red)
}

.category-card__icon svg .icon-fill-accent {
    fill: var(--red);
    stroke: var(--red)
}

.category-card__icon svg .icon-fill-light {
    fill: var(--soft)
}

.category-card__icon svg .icon-fill-lime {
    fill: var(--lime);
    stroke: var(--ink)
}

.category-card:hover .category-card__icon svg .icon-fill-light {
    fill: #fff
}

/* stesso linguaggio nella fascia dei punti di forza e in "Perché comprare da noi" */
.trust-list__icon svg .icon-stroke-accent,
.why-us dt svg .icon-stroke-accent {
    stroke: var(--red)
}

.trust-list__icon svg .icon-fill-light {
    fill: var(--soft)
}

.trust-list__icon svg .icon-stroke-accent.icon-fill-light,
.why-us dt svg .icon-fill-light {
    fill: #fff
}

/* titolo a sinistra, icona grande nell'angolo in alto a destra */
.why-us dt {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px
}

.why-us dt span {
    padding-top: 6px
}

.why-us dt svg {
    flex: none;
    width: 52px;
    height: 52px;
    margin: -4px -6px 0 0
}

.category-card:hover .category-card__icon svg .icon-fill-accent {
    fill: var(--red)
}

.category-card__icon svg {
    width: 62px;
    height: 62px
}

@media (max-width:700px) {
    .category-card__icon svg {
        width: 50px;
        height: 50px
    }
}

/* fascia dei punti di forza: banda a tutta larghezza dopo il banner; sei colonne (3 su tablet, 2 su mobile), icona in riquadro bianco, titolo e una riga */
.trust-strip {
    padding: 12px 0;
    background: var(--soft);
    border-block: 1px solid var(--line)
}

/* celle con inset uniforme; il margine negativo riallinea i testi esterni al bordo di .container */
.trust-strip .trust-list {
    grid-template-columns: repeat(6, 1fr);
    margin: 0 -20px;
    border: 0;
    border-radius: 0;
    overflow: visible
}

.trust-strip .trust-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px
}

.trust-strip .trust-list li+li {
    border-left: 1px solid var(--line2)
}

.trust-list__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    background: #fff;
    border: 1px solid #e3e3df
}

.trust-strip .trust-list .trust-list__icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.3;
    margin: 0
}

.trust-strip .trust-list b {
    font-size: 17px;
    line-height: 1.1
}

.trust-strip .trust-list small {
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.3
}

.trust-strip+.section {
    margin-top: 88px
}

@media (min-width:701px) and (max-width:1180px) {
    .trust-strip .trust-list {
        grid-template-columns: repeat(3, 1fr);
        margin: 0 -16px
    }

    .trust-strip .trust-list li {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px 16px
    }

    .trust-strip .trust-list li:nth-child(3n+1) {
        border-left: 0
    }

    .trust-strip .trust-list li:nth-child(n+4) {
        border-top: 1px solid var(--line2)
    }

    .trust-strip .trust-list b {
        font-size: 16px
    }
}

@media (max-width:700px) {
    .trust-strip .trust-list {
        grid-template-columns: 1fr 1fr;
        margin: 0 -12px
    }

    .trust-strip .trust-list li {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 12px
    }

    .trust-strip .trust-list li:nth-child(odd) {
        border-left: 0
    }

    .trust-strip .trust-list li:nth-child(n+3) {
        border-top: 1px solid var(--line2)
    }

    .trust-list__icon {
        width: 42px;
        height: 42px
    }

    .trust-strip .trust-list .trust-list__icon svg {
        width: 28px;
        height: 28px
    }

    .trust-strip .trust-list b {
        font-size: 15px
    }

    .trust-strip .trust-list small {
        font-size: 13px
    }

    .trust-strip+.section {
        margin-top: 56px
    }
}

/* icone categoria: perni delle ruote pieni */
.category-card__icon svg .icon-hub {
    fill: currentColor;
    stroke: none
}

.category-card__icon svg .icon-solid {
    fill: currentColor
}

/* landing (page_type Landing): hero senza vetrina, il pannello foto prende tutta la larghezza; immagini dentro le sezioni .info-section */
.hero.hero--landing {
    grid-template-columns: 1fr
}

/* landing: sezione del modulo contatti, con respiro verticale prima del footer */
.landing-contact {
    padding-bottom: 88px
}

@media (max-width:700px) {
    .landing-contact {
        padding-bottom: 60px
    }
}
