.qty .count {
    color: #000;
    display: inline-block;
    vertical-align: top;
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    padding: 0 2px;
    min-width: 75px;
    text-align: center;
}

.qty .plus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 30px;
    height: 30px;
    font: 30px/1 Arial, sans-serif;
    text-align: center;
    border-radius: 50%;
}

.qty .minus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 30px;
    height: 30px;
    font: 30px/1 Arial, sans-serif;
    text-align: center;
    border-radius: 50%;
    background-clip: padding-box;
}

.qty div {
    text-align: center;
}

.minus:hover {
    background-color: #717fe0 !important;
}

.plus:hover {
    background-color: #717fe0 !important;
}

/*Prevent text selection*/
.qty span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.qty input {
    border: 2px solid;
    width: 2%;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty input:disabled {
    background-color: white;
}

#addToCart {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #7c87f7;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: 10px;
    bottom: 30px;
}

#addToCart.show {
    visibility: visible; /* Show the snackbar */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

.card-img-overlay .card-title {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 10px;
    padding: 5px;
    text-align: center;
    width: 100%;
    height: 70px !important;
}

.price {
    position: absolute;
    top: 10px;
    right: 0;
    font-weight: bold;
    background-color: rgba(227, 27, 29, 0.5);
    padding: 4px;
    color: white;
    font-size: 20px;
}

.soldout {
    position: absolute;
    bottom: 10px;
    left: 0;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px;
    color: white;
    font-size: 12px;
}

.sold-text {
    color: #d8d8d8 !important;
}

button:focus, button:active {
    outline: none !important;
    box-shadow: none;
}

.closebutton {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

