/* Animation */
.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Card Hover */
.product-card { transition: all 0.3s ease; }
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Category Sidebar Frame --- */
.category-frame {
    border: 2px solid #cd853f; /* Gold/Peru border */
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Optional double border effect */
.category-frame::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid #8b4513; /* Darker brown inner border */
    pointer-events: none;
    border-radius: 4px;
}

/* Custom Radio Buttons */
input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cd853f;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
input[type="radio"]:checked {
    background-color: #cd853f;
    box-shadow: inset 0 0 0 3px white;
}

/* Hide Spinner from Number Input */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}




/* Custom Animations */
.animate-pulse-slow {
    animation: pulse 3s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-slide-right {
    animation: slideRight 0.3s ease-out forwards;
}
@keyframes slideRight {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.animate-bounce-slow {
    animation: bounce 2.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Remove Spinner from Number Input */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fcf9f7; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #cd853f; }

/* Toast Notifications */
.toast { animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
.toast.hide { animation: slideOutRight 0.5s forwards; }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }