.product-categorie h2.elementor-heading-title.elementor-size-default a:not(:first-of-type) {
    display: none;
}

.product-loop-v5 .product-categorie:has(a[href*="uncategorized"]) {
    display: none;
}

/* Hide the input wrapper initially */
.search-reveal-widget .e-search-input-wrapper {
    opacity: 0;
    visibility: hidden;
    width: 40px;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0s ease 0.3s;
    /* width changes instantly after fade out */
    pointer-events: none;
    /* Prevent interaction when hidden */
}

/* Revealed state ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ make input visible */
.search-reveal-widget.search-revealed .e-search-input-wrapper {
    opacity: 1;
    visibility: visible;
    width: 365px;
    max-width: 365px;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0s ease 0s;
    pointer-events: auto;
}

/* Keep the icon always visible and clickable */
.search-reveal-widget .e-search-label {
    cursor: pointer;
}



/* ==================================================== */
.product-loop-v2 {
    box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
}

.product-loop-v2 .title-element h2.elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    text-align: left;
}

@media (max-width: 768px) {
    .product-loop-v2 .title-element h2.elementor-heading-title {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        height: 40px;
        text-align: left;
    }
}

.product-loop-v2 h2.elementor-heading-title.elementor-size-default {
    text-align: left;
}

.product-loop-v2 .price-group .price-section,
.product-loop-v2 .price-group .price-section .woocommerce-Price-amount,
.product-loop-v2 .price-group .price-section .woocommerce-Price-currencySymbol,
.product-loop-v2 .price-group ins span.woocommerce-Price-amount.amount,
.product-loop-v2 .price-group h2.elementor-heading-title:not(:has(del)) span.woocommerce-Price-amount.amount,
.product-loop-v2 .price-group h2.elementor-heading-title:not(:has(del)) span {
    color: var(--e-global-color-31cdca5) !important;
}

.product-loop-v2 .price-group del,
.product-loop-v2 .price-group .discount-tag {
    display: none !important;
}


.product-loop-v2 .price-group h2.elementor-heading-title a {
    display: flex;
}

.product-loop-v2 .buy-b .elementor-button {
    background-color: var(--e-global-color-7e020b3) !important;
    border-color: var(--e-global-color-7e020b3) !important;
    color: #ffffff !important;
}

.product-loop-v2 .buy-b .elementor-button .elementor-button-text {
    font-family: "Inter", sans-serif;
    color: #ffffff !important;
}

.product-loop-v2:hover h2.elementor-heading-title.elementor-size-default .product-name-v4 {
    color: #000;
}

/* Home deals carousel: safe scoped styling for CSS ID `home-deals-loop` */
/* Intentionally left blank to avoid loop-card/image conflicts. */


/* sidebar-cart and header cart START */
.elementor-menu-cart__toggle.elementor-button-wrapper {
    border-radius: 50px;
}

.elementor-menu-cart__products.woocommerce-mini-cart.cart.woocommerce-cart-form__contents {
    height: 100%;
    max-height: calc(100vh - 261px);
}

.elementor-menu-cart__product-remove:after,
.elementor-menu-cart__product-remove:before {
    background: #b12704 !important;
}

.elementor-menu-cart__product-remove {
    border-color: #b12704 !important;
}

.elementor-menu-cart__product-image img {
    border: dashed 1px #ddd !important;
    border-radius: 10px !important;
    width: 70px;
    height: 85px !important;
    object-fit: cover;
    object-position: center;
}

.elementor-menu-cart__product-remove.product-remove {
    position: absolute;
    top: 50%;
    transform: translate(-20%, -50%);
}

.mini-cart-1 .elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item {
    background: #ffffff;
    padding: 15px 20px 15px 15px;
    margin-bottom: 10px;
    border: dashed 1px var(--primary);
    border-radius: 13px;
}

.mini-cart-1 .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background-color: var(--primary);
    color: #fff;
}

.mini-cart-1 .elementor-menu-cart__product-price {
    color: #000;
}

.elementor-menu-cart__product-price {
    font-family: "Nunito", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.widget_shopping_cart_content {
    justify-content: space-between;
    gap: 20px;
}

.mini-cart-1 .elementor-menu-cart__footer-buttons {
    display: flex;
    padding: 0px;
}

.mini-cart-1 a.elementor-button.elementor-button--view-cart {
    /* display: none; */
}

.mini-cart-1 .elementor-menu-cart__footer-buttons {
    flex-direction: column;
}

.mini-cart-1 a.elementor-button.elementor-button--checkout {
    width: 100%;
}

@media (max-width: 767px) {
    a#elementor-menu-cart__toggle_button {
        padding: 10px;
        border-radius: 5px;
    }

    a#elementor-menu-cart__toggle_button span.elementor-button-icon:before {
        font-size: 13px;
    }


}



a#elementor-menu-cart__toggle_button {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 50px;
    transition: background-color .3s ease;
}

a#elementor-menu-cart__toggle_button:hover {
    background: transparent;
}


a#elementor-menu-cart__toggle_button:hover span.elementor-button-icon-qty {
    background: #000000 !important;
}

span.elementor-button-icon-qty {
    top: -0.8em !important;
    right: -0.4em !important;
    background: #FF1A58 !important;
    color: #fff;
    width: 16px !important;
    height: 17px !important;
    font-size: 10px !important;
    line-height: 13px !important;
    display: flex;
    align-content: center;
}

/* sidebar-cart and header cart END */

/* Elementor + WooCommerce Product Categories widget (global style) */
.elementor-widget-woocommerce-product-categories .woocommerce ul.products,
.elementor-widget-woocommerce-product-categories ul.products,
.elementor .woocommerce ul.products:has(> li.product-category.product) {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 28px 26px;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor ul.products li.product-category.product,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: center;
    list-style: none;
}

.elementor ul.products li.product-category.product a,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product a {
    display: block;
    color: #1f1f1f;
    text-decoration: none;
}

.elementor ul.products li.product-category.product a img,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product a img {
    width: 100% !important;
    max-width: 205px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    object-fit: contain;
    object-position: center;
    background: #ededf0;
    padding: 11%;
    margin: 0 auto 14px;
    transition: transform .25s ease;
}

.elementor ul.products li.product-category.product:hover a img,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product:hover a img {
    transform: translateY(-2px);
}

.elementor ul.products li.product-category.product .woocommerce-loop-category__title,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product .woocommerce-loop-category__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: #1f1f1f;
}

.elementor ul.products li.product-category.product mark.count,
.elementor-widget-woocommerce-product-categories ul.products li.product-category.product mark.count {
    display: none !important;
}

@media (max-width: 1200px) {

    .elementor-widget-woocommerce-product-categories .woocommerce ul.products,
    .elementor-widget-woocommerce-product-categories ul.products,
    .elementor .woocommerce ul.products:has(> li.product-category.product) {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        gap: 24px 20px;
    }
}

@media (max-width: 992px) {

    .elementor-widget-woocommerce-product-categories .woocommerce ul.products,
    .elementor-widget-woocommerce-product-categories ul.products,
    .elementor .woocommerce ul.products:has(> li.product-category.product) {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
    }

    .elementor ul.products li.product-category.product .woocommerce-loop-category__title,
    .elementor-widget-woocommerce-product-categories ul.products li.product-category.product .woocommerce-loop-category__title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .elementor-widget-woocommerce-product-categories .woocommerce ul.products,
    .elementor-widget-woocommerce-product-categories ul.products,
    .elementor .woocommerce ul.products:has(> li.product-category.product) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .elementor ul.products li.product-category.product a img,
    .elementor-widget-woocommerce-product-categories ul.products li.product-category.product a img {
        max-width: 145px;
        padding: 10%;
        margin-bottom: 10px;
    }

    .elementor ul.products li.product-category.product .woocommerce-loop-category__title,
    .elementor-widget-woocommerce-product-categories ul.products li.product-category.product .woocommerce-loop-category__title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .elementor-widget-woocommerce-product-categories .woocommerce ul.products,
    .elementor-widget-woocommerce-product-categories ul.products,
    .elementor .woocommerce ul.products:has(> li.product-category.product) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .elementor ul.products li.product-category.product a img,
    .elementor-widget-woocommerce-product-categories ul.products li.product-category.product a img {
        max-width: 118px;
        padding: 9%;
    }

    .elementor ul.products li.product-category.product .woocommerce-loop-category__title,
    .elementor-widget-woocommerce-product-categories ul.products li.product-category.product .woocommerce-loop-category__title {
        font-size: 16px;
        line-height: 1.25;
    }
}

.hero-slider-section span.swiper-pagination-bullet {
    border-radius: 2px !important;
    width: 30px !important;
    height: 10px !important;
}

.hero-slider-section .swiper,
.hero-slider-section .swiper-wrapper,
.hero-slider-section .swiper-slide,
.hero-slider-section .swiper-slide > div,
.hero-slider-section .e-loop-item,
.hero-slider-section .elementor-widget-image,
.hero-slider-section .elementor-widget-image .elementor-widget-container,
.hero-slider-section .elementor-widget-image .elementor-image,
.hero-slider-section .elementor-widget-image .elementor-image a,
.hero-slider-section .elementor-widget-image .elementor-image img,
.hero-slider-section .tazajmart-slider-media,
.hero-slider-section .tazajmart-slider-overlay {
    border-radius: 0 !important;
}

.hero-slider-section .elementor-widget-container {
    position: relative;
}

.hero-slider-section .tazajmart-slider-media {
    position: relative;
    line-height: 0;
    overflow: hidden;
    border-radius: 0 !important;
}

.tazajmart-slider-media,
.tazajmart-slider-overlay {
    border-radius: 0 !important;
}

.hero-slider-section .tazajmart-slider-media img {
    width: 100%;
    display: block;
}

.tazajmart-slider-media img {
    border-radius: 0 !important;
}

.hero-slider-section .tazajmart-slider-media .elementor-image,
.hero-slider-section .tazajmart-slider-media .elementor-image a {
    display: block;
    width: 100%;
}

.hero-slider-section .tazajmart-slider-media .elementor-image img {
    width: 100% !important;
    max-width: none !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}

.hero-slider-section .tazajmart-slider-overlay {
    --tazaj-slider-heading-color: #111827;
    --tazaj-slider-subheading-color: #111827;
    --tazaj-slider-button-bg-color: #111827;
    --tazaj-slider-button-text-color: #ffffff;
    --tazaj-slider-secondary-link-color: #111827;
    --tazaj-slider-heading-size: clamp(38px, 3.7vw, 56px);
    --tazaj-slider-subheading-size: 14px;
    --tazaj-slider-button-size: 12px;
    --tazaj-slider-secondary-link-size: 12px;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 28px;
    pointer-events: none;
    border-radius: 0 !important;
}

.hero-slider-section .tazajmart-slider-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(90%, 860px);
}

.hero-slider-section .tazajmart-slider-subheading {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: var(--tazaj-slider-subheading-size);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--tazaj-slider-subheading-color);
}

.hero-slider-section .tazajmart-slider-heading {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: var(--tazaj-slider-heading-size);
    line-height: 1.05;
    font-weight: 700;
    color: var(--tazaj-slider-heading-color);
    white-space: nowrap;
    text-wrap: balance;
}

.hero-slider-section .tazajmart-slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.hero-slider-section .tazajmart-slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 30px;
    border-radius: 999px;
    background: var(--tazaj-slider-button-bg-color);
    color: var(--tazaj-slider-button-text-color);
    font-family: "Inter", sans-serif;
    font-size: var(--tazaj-slider-button-size);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    pointer-events: auto;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-slider-section .tazajmart-slider-button:hover,
.hero-slider-section .tazajmart-slider-button:focus-visible {
    transform: translateY(-1px);
    background: var(--tazaj-slider-button-bg-color);
    color: var(--tazaj-slider-button-text-color);
}

.hero-slider-section .tazajmart-slider-secondary-link {
    font-family: "Inter", sans-serif;
    font-size: var(--tazaj-slider-secondary-link-size);
    line-height: 1;
    font-weight: 500;
    color: var(--tazaj-slider-secondary-link-color);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
    pointer-events: auto;
}

.hero-slider-section .tazajmart-slider-secondary-link:hover,
.hero-slider-section .tazajmart-slider-secondary-link:focus-visible {
    color: #000000;
}

@media (max-width: 1024px) {
    .hero-slider-section .tazajmart-slider-media .elementor-image img {
        height: 250px !important;
    }

    .hero-slider-section .tazajmart-slider-overlay {
        padding: 16px;
        --tazaj-slider-subheading-size: 13px;
        --tazaj-slider-heading-size: clamp(30px, 4.1vw, 42px);
        --tazaj-slider-button-size: 12px;
        --tazaj-slider-secondary-link-size: 12px;
    }

    .hero-slider-section .tazajmart-slider-cta {
        gap: 22px;
    }

    .hero-slider-section .tazajmart-slider-button {
        min-height: 40px;
        padding: 10px 22px;
    }

    .hero-slider-section .tazajmart-slider-secondary-link {
        text-underline-offset: 4px;
    }

    .hero-slider-section .tazajmart-slider-heading {
        white-space: normal;
        line-height: 1.1;
    }
}

@media (max-width: 767px) {
    .hero-slider-section .tazajmart-slider-media .elementor-image img {
        height: 165px !important;
    }

    .hero-slider-section .tazajmart-slider-overlay-inner {
        gap: 10px;
    }

    .hero-slider-section .tazajmart-slider-subheading {
        font-size: 14px !important;
        line-height: 1.2 !important;
        letter-spacing: 0.08em;
    }

    .hero-slider-section .tazajmart-slider-heading {
        font-size: 14px !important;
        line-height: 1.2 !important;
        white-space: normal;
    }

    .hero-slider-section .tazajmart-slider-cta {
        gap: 14px;
    }

    .hero-slider-section .tazajmart-slider-button {
        font-size: 14px !important;
        line-height: 1 !important;
        min-height: 34px;
        padding: 10px 18px;
    }

    .hero-slider-section .tazajmart-slider-secondary-link {
        font-size: 14px !important;
        line-height: 1.2 !important;
        text-underline-offset: 3px;
    }

    .tazajmart-slider-subheading,
    .tazajmart-slider-heading,
    .tazajmart-slider-button,
    .tazajmart-slider-secondary-link {
        font-size: 14px !important;
    }

    .tazajmart-slider-subheading,
    .tazajmart-slider-heading,
    .tazajmart-slider-secondary-link {
        line-height: 1.2 !important;
    }

    .tazajmart-slider-button {
        line-height: 1 !important;
    }
}

.mobile-sidebar-menu .elementor-nav-menu .elementor-item.has-submenu {
    justify-content: space-between;
}


.mobile-sidebar-menu span.sub-arrow svg {
    display: none;
}

.mobile-sidebar-menu span.sub-arrow:before,
.mobile-sidebar-menu span.sub-arrow:after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
    background: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
}

.mobile-sidebar-menu span.sub-arrow:before {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.cat-loop {
    box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
}

.cat-title {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.shop-p .price-holder,
.category-p .price-holder {
    flex-direction: column !important;
    align-items: start;
}

.shop-p .price-holder .buy-b,
.shop-p .price-holder .buy-b a,
.category-p .price-holder .buy-b,
.category-p .price-holder .buy-b a {
    width: 100%;
}

/* Hide WooCommerce inline "View cart" link shown after ajax add-to-cart in loops */
a.added_to_cart.wc-forward {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
