/*
|--------------------------------------------------------------------------
| Template Articoli - GeneratePress
| Stile uniforme con il resto di andreabaga.it
|--------------------------------------------------------------------------
*/

/* ==========================================================
   LAYOUT
   ========================================================== */

.ab-layout{
    display:flex;
    align-items:flex-start;
    gap:60px;
    margin:50px 0;
}

.ab-left{
    flex:0 0 46%;
}

.ab-right{
    flex:1;
    min-width:0;
}

/* ==========================================================
   GALLERIA
   ========================================================== */

.ab-gallery{
    display:flex;
    justify-content:center;
    align-items:center;
}

.ab-gallery img{
    width:100%;
    max-width:580px;
    aspect-ratio:1 / 1;
    object-fit:contain;
    display:block;
}

/* ==========================================================
   CATEGORIE
   ========================================================== */

.ab-categories{
    margin-bottom:15px;
}

.ab-category{
    display:inline-block;
    margin:0 8px 8px 0;
    padding:6px 14px;
    background:#F5F7F8;
    border-radius:30px;
    color:#1B3F8B;
    font-size:.85rem;
    font-weight:600;
}

/* ==========================================================
   TITOLO
   ========================================================== */

.ab-summary h1,
.ab-title{

    color:#1B3F8B;

    font-size:2.8rem;

    font-weight:700;

    line-height:1.2;

    margin:0 0 25px;

    padding-bottom:12px;

    border-bottom:5px solid #6BBE45;

}

/* ==========================================================
   TESTO
   ========================================================== */

.ab-subtitle,
.ab-short-description{

    color:#2F2F2F;

    font-size:17px;

    line-height:1.9;

    margin-bottom:25px;

}

.ab-short-description p:last-child{
    margin-bottom:0;
}

/* ==========================================================
   BOX ACQUISTO
   ========================================================== */

.ab-purchase-box{

    margin-top:40px;

    max-width:360px;

    background:#fff;

    border:1px solid #E6E6E6;

    border-radius:12px;

    padding:24px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.ab-selector-title{

    margin:0 0 15px;

    color:#1B3F8B;

    text-align:center;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:.90rem;

    font-weight:700;

}

.ab-flavour-select{

    width:100%;

    height:48px;

    border:1px solid #D8D8D8;

    border-radius:8px;

    background:#fff;

    padding:0 15px;

    margin-bottom:18px;

    font-size:15px;

}

.ab-flavour-select:focus{

    outline:none;

    border-color:#6BBE45;

}

.ab-badge{

    display:inline-block;

    margin-bottom:18px;

    padding:7px 14px;

    border-radius:30px;

    background:#6BBE45;

    color:#fff;

    font-size:12px;

    font-weight:700;

}

.ab-buy{

    margin-top:10px;

}

.ab-button{

    display:block;

    width:100%;

    text-align:center;

    background:#6BBE45;

    color:#fff !important;

    text-decoration:none;

    padding:15px 20px;

    border-radius:8px;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.ab-button:hover{

    background:#1B3F8B;

    color:#fff !important;

}

.ab-button.disabled{

    opacity:.45;

    pointer-events:none;

    cursor:not-allowed;

}

/* ==========================================================
   CONTENUTO
   ========================================================== */

.ab-content{

    margin-top:60px;

    clear:both;

}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

    .ab-layout{

        flex-direction:column;

        gap:35px;

    }

    .ab-left,
    .ab-right{

        width:100%;

        flex:0 0 100%;

    }

    .ab-gallery img{

        max-width:420px;

    }

    .ab-summary h1,
    .ab-title{

        font-size:2rem;

    }

    .ab-purchase-box{

        max-width:100%;

    }

}/*
|--------------------------------------------------------------------------
| Template Articoli - GeneratePress
| Stile uniforme con il resto di andreabaga.it
|--------------------------------------------------------------------------
*/

/* ==========================================================
   LAYOUT
   ========================================================== */

.ab-layout{
    display:flex;
    align-items:flex-start;
    gap:60px;
    margin:50px 0;
}

.ab-left{
    flex:0 0 46%;
}

.ab-right{
    flex:1;
    min-width:0;
}

/* ==========================================================
   GALLERIA
   ========================================================== */

.ab-gallery{
    display:flex;
    justify-content:center;
    align-items:center;
}

.ab-gallery img{
    width:100%;
    max-width:580px;
    aspect-ratio:1 / 1;
    object-fit:contain;
    display:block;
}

/* ==========================================================
   CATEGORIE
   ========================================================== */

.ab-categories{
    margin-bottom:15px;
}

.ab-category{
    display:inline-block;
    margin:0 8px 8px 0;
    padding:6px 14px;
    background:#F5F7F8;
    border-radius:30px;
    color:#1B3F8B;
    font-size:.85rem;
    font-weight:600;
}

/* ==========================================================
   TITOLO
   ========================================================== */

.ab-summary h1,
.ab-title{

    color:#1B3F8B;

    font-size:2.8rem;

    font-weight:700;

    line-height:1.2;

    margin:0 0 25px;

    padding-bottom:12px;

    border-bottom:5px solid #6BBE45;

}

/* ==========================================================
   TESTO
   ========================================================== */

.ab-subtitle,
.ab-short-description{

    color:#2F2F2F;

    font-size:17px;

    line-height:1.9;

    margin-bottom:25px;

}

.ab-short-description p:last-child{
    margin-bottom:0;
}

/* ==========================================================
   BOX ACQUISTO
   ========================================================== */

.ab-purchase-box{

    margin-top:40px;

    max-width:360px;

    background:#fff;

    border:1px solid #E6E6E6;

    border-radius:12px;

    padding:24px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.ab-selector-title{

    margin:0 0 15px;

    color:#1B3F8B;

    text-align:center;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:.90rem;

    font-weight:700;

}

.ab-flavour-select{

    width:100%;

    height:48px;

    border:1px solid #D8D8D8;

    border-radius:8px;

    background:#fff;

    padding:0 15px;

    margin-bottom:18px;

    font-size:15px;

}

.ab-flavour-select:focus{

    outline:none;

    border-color:#6BBE45;

}

.ab-badge{

    display:inline-block;

    margin-bottom:18px;

    padding:7px 14px;

    border-radius:30px;

    background:#6BBE45;

    color:#fff;

    font-size:12px;

    font-weight:700;

}

.ab-buy{

    margin-top:10px;

}

.ab-button{

    display:block;

    width:100%;

    text-align:center;

    background:#6BBE45;

    color:#fff !important;

    text-decoration:none;

    padding:15px 20px;

    border-radius:8px;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.ab-button:hover{

    background:#1B3F8B;

    color:#fff !important;

}

.ab-button.disabled{

    opacity:.45;

    pointer-events:none;

    cursor:not-allowed;

}

/* ==========================================================
   CONTENUTO
   ========================================================== */

.ab-content{

    margin-top:60px;

    clear:both;

}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

    .ab-layout{

        flex-direction:column;

        gap:35px;

    }

    .ab-left,
    .ab-right{

        width:100%;

        flex:0 0 100%;

    }

    .ab-gallery img{

        max-width:420px;

    }

    .ab-summary h1,
    .ab-title{

        font-size:2rem;

    }

    .ab-purchase-box{

        max-width:100%;

    }

}

/*==================================================
 TABS
==================================================*/

.ab-tabs{
    display:flex;
    gap:10px;
    margin:40px 0 30px;
    border-bottom:2px solid #E5E5E5;
}

.ab-tab{

    background:none;
    border:0;
    cursor:pointer;

    padding:14px 22px;

    font-size:17px;
    font-weight:700;

    color:#666;

    border-bottom:4px solid transparent;

    transition:.25s;

}

.ab-tab:hover{

    color:#1B3F8B;

}

.ab-tab.active{

    color:#1B3F8B;

    border-bottom-color:#6BBE45;

}

.ab-tab-content{

    display:none;

    margin-top:25px;

}

.ab-tab-content.active{

    display:block;

}

/* Nasconde il link "Edit form" di Forminator */
.forminator-module-edit-link {
    display: none !important;
}

/* ==========================================================
   STILE ARTICOLI - AndreaBaga.it
   ========================================================== */

/* Contenitore */

#ab-tab-descrizione{

    max-width:920px;
    margin:auto;
    padding:20px 30px 60px;
    font-size:19px;
    line-height:1.85;
    color:#374151;

}

/* Titolo principale */

#ab-tab-descrizione h1{

    font-size:52px;
    color:#166534;
    font-weight:700;
    line-height:1.15;
    margin-bottom:35px;

}

/* Titoli */

#ab-tab-descrizione h2{

    font-size:36px;
    color:#166534;
    margin-top:70px;
    margin-bottom:25px;
    padding-left:18px;
    border-left:6px solid #22c55e;

}

#ab-tab-descrizione h3{

    font-size:28px;
    color:#166534;
    margin-top:45px;
    margin-bottom:15px;

}

#ab-tab-descrizione h4{

    font-size:23px;
    color:#1f2937;
    margin-top:35px;

}

/* Testo */

#ab-tab-descrizione p{

    margin:18px 0;
    text-align:justify;

}

/* Link */

#ab-tab-descrizione a{

    color:#15803d;
    font-weight:600;
    text-decoration:none;

}

#ab-tab-descrizione a:hover{

    text-decoration:underline;

}

/* Liste */

#ab-tab-descrizione ul,
#ab-tab-descrizione ol{

    margin:20px 0 25px 30px;

}

#ab-tab-descrizione li{

    margin:12px 0;

}

/* Immagini */

#ab-tab-descrizione img{

    display:block;
    width:100%;
    height:auto;
    margin:45px auto;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

/* Tabelle */

#ab-tab-descrizione table{

    width:100%;
    border-collapse:collapse;
    margin:40px 0;

}

#ab-tab-descrizione th{

    background:#166534;
    color:#fff;
    padding:16px;

}

#ab-tab-descrizione td{

    padding:15px;
    border:1px solid #e5e7eb;

}

#ab-tab-descrizione tr:nth-child(even){

    background:#f8fafc;

}

/* Separatori */

#ab-tab-descrizione hr{

    border:none;
    border-top:2px solid #22c55e;
    width:120px;
    margin:50px auto;

}

/* Box */

#ab-tab-descrizione .ab-box{

    background:#fff;
    border-radius:18px;
    padding:30px;
    margin:40px 0;
    border:1px solid #e5e7eb;
    box-shadow:0 12px 35px rgba(0,0,0,.06);

}

/* Evidenza */

#ab-tab-descrizione .ab-highlight{

    background:#f0fdf4;
    border-left:6px solid #22c55e;
    padding:25px;
    margin:40px 0;
    border-radius:12px;

}

/* Benefici */

#ab-tab-descrizione .ab-benefits{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    margin:50px 0;

}

#ab-tab-descrizione .ab-benefit{

    background:#fff;
    border-radius:16px;
    padding:25px;
    text-align:center;
    border:1px solid #dcfce7;
    transition:.3s;

}

#ab-tab-descrizione .ab-benefit:hover{

    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

#ab-tab-descrizione .ab-benefit h3{

    margin-top:10px;
    color:#166534;

}

/* CTA */

#ab-tab-descrizione .ab-cta{

    background:linear-gradient(135deg,#15803d,#22c55e);
    color:#fff;
    border-radius:20px;
    text-align:center;
    padding:50px;
    margin:60px 0;

}

#ab-tab-descrizione .ab-cta h2{

    color:#fff;
    border:none;
    padding:0;
    margin:0 0 20px;

}

#ab-tab-descrizione .ab-cta p{

    color:#fff;
    text-align:center;

}

#ab-tab-descrizione .ab-button{

    display:inline-block;
    margin-top:20px;
    background:#fff;
    color:#15803d !important;
    padding:18px 40px;
    border-radius:12px;
    font-weight:700;
    text-decoration:none;

}

/* FAQ */

#ab-tab-descrizione .ab-faq{

    background:#fff;
    border-radius:15px;
    padding:25px;
    margin-bottom:20px;
    border:1px solid #e5e7eb;

}

/* Mobile */

@media (max-width:768px){

    #ab-tab-descrizione{

        padding:15px;
        font-size:18px;

    }

    #ab-tab-descrizione h1{

        font-size:38px;

    }

    #ab-tab-descrizione h2{

        font-size:30px;

    }

    #ab-tab-descrizione h3{

        font-size:24px;

    }

    #ab-tab-descrizione .ab-cta{

        padding:35px 20px;

    }

}