/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


.ucw-opac,
.ucw-popup,
.ucw-modal {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.ucw-opac {
    position: fixed;
    display: none;
    z-index: 99998;
    background-color: rgba(0, 0, 0, 0.8);
}

/* .ucw-popup {
    display: none;
    position: fixed;
    z-index: 99998;
} */

.ucw-modal {
    position: fixed;
    text-align: center;
    z-index: 99998;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7);
}

.ucw-active {
    transition: visibility 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.ucw-modal .ucw-container {
    position: relative;
    padding: 25px;
    display: block;
    max-width: 650px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99998;
}

.ucw-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: ease 0.3s;
}

.ucw-close:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.ucw-close svg {
    width: 24px;
    height: 24px;
}

.ucw-btns {
    display: flex;
    gap: 10px;
}

.ucw-btn {
    display: inline-block;
    font-weight: 400 !important;
    font-size: 14px;
    text-transform: inherit;
    color: #fff;
    text-align: center;
    line-height: 2.4em;
    padding: 0 10px !important;
    max-width: 100%;
    flex-basis: calc(100% / 3);
    margin: 0;
}

.ucw-success {
    border: 1px solid #15a422;
    background-color: #f0fdf0;
    border-radius: 5px;
    padding: 8px 10px;
}

.ucw-remove-pd {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 9999px;
    cursor: pointer;
}

.ucw-remove-pd svg {
    width: 100%;
    height: 100%;

}

.ucw-pimg a {
    display: block;
    width: 124px;
    height: 124px;
}

.ucw-pqty .ucw-qtybox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ucw-pqty .ucw-qtybox .ucw-chng{
    line-height: 34px;
    padding: 0 8px;
    border: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
}

.ucw-pqty .ucw-qtybox .ucw-chng:hover{
    box-shadow: inset 1px 0px 0px 20px #f5f5f5;
}

.ucw-pqty .ucw-qtybox input.ucw-qty{
    -webkit-appearance: textfield;
    appearance: textfield;
    border-radius: 0 !important;
    font-size: 1em;
    max-width: 2.5em;
    text-align: center;
    padding: 0;
    /* width: 62px; */
    pointer-events: auto;
    user-select: text;
}

.ucw-details{
    margin-bottom: 0;
}

.ucw-details tr:first-child .ucw-remove{
    display: none;
}

.ucw-ptotal{
    padding: 15px 0;
}

