.page-title {
    width: 79%;
    height: 10vh;
    display: flex;
    margin: auto;
    margin-top: 25px;
}

.product-background {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    padding: 20px 0;
}

.menu-side-left {
    width: 25%;
}

.product-display-right {
    width: 75%;
}

.ps-block--menu-categories {
    border: 1px solid lightgrey;
    margin-right: 15px;
    border-radius: 15px;
}

.filter-section {
    display: flex;
    flex-direction: row;
}

.filter-section form,
.filter-criteria form {
    display: flex;
    flex-direction: row;
    column-gap: 5px;
    justify-content: space-between;
}

.all-filter button,
.available-filter button,
.sold-out-filter button {
    border: 1px solid lightgray;
    background-color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 25px;
    font-size: 1.1em;
    font-weight: 500;
    transition: 0.5s;
    border-bottom: none;
}

.all-filter input[type="submit"],
.available-filter input[type="submit"],
.sold-out-filter input[type="submit"] {
    background-color: transparent;
    border: none;
    padding: 8px 25px 8px 25px;
}

.all-filter button:hover,
.available-filter button:hover,
.sold-out-filter button:hover {
    background-color: #FCB800;
}

.all-filter button:active,
.available-filter button:active,
.sold-out-filter button:active,
.all-filter button:focus,
.available-filter button:focus,
.sold-out-filter button:focus {
    background-color: #FCB800;
    border-color: #FCB800;
}

.filter-criteria {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 12vh;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border: 1px solid lightgray;
    border-bottom: none;
    padding-left: 12px;
    padding-right: 12px;
}

.search-field {
    width: 88%;
    display: flex;
    align-items: center;
}

.narrow-button {
    width: 12%;
    margin: auto;
}

.search-field input {
    width: 90%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid lightgray;
    
}

.search-field h4 a {
    font-weight:bold;
}

.narrow-button select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid lightgray;
}

.product-details {
    border: 1px solid lightgray;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: none;
    margin-bottom: 30px;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
}

.product-listing-row {
    /*
    display: flex;
    flex-direction: row;
    column-gap: 25px;
    */
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 12px;
    
}

.product-box {
    display: inline-block;
    position: relative;
    vertical-align:top;
    margin: 0 15px 30px 0;
    width: 22.5%;
    min-height: 240px;
    border: 1px solid lightgray;
    border-radius: 8px;
}

    .product-box:hover {
        border: 1px solid orange;
    }

.product-img-section {
    height: 160px;
}

.product-img-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-information {
    padding: 6px 8px 6px 8px;
    min-height:120px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.20em;
}

.product-price {
    color: #690;
    font-size: 1.1em;
    font-weight: 500;
}

.product-seller {
    color: maroon;
    font-size: 0.85em;
    font-weight: 500;
}

.product-desc {
    font-size: 0.95em;
    /*text-align: justify;*/
}

.product-box-sponsored {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #FCB800;
    color: #000;
    padding: 0 5px;
    border-radius: 0 0 8px 0;
    font-weight:500;
 }
 
.pagination-section {
    display: flex;
    justify-content: center;
}

.pagination-border {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5vh;
    margin-bottom: 15px;
}

.current-page-border,
.prev-page-border {
    border: 1px solid black;
    padding: 6px 18px 6px 18px;
    cursor: pointer;
    background-color: #FCB800;
    font-weight: 600;
}


@media (max-width: 1399px) {
    .product-box {
        width: 47%;
    }
}

@media (max-width: 1199px) {
    .menu-side-left {
        display:none;
    }
    .product-display-right {
        width: 100%;
    }
}

@media (max-width: 991px) {

}

@media (max-width: 799px) {
    .product-box {
        width: 96%;
    }
}


