/*
Theme Name: Space 2047 Shop Beautiful Layout
Description: Compatibility stylesheet included so WordPress does not show “missing stylesheet” if uploaded in the wrong place. Install this ZIP from Plugins > Add New > Upload Plugin.
Version: 3.0.0
*/

body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.woocommerce-page .site-main,
body.woocommerce-shop main,
body.post-type-archive-product main {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 28px 18px 70px !important;
}

body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.woocommerce-page .woocommerce-result-count {
    color: rgba(255,255,255,.86) !important;
    font-size: 18px !important;
    margin: 0 0 22px !important;
}

body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.woocommerce-page .woocommerce-ordering select {
    background: rgba(12,18,38,.85) !important;
    color: #fff7b8 !important;
    border: 1px solid rgba(255,226,105,.35) !important;
    border-radius: 999px !important;
    padding: 12px 42px 12px 18px !important;
}

body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px !important;
    list-style: none !important;
    width: 100% !important;
    margin: 34px auto !important;
    padding: 0 !important;
    clear: both !important;
}

body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
    display: none !important;
}

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.woocommerce-page ul.products li.product {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 28px 24px 26px !important;
    min-height: 100% !important;
    text-align: center !important;
    overflow: visible !important;
    border-radius: 36px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,236,132,.18), transparent 34%),
        linear-gradient(180deg, rgba(21,31,62,.88), rgba(3,7,19,.92)) !important;
    border: 1px solid rgba(255,231,128,.42) !important;
    box-shadow: 0 0 24px rgba(255,219,86,.13), inset 0 0 34px rgba(89,154,255,.08) !important;
    transform: translateZ(0);
}

body.woocommerce-shop ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
    border-color: rgba(255,239,154,.72) !important;
    box-shadow: 0 0 34px rgba(255,219,86,.24), inset 0 0 44px rgba(89,154,255,.12) !important;
}

body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    color: inherit !important;
    text-decoration: none !important;
}

body.woocommerce-shop ul.products li.product a img,
body.post-type-archive-product ul.products li.product a img,
body.woocommerce-page ul.products li.product a img {
    width: 82% !important;
    max-width: 230px !important;
    height: 230px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 18px !important;
    padding: 8px !important;
    border-radius: 28px !important;
    background: rgba(0,0,0,.18) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.34) !important;
}

body.woocommerce-shop ul.products li.product .onsale,
body.post-type-archive-product ul.products li.product .onsale,
body.woocommerce-page ul.products li.product .onsale {
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    min-width: 58px !important;
    min-height: 58px !important;
    line-height: 58px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, #fff3a6, #f7a7b8) !important;
    color: #161616 !important;
    font-weight: 900 !important;
    box-shadow: 0 0 18px rgba(255,220,110,.45) !important;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: #fff3a8 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    min-height: 48px !important;
    margin: 8px auto 10px !important;
    padding: 0 !important;
    max-width: 260px !important;
    text-align: center !important;
    text-shadow: 0 0 10px rgba(255,219,86,.28) !important;
}

body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
    color: #ffffff !important;
    display: block !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin: 8px 0 16px !important;
}

body.woocommerce-shop ul.products li.product .price del,
body.post-type-archive-product ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del {
    opacity: .65 !important;
}

body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(210px, 92%) !important;
    min-height: 44px !important;
    margin: 8px auto 0 !important;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #fff59a, #f4bd4d) !important;
    color: #111 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    box-shadow: 0 0 14px rgba(255,222,94,.32) !important;
}

body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .button:hover {
    filter: brightness(1.08) !important;
}

body.woocommerce-shop .woocommerce-pagination ul,
body.post-type-archive-product .woocommerce-pagination ul,
body.woocommerce-page .woocommerce-pagination ul {
    border: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

body.woocommerce-shop .woocommerce-pagination ul li,
body.post-type-archive-product .woocommerce-pagination ul li,
body.woocommerce-page .woocommerce-pagination ul li {
    border: 0 !important;
}

body.woocommerce-shop .woocommerce-pagination ul li a,
body.woocommerce-shop .woocommerce-pagination ul li span,
body.post-type-archive-product .woocommerce-pagination ul li a,
body.post-type-archive-product .woocommerce-pagination ul li span,
body.woocommerce-page .woocommerce-pagination ul li a,
body.woocommerce-page .woocommerce-pagination ul li span {
    border-radius: 999px !important;
    background: rgba(12,18,38,.88) !important;
    color: #fff7b8 !important;
    border: 1px solid rgba(255,226,105,.35) !important;
    min-width: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 980px) {
    body.woocommerce-shop ul.products,
    body.post-type-archive-product ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}

@media (max-width: 620px) {
    body.woocommerce-shop .site-main,
    body.post-type-archive-product .site-main,
    body.woocommerce-page .site-main,
    body.woocommerce-shop main,
    body.post-type-archive-product main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.woocommerce-shop .woocommerce-result-count,
    body.post-type-archive-product .woocommerce-result-count,
    body.woocommerce-page .woocommerce-result-count,
    body.woocommerce-shop .woocommerce-ordering,
    body.post-type-archive-product .woocommerce-ordering,
    body.woocommerce-page .woocommerce-ordering {
        float: none !important;
        text-align: center !important;
        width: 100% !important;
    }

    body.woocommerce-shop ul.products,
    body.post-type-archive-product ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.woocommerce-shop ul.products li.product,
    body.post-type-archive-product ul.products li.product,
    body.woocommerce-page ul.products li.product {
        max-width: 390px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
