/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* =========================================================
   PRODOTTI - GRIGLIA
   ========================================================= */

   .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
    gap: 24px;
}


/* =========================================================
   PRODOTTI - CARD
   ========================================================= */

.product-card {
    background-color: rgba(184, 146, 90, 0.60) !important;
    padding: 24px 20px;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
}


/* =========================================================
   PRODOTTI - IMMAGINE
   ========================================================= */

.product-card-image {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.product-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}


/* =========================================================
   PRODOTTI - TITOLO
   ========================================================= */

.product-card-title {
    font-family: inherit;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin: 18px 0 12px;
    color: #000000 !important;
}

.product-card-title a {
    color: #000000 !important;
    text-decoration: none;
}


/* =========================================================
   PRODOTTI - DESCRIZIONE
   ========================================================= */

.product-card-description {
    color: #241710 !important;
    font-size: 18px;
    line-height: 1.5;
}

.product-card-description p,
.product-card-description h3,
.product-card-description h4 {
    color: #241710 !important;
}


/* =========================================================
   PRODOTTI - PULSANTE SCOPRI
   ========================================================= */

.product-card-link,
a.product-card-link {
    display: inline-block;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    padding: 12px 22px;
    border: none !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    margin-top: 16px;
    transition: opacity 0.2s ease;
}

.product-card-link:hover,
a.product-card-link:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    opacity: 0.80;
}


/* =========================================================
   HERO - GENERALE
   ========================================================= */

.hero-title {
    transform: translateY(-50px);
    text-align: center;
}


/* =========================================================
   HEADER - GENERALE
   ========================================================= */

#header .ct-header-trigger svg * {
    fill: #B56F3A !important;
    stroke: #B56F3A !important;
}


/* =========================================================
   MOBILE - FINO A 767px
   ========================================================= */

@media (max-width: 767px) {

    /* GRIGLIA PRODOTTI */

    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* CARD PRODOTTO */

    .product-card {
        background-color: rgba(184, 146, 90, 0.88) !important;
        padding: 24px 20px;
        border-radius: 18px;
    }


    /* IMMAGINE PRODOTTO */

    .product-card-image {
        border-radius: 14px;
        overflow: hidden;
    }

    .product-card-image img {
        width: 100%;
        height: auto;
        border-radius: 14px;
    }


    /* TITOLO PRODOTTO */

    .product-card-title {
        font-size: 24px;
        line-height: 1.2;
        color: #000000 !important;
    }

    .product-card-title a {
        color: #000000 !important;
    }


    /* DESCRIZIONE PRODOTTO */

    .product-card-description {
        color: #241710 !important;
        font-size: 18px;
        line-height: 1.5;
    }


    /* PULSANTE SCOPRI */

    .product-card-link,
    a.product-card-link {
        background-color: #000000 !important;
        color: #FFFFFF !important;
    }


    /* HEADER MOBILE */

    .ct-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background: transparent;
    }

    [data-header*="type-1"] {
        --header-height: 40px !important;
    }

    #header {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background: transparent !important;
    }

    #header [data-device="mobile"],
    #header [data-device="mobile"] [data-row="middle"],
    #header [data-device="mobile"] .ct-container {
        background: transparent !important;
    }

    #header [data-device="mobile"] [data-row="middle"] {
        min-height: 40px !important;
        height: 40px !important;
    }

    body.home #main {
        margin-top: -40px !important;
    }


    /* HERO MOBILE */

    .hero-logo {
        transform: translateY(-200px);
    }

    .hero-title {
        transform: translateY(-20px) !important;
        max-width: 337px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -40px;
        text-align: center;
    }


    /* PULSANTE HOME */

    .button-home {
        transform: translateY(0) !important;
        width: 100% !important;
    }

    .button-home .stk-row {
        justify-content: center !important;
        width: 100% !important;
    }

    .button-home .wp-block-stackable-button {
        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* TESTO HOME */

    .testo-home {
        max-width: 380px;
        margin: 0 auto;
        padding: 28px 20px 36px;
        font-size: 16px;
        line-height: 1.7;
        text-align: center;
        letter-spacing: 0.01em;
    }


    /* TESTO SEZIONE PRODOTTI */

    h3.alza-testo-prodotti,
    .wp-block-stackable-text.alza-testo-prodotti {
        transform: translateY(-25px) !important;
    }


    /* IMMAGINE MOBILE */

    .wp-image-398 {
        position: relative;
        top: -30px;
    }
}


/* =========================================================
   DESKTOP - DA 1024px
   ========================================================= */




    /* HERO */

    .hero-nera {
        min-height: 600px !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}