main, section, ul {
    /*margin: 0 80px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*max-width: 1280px;*/
}

@media (max-width: 768px) {
    main, section, ul {
        margin: 0 20px;
    }
}

@media (min-width: 1280px) {
    main, section, ul {
        /*margin: 0 auto;*/
        /*padding: 0 80px;*/
    }
}

ul h2, ul span {
    font-weight: 500;
    font-size: 20px;
    margin: 0;
    color: var(--Black);
}

@media (max-width: 768px) {
    ul h2, ul span {
        font-size: 16px;
    }
}

.accessories-tags-filter {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.accessories-tags-filter .tag-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

.accessories-tags-filter button {
    padding: 6px 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.accessories-tags-filter button:hover {
    opacity: 0.8;
}

/* standaard content tonen op desktop */
.accessories-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* mobiele toggle */
@media (max-width: 768px) {
    #accessories-filter-content {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        border: 1px solid #ddd;
        background: #fff;
    }

    .filter-toggle-button {
        display: inline-block;
        background: #000;
        color: #fff;
        padding: 0.5rem 1rem;
        border: none;
        cursor: pointer;
        font-weight: bold;
        border-radius: 4px;
    }
}


.products-grid {
    width: 100%;
}

.shop-products {
    /*margin: auto;*/
    width: 100%;
    align-items: start;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding: 40px;
}

@media (max-width: 1440px) {
    .shop-products{
        margin: 80px 0px;
        /*padding: 0 80px;*/
    }

}

@media (max-width: 768px) {
    .shop-products{
        margin: 0px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
}


.products {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        margin: 80px auto;
    }
}

.products li {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products li:hover a img, .category-item:hover  {
    transform: translateY(-5px) scale(1.02); /* subtle lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* keeps corners smooth */
}

li a img {
    object-fit: cover;
    max-height: 291px;
    width: 100%;
    display: block;
    flex-shrink: 0;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


li .button {
    border-radius: 5px;
    border: 1px solid var(--Black, #000);
    background: var(--Beige, #D9D7CB);
    color: var(--Black, #000);
    display: flex;
    /*width: fit-content;*/
    box-sizing: border-box;
    transition: ease-in-out 0.2s;
    align-items: center;
    padding: 5px 0;
    margin-top: 14px;
    width: 60%;
    text-transform: uppercase;
    text-decoration: none;
}

.products li:hover .button, .category-item:hover .category-cta {
        border: 1px solid var(--White, #FFF);
        background: var(--Softer-Black, #252522);
        color: var(--White, #FFF);
}

.products li h2 {
   padding-top: 6px;
}

.products li span {
   padding-top: 0;

}

.products li a {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


li.product {
    position: relative;
}

li.product .add_to_cart_button {
    position: absolute;
    bottom: 100px;
    right: 7px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

li.product:hover .add_to_cart_button {
    opacity: 1;
    pointer-events: auto;
}






.shop-cta, .category-slider {
    margin: 0 80px;
}

@media (max-width: 768px) {
    .shop-cta, .category-slider {
        margin: 0 20px;
    }

    li a img {
        height: 150px;
    }

    .accessories-filter-wrapper {
    position: fixed;
    bottom: 10px;
    z-index: 10;
    right: 10px;
}
}

@media (min-width: 1280px) {
    .shop-cta, .category-slider {
        margin: 0 auto;
        padding: 0 80px;
    }
}






.shop-cta {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .shop-sta {
        margin-top: 65px;
    }
}

.bottom-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .bottom-text {
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .bottom-text a {
        align-self: end;
    }
}


.button-medium {
    max-width: 270px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
}

.click-button {

}


@media (max-width: 310px) {
    .button-medium {
       width: 100%;
    }
}

.category-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 65px;
    margin-bottom: 100px;
}

@media (max-width: 1280px) {
    .category-slider {
        grid-template-columns: repeat(2, 2fr);
    }
}

@media (max-width: 768px) {
    .category-slider {
        grid-template-columns: repeat(1, 1fr);
    }

    .category-slider {
        gap: 20px;
        margin-top: 50px;
        margin-bottom: 65px;
    }
}

.category-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 0 15px -5px rgba(0,0,0,0.25);
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}


@media (max-width: 1280px) {

   
}

.category-overlay {
    position: absolute;
    inset: 0;
    padding: 40px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: rgba(0,0,0,0.3);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .category-item {
        height: 230px;
    }

    .category-overlay {
        padding: 8px;
    }
}

.category-description {
    font-size: 16px;
}

.category-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #E73427;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: ease-in-out 0.2s;
}


.arrow {
    height: 18px;
    object-fit: contain;
    align-self: center;
}

/*!* Optioneel: responsive *!*/
/*@media (max-width: 768px) {*/
/*    .category-slider {*/
/*        flex-direction: column;*/
/*        gap: 20px;*/
/*    }*/
/*    .category-item {*/
/*        width: 90%;*/
/*        height: auto;*/
/*        aspect-ratio: 289/629;*/
/*    }*/
/*}*/


.load-more-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 100px;
}



.load-more.disabled,
.load-more:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}












