/* ===== ACCESSORIES QUOTER STYLES ===== */

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: #E41F27;
    color: white;
    border-color: #E41F27;
    box-shadow: 0 10px 20px rgba(228, 31, 39, 0.2);
}

.car-tab.active {
    background: #fff;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Accessory Card */
.accessory-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 1rem;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.accessory-card:hover {
    transform: translateY(-10px);
    border-color: rgba(228, 31, 39, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.accessory-image {
    aspect-ratio: 1/1;
    background: #0a0a0a;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.accessory-card:hover .accessory-image img {
    transform: scale(1.1);
}

.accessory-cat {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #E41F27;
    margin-bottom: 0.5rem;
    display: block;
}

.accessory-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.btn-add-accessory {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-accessory:hover {
    background: white;
    color: black;
}

.btn-add-accessory.added {
    background: #E41F27;
    color: white;
    border-color: #E41F27;
}

/* Drawer UI */
#cart-drawer.active {
    visibility: visible;
}

#cart-drawer.active .drawer-overlay {
    opacity: 1;
}

#cart-drawer.active .translate-x-full {
    transform: translateX(0);
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: #000;
    object-fit: cover;
}

.btn-remove-item {
    color: #E41F27;
    padding: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.btn-remove-item:hover {
    opacity: 1;
    background: rgba(228, 31, 39, 0.1);
    border-radius: 0.5rem;
}

/* Animations */
@keyframes cartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.animate-cart {
    animation: cartBounce 0.4s ease;
}