/* Hero Banner */
.shop-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/storage/cx/images/shop.webp') no-repeat center center/cover;
    height: 15rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fw-black { font-weight: 900; }

.filter-glass-card {
    background: #ffffff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.custom-check .form-check-input {
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
    border: 2px solid #ddd !important;
}

.custom-check .form-check-input:checked {
    background-color: #000 !important;
    border-color: #000 !important;
}

.custom-check .form-check-label {
    padding-left: 8px;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.custom-check:hover .form-check-label {
    color: #000 !important;
}

/* Search Wrapper */
.search-wrapper .input-group {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.search-wrapper .input-group:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: #000 !important;
}

/* Pagination Modernization */
.pagination-modern .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff !important;
    border-radius: 50% !important;
    margin: 0 5px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
}

.pagination-modern .page-link:hover {
    transform: translateY(-2px);
}

.pagination-modern .page-item.active .page-link,
.pagination-modern .page-item.active span.page-link {
    background-color: #000;
    color: white !important;
    border-color: #000;
    pointer-events: none;
}

.pagination-modern .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #ccc;
    opacity: 0.6;
}

/* Scrollbar styling */
.card-body-custom::-webkit-scrollbar {
    width: 4px;
}
.card-body-custom::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

/* Animations */
.animate-fade-in { animation: fadeInDown 0.8s ease-out forwards; }
.animate-fade-in-delayed { animation: fadeInUp 1s ease-out 0.2s forwards; opacity: 0; }

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

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

#shop a, 
#shop .shop-custom-card a,
#shop .products-grid a {
    text-decoration: none !important;
    color: inherit !important;
}

.shop-custom-card h6, 
.shop-custom-card .card-title {
    color: #000 !important;
}

@media (max-width: 767.98px) {
    .title{
        font-size: 1.2rem;
    }
    .shop-hero {
        height: 8rem;
    }
    
    .pagination-modern .page-link {
        width: 36px;
        height: 36px;
        margin: 0 3px;
        font-size: 0.85rem;
    }

    .pagination-modern .page-item:first-child .page-link span,
    .pagination-modern .page-item:last-child .page-link span {
        display: none; 
    }
    
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 0;
    }
}