/*
* Stili per la pagina Depliant Flessibile
*/

/*-----------------------------------------------------------------------------*
 *  STRUTTURA GENERALE E INTRO
 *-----------------------------------------------------------------------------*/

.main-content--depliant {
    background-color: #ffffff;
}

@media screen and (max-width: 900px) {
    .main-content--depliant {
        padding: 10vh 2rem;
    }
}

.depliant-intro {
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.depliant-intro h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #2a3542;
    margin-bottom: 1rem;
    text-align: center;
}

.depliant-intro p {
    font-size: 1.2rem;
    color: #596c7f;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.depliant-section {
    padding: 3rem 0;
}

.depliant-section__header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2a3542;
    margin-bottom: 1rem;
    text-align: center;
}

.depliant-section__header p {
    font-size: 1.1rem;
    color: #596c7f;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .no-margin-top-mobile {
        margin-top: 0 !important;
    }
}

/*-----------------------------------------------------------------------------*
 *  SEZIONE CON CARD
 *-----------------------------------------------------------------------------*/
.depliant-item .grid-column {
    display: flex;
    flex-direction: column;
}

.depliant-card {
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.depliant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.depliant-card__image {
    overflow: hidden;
}

.depliant-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.depliant-card__content {
    padding: 22px;
    flex-grow: 1;
    background-color: #cdcccc;
}

.depliant-card__title {
    margin-top: 0;
    font-weight: bold;
    color: #2a3542;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

/*-----------------------------------------------------------------------------*
 *  TABELLA DOWNLOAD (Stile da single-product.php)
 *-----------------------------------------------------------------------------*/

.product_downloads {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product_downloads .table_header {
    background-color: #fff88c;
    color: #4d5966;
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 20px;
    margin: 0;
    text-transform: uppercase;
}

.product_downloads ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #eee;
    border-top: none;
    flex-grow: 1;
}

.product_downloads li {
    margin: 0;
    padding: 0;
}

.product_downloads li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #596c7f;
    transition: background-color 0.2s ease;
}

.product_downloads li:last-child a {
    border-bottom: none;
}

.product_downloads li a:hover {
    background-color: #f9f9f9;
    color: #2a3542;
}

.product_downloads li a:after {
    content: "[";
    font-family: "casta-icons";
    font-size: 1.2rem;
    color: #ccc;
    transition: color 0.2s ease;
}

.product_downloads li a:hover:after {
    color: #4d5966;
}

/*-----------------------------------------------------------------------------*
 *  SEZIONE FEATURED (Senza Card)
 *-----------------------------------------------------------------------------*/

.depliant-section--featured .l-row {
    align-items: center;
}

.depliant-featured__image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*-----------------------------------------------------------------------------*
 *  SEZIONE DOWNLOAD MULTIPLI
 *-----------------------------------------------------------------------------*/

.depliant-section--download-all {
    padding: 4rem 0 10rem 0;
    margin-top: 3rem;
}

.download-all-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-all-header {
    margin-bottom: 2rem;
}

.download-all-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2a3542;
    margin-bottom: 0.5rem;
}

.download-all-description {
    font-size: 1.1rem;
    color: #596c7f;
}

.download-all-button-wrapper {
    margin-top: 2rem;
}

.download-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #fff88c;
    color: #2a3542;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-all-btn:hover {
    background-color: #f5e84a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.download-all-btn .btn-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.download-progress {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.progress-text {
    font-size: 1.1rem;
    color: #2a3542;
    font-weight: bold;
}

.progress-count {
    font-size: 0.9rem;
    color: #596c7f;
}

@media screen and (max-width: 768px) {
    .download-all-title {
        font-size: 1.5rem;
    }

    .download-all-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
