:root {
    --green: #69b75a;
}

#blockcart-modal .modal-header {
    background-color: var(--green);
    color: #FFF;
}

#blockcart-modal .modal-header p {
    color: #FFF;
    text-align: center;
    padding: 16px 0 0 0;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
}

#blockcart-modal .modal-header .close {
    right: 20px;
    top: 10px;
}

#blockcart-modal .modal-body p.price {
    color: var(--green);
}

#blockcart-modal .cart-content-btn {
    margin-top: 0;
}

#blockcart-modal .cart-content .cart-content-btn a.btn {
    background-color: var(--green);
    color: #FFF;
    font-weight: 600;
}

#blockcart-modal .cart-content .cart-content-btn a.btn:hover {
    background-color: #04a83d;
}

#blockcart-modal .cart-content .cart-content-btn i {
    position: relative;
    left: -5px;
}

#blockcart-modal .modal-dialog {
    max-width: 60rem;
}

#blockcart-modal .divide-left .product_name {
    color: #000;
    font-size: 1.3rem;
    overflow: visible;
    font-weight: 500;
    margin-bottom: 20px;
}

#blockcart-modal .cart-content p,
#blockcart-modal .cart-content p strong {
    color: #000;
}

#blockcart-modal .divide-left .price {
    font-size: 1.8rem;
}

#ContainerModalAddToKit .row {
    display: flex;
}

#ContainerModalAddToKit .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#ContainerModalAddToKit .product-name {
    text-transform: none !important;
}

#ContainerModalAddToKit .text-right {
    text-align: right !important;
}

#ContainerModalAddToKit .kit-suggestions-section {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

#ContainerModalAddToKit .recommended-product-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 10px;
}

#ContainerModalAddToKit .badge-original {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--green);
    color: white;
    padding: 5px 15px 5px 35px;
    font-size: 12px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 10;
    width: 150px;
}

#ContainerModalAddToKit .product-thumbnail {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

#ContainerModalAddToKit .product-thumbnail-small {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

#ContainerModalAddToKit .infoProd h5.product-name {
    color: #000;
    text-transform: uppercase;
}

#ContainerModalAddToKit .alternativeKit p {
    margin-bottom: 5px;
    color: #000;
}

#ContainerModalAddToKit .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
    line-height: 1.3;
}

#ContainerModalAddToKit .product-name-small {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 1rem;
}

#ContainerModalAddToKit .product-reference {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

/* Lista caratteristiche */
#ContainerModalAddToKit .product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

#ContainerModalAddToKit .product-features li {
    margin-bottom: 8px;
}

#ContainerModalAddToKit .product-features li i {
    margin-right: 5px;
    color: var(--green);
    font-size: 16px;
}

/* Prezzo */
#ContainerModalAddToKit .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 10px;
}

#ContainerModalAddToKit .product-price-small {
    font-size: 18px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 7px;
}

#ContainerModalAddToKit .btn-add-to-cart {
    background: var(--green);
    color: #FFF;
    font-size: .81rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding: 7px 0 5px 0px;
}

.suggestedCartImg {
    width: 20px;
    margin-right: 1px;
}

#alternativeProducts .suggestedCartImg {
    bottom: 14px;
}

#ContainerModalAddToKit .btn-add-to-cart:hover {
    background: #229954;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

#ContainerModalAddToKit .btn-add-to-cart i {
    margin-right: 5px;
}

#ContainerModalAddToKit .link-show-alternatives {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

#ContainerModalAddToKit .link-show-alternatives:hover {
    color: #229954;
    text-decoration: underline;
}

#ContainerModalAddToKit .link-show-alternatives i {
    transition: transform 0.3s ease;
}

#ContainerModalAddToKit .link-show-alternatives:hover i {
    transform: translateX(5px);
}

#ContainerModalAddToKit .alternative-product-card {
    background: white;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

#ContainerModalAddToKit .alternative-product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--green);
}


.infoKit .infoKitQuestion {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.infoKit .infoKitQuestion p {
    color: #e47117;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
}

.product-information .questionAddKit {
    padding-left: 10px;
    line-height: 17px;
}

.infoKit .infoKitStep p {
    font-size: 13px;
    margin-bottom: 0px;
    text-align: left;
    line-height: 18px;
}

.downloadDataSheet img {
    position: absolute;
    left: 10px;
    top: 7px;
}

.product-prices .tax-shipping-delivery-label {
    font-size: 1rem;
    color: #7a7a7a;
    margin-top: 10px;
}

#containerLeftinfoProduct .product-add-to-cart .product-quantity .add img {
    width: 20px;
}

.product_name {
    max-height: none;
    text-transform: none;
    line-height: 1.5rem;
}

#ContainerModalAddToKit .btn-addedToCart {
    padding: 10px 10px 10px 20px !important;
}

#add-to-cart-or-refresh .product-quantity {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
}

#containerLeftinfoProduct .product-add-to-cart .product-quantity .add span {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

button.add-to-cart i.loading-spinner {
    position: absolute;
    left: 0;
    margin-top: 3px;
    right: 0;
}

.product-quantity #quantity_wanted {
    padding: .175rem .19rem;
    width: 2rem;
}

#containerLeftinfoProduct .product-add-to-cart .product-quantity .add {
    min-width: unset;
    width: inherit;
}

#add-to-cart-or-refresh .product-quantity {
    width: 100%;
}

.product-add-to-cart .product-quantity .qty {
    margin-bottom: 0;
    margin-top: 0;
    width: max-content;
}


/* Responsive */
@media (max-width: 768px) {

    .infoKitQuestion img {
        width: 50px;
    }

    .infoKit .infoKitQuestion p {
        font-size: 0.92rem;
    }

    #ContainerModalAddToKit .product-thumbnail,
    #ContainerModalAddToKit .product-thumbnail-small {
        max-height: 150px;
        margin-bottom: 0px;
    }

    #blockcart-modal .modal-header p {
        text-align: left;
        padding: 16px 0 0 10px;
        font-size: 0.94rem;
    }

    #containerLeftinfoProduct .product-add-to-cart .product-quantity .add span {
        font-size: 16px;
    }

    .product-add-to-cart .product-quantity .qty {
        width: 70px;
    }

    #containerLeftinfoProduct .product-add-to-cart .product-quantity .add button {
        width: 100%;
        padding: 6px 0;
    }

    #ContainerModalAddToKit .row {
        display: block;
        margin: 17px 0 0;
    }

    #ContainerModalAddToKit .product-name {
        font-size: 14px;
    }

    #ContainerModalAddToKit .product-price {
        font-size: 1.9rem;
        text-align: left;
        margin: 10px 0;
        font-weight: 900;
    }

    .suggestedCartImg {
        position: absolute;
        left: 10px;
        width: 22px;
        margin-right: 0;
        top: 7px;
    }

    #ContainerModalAddToKit .btn-add-to-cart {
        font-size: 0.9rem;
        padding: 10px 0 10px 10px;
        position: relative;
    }

    #ContainerModalAddToKit .badge-original {
        font-size: 10px;
        padding: 3px 10px 3px 40px;
    }

    #ContainerModalAddToKit .product-name-small {
        margin-bottom: 7px;
    }

    p.downloadDataSheet a {
        text-align: center;
    }

    .downloadDataSheet img {
        position: relative;
        left: 0;
        top: -2px;
        margin-right: 10px;
    }

}

@media (max-width: 576px) {

    #ContainerModalAddToKit .row {
        display: block;
        margin: 17px 0 0;
    }

    #ContainerModalAddToKit .kit-suggestions-section {
        padding: 10px;
    }

    #ContainerModalAddToKit .recommended-product-card {
        padding: 10px;
    }
}