.pointer-events-none {
    pointer-events: none;
}

.color-option.cursor-not-allowed {
    cursor: not-allowed !important;
    position: relative;
}

.color-option.cursor-not-allowed:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: inherit;
    z-index: 1;
}

.size-option:disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border-color: #e5e7eb !important;
}

.size-option.cursor-not-allowed {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border-color: #e5e7eb !important;
}

.quantity-btn:disabled,
.quantity-btn.cursor-not-allowed {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border-color: #e5e7eb !important;
}

#quantity:disabled {
    background-color: #f9fafb !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
}

.size-guide-btn:disabled {
    color: #9ca3af !important;
    cursor: not-allowed !important;
}

.btn-disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

.preorder-closed .variant-section,
.preorder-closed .quantity-section {
    position: relative;
}

.preorder-closed .variant-section:before,
.preorder-closed .quantity-section:before {
    content: "Preorder ditutup";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
}

.pointer-events-none .color-option:hover,
.pointer-events-none .size-option:hover,
.pointer-events-none .quantity-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}
