main {
    background-color: var(--color-bg);
}

h3 {
    text-align: center;
    line-height: 1;

    font-family: 'Safira March';
    color: var(--color-default);
    font-weight: 600;
    font-size: 3rem;
    margin: 0;
}

.pagination {
    --bs-pagination-color: var(--color-gray);
    --bs-pagination-bg: var(--color-bg);
    --bs-pagination-hover-color: var(--color-default);
    --bs-pagination-hover-bg: #fafafa;
    --bs-pagination-hover-border-color: var(--color-default);
    --bs-pagination-focus-color: var(--color-default);
    --bs-pagination-focus-bg: #fafafa;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem var(--color-default);
    --bs-pagination-active-color: #fafafa;
    --bs-pagination-active-bg: var(--color-default);
    --bs-pagination-active-border-color: var(--color-gray);
    --bs-pagination-border-color: var(--color-gray);
}

.products-page .banner {
    height: 200px;
    width: 100%;
    color: var(--color-white);
    background-size: cover;
    background-image: linear-gradient(90deg, rgba(45, 49, 54, 0.6) 0%, rgba(45, 49, 54, 0.61) 50%), url(/assets/product/img/fachada.webp);
    display: flex;
    justify-content: center;
    align-items: center;
    background-position-y: 31%;
}

.products-page .banner h2 {
    font-size: 5rem;
    font-family: 'Safira March';
}

.products-page {
    background-color: var(--color-bg);
}

.products-page .custom-card {
    width: 100%;
    background-color: #fafafa;
    border-radius: 7px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.accordion {
    width: 100%;
    background-color: #fafafa !important;
    border-radius: 7px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 10px;
    color: var(--color-gray);
}

.accordion-item {
    border: none;
    background-color: #fafafa !important;
    color: var(--color-gray);
}

.accordion-button {
    border-bottom: 2px solid #cacaca6e;
}

.accordion-body {
    font-size: .9rem;

}

.accordion-button:focus {
    outline: unset;
    box-shadow: unset;
}

.accordion-button:not(.collapsed) {
    color: unset;
    background-color: unset;
    box-shadow: unset;
}

.checkbox-label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-label-group label {
    margin: 0;
    line-height: 1;
    color: var(--color-gray);
}

.checkbox-label-group .form-check-input {
    margin: 0;
}

.checkbox-label-group .form-check-input:checked {
    background-color: var(--color-default);
    border-color: var(--color-default);
}

.checkbox-label-group .form-check-input:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--color-default);
}

.price-filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.price-filter-container .input-label-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-filter-container .input-label-group input {
    background-color: #ebebeb;
    padding: 7px;
    font-size: .8rem;
    line-height: 1;
    border-radius: 5px;
    border: 2px solid #cacaca6e;
    color: #494949;
    width: 100%;
    text-transform: uppercase;
}

#products-filter-accordion ul {
    padding-left: 0px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: var(--color-default);
    margin: 0;
    list-style: none;
}

#products-filter-accordion ul button {
    border: none;
    background-color: unset;
    color: #a5a5a5;
    font-weight: 500;
}

.products-page .btn-border-default {
    background-color: #fafafa;
    padding: 7px;
    font-size: .8rem;
    line-height: 1;
    border-radius: 5px;
    border: 2px solid #cacaca6e;
    color: #a5a5a5;
    text-transform: uppercase;
}

.products-page .btn-border-default {
    border: 2px solid var(--color-default);
    color: var(--color-gray);
    padding: 7px 11px;
    transition: all 0.15s ease;
    width: 100%;
}

.products-page .btn-border-default:hover {
    background-color: var(--color-default);
    color: var(--color-white);
}

.custom-card.product-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-card.filters {
    background-color: transparent;
    box-shadow: none;
    border: none;
}


.custom-card.product-card .img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    padding: 10px;
    border: 2px solid #cacaca6e;
    background-color: #fafafa;
    border-radius: 8px;
}

.custom-card.product-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
}

.custom-card.product-card .product-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.custom-card.product-card .product-info h4 {
    color: var(--color-default);
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
}

.custom-card.product-card .product-info h5 {
    color: var(--color-gray);
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.custom-card.product-card .product-info p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1;
    margin: 0;
}

.custom-card.product-card .product-info p:first-of-type {
    font-weight: 800;
    margin-bottom: 5px;
}

.custom-card.product-card .product-info p:first-of-type span:first-of-type {
    font-size: 2rem;
}

.main-btn.card {
    text-decoration: none;
    width: 60%;
    text-align: center;
    padding: 5px;
    font-size: 1.15rem;
    border: 3px solid var(--color-default);
    transition: all 0.15s ease;
}

.main-btn.card:hover {
    color: var(--color-gray);
    background-color: #fafafa;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199px) {

    .products-cards h2,
    .products-title {
        font-size: 3.4rem;
    }

    .main-btn.card {
        width: 80%;
    }

    .custom-card.filters {
        max-width: 395px;
    }

}

@media (max-width: 767px) {

    h3 {
        font-size: 2.5rem;
    }

    .products-cards h2,
    .products-title {
        font-size: 3rem;
    }


    .custom-card.product-card .product-info h4 {
        font-size: 0.9rem;
    }

    .product-card h5 {
        font-size: .9rem;
        margin: 10px;
    }

    .main-btn.card {
        width: 70%;
        font-size: .9rem;
        padding: 2px;
    }

    .custom-card.product-card .product-info p:first-of-type span:first-of-type {
        font-size: 1.5rem;
    }

}

@media (max-width: 575px) {
    .products-page .banner {
        height: 150px;

    }

    .products-page .banner h2 {
        font-size: 4rem;
    }

    .custom-card.product-card {
        border-radius: 0px;
        box-shadow: none;
        border: 1px solid #cacaca6e;
    }

    /* .main-btn.card {
        padding: 2px;
        width: 70%;
    } */

    .custom-card {
        padding: 25px;
        border-radius: 0;
        box-shadow: none;
        border: 1px solid #cacaca6e;

        border-left: none;
        border-right: none;
    }

    .custom-card.filters {
        padding: 0;
        width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;

    }
}

@media (max-width: 480px) {
    .custom-card.product-card {
        padding: 10px;
    }

    .main-btn.card {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .custom-card.product-card {
        padding: 10px;
    }


}