/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Page Transitions */
.page-enter {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Links - Underline Effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #CC0000;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Variant Selection Styling */
.variant-btn {
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}
.variant-btn:hover {
    border-color: #CC0000;
    color: #CC0000;
}
.variant-btn.active {
    background-color: #CC0000;
    color: white;
    border-color: #CC0000;
}

/* Color Swatch Styling */
.color-swatch {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: #9ca3af;
}

.color-swatch.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #CC0000; /* Ring Effect */
}