/* ==========================================================
   ARCHIVIO PRODOTTI BIOECOTERMO
========================================================== */

.products-archive {
    width: 100%;
    overflow-x: hidden;
    background: #f3f4f0;
    color: #171a17;
}

.products-archive *,
.products-archive *::before,
.products-archive *::after {
    box-sizing: border-box;
}

/* ==========================================================
   HERO CATALOGO
========================================================== */

.products-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    padding: 165px 0 100px;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 82% 46%,
            rgba(243, 111, 0, 0.28),
            transparent 34%
        ),
        radial-gradient(
            circle at 30% 55%,
            rgba(80, 186, 50, 0.08),
            transparent 42%
        ),
        #080a08;

    background-size:
        64px 64px,
        64px 64px,
        auto,
        auto,
        auto;

    color: #ffffff;
}

.products-hero::before {
    position: absolute;
    top: -260px;
    right: -130px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.products-hero::after {
    position: absolute;
    right: 210px;
    bottom: -390px;
    width: 690px;
    height: 690px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    content: "";
}

.products-hero .container {
    position: relative;
    z-index: 2;
}

.products-hero .section-label {
    margin: 0 0 24px;
    color: #55b637;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.products-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(66px, 8vw, 124px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.86;
    text-transform: uppercase;
}

.products-hero h1 span {
    display: block;
    color: #55b637;
}

.archive-description {
    max-width: 720px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.7;
}

/* ==========================================================
   BARRA CATEGORIE
========================================================== */

.products-categories {
    padding: 30px 0;
    border-bottom: 1px solid #e1e4de;
    background: #ffffff;
}

.products-categories__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.products-categories__link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #d8dcd5;
    background: #ffffff;
    color: #171a17;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.products-categories__link:hover {
    border-color: #171a17;
    background: #171a17;
    color: #ffffff;
    transform: translateY(-2px);
}

.products-categories__link.is-active {
    border-color: #55b637;
    background: #55b637;
    color: #ffffff;
}

/* ==========================================================
   RICERCA PRODOTTI
========================================================== */

.products-search {
    padding: 36px 0 0;
    background: #f3f4f0;
}

.products-search .container {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}

.products-search__form {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;
    align-items: end;
    gap: 12px;
    padding: 22px;
    border: 1px solid #dce0d9;
    background: #ffffff;
}

.products-search__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}

.products-search__field label {
    color: #60665f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.products-search__field input {
    width: 100%;
    min-height: 54px;
    padding: 0 17px;
    border: 1px solid #d5d9d2;
    outline: none;
    background: #f7f8f5;
    color: #171a17;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.products-search__field input::placeholder {
    color: #989e97;
}

.products-search__field input:focus {
    border-color: #55b637;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(85, 182, 55, 0.11);
}

.products-search__button,
.products-search__reset {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.products-search__button {
    border: 1px solid #55b637;
    background: #55b637;
    color: #ffffff;
    cursor: pointer;
}

.products-search__button:hover {
    border-color: #171a17;
    background: #171a17;
    transform: translateY(-2px);
}

.products-search__reset {
    border: 1px solid #d5d9d2;
    background: #ffffff;
    color: #171a17;
}

.products-search__reset:hover {
    border-color: #171a17;
    background: #171a17;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================
   LISTA PRODOTTI
========================================================== */

.products-list {
    padding: 90px 0 125px;
    background: #f3f4f0;
}

.products-list > .container {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}

/* ==========================================================
   INTESTAZIONE LISTA
========================================================== */

.products-list__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.products-list__header .section-label {
    margin: 0 0 16px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.products-list__header h2 {
    max-width: 900px;
    margin: 0;
    color: #171a17;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.92;
    text-transform: uppercase;
}

.products-list__header h2 span {
    display: block;
    color: #55b637;
}

.products-list__count {
    margin: 0 0 6px;
    color: #626861;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================================
   GRIGLIA
========================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

/* ==========================================================
   CARD PRODOTTO
========================================================== */

.product-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dce0d9;
    background: #ffffff;
    transition:
        transform 240ms ease,
        box-shadow 240ms ease,
        border-color 240ms ease;
}

.product-card:hover {
    border-color: transparent;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.13);
    transform: translateY(-8px);
}

.product-card__link {
    display: grid;
    min-height: 590px;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    color: inherit;
    text-decoration: none;
}

/* ==========================================================
   IMMAGINE CARD
========================================================== */

.product-card-image {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 590px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 35px 28px;
    background:
        radial-gradient(
            circle at 50% 59%,
            rgba(243, 111, 0, 0.13),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #edf0eb 0%,
            #fafbf8 100%
        );
}

.product-card-image::before {
    position: absolute;
    bottom: 11%;
    left: 50%;
    width: 62%;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.17);
    content: "";
    filter: blur(24px);
    transform: translateX(-50%);
}

.product-card-image::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    max-width: 410px;
    aspect-ratio: 1;
    border: 1px solid rgba(21, 24, 21, 0.07);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.product-card__image,
.product-card-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 390px;
    height: 500px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.23));
    transition: transform 400ms ease;
}

.product-card:hover .product-card__image,
.product-card:hover .product-card-image img {
    transform: scale(1.045);
}

.product-card__placeholder {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 390px;
    min-height: 450px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6dad3;
    background: rgba(255, 255, 255, 0.78);
    color: #8c928b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ==========================================================
   CONTENUTO CARD
========================================================== */

.product-card-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 52px 44px;
    background: #ffffff;
}

.product-fuel {
    display: inline-block;
    margin: 0 0 19px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-card-content h2,
.product-card__title {
    max-width: 100%;
    margin: 0;
    color: #171a17;
    font-size: clamp(44px, 4vw, 68px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.9;
    word-break: normal;
    overflow-wrap: normal;
    text-transform: uppercase;
}

.product-subtitle {
    max-width: 520px;
    margin: 25px 0 0;
    color: #616760;
    font-size: 16px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

.product-specs span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid #d7dbd4;
    background: #f5f7f3;
    color: #292d29;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.discover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.product-card:hover .discover {
    color: #171a17;
    transform: translateX(7px);
}

/* ==========================================================
   NESSUN RISULTATO
========================================================== */

.products-empty {
    padding: 70px 45px;
    border: 1px solid #dce0d9;
    background: #ffffff;
    text-align: center;
}

.products-empty h2 {
    margin: 0;
    color: #171a17;
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.95;
    text-transform: uppercase;
}

.products-empty p {
    max-width: 600px;
    margin: 22px auto 0;
    color: #636963;
    font-size: 16px;
    line-height: 1.65;
}

.products-empty a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0 24px;
    background: #55b637;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

/* ==========================================================
   PAGINAZIONE
========================================================== */

.products-pagination {
    margin-top: 65px;
}

.products-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products-pagination ul.page-numbers li {
    margin: 0;
}

.products-pagination a.page-numbers,
.products-pagination span.page-numbers {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #d7dbd4;
    background: #ffffff;
    color: #171a17;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.products-pagination a.page-numbers:hover,
.products-pagination span.page-numbers.current {
    border-color: #55b637;
    background: #55b637;
    color: #ffffff;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1180px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card__link {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);
    }
}

/* ==========================================================
   TABLET VERTICALE
========================================================== */

@media (max-width: 850px) {

    .products-hero {
        min-height: auto;
        padding: 135px 0 85px;
    }

    .products-hero h1 {
        font-size: clamp(58px, 13vw, 92px);
    }

    .archive-description {
        font-size: 16px;
    }

    .products-search .container,
    .products-list > .container {
        width: min(100% - 32px, 720px);
    }

    .products-search__form {
        grid-template-columns: 1fr 1fr;
    }

    .products-search__field {
        grid-column: 1 / -1;
    }

    .products-list {
        padding: 75px 0 95px;
    }

    .products-list__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .products-list__count {
        white-space: normal;
    }

    .product-card__link {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .product-card-image {
        min-height: 540px;
    }

    .product-card__image,
    .product-card-image img {
        max-width: 370px;
        height: 470px;
    }

    .product-card-content {
        padding: 45px 38px 50px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 560px) {

    .products-hero {
        padding: 115px 0 70px;
    }

    .products-hero h1 {
        font-size: clamp(48px, 15vw, 70px);
    }

    .products-search {
        padding-top: 22px;
    }

    .products-search .container,
    .products-list > .container {
        width: min(100% - 22px, 520px);
    }

    .products-search__form {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .products-search__field,
    .products-search__button,
    .products-search__reset {
        grid-column: 1;
        width: 100%;
    }

    .products-list {
        padding: 55px 0 75px;
    }

    .products-list__header h2 {
        font-size: 44px;
    }

    .products-grid {
        gap: 18px;
    }

    .product-card-image {
        min-height: 420px;
        padding: 22px 14px;
    }

    .product-card__image,
    .product-card-image img {
        max-width: 300px;
        height: 370px;
    }

    .product-card-content {
        padding: 34px 24px 40px;
    }

    .product-card-content h2,
    .product-card__title {
        font-size: 45px;
    }

    .product-subtitle {
        font-size: 15px;
    }

    .products-empty {
        padding: 50px 24px;
    }
}/* ==========================================================
   NUOVA GAMMA PRODOTTI
========================================================== */

.product-families {
    padding: 95px 0 130px;
    background: #0a0d0a;
    color: #fff;
}

.product-families > .container {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==========================================================
   GRUPPO ALIMENTAZIONE
========================================================== */

.product-family-group {
    padding: 0 0 110px;
}

.product-family-group + .product-family-group {
    padding-top: 100px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.product-family-group:last-child {
    padding-bottom: 0;
}


/* ==========================================================
   TESTATA GRUPPO
========================================================== */

.product-family-group__header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    align-items: end;
    gap: 80px;
    margin-bottom: 50px;
}

.product-family-group__header .section-label {
    margin: 0 0 14px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.product-family-group__header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(60px, 7vw, 105px);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .85;
    text-transform: uppercase;
}

.product-family-group__header > p {
    max-width: 440px;
    margin: 0 0 8px auto;
    color: rgba(255,255,255,.62);
    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   GRIGLIA FAMIGLIE
========================================================== */

.product-families__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    background: #292d29;
}


/* ==========================================================
   CARD FAMIGLIA
========================================================== */

.family-card {
    position: relative;
    min-width: 0;
    min-height: 590px;
    margin: 0;
    overflow: hidden;
    background: #151915;
}

.family-card__link {
    position: relative;
    display: flex;
    min-height: 590px;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}


/* ==========================================================
   IMMAGINE
========================================================== */

.family-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 60% 55%,
            rgba(85,182,55,.13),
            transparent 35%
        ),
        #151915;
}

.family-card__media::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(7,10,7,.18) 0%,
            rgba(7,10,7,.05) 35%,
            rgba(7,10,7,.88) 100%
        );
    content: "";
}

.family-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 700ms cubic-bezier(.2,.7,.2,1),
        opacity 400ms ease;
}

.family-card:hover .family-card__image {
    transform: scale(1.055);
}


/* ==========================================================
   PLACEHOLDER PRIMA DELLE IMMAGINI REALI
========================================================== */

.family-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(85,182,55,.14),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #1a1f1a,
            #101310
        );
}

.family-card__placeholder::before {
    position: absolute;
    width: 65%;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    content: "";
}

.family-card__placeholder span {
    color: rgba(255,255,255,.07);
    font-size: clamp(30px, 4vw, 58px);
    font-weight: 900;
    letter-spacing: -.05em;
    transform: rotate(-8deg);
}


/* ==========================================================
   CONTENUTO CARD
========================================================== */

.family-card__content {
    position: relative;
    z-index: 5;
    display: flex;
    min-height: 590px;
    flex-direction: column;
    padding: 32px;
}

.family-card__top {
    display: flex;
    justify-content: space-between;
}

.family-card__fuel {
    display: inline-flex;
    align-items: center;
    color: #55b637;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.family-card__title {
    max-width: 90%;
    margin: auto 0 18px;
    color: #fff;
    font-size: clamp(38px, 3.6vw, 62px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .9;
    text-transform: uppercase;
}

.family-card__count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
}

.family-card__count strong {
    color: #55b637;
    font-size: 25px;
    font-weight: 900;
}

.family-card__count span {
    color: rgba(255,255,255,.66);
    font-size: 12px;
    font-weight: 700;
}

.family-card__discover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.family-card__discover b {
    color: #55b637;
    font-size: 23px;
    font-weight: 400;
    transition: transform 220ms ease;
}

.family-card:hover .family-card__discover b {
    transform: translateX(7px);
}


/* ==========================================================
   HOVER CARD
========================================================== */

.family-card::after {
    position: absolute;
    inset: 0;
    z-index: 4;
    border: 0 solid #55b637;
    pointer-events: none;
    content: "";
    transition: border-width 180ms ease;
}

.family-card:hover::after {
    border-width: 3px;
}


/* ==========================================================
   LEGNA / PELLET - SOLO DUE CARD
========================================================== */

.product-family-group--legna-pellet
.product-families__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-family-group--legna-pellet
.family-card {
    min-height: 530px;
}

.product-family-group--legna-pellet
.family-card__link,
.product-family-group--legna-pellet
.family-card__content {
    min-height: 530px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .product-families__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-family-group__header {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-family-group__header > p {
        margin-left: 0;
    }

}


/* ==========================================================
   TABLET VERTICALE
========================================================== */

@media (max-width: 760px) {

    .product-families {
        padding: 70px 0 90px;
    }

    .product-families > .container {
        width: min(100% - 28px, 680px);
    }

    .product-family-group {
        padding-bottom: 75px;
    }

    .product-family-group + .product-family-group {
        padding-top: 70px;
    }

    .product-family-group__header {
        margin-bottom: 35px;
    }

    .product-family-group__header h2 {
        font-size: clamp(55px, 16vw, 85px);
    }

    .product-families__grid,
    .product-family-group--legna-pellet
    .product-families__grid {
        grid-template-columns: 1fr;
    }

    .family-card,
    .family-card__link,
    .family-card__content,
    .product-family-group--legna-pellet .family-card,
    .product-family-group--legna-pellet .family-card__link,
    .product-family-group--legna-pellet .family-card__content {
        min-height: 520px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 520px) {

    .product-families {
        padding-top: 55px;
    }

    .product-families > .container {
        width: calc(100% - 20px);
    }

    .product-family-group__header h2 {
        font-size: 52px;
    }

    .product-family-group__header > p {
        font-size: 14px;
    }

    .family-card,
    .family-card__link,
    .family-card__content,
    .product-family-group--legna-pellet .family-card,
    .product-family-group--legna-pellet .family-card__link,
    .product-family-group--legna-pellet .family-card__content {
        min-height: 460px;
    }

    .family-card__content {
        padding: 25px;
    }

    .family-card__title {
        font-size: 42px;
    }

}/* ==========================================================
   IMMAGINI PRODOTTO SCONTORNATE - CARD CATEGORIE
========================================================== */

.family-card__image {
    position: absolute;
    top: 55px;
    right: 20px;
    bottom: auto;
    left: auto;

    width: 78%;
    height: 72%;

    object-fit: contain;
    object-position: top right;

    opacity: 1;

    filter:
        drop-shadow(0 30px 35px rgba(0, 0, 0, .45));

    transition:
        transform 700ms cubic-bezier(.2,.7,.2,1);
}


/* spazio più scuro dietro ai testi */

.family-card__media::after {
    background:
        linear-gradient(
            180deg,
            rgba(7,10,7,.02) 0%,
            rgba(7,10,7,.05) 40%,
            rgba(7,10,7,.92) 78%,
            rgba(7,10,7,.98) 100%
        );
}


/* titolo sempre davanti al prodotto */

.family-card__content {
    z-index: 5;
}


/* movimento leggero al passaggio del mouse */

.family-card:hover .family-card__image {
    transform: translateY(-8px) scale(1.025);
}

/* ==========================================================
   FIX TITOLI CARD FAMIGLIA
   Mantiene le intestazioni PELLET / LEGNA / LEGNA-PELLET
   e ridimensiona solo i nomi dentro le card.
========================================================== */

.family-card__title {
    width: 100%;
    max-width: 100%;
    margin: auto 0 18px;
    padding-right: 0;
    font-size: clamp(28px, 2.45vw, 44px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.92;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

@media (min-width: 1101px) {
    .family-card__title {
        font-size: clamp(27px, 2.35vw, 42px);
    }
}

@media (max-width: 1100px) {
    .family-card__title {
        font-size: clamp(32px, 4.6vw, 46px);
    }
}

@media (max-width: 760px) {
    .family-card__title {
        font-size: clamp(32px, 8vw, 44px);
        line-height: 0.94;
    }
}

@media (max-width: 520px) {
    .family-card__title {
        font-size: clamp(29px, 9vw, 38px);
    }
}
