.carousel {
    background: white;
    padding-top: 2.5rem;
    border-top: 3px solid #646464;
}

.carousel-cell {
    width: 19%;
    height: 200px;
    margin-right: 10px;
    background: #646464;
    border-radius: 5px;
}

.carousel-cell.is-selected {
    background: gold;
}

.carousel-cell-image{
    display: block;
    height: 100%;
    width: 100%;
    padding: 8px;
    object-fit: cover;
}

.carousel-cell-text{
    background: #646464;
    z-index: 1;
    position: absolute;
    text-align: center;
    font-family: Georgia;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 20%;
    color: gold;
    width: 70%;
}

.item {
    position: relative;
    margin: 0 2rem;
    height: 540px;
    background: #fff;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: 1s;
    /* border: 2px solid gray; */
}

@media (min-width: 486px) {
    .item {
        width: 340px;
        margin: 0;
    }
}

.item .item-img {
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    transition: 1s;
}

.item .item-img img {
    display: block;
    width: 100%;
    margin: 0 auto 0;
    transition: 6s;
}

.item-details {
    position: absolute;
    bottom: -120px;
    width: 100%;
    background: #fff;
    padding: 20px;
    padding-top: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: 1s;
}

.item-details h2 {
    margin: 0;
    padding: 1rem 0;
    width: 100%;
    font-size: 26px;
}

.item-details h2 span {
    font-size: 12px;
    color: #bbb;
    font-weight: normal;
}

.item-details .price {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.item-details a {
    display: block;
    padding: 10px;
    font-size: 22px;
    color: gold;
    margin: 15px 0 0;
    background: #646464;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: 1s;
}


.item:hover .item-details {
    overflow: visible;
    bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transition: 1s;
}

/* .item:hover .item-img {
    position: absolute;
    bottom: 50px;
    transition: 1s;
}

.item:hover h2,
.item:hover .price {
    padding-top: 20px;
    padding-bottom: 0;
} */

.pagination-grid{
    display: grid;
    grid-template-columns: 10% 80% 10%;
}

.pagination-number-span{
    display: flex;
    justify-content: center;
}

.products-grid{
    display: flex;
    align-content: inherit;
    justify-content: center;
}

.products {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.page-btn {
    position: fixed;
    top: calc(50vh - 2rem);
    min-width: 4rem;
    max-width: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    display: flex;
    align-items: center;
    right: 2rem;
}

@media (min-width: 1400px) {
    .page-btn {
        position: relative;
        top: 0;
    }
}


.button-next-page{
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #646464;
    fill: gold;
}

.button-next-page:hover {
    background-color: gold;
    fill:#646464;
    border-radius:50%;
    box-shadow: 0 0 0 3px #646464;
    transform: scale(1.2);
}

.button-prev-page{
    position: absolute;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #646464;
    fill: gold;
}

.button-prev-page:hover{
    background-color: gold;
    fill:#646464;
    border-radius:50%;
    box-shadow: 0 0 0 3px #646464;
    transform: scale(1.2);
}

.filter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-top: 3px solid #646464;
    padding-top: 25px;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter a{
    color: gold;
    padding: .5rem 1rem;
    margin-right: .5rem;
    border-radius: 3px;
    text-decoration: none;
}

.filter button:hover{
    color: #646464;
    background: gold;
}

.filter a:hover{
    color: #646464;
    background: gold;
}

.filter button.show{
    color: #646464;
    background: gold;
}

.dropdown-menu.show{
    background: #646464;
}

a.dropdown-item:hover{
    background: gold;
    color: #646464;
}

a.dropdown-item{
    border-bottom: 0.2rem solid gray;
}

.carousel { display: none !important; }

@media (min-width: 1400px) {
    .carousel { display: block !important; }
}
