/*
Theme Name: Emall Child
Theme URI: https://demo.theme-sky.com/emall/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: emall
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: emall-child
*/

/** Custom fonts **/
@font-face {
    font-family: 'UrbanistFlock';
    src: url('/wp-content/themes/emall-child/assets/fonts/UrbanistFlock-Medium.woff2') format('woff2'),
    url('/wp-content/themes/emall-child/assets/fonts/UrbanistFlock-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UrbanistFlock';
    src: url('/wp-content/themes/emall-child/assets/fonts/UrbanistFlock-Bold.woff2') format('woff2'),
    url('/wp-content/themes/emall-child/assets/fonts/UrbanistFlock-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/** Custom product highlights */
.fl-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.fl-highlight__image {
    background-color: #f0f0f0;
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fl-highlight__image img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.fl-highlight__description {
    margin-left: 15px;
}

.fl-highlight__description h6 {
    font-size: 18px;
    margin: 0 0 5px;
}

/** Buy on WhatsApp icon **/

.flock-whatsapp-btn {
    background-color: #128C7E !important;
    border-color: transparent !important;
    color: white !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;

}

.flock-whatsapp-btn:hover {
    background-color: #0e6b60 !important;
    border-color: transparent !important;
    color: white !important;
}

.flock-whatsapp-btn svg {
    width: 20px;
    fill: white;
    margin-right: 10px;
}

/** Custom variations stylization **/
.summary table {
    border-width: 0 !important;
}

.summary td {
    padding: 0 !important;
}

.summary .variations .iconic-wlv-terms__term {
    padding: 0 !important;
}

.variations .iconic-wlv-variations__label {
    border: none !important;
    margin-bottom: 15px !important;
}

.variations .iconic-wlv-variations__value {
    border: none !important;
    padding: 0 !important;
}

.iconic-wlv-terms__term {
    margin: 0 !important;
    margin-right: 20px !important;
}

.iconic-wlv-terms__term--current .iconic-wlv-terms__term-content {
    border: 1px solid var(--ts-btn-hover-bg) !important;
}

/**
    Direct page tweaks
 */
.elementor-widget-wp-widget-tag_cloud h5 {
    font-size: 26px !important;
}

@media screen and (max-width: 768px) {
    .cart .ts-buy-now-button {
        width: 100% !important;
        margin: 10px 0 0 0 !important;
    }
}

.header-template .account-control {
    display: none;
}

#add_payment_method #payment ul.payment_methods li img,
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce-checkout #payment ul.payment_methods li img {
    max-width: 300px !important;
}

/* YITH bundles */

.yith-wfbt-section .yith-wfbt-item input[type="checkbox"] {
    display: none;
}

.yith-wfbt-section h2 {
    font-size: 30px;
    margin-bottom: 2px;
}

/* Tracking and whatsapp button */

@media only screen and (max-width: 767px) {
    .woocommerce div.product.form-cart-fixed .summary .woocommerce-variation-add-to-cart {
        flex-wrap: wrap !important;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 64px;
    height: 64px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #0e6b60;
    color: #fff;
    text-decoration: none;
}

@media only screen and (min-width: 768px) {
    .hide-res {
        display: none;
    }
}