body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product {
    position: relative !important;
    isolation: isolate !important;
    height: 100% !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
    overflow: hidden !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin: 0 0 10px !important;
    border-radius: 9px !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .onsale {
    display: none !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .ast-woo-product-category,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .product-category,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .posted_in {
    display: none !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .ast-on-card-button,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .ast-on-card-button *,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .astra-shop-thumbnail-wrap > a.ast-on-card-button,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product [class*="ast-on-card"],
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .product-card-icon,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .product-action,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .product-actions,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .product-action-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    position: absolute !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: auto !important;
    min-height: 2.8em !important;
    max-height: 2.8em !important;
    margin: 0 4px 4px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    min-height: 24px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price del {
    color: #999 !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price ins {
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* =========================================================
   NORMAL + VARIABLE + OUT OF STOCK BUTTON
   SAME ORIGINAL DESIGN
========================================================= */

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product > .button,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .add_to_cart_button,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-global-variable-trigger,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-out-of-stock-redirect {
    width: 100% !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto 0 0 !important;
    padding: 10px 12px !important;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product > .button:hover,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .add_to_cart_button:hover,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-global-variable-trigger:hover,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-out-of-stock-redirect:hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #111 !important;
}


/* =========================================================
   HIDE ONLY OUT OF STOCK OVERLAY/TEXT
========================================================= */

ul.products li.product .ast-shop-product-out-of-stock {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   VARIATION PANEL
========================================================= */

.thar-global-variation-panel {
    position: absolute !important;
    inset: 0 !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    background: rgba(255,255,255,.52) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(.98) !important;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;
}

.thar-global-variation-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

.thar-global-overlay-inner {
    position: relative !important;
    width: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    padding: 20px !important;
    background: rgba(255,255,255,.72) !important;
    border: 1px solid rgba(255,255,255,.85) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.thar-global-close {
    position: absolute !important;
    z-index: 1000 !important;
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.94) !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,.15) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.12) !important;
    cursor: pointer !important;
}

.thar-global-close span {
    color: #111 !important;
    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.thar-global-close:hover {
    background: #111 !important;
    border-color: #111 !important;
}

.thar-global-close:hover span {
    color: #fff !important;
}

.thar-global-heading {
    margin: 0 40px 17px 0 !important;
    color: #111 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.thar-global-attribute-group {
    margin-bottom: 13px !important;
}

.thar-global-attribute-label {
    margin-bottom: 7px !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.thar-global-attribute-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.thar-global-option {
    min-width: 40px !important;
    min-height: 35px !important;
    padding: 6px 10px !important;
    background: rgba(255,255,255,.82) !important;
    color: #111 !important;
    border: 1px solid rgba(17,17,17,.25) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.thar-global-option:hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #111 !important;
}

.thar-global-option.is-selected {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.thar-global-option.is-disabled,
.thar-global-option:disabled {
    opacity: .3 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
}

.thar-global-selected-price {
    margin: 8px 0 4px !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.thar-global-message {
    min-height: 17px !important;
    margin: 5px 0 9px !important;
    color: #555 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.thar-global-buy-now {
    width: 100% !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #111 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.thar-global-buy-now:hover {
    background: #111 !important;
    color: #fff !important;
}

.thar-global-buy-now:disabled {
    background: rgba(230,230,230,.8) !important;
    color: #888 !important;
    border-color: rgba(200,200,200,.8) !important;
    cursor: not-allowed !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product {
        padding: 6px !important;
        border-radius: 9px !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product img {
        margin-bottom: 8px !important;
        border-radius: 7px !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .woocommerce-loop-product__title {
        height: auto !important;
        min-height: 2.8em !important;
        max-height: 2.8em !important;
        margin: 0 2px 3px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price {
        min-height: 21px !important;
        margin: 0 0 8px !important;
        font-size: 14px !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price del {
        font-size: 13px !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .price ins {
        font-size: 14px !important;
    }

    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product > .button,
    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .add_to_cart_button,
    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-global-variable-trigger,
    body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag) ul.products li.product .thar-out-of-stock-redirect {
        min-height: 37px !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
    }

    .thar-global-variation-panel {
        padding: 8px !important;
        background: rgba(255,255,255,.50) !important;
    }

    .thar-global-overlay-inner {
        padding: 13px !important;
        padding-top: 17px !important;
        border-radius: 9px !important;
    }

    .thar-global-close {
        top: 6px !important;
        right: 6px !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }

    .thar-global-close span {
        font-size: 22px !important;
    }

    .thar-global-heading {
        margin: 0 30px 11px 0 !important;
        font-size: 14px !important;
    }

    .thar-global-attribute-group {
        margin-bottom: 9px !important;
    }

    .thar-global-attribute-label {
        margin-bottom: 5px !important;
        font-size: 11px !important;
    }

    .thar-global-attribute-options {
        gap: 4px !important;
    }

    .thar-global-option {
        min-width: 31px !important;
        min-height: 30px !important;
        padding: 5px 6px !important;
        font-size: 10px !important;
    }

    .thar-global-selected-price {
        font-size: 13px !important;
    }

    .thar-global-message {
        font-size: 9px !important;
    }

    .thar-global-buy-now {
        min-height: 36px !important;
        padding: 7px 5px !important;
        font-size: 11px !important;
    }
}