.wcq-dialog .ui-dialog-titlebar .wcq-close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.wcq-tooltip {
    width: 14px !important;
    height: 14px !important;
}

.wcq-dialog {
    background: whitesmoke;
    padding: 10px;
    border-radius: 6px;
    z-index: 999999;
    position: relative;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.ui-dialog-titlebar-close {
    display: none !important;
}

.offerte-products-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.offerte-products {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    width: 100%;
}

.product-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 26px -6px rgba(0, 0, 0, 0.09);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.product-container .image-container {
    width: 150px;
    height: 150px;
}

.product-container .product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding:20px;
}

.product-container button {
    height: fit-content;
    font-size: 15px;
}

.product-container h2 {
    margin-bottom: 5px !important;
    font-size: 16px;
    color: rgb(47, 144, 199) !important;
}

.gform_button {
    background-color: rgb(47, 144, 199) !important;
}

.product-container p {
    margin-bottom: 0px !important;
}

.wcq-add-to-quote {
    margin: 0px 0px 20px 0px !important;
    padding: 20px 25px 20px 25px !important;
    width: fit-content;
    max-width: 280px !important;
    display: flex;
    gap: 10px;
}

.wcq-quantity {
    width: fit-content !important;
    max-width: 100px;
}

.product-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px
}

.product-container .product-attributes {
    display: flex;
    flex-direction: column;
    flex:1 ;
}

.product-container .product-attributes p {
    font-size: 14px;
}

.product-container .product-amounts {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
}

.product-container .product-amounts  p {
    font-size: 14px;
    color: black;
    font-weight: 400;
}

.wcq-tooltip .wcq-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    width: 18px;
    height: 18px;
}

.wcq-tooltip .icon {
    width: 18px;
    height: 18px;
    color: white;
}

.wcq-tooltip-icon::before {
    border: none !important;
}

.wcq-tooltip .wcq-tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -85px;
    opacity: 0;
    transition: opacity 0.3s;
    text-transform: none !important;
}

.wcq-tooltip .wcq-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

i:hover .wcq-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.product-container .product-amounts span {
    font-size: 17px;
    font-weight: 600;
    color: rgb(47, 144, 199);
}

.product-container .product-amounts label {
    font-size: 14px;
    color: black;
    font-weight: 400;
}

.product-container .product-amounts input {
    width: 100px;
    height: 30px;
    padding: 5px;
    font-size: 14px;
}

.products-total {
    max-width: 30%;
    width: 100%;
    padding: 20px;
    box-shadow: 0px 0px 26px -6px rgba(0, 0, 0, 0.09);
    height: fit-content;
    right: 0;
}

.products-total-container p {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.product-totals {
    margin-bottom: 20px;
}

.products-total-container span {
    font-size: 16px;
    font-weight: 600;
    color: rgb(47, 144, 199);
}

#gform_wrapper_1 {
    max-width: 70%;
}

@media screen and (max-width: 1024px) {
    .offerte-products-container {
        flex-wrap: wrap;
    }
    #gform_wrapper_1 {
        max-width: 100%;
    }

    .products-total {
        max-width: 70%;
        margin-bottom: 40px;
        position: relative;
    }

}

@media screen and (max-width: 768px) {

    .product-container {
        flex-wrap: wrap;

    }

    .product-head {
        gap: 10px;
    }

    .product-amounts {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media screen and (max-width: 510px) {
    .product-container {
        max-width: 100%;
        width: 100%;
    }

    .offerte-products {
        max-width: 100%;
        width: 100%;
    }

    .products-total {
        max-width: 100%;
        width: 100%;
    }

    .product-head {
        flex-direction: column-reverse;
        align-items: baseline;
    }
}