body.woocommerce-shop.wp-child-theme-lightmyworld {
    background-image: url(/wp-content/uploads/2025/05/lmw-bg2.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-origin: padding-box;
    background-clip: border-box;
    background-color: transparent;

}

.review-rating,
form.woocommerce-ordering,
.woocommerce-result-count,
.woocommerce-breadcrumb{
    display: none;
}

h1.woocommerce-products-header__title{
    color: #cdcbab;
    font-size: 40px;
    font-family: 'Libre Baskerville', serif;
}

.astra-shop-thumbnail-wrap{
    max-width: 300px;
}

/* Remove shopping basket overlay */
.astra-shop-thumbnail-wrap .ast-on-card-button{
    display: none;
}

.products a,
.products div{
    font-family: 'Open Sans';
}

.astra-shop-summary-wrap{
    max-width: 50%;
}

#content .astra-shop-summary-wrap a.button:hover,
#content a.add_to_cart_button:hover{
    color: white;
    background: transparent;
    outline: solid #876411 2px
}

.woocommerce-js ul.products li.product a img{
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.1));
}

.woocommerce-page ul.products li.product .ast-woo-product-category{
    display: none;
}

.woocommerce ul.products.columns-1 li.product:first-child{
    margin-top: 150px;
}

#main h2.woocommerce-loop-product__title{
    font-size: 32px;
    color: rgb(205, 203, 171);
    font-family: 'Libre Baskerville', serif;
}

.woocommerce-js ul.products li.product a img{
    max-height: 250px;
    width: auto;
}

@media (max-width: 922px){
    /* Rescale the main body to columns */
    body.ast-woo-shop-archive .products.columns-1{
        flex-direction: column;
        display: flex;
    }

    .astra-shop-summary-wrap{
        max-width: 100%;
    }

    .ast-woocommerce-container{
        max-width: 70vw;
        margin: auto;
    }

    /* Resize the gap between products */
    .woocommerce-js ul.products li.product, .woocommerce-page ul.products li.product{
        margin-bottom: 150px;
    }
    #primary{
        padding-top: 0;
    }
    h1.woocommerce-products-header__title{
        margin-top: 40px;
    }

    /* Fix the limitation of the background-attachment: fixed bug */
    /* Remove the shorthand that used background-attachment: fixed */
    body { background: none; }

    /* Faux "fixed background" layer for iOS + works everywhere */
    body::before{
        content: "";
        position: fixed;   /* sticks to the viewport */
        inset: 0;          /* top:0; right:0; bottom:0; left:0 */
        z-index: -1;       /* behind all page content */
        background-image: url("/wp-content/uploads/2025/05/lmw-bg2.png");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        /* small perf nudges */
        will-change: transform;
        transform: translateZ(0);
        pointer-events: none;
    }

}

@media (max-width: 922px){
/* @media (max-width: 992px){ */
    /* Reshift the img to the center of the screen */
    .woocommerce-js ul.products li.product a img{
        display: block;
        margin: 0 auto 50px;
        max-width: 300px;
    }
    .astra-shop-thumbnail-wrap{
        min-width: 100%;
    }
    /* Margin Height prior to first product */
    .woocommerce ul.products.columns-1 li.product:first-child{
        margin-top: 75px;
    }
}

@media (min-width: 923px){
    body.ast-woo-shop-archive .site-content > .ast-container{
        max-width: 1000px;
    }
    .woocommerce ul.products.columns-1 li.product {
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: space-between;
    }

    .woocommerce ul.products.columns-1 li.product .astra-shop-thumbnail-wrap,
    .woocommerce ul.products.columns-1 li.product .astra-shop-summary-wrap {
        flex: 1 1 50%;
    }

    .woocommerce ul.products.columns-1 li.product:nth-child(odd) {
        flex-direction: row;
    }

    .woocommerce ul.products.columns-1 li.product:nth-child(odd) .astra-shop-summary-wrap {
        text-align: right;
    }

    .woocommerce ul.products.columns-1 li.product:nth-child(even) {
        flex-direction: row-reverse;
    }

    .woocommerce ul.products.columns-1 li.product:nth-child(even) .astra-shop-summary-wrap {
        text-align: left;
    }

    .woocommerce ul.products li.product a img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .woocommerce ul.products.columns-1 li.product{
        margin-bottom: 250px;
    }

    h1.woocommerce-products-header__title{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    #primary{
        margin: 0;
    }
}
