/*!
Theme Name: bbq778
Theme URI: https://bbq778.com/
Description: BBQ778 child theme for Kadence.
Author: BBQ778
Template: kadence
Version: 1.0.0
Text Domain: bbq778
*/

.bbq778-product-card__plus-icon {
    display: none;
}

.bbq778-mobile-footer {
    display: none;
}

@media screen and (max-width: 767px) {
    :root {
        --bbq778-mobile-footer-background: #111;
        --bbq778-mobile-footer-border: #c99b4e;
        --bbq778-mobile-footer-color: #b9b9b9;
        --bbq778-mobile-footer-active: #f5a000;
        --bbq778-mobile-footer-height: 64px;
    }

    #wrapper {
        padding-bottom: calc(var(--bbq778-mobile-footer-height) + env(safe-area-inset-bottom));
    }

    .bbq778-mobile-footer {
        position: fixed;
        z-index: 1100;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: calc(var(--bbq778-mobile-footer-height) + env(safe-area-inset-bottom));
        padding: 4px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-top: 1px solid var(--bbq778-mobile-footer-border);
        background: var(--bbq778-mobile-footer-background);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.28);
    }

    .bbq778-mobile-footer__item {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 56px;
        padding: 5px 3px 4px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
        border-radius: 8px;
        color: var(--bbq778-mobile-footer-color);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .bbq778-mobile-footer__item:hover,
    .bbq778-mobile-footer__item:focus,
    .bbq778-mobile-footer__item.is-active {
        color: var(--bbq778-mobile-footer-active);
    }

    .bbq778-mobile-footer__item:focus-visible {
        outline: 2px solid var(--bbq778-mobile-footer-active);
        outline-offset: -2px;
    }

    .bbq778-mobile-footer__icon,
    .bbq778-mobile-footer__icon .kadence-svg-iconset {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bbq778-mobile-footer__icon .kadence-svg-icon {
        width: 23px;
        height: 23px;
    }

    .bbq778-mobile-footer__cart-count {
        position: absolute;
        top: 2px;
        left: calc(50% + 7px);
        display: flex;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--bbq778-mobile-footer-background);
        border-radius: 999px;
        background: #d63638;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        line-height: 13px;
    }

    .bbq778-mobile-footer__cart-count[data-cart-count="0"] {
        display: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) {
        --bbq778-product-card-border: #c99b4e;
        --bbq778-product-card-radius: 18px;
        --bbq778-product-card-gap: 14px;
        --bbq778-product-card-background: #000;
        --bbq778-product-card-action: #f5a000;
    }

    body.bbq778-product-card-context:not(.home) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px var(--bbq778-product-card-gap);
    }

    body.home .wp-block-kadence-productcarousel ul.products {
        column-gap: 0 !important;
        row-gap: 0 !important;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product {
        min-width: 0;
        overflow: hidden;
        border: 1px solid var(--bbq778-product-card-border);
        border-radius: var(--bbq778-product-card-radius);
        background: var(--bbq778-product-card-background);
        box-shadow: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .woocommerce-loop-image-link {
        display: block;
        overflow: hidden;
        aspect-ratio: 1 / 1;
        background: var(--bbq778-product-card-background);
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .woocommerce-loop-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .bbq778-product-card--no-image .woocommerce-loop-image-link {
        display: none !important;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product .product-details {
        position: relative;
        min-height: 106px;
        padding: 16px;
        background: var(--bbq778-product-card-background);
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product .woocommerce-loop-product__title {
        margin: 0 0 6px;
        color: #fff;
        font-size: 16px;
        line-height: 1.35;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product .price {
        margin: 0;
        padding-right: 42px;
        color: var(--bbq778-product-card-border) !important;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product .product-excerpt {
        display: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products li.product .product-action-wrap {
        position: absolute;
        right: 12px;
        bottom: 16px;
        margin: 0;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button) {
        display: flex;
        width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: var(--bbq778-product-card-action) !important;
        color: #fff;
        font-size: 0;
        line-height: 1;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .kadence-svg-icon {
        display: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .bbq778-product-card__plus-icon,
    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .bbq778-product-card__plus-icon .kadence-close-svg {
        display: inline-flex;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .bbq778-product-card__plus-icon .kadence-close-svg {
        width: 22px;
        height: 22px;
        transform: rotate(45deg);
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .add_to_cart_button.loading .bbq778-product-card__plus-icon,
    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .add_to_cart_button.added .bbq778-product-card__plus-icon {
        display: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .add_to_cart_button.loading .kadence-spinner-svg,
    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .add_to_cart_button.added .kadence-check-svg {
        display: block;
        width: 19px;
        height: 19px;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) .product-action-wrap .added_to_cart {
        display: none;
    }

    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button):hover,
    :is(body.bbq778-product-card-context:not(.home), body.home .wp-block-kadence-productcarousel) ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button):focus {
        background: #d98d00 !important;
        color: #fff;
    }

}
