/* Products Card */
.products_card {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}

/*
.products_card::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: radial-gradient(
        circle,
        rgba(238, 255, 0, 0.5) 0%,
        transparent 60%
    );
    transform: rotate(-25deg);
    transition: all 0.6s ease-in-out;
    opacity: 0;
}
*/

.products_cover {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.products_cover:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(67, 67, 67, 0.3)
}

.products_card:hover::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.products_card img {
    margin-bottom: 0!important;
}
/* End Products Card */

/* เปลี่ยนสีปุ่ม disabled */
.btn.btn-disabled, .btn[disabled], .btn:disabled {
    --tw-border-opacity: 0!important;
    background-color: oklch(0.51 0.01 0 / 0.2)!important;
    --tw-bg-opacity: .2!important;
    color: var(--fallback-bc, oklch(var(--bc) / var(--tw-text-opacity)))!important;
    --tw-text-opacity: .2!important;
}
/* End เปลี่ยนสีปุ่ม disabled */

.hover\:bg-primary:hover {
    background-color: #ecb807!important;
}

.hover\:text-primary:hover {
    color: #59103a!important;
}

.hover\:border-primary:hover {
    --tw-border-opacity: 1;
    border-color: #ecb807!important;
}

.text-primary {
    --tw-text-opacity: 1;
    color: #ecb807!important;
}

.border-primary {
    border-color: transparent!important;
}

.border-primary:hover {
    border-color: #ecb807!important;
}

.h-64 {
    height: 16rem;
}

.upline {
    position: fixed;
    bottom: 2px;
    right: 5px;
    z-index: 9999999999999999999;
}

.upline img {
    border-radius: 5px;
}

/* Responsive Design */

@media (max-width: 500px) {
    .sm_hide{
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:w-1\/5 {
        width: 20% !important;
    }
}