/* Custom styles that complement Tailwind */

/* Filter button states */
.filter-btn {
    border-color: #e5e7eb;
    background: white;
    color: #6b7280;
}
.filter-btn:hover {
    border-color: #CC0000;
    color: #CC0000;
}
.filter-btn.active {
    background: #CC0000;
    color: white;
    border-color: #CC0000;
}

/* Modal active state */
#productModal.active {
    opacity: 1;
    visibility: visible;
}
#productModal.active .modal-inner {
    transform: scale(1) translateY(0);
}

/* Modal color thumb */
.modal-color-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0;
}
.modal-color-thumb:hover,
.modal-color-thumb.active {
    border-color: #CC0000;
    transform: scale(1.08);
}
.modal-color-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal features */
.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
    color: #6b7280;
}
.modal-feature-item::before {
    content: '✓';
    color: #CC0000;
    font-weight: 700;
    flex-shrink: 0;
}

/* Navbar scroll shadow */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Hero image transition */
#heroImage img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
