/**
 * /*!
 * Theme Name:      	Shoptimizer Child
 * Template:            shoptimizer
 */

:root {
    --swiper-theme-color: #000000;
    --w-primary-color: #00303e;
    --w-secondary-primary-color: #ffe303;
    --w-product-card-price-color: var(--w-secondary-primary-color);
    --w-product-card-price-font-weight: 700;
    --w-text-color: #000000;
    /*--w-product-card-price-color: #f9a600;*/
    --wpc: #00303e;
    --wsc: #ffe303;
    --w-red-color: #ef0000;
    --marquee-bg: var(--wsc);
    --ww-site-border-radius: 5px;

    /*Section Spacing*/
    --w-sec-gap: 50px;
    --section-heading-content-gap: 25px;

    --tvc-small-font: 13px;
}

@media screen and (max-width: 1024px) {
    :root {
        --w-sec-gap: 40px;
        --section-heading-content-gap: 20px;
    }

    .w-h2-banner {
        h2 {
            font-size: 30px;
        }
    }
}

/*Swiper*/
.ww-main-swiper .swiper-button-next,
.ww-main-swiper .swiper-button-prev {
    background: var(--wsc);
}

/* Inner content and heading =Gap (margin) */
.w-shc-mt {
    margin-top: var(--section-heading-content-gap) !important;
}

.w-shc-mb {
    margin-bottom: var(--section-heading-content-gap) !important;
}

/* Padding */
.w-shc-pt {
    padding-top: var(--section-heading-content-gap) !important;
}

.w-shc-pb {
    padding-bottom: var(--section-heading-content-gap) !important;
}

/*Heading & sub heading gap*/
.w-hs-mt {
    margin-top: 0.75rem;
}

.w-hs-mb {
    margin-bottom: 0.75rem !important;
}

/**
 * .w-sec-gap-mt
 * Adds margin-top equal to --w-sec-gap
 */
.w-sec-gap-mt {
    margin-top: var(--w-sec-gap) !important;
}

/**
 * .w-sec-gap-mb
 * Adds margin-bottom equal to --w-sec-gap
 */
.w-sec-gap-mb {
    margin-bottom: var(--w-sec-gap) !important;
}

/* === Padding Utilities === */

/**
 * .w-sec-gap-pt
 * Adds padding-top equal to --w-sec-gap
 */
.w-sec-gap-pt {
    padding-top: var(--w-sec-gap) !important;
}

/**
 * .w-sec-gap-pb
 * Adds padding-bottom equal to --w-sec-gap
 */
.w-sec-gap-pb {
    padding-bottom: var(--w-sec-gap) !important;
}

.heading-style-1 {
    h2 {
        display: inline-block;
        padding-bottom: 0.2em;
        border-bottom: 3px solid var(--wsc);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wpc);
}

body.home {
    .menu-toggle .bar-text {
        margin-top: 0;
    }
}

/*My Account*/
button.show-password-input {
    margin-top: 0 !important;
}

/*My Account End*/

.ww-recent-products-slider {
    @media screen and (max-width: 992px) {
        ul.products {
            display: flex !important;
            width: max-content !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            gap: 0 !important;
        }
    }
}

/*Video Popup*/
.nx-product-videos__card-product-price-wrap > div:nth-child(2) {
    display: none;
}

/*Video Popup End*/

/*Key Points*/
.below-content {
    background: #fef6ff;

    .widget {
        .widget-title,
        p {
            /*color: var(--wpc) !important;*/
        }

        .widget-title {
            /*font-size: 16px !important;*/
        }

        svg {
            height: 30px !important;
            width: 30px !important;
        }
    }
}

.below-content .widget p,
.site .below-content .widget .widget-title {
    font-size: 14px !important;
    padding-left: 42px;
}

/*Key Points end*/

/*Single Product*/
/*Single Product End*/

/*Buy now button*/
.single_buy_now {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.single_buy_now {
    position: relative;
    padding: 12px 30px;
    font-size: 1.1rem;
    color: #fff;
    background: #4cafef;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden; /* hide the shine outside the button */
    z-index: 0; /* ensure ::before is behind text */
}

/* Shine effect using ::before */
.single_buy_now::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%; /* start off-screen */
    width: 50%;
    height: 100%;
    background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    z-index: 1; /* above button background but below text */
    animation: shineMove 2s linear infinite;
}

/* Keyframes for infinite shine */
@keyframes shineMove {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/*Buy now button end*/

/*PRC Start*/
/*Home*/
.header-widget-region {
}

body {
    &.home,
    &.page-id-1004,
    &.page-id-1132 {
        .header-widget-region {
            display: none;
        }
    }
}

.woo-owl-slider-categories {
    h2 {
        margin-bottom: 0;
    }
}

.brand-item {
    text-align: center;
    border: 1px solid var(--wpc);
    border-radius: var(--ww-site-border-radius);
    overflow: hidden;
    transition: 0.2s ease;

    &:hover {
        border-color: var(--wsc);
    }
}

.ww-brands-row {
    list-style: none;
    margin: 0;

    h5 {
        text-align: center;
        font-size: var(--tvc-small-font) !important;
        font-weight: 600 !important;
        margin: 0.75em 0;
    }
}

/*Home end*/

/*Footer start */

.site footer.site-footer .widget .widget-title,
.site-footer .widget.widget_block h2 {
    /*font-size: 18px !important;*/
}

footer:last-child:not(:only-of-type) {
    margin-top: unset;
}

footer.copyright {
    padding: 1rem;
    background: var(--wsc) !important;

    .widget {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    ul {
        li {
            margin-bottom: 0;
            color: var(--wpc);
        }
    }
}

/*Footer start end*/

/*Video Popup*/
.nx-product-videos__card-product-price-wrap > div:nth-child(2) {
    display: none;
}

/*Video Popup End*/

/*Product Card*/
body ul.products li.product.product-category {
    /*border: 1px solid var(--wpc);*/
    /*border-radius: var(--ww-site-border-radius);*/
    /*overflow: hidden;*/
    /*transition: .2s ease;*/

    &:hover {
        /*border-color: var(--wsc);*/
    }

    h2 {
        text-align: center;
        font-size: var(--tvc-small-font) !important;
        font-weight: 600 !important;
        margin: 0.75em 0;
    }
}

ul.products li.product .woocommerce-LoopProduct-link {
    font-size: var(--tvc-small-font);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

ul.products li.product .price {
    font-weight: 600;
    font-size: 16px;
}

ul.products.owl-carousel li {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.woocommerce-loop-product__title {
    font-size: 12px !important;
    font-weight: normal !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

body {
    .home {
        li.product-category.product {
            padding: 0 !important;
        }
    }
}

.ww-also-available-products ul {
    margin-left: 0 !important;
}

.header-5.wc-active .shoptimizer-cart a.cart-contents {
    color: var(--w-text-color) !important;
}

li.product {
    .ww-also-available-products {
        h3 {
            display: none !important;
        }
        ul {
            li {
                height: 40px !important;
                width: 40px !important;

                img {
                    padding: 3px !important;
                }
            }
        }

        @media screen and (max-width: 1024px) {
            ul{
                display: none !important;
            }
        }
    }
}

/*Product Card End*/
/*Prc END*/
