/* MEGAFORMA — SHARED WOO PRODUCT CARDS
   Split from the production stylesheet on 2026-10-16.
   Keep this file in /wp-content/uploads/megaforma/. */

@media (max-width: 767px) {
    body.tax-product_cat ul.products, body.post-type-archive-product ul.products, body.single-product .related.products ul.products, body.single-product .upsells.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.tax-product_cat ul.products > li.product, body.post-type-archive-product ul.products > li.product, body.single-product .related.products ul.products > li.product, body.single-product .upsells.products ul.products > li.product {
        float: none !important;
        clear: none !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}

body.post-type-archive-product ul.products > li.product, body.tax-product_cat ul.products > li.product, body.single-product .related.products ul.products > li.product, body.single-product .upsells.products ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

body.post-type-archive-product ul.products > li.product > .woocommerce-LoopProduct-link, body.tax-product_cat ul.products > li.product > .woocommerce-LoopProduct-link, body.single-product .related.products ul.products > li.product > .woocommerce-LoopProduct-link, body.single-product .upsells.products ul.products > li.product > .woocommerce-LoopProduct-link {
    flex: 1 1 auto !important;
}

body.post-type-archive-product ul.products > li.product > .woocommerce-LoopProduct-link .price, body.tax-product_cat ul.products > li.product > .woocommerce-LoopProduct-link .price, body.single-product .related.products ul.products > li.product > .woocommerce-LoopProduct-link .price, body.single-product .upsells.products ul.products > li.product > .woocommerce-LoopProduct-link .price {
    display: none !important;
}

body.post-type-archive-product .megaforma-card-bottom, body.tax-product_cat .megaforma-card-bottom, body.single-product .related.products .megaforma-card-bottom, body.single-product .upsells.products .megaforma-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 12px 14px 14px !important;
    box-sizing: border-box !important;
}

body.post-type-archive-product .megaforma-card-bottom .price, body.tax-product_cat .megaforma-card-bottom .price, body.single-product .related.products .megaforma-card-bottom .price, body.single-product .upsells.products .megaforma-card-bottom .price {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product .megaforma-card-bottom .price del, body.tax-product_cat .megaforma-card-bottom .price del, body.single-product .related.products .megaforma-card-bottom .price del, body.single-product .upsells.products .megaforma-card-bottom .price del {
    margin-right: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #8A8A8A !important;
}

body.post-type-archive-product .megaforma-card-bottom .price ins, body.tax-product_cat .megaforma-card-bottom .price ins, body.single-product .related.products .megaforma-card-bottom .price ins, body.single-product .upsells.products .megaforma-card-bottom .price ins {
    text-decoration: none !important;
    color: #1E1E1E !important;
}

body.post-type-archive-product .megaforma-card-bottom .button, body.tax-product_cat .megaforma-card-bottom .button, body.single-product .related.products .megaforma-card-bottom .button, body.single-product .upsells.products .megaforma-card-bottom .button {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #FF6600 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
    color: #FF6600 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease !important;
}

body.post-type-archive-product .megaforma-card-bottom .button::before, body.tax-product_cat .megaforma-card-bottom .button::before, body.single-product .related.products .megaforma-card-bottom .button::before, body.single-product .upsells.products .megaforma-card-bottom .button::before {
    content: "" !important;
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    background-color: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.58L20.5 8H6.1'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.58L20.5 8H6.1'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
}

body.post-type-archive-product .megaforma-card-bottom .button::after, body.tax-product_cat .megaforma-card-bottom .button::after, body.single-product .related.products .megaforma-card-bottom .button::after, body.single-product .upsells.products .megaforma-card-bottom .button::after {
    content: none !important;
    display: none !important;
}

body.post-type-archive-product .megaforma-card-bottom .button:hover, body.post-type-archive-product .megaforma-card-bottom .button:focus-visible, body.tax-product_cat .megaforma-card-bottom .button:hover, body.tax-product_cat .megaforma-card-bottom .button:focus-visible, body.single-product .related.products .megaforma-card-bottom .button:hover, body.single-product .related.products .megaforma-card-bottom .button:focus-visible, body.single-product .upsells.products .megaforma-card-bottom .button:hover, body.single-product .upsells.products .megaforma-card-bottom .button:focus-visible {
    background: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

body.post-type-archive-product .megaforma-card-bottom .button.loading, body.tax-product_cat .megaforma-card-bottom .button.loading, body.single-product .related.products .megaforma-card-bottom .button.loading, body.single-product .upsells.products .megaforma-card-bottom .button.loading {
    opacity: .55 !important;
    cursor: wait !important;
}

body.post-type-archive-product .megaforma-card-bottom .button.added, body.tax-product_cat .megaforma-card-bottom .button.added, body.single-product .related.products .megaforma-card-bottom .button.added, body.single-product .upsells.products .megaforma-card-bottom .button.added {
    background: #FFF2E8 !important;
    border-color: #FFD1B3 !important;
    color: #FF6600 !important;
}

body.post-type-archive-product .megaforma-card-bottom .button.added::before, body.tax-product_cat .megaforma-card-bottom .button.added::before, body.single-product .related.products .megaforma-card-bottom .button.added::before, body.single-product .upsells.products .megaforma-card-bottom .button.added::before {
    width: 19px !important;
    height: 19px !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
}

body.post-type-archive-product .megaforma-card-bottom .added_to_cart.wc-forward, body.tax-product_cat .megaforma-card-bottom .added_to_cart.wc-forward, body.single-product .related.products .megaforma-card-bottom .added_to_cart.wc-forward, body.single-product .upsells.products .megaforma-card-bottom .added_to_cart.wc-forward {
    display: none !important;
}

@media (max-width: 767px) {
    body.post-type-archive-product .megaforma-card-bottom, body.tax-product_cat .megaforma-card-bottom, body.single-product .related.products .megaforma-card-bottom, body.single-product .upsells.products .megaforma-card-bottom {
        gap: 8px !important;
        padding: 10px 10px 10px !important;
    }

    body.post-type-archive-product .megaforma-card-bottom .price, body.tax-product_cat .megaforma-card-bottom .price, body.single-product .related.products .megaforma-card-bottom .price, body.single-product .upsells.products .megaforma-card-bottom .price {
        font-size: 14px !important;
    }

    body.post-type-archive-product .megaforma-card-bottom .button, body.tax-product_cat .megaforma-card-bottom .button, body.single-product .related.products .megaforma-card-bottom .button, body.single-product .upsells.products .megaforma-card-bottom .button {
        flex-basis: 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        border-radius: 6px !important;
    }

    body.post-type-archive-product .megaforma-card-bottom .button::before, body.tax-product_cat .megaforma-card-bottom .button::before, body.single-product .related.products .megaforma-card-bottom .button::before, body.single-product .upsells.products .megaforma-card-bottom .button::before {
        width: 19px !important;
        height: 19px !important;
    }

}

body.post-type-archive-product ul.products > li.product > .price, body.tax-product_cat ul.products > li.product > .price, body.single-product .related.products ul.products > li.product > .price, body.single-product .upsells.products ul.products > li.product > .price {
    display: none !important;
}

body.post-type-archive-product ul.products > li.product > .loop-button-wrap, body.tax-product_cat ul.products > li.product > .loop-button-wrap, body.single-product .related.products ul.products > li.product > .loop-button-wrap, body.single-product .upsells.products ul.products > li.product > .loop-button-wrap {
    display: none !important;
}

body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.tax-product_cat ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
    display: flex !important;
    margin-top: auto !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product .loop-image-wrap .button, body.tax-product_cat .megaforma-products-column ul.products > li.product .loop-image-wrap .loop-button-wrap, body.post-type-archive-product ul.products > li.product .loop-image-wrap .button, body.post-type-archive-product ul.products > li.product .loop-image-wrap .loop-button-wrap, body.single-product .related.products ul.products > li.product .loop-image-wrap .button, body.single-product .related.products ul.products > li.product .loop-image-wrap .loop-button-wrap, body.single-product .upsells.products ul.products > li.product .loop-image-wrap .button, body.single-product .upsells.products ul.products > li.product .loop-image-wrap .loop-button-wrap {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.tax-product_cat .content-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .megaforma-catalog-layout {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

}

body.tax-product_cat .megaforma-products-column ul.products > li.product, body.post-type-archive-product ul.products > li.product, body.single-product .related.products ul.products > li.product, body.single-product .upsells.products ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products > li.product .woocommerce-loop-product__title, body.single-product .related.products ul.products > li.product .woocommerce-loop-product__title, body.single-product .upsells.products ul.products > li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    min-height: 40px !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    text-overflow: ellipsis !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: auto 0 0 !important;
    padding: 10px 14px 14px !important;
    box-sizing: border-box !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .price, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .price {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E1E1E !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #FF6600 !important;
    border-radius: 7px !important;
    background: #FFFFFF !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button::before, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button::before, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button::before, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button::before {
    content: "" !important;
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    background-color: #FF6600 !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.58L20.5 8H6.1'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.58L20.5 8H6.1'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button::after, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button::after, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button::after, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button::after {
    content: none !important;
    display: none !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button:hover, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button:hover, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button:hover, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button:hover {
    border-color: #FF6600 !important;
    background: #FF6600 !important;
    color: transparent !important;
    transform: translateY(-1px) !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button:hover::before, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button:hover::before, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button:hover::before, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button:hover::before {
    background-color: #FFFFFF !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button.added, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button.added, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button.added, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button.added {
    background: #FFF2E8 !important;
    border-color: #FFD1B3 !important;
}

@media (max-width: 767px) {
    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
        min-height: 56px !important;
        gap: 8px !important;
        padding: 8px 10px 10px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .price, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .price {
        font-size: 14px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button {
        flex-basis: 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        border-radius: 6px !important;
    }

}

@media (max-width: 767px) {
    body.tax-product_cat .content-wrapper, body.post-type-archive-product .content-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat ul.products, body.post-type-archive-product ul.products, body.single-product .related.products ul.products, body.single-product .upsells.products ul.products {
        gap: 8px !important;
    }

    body.tax-product_cat ul.products > li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products > li.product .woocommerce-loop-product__title, body.single-product .related.products ul.products > li.product .woocommerce-loop-product__title, body.single-product .upsells.products ul.products > li.product .woocommerce-loop-product__title {
        min-height: 32px !important;
        padding: 8px 8px 0 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
        min-height: 50px !important;
        gap: 6px !important;
        padding: 7px 8px 8px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .price, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .price, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .price {
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button {
        flex: 0 0 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        border-radius: 6px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom > .button::before, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom > .button::before, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom > .button::before, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom > .button::before {
        width: 17px !important;
        height: 17px !important;
    }

}

body.tax-product_cat ul.products > li.product, body.post-type-archive-product ul.products > li.product, body.single-product .related.products ul.products > li.product, body.single-product .upsells.products ul.products > li.product {
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.tax-product_cat ul.products > li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products > li.product .woocommerce-loop-product__title, body.single-product .related.products ul.products > li.product .woocommerce-loop-product__title, body.single-product .upsells.products ul.products > li.product .woocommerce-loop-product__title {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (max-width: 767px) {
    body.tax-product_cat .content-wrapper, body.post-type-archive-product .content-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat ul.products > li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products > li.product .woocommerce-loop-product__title, body.single-product .related.products ul.products > li.product .woocommerce-loop-product__title, body.single-product .upsells.products ul.products > li.product .woocommerce-loop-product__title {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.tax-product_cat .megaforma-products-column ul.products > li.product > .megaforma-card-bottom, body.post-type-archive-product ul.products > li.product > .megaforma-card-bottom, body.single-product .related.products ul.products > li.product > .megaforma-card-bottom, body.single-product .upsells.products ul.products > li.product > .megaforma-card-bottom {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

}

body.tax-product_cat ul.products > li.product .loop-image-wrap, body.post-type-archive-product ul.products > li.product .loop-image-wrap, body.single-product .related.products ul.products > li.product .loop-image-wrap, body.single-product .upsells.products ul.products > li.product .loop-image-wrap {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 16px 16px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

body.tax-product_cat ul.products > li.product .loop-image-wrap img, body.post-type-archive-product ul.products > li.product .loop-image-wrap img, body.single-product .related.products ul.products > li.product .loop-image-wrap img, body.single-product .upsells.products ul.products > li.product .loop-image-wrap img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

