/* Component: Product Item */
.product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative
}

/* Header */
.product-item-header {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    flex-shrink: 0
}

.product-item-title {
    color: #003262;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline
}

.product-item-subtitle {
    color: #003262;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline
}

/* Image Container */
.product-item-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 10px;
    background: #E8EDF2;
    min-height: 400px
}

.product-item-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0 !important
}

.container-flex .wpb_wrapper{
    height: 100% !important;
}

/* Container per altezze uguali */
.container-flex,
.container-flex.vc_row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    align-items: stretch !important;
}

.container-flex > * {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.container-flex .product-item {
    height: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .container-flex {
        flex-wrap: wrap !important;
        gap: 15px
    }

    .container-flex > * {
        flex: 0 0 100% !important;
        width: 100% !important
    }

    .product-item-image {
        padding: 30px 20px;
        min-height: 300px
    }

    .product-item-title {
        font-size: 24px !important
    }

    .product-item-subtitle {
        font-size: 14px
    }

    .product-item-header {
        margin-bottom: 15px
    }
}

@media (max-width: 768px) {
    .container-flex,
    .container-flex.vc_row {
        display: block !important;
    }
    
    .product-item {
        height: auto !important;
    }
    
    .product-item-image {
        padding: 20px;
        min-height: 250px;
    }
    
    .product-item-title {
        font-size: 20px !important;
    }
    
    .product-item-subtitle {
        font-size: 13px;
    }
    
    .product-item-header {
        margin-bottom: 12px;
    }
}

