.page-layout-all-products #maincontent {
    margin: 0 auto;
    max-width: 1250px !important;
    padding: 2rem 0 !important;
    width: calc( 100% - 40px );
}

.page-layout-all-products h1.page-title {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.all-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}

.all-products-grid a {
    background-color: white;
    box-sizing: border-box;
    display: block;
    padding: 1rem;
    transition: all 250ms linear 0s;
}

.all-products-grid a:hover {
    box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
    color: var(--red);
    transform: translate(-2px, -2px);
    transition: all 250ms linear 0s;
}

.all-products-grid .product-image {
    background-position: center;
    background-size: cover;
    display: block;
    height: 0;
    padding-top: 100%;
}

.all-products-grid .product-name {
    display: block;
    margin-top: 1rem;
}

.page-layout-all-products .page-main > .page-title-wrapper .page-title {
    display: block;
}

.page-layout-all-products h2 {
    text-transform: uppercase;
}

@media screen and ( min-width: 800px ) {
    .all-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and ( min-width: 1080px ) {
    .all-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}