/*
Theme Name: blocksy-child
Template: blocksy
Author: mantasadminas
Version: 1.0
*/
:root {
    --bg-color: #F2E8DA;
    --bg2-color: #FAF6F0;
    --bg-hover-color: #ebdcc6;
    --bg-hover2-color: #e4c9a1;
    --text-color: #201E1F;
    --accent-color: #F6AE2D;
    --accent2-color: #A63D40;

}
#popup-meta {
    display: none;
}
#popup-weight {
    display: none;
}
#popup-composition {
    display: none;
}
#popup-analytic {
    display:none;
}
#popup-addons {
    display:none;
}
.elementor-nav-menu {
    flex-wrap: nowrap !important;
    flex: 1;
}
.ct-breadcrumbs {
    padding-top:30px !important;
}

body .widget-visible {
    z-index: 10 !important;
}
.elementor-author-box__name {
    transition: ease 0.3s all;
}
.elementor-menu-cart__main {
    z-index: 2000000001  !important;
}
.elementor-author-box:hover .elementor-author-box__name {
    color: var(--accent2-color) !important;
    ;
}

.shop-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1rem;
}

select.orderby {
    border-radius: 50px !important;
}

/*Single product page*/
.meta-data {
    padding-top: 10px;
}
@media (max-width:1024px) {
    img.wp-post-image {
        width: 250px !important;
        height: 250px !important;
    }
    .product-entry-wrapper .ct-media-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
#tab-additional_information {
    display: none;
}

#tab-reviews #submit.submit {
    font-weight: 400;
}
#tab-reviews #submit.submit:hover {
    background-color: var(--accent-color);

}

/*Icon SHORTCODE CSS*/
.custom-card-icons, .custom-card-button {
    display: flex !important;
    gap: 5px;
    flex-shrink: 1 !important;
    min-width: 0 !important;
}
.custom-card-icons {
    flex-direction: row;
    gap: 5px;
}
.custom-card-button {
    justify-content: flex-end ;
}
.custom-svg-wrapper img, .custom-card-button svg, .custom-card-button path {
    max-width: 28px;
    max-height: 28px;
    min-height: 18px;
    min-width: 18px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1 !important;
    flex-shrink: 1 !important;
    object-fit: contain !important;
}
.custom-card-button svg path {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1 !important;
}
.custom-svg-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-hover-color);
    border-radius: 50px;
    transition: background-color ease .3s;
    padding: 5px;
    height: auto;
    flex-shrink: 1 !important;
    min-width: 0 !important;
}
.custom-svg-wrapper:hover{
    background-color: var(--bg-hover2-color);
}

div.elementor-shortcode {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.custom-svg-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}
.custom-svg-wrapper:hover::after {
    opacity: 0.9;
}
/**/
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    justify-items: stretch !important;
}
@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 767px) {
    ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.archive-product-card {
    border-radius: 8px 8px 0 0;
    overflow: visible !important;
}
:root body .product {
    padding-inline: 0 !important;
    padding-bottom: 0 !important;
    padding: 0 !important;
}
.my-custom-card {
    width: 100% !important;

    height: 100% !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background-color: var(--bg-color);
    transition: 0.3s ease all;
    overflow: visible !important;
}
.my-custom-card:hover {
    background-color: var(--bg-hover-color);
}

.custom-card-icons-container {
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content: space-between;
    line-height: 0;
}

.custom-card-image {
    height: 250px;
    width: 250px;
    max-height: 250px;
    min-height: 250px;
    object-fit: contain;
}
.custom-card-image-wrapper {
    background-color: white;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: center;
}
.custom-card-info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    gap: 10px;
    height: 100%;
}

.custom-card-product-price {
    text-align: left;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}
.custom-card-product-title {
    text-align: left;
    font-size: 18px;
}




.wpc-filter-title {
    font-weight: 600 !important;
    
}
.wpc-filter-link {
    color: var(--text-color);
}
.wpc-filter-link:hover {
    color: var(--text-color);
}

.ui-slider-range {
    background-color: var(--accent-color) !important;
}
.ui-slider-handle {
    z-index: 1 !important;
}
.wpc-filters-reset-button {
    color: var(--text-color) !important;
    border-color: var(--text-color) !important;
    background-color: var(--bg2-color) !important;

}
.wpc-filters-submit-button {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-color) !important;
}

@media (max-width:767px) {
    .elementor-widget-sidebar h4.wp-block-heading {
        display: none;
    }
    .woo-listing-top .woocommerce-result-count.ct-hidden-sm {
        display: block !important;
    }
    .elementor-widget-sidebar {
        gap: 0 !important;
        line-height: 0 !important;
        width: 100% !important;

    }
    .elementor-widget-sidebar a {
        margin: 0 !important;
    }
    .elementor-widget-sidebar .wpc-filter-layout-submit-button {
        margin-top: 24px !important;
    }
    .wpc-filters-main-wrap {

        border-radius: 8px;
    }
    .woocommerce.columns-3 {
        padding-top: 10px;
    }
}



/* POP UP*/
.product-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000000001 !important;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(1px);
}

.product-popup.active {
    display: block;
}

#popup-overlay {
    position: fixed;
    inset: 0;
}
#popup-description {
    padding-bottom: 20px;
}

.popup-content {

    position: absolute;
    right: 0;
    top: 0;
    width: 500px;
    height: 100%;
    background: var(--bg2-color);
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    display: flex;

    flex-direction: column;
}
@media (max-width:767px) {
    .popup-content {
        width: 100vw;
    }
}
.popup-inner {
    position: relative;
    padding: 20px;
    padding-bottom: 60px;
    width: 100%;
    flex: 1;
    padding-bottom: 60px !important;
}

.popup-close {
    position: absolute;
    z-index: 3000000000;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 40px !important;
    cursor: pointer;
    background-color: transparent !important;
    transition: all ease 0.3s !important;
}
.popup-close:hover {
    color: var(--accent-color) !important;
}
.popup-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
#popup-image {
    width: 300px;
    height: 300px;
}
#popup-title {
    line-height: 36px;
}
.popup-CTA {
    position:sticky;
    bottom: 0;
    right: 20px;
    width: 100%;
    height: 80px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(2px);
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
}
.popup-qty {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border: var(--accent-color) solid 1px;
    border-radius: 6px;
    background-color: var(--bg2-color);
    padding: 0px 4px;
}

.popup-qty button {
    background-color: transparent;
    padding: 4px 4px;
    cursor: pointer;
    transition: all ease 0.3s;
    border-radius: 6px;
    width: 22px;
}
.popup-qty button:hover {
    background-color: var(--accent-color);
    color: white;
}
#popup-qty-input {
    width: 30px !important;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-color);
    padding: 2px 0px;
    border: 0;
}
#popup-add-to-cart {
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
    transition: all ease 0.3s !important;
}
#popup-add-to-cart:hover, .popup-inner button.button:hover {
    background-color: var(--accent-color) !important;
    color: white !important;

}
a.added_to_cart.wc-forward {
    background-color: var(--bg2-color) !important;
    border-radius: 6px !important;
    color: var(--text-color) !important;
    border: var(--text-color) solid 1px !important;
    transition: all 0.3s ease !important;
}
a.added_to_cart.wc-forward:hover {
    background-color: var(--text-color) !important;
    color: var(--bg2-color) !important;
    border: var(--text-color) solid 1px !important;
}
#popup-link {
    padding-bottom: 60px;
}



#popup-qty-input::-webkit-outer-spin-button,
#popup-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}



/*MY ACCOUNT*/

.woocommerce-Address-title.title h2, .woocommerce-Address-title.title .edit {
    margin: 0 !important;
    flex-shrink: 0 !important;
    position:relative !important
}
.woocommerce-Address-title.title .edit {
    height: 30px !important;

}
.woocommerce-Address-title.title .edit:hover {
    color: var(--accent-color) !important;
}
.woocommerce-Address-title.title {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 20px !important;
    line-height: 0 !important;
    flex-wrap: wrap !important;
}
.woocommerce-Address {
    padding: 20 !important;
    background-color: var(--bg2-color) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    border: 1px, solid, var(--text-color) !important; 
}
.woocommerce-Address address {
    padding: 10px !important;
}





/*QUIZ RECOMMENDATIONS*/

.quiz-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}


/*CATEGORY FILTER PRODUCT ARCHIVE*/
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1 {
    display: none;
}
.wc-block-product-categories-list-item {
    border-bottom: rgb(0, 0, 0, 0.15) 1px solid;
    padding: 4px 4px 4px 16px;
    font-size: 16px;

}
.wc-block-product-categories-list-item span {
    transition: all ease .3s;
}
.wc-block-product-categories-list-item:hover span {
    color: var(--accent-color) !important;
}
.wc-block-product-categories-list {
    border-bottom: rgb(0, 0, 0, 0.15) 1px solid;
}
@media (max-width:767px) {
    ul.wc-block-product-categories-list {
        display: none !important;
    }
    #block-64 > p > strong {
        display: none !important;
    }
}




/*-----------------------------------------------------------------------*/



.elementor-element.elementor-element-aed41a1.elementor-widget.elementor-widget-wc-elements {
    background-color: var(--bg-color) !important;
    padding:30px;
    border-radius: 16px;
    box-shadow: 0px 3px 6px 0px rgba(140, 149, 159, 0.4);
}
.ct-woocommerce-cart-form .cart_totals {
    border: none !important;
    border-radius: 0 !important; 
}
table, th, td {
    border-style: none !important;
}
th.product-quantity, th.product-name, th.product-subtotal, div.ct-woocommerce-cart-form > div > h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    font-family: Ubuntu, sans-serif !important
}
div.ct-woocommerce-cart-form > form > table {
    margin: 0 !important;
}
tr.cart-subtotal th, div.ct-shipping-heading, tr.order-total th{
    font-size: 1.125rem !important;
}
tr.cart_subtotal, tr.order-total {
    padding: 5px !important;
}
.woocommerce-shipping-totals td .ct-shipping-heading {
    margin-bottom: 25px !important;
}
