/* 
Theme Name: hello elementor child
Description: This is a custom theme, created by TASKER AGENCY
Author: CHRISTI  TASKER
Template: hello-elementor
Version: 3.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Give icon controls a comfortable touch area without enlarging their artwork. */
.elementor-location-header a.elementor-icon,
.elementor-location-header .elementor-menu-cart__toggle_button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
a.yith-wcwl-add-to-wishlist-button--anchor {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Product labels occupy the image's left corner; wishlist stays on the right. */
.e-loop-item.product .ct-product-badges {
    position: absolute;
    z-index: 10;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
}
.e-loop-item.product .ct-product-badge {
    display: block;
    padding: 6px 9px;
    border-radius: 2px;
    background: #262126;
    color: #fff;
    font: 700 11px/1.25 Arial, sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.e-loop-item.product .ct-product-badge--sale {
    background: #b20d50;
}
.e-loop-item.product .yith-add-to-wishlist-button-block {
    left: auto !important;
    right: 15px !important;
    z-index: 20;
}
.elementor-location-archive li.product .onsale {
    left: 16px !important;
    right: auto !important;
}
.elementor-location-archive li.product .yith-wcwl-add-to-wishlist-button-over-image {
    left: auto !important;
    right: 16px !important;
}

/* Quick action overlays the product photo; product title and price remain below. */
.e-loop-item.ct-quick-add-ready .elementor-widget-theme-post-featured-image > .elementor-widget-container {
    position: relative;
}
.e-loop-item .ct-quick-add-widget {
    position: absolute;
    z-index: 15;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto !important;
    margin: 0 !important;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}
.e-loop-item .ct-quick-add-widget .e-loop-add-to-cart-form-container,
.e-loop-item .ct-quick-add-widget form.cart {
    width: 100%;
}
.e-loop-item .ct-quick-add-widget .button {
    display: flex;
    width: 100% !important;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #262126 !important;
    border-radius: 2px;
    background: #fff !important;
    color: #262126 !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}
.e-loop-item .ct-quick-add-widget .button:focus-visible {
    outline: 2px solid #262126;
    outline-offset: 2px;
}
.e-loop-item .elementor-widget-theme-post-featured-image:hover .ct-quick-add-widget,
.e-loop-item .elementor-widget-theme-post-featured-image:focus-within .ct-quick-add-widget {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    .e-loop-item .ct-quick-add-widget {
        transition: none;
        transform: none;
    }
}
