/* * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

body {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none
} */

.modal-dialog{
    margin-top: 6% !important;
}

.pointer {
    cursor: pointer !important;
}

.dz-media>img {
    object-fit: scale-down !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dz-border.dz-media {
    align-self: center !important;
    /* width: 300px !important; */
    height: 320px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;

}

.dz-shop-card.style-2 {
    justify-content: center;
    /* จัดเนื้อหาทั้งหมดให้อยู่กลางแนวนอน */
    align-items: center;
    margin: auto;
    padding: auto;
}

.dz-shop-card.style-2 .dz-media {
    margin: 6px auto !important;
}

.dz-shop-card.style-2 .dz-content {
    flex: 1;
    align-self: center;
    margin-left: 20px;
}

/* .form-check-input{
    opacity: 0 !important;
} */

#QuickViewModal .swiper-slide {
    /* background-color: red !important; */
    padding: 4px !important;
}

#QuickViewModal .swiper-slide {
    position: relative;
}

#QuickViewModal .swiper-slide::after {
    content: attr(data-index-image);
    position: absolute;
    top: 12px;
    right: 12px;
    /* width: 28px; */
    padding: 0 10px;
    height: 28px;
    /* border-radius: 50%; */
    background-color: var(--circle-color, rgba(0, 0, 0, 0.6));
    color: #fff;
    text-align: center;
    line-height: 28px;
    font-size: 12px;
    font-weight: 600;
    /* border: 2px solid #fff; */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

.shop-sidebar-cart {
    gap: 4px;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-dz {
    background-color: var(--toast-bg, #333);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 0 12px var(--toast-shadow, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.logo-header img{
    transition: transform 0.3s ease-in-out;
    scale: .7 !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* สำหรับ Firefox */
input[type=number] {
  -moz-appearance: textfield;
}