/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.6
 Text Domain:  woodmart
*/

/**
    General ---------------------------------------------------------------
 */


 /* karla-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/karla/karla-v31-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 200;
    src: url('assets/fonts/karla/karla-v31-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/karla/karla-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 300;
    src: url('assets/fonts/karla/karla-v31-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/karla/karla-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/karla/karla-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/karla/karla-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 500;
    src: url('assets/fonts/karla/karla-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/karla/karla-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 600;
    src: url('assets/fonts/karla/karla-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/karla/karla-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 700;
    src: url('assets/fonts/karla/karla-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/karla/karla-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* karla-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Karla';
    font-style: italic;
    font-weight: 800;
    src: url('assets/fonts/karla/karla-v31-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


 .full-width {
    width: 100% !important;
}

.add-hyphens * {
    hyphens: auto;
}

[type="submit"].btn-full-width {
    width: 100%;
}

.svg-primary svg path {
    fill: var(--wd-primary-color);
}

/**
    Woodmart ---------------------------------------------------------------
 */
.product-labels {
    max-width: 100% !important;
}

/* Start - Widget area mobile sidebar shop */
.widgetarea-mobile-sidebar-shop {
    display: none;
}

.widgetarea-mobile-sidebar-shop.wd-active {
    display: block;
    animation: wd-fadeIn 1s ease;
}

.widgetarea-mobile-sidebar-shop > .wd-widget {
    display: none;
}

.widgetarea-mobile-sidebar-shop .wd-widget.widget_product_categories,
.widgetarea-mobile-sidebar-shop .wd-widget.widget_top_rated_products,
.woocommerce-shop .widgetarea-mobile-sidebar-shop .wd-widget,
.tax-product_cat .widgetarea-mobile-sidebar-shop .wd-widget,
.tax-product_tag .widgetarea-mobile-sidebar-shop .wd-widget {
    display: block;
}

.wv-category-menu .cat-item-20 {
    display: none;
}

/* End - Widget area mobile sidebar shop */

@media (max-width: 576px) {
    .testimon-style-boxed .testimonial-inner {
        padding: 15px !important;
    }
}

/**
 	Lightspeed -------------------------------------------------------------
 */

img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

/**
    Cleverreach ------------------------------------------------------------
 */
.cr-form .haet-cleverreach-form {
    display: flex;
}

.cr-form .type-email {
    flex-grow: 1;
}

.cr-form input[type="email"] {
    background-color: white;
    width: 100% !important;
}

.cr-form label {
    color: white;
}

.cr-form button[type="submit"] {
    background-color: var(--wd-primary-color);
    color: white;
    margin-top: 22px;
}

/**
    OWL Carousel -----------------------------------------------------------
 */
@media (max-width: 576px) {
    .owl-items-xs-1:not(.owl-loaded) > div {
        flex: 0 0 85% !important;
    }

    .owl-items-xs-2:not(.owl-loaded) > div {
        flex: 0 0 42.5% !important;
    }

    .owl-items-xs-3:not(.owl-loaded) > div {
        flex: 0 0 28.33305% !important;
    }
}

/**
    Product Page -----------------------------------------------------------
*/
.single-product-page .product_meta {
    display: none;
}

/* Start - Balanced attribute table styling */
div.shop_attributes {
    display: flex;
    flex-wrap: wrap;
    max-width: initial !important;
}

div.shop_attributes .woocommerce-product-attributes-item {
    display: flex;
    width: 100%;
}

div.shop_attributes .woocommerce-product-attributes-item:nth-child(even) {
    background-color: #f9f9f9;
}

div.shop_attributes .woocommerce-product-attributes-item__label,
div.shop_attributes .woocommerce-product-attributes-item__value {
    width: 65%;
    flex-grow: 1;
    padding: .5em;
    _font-size: .9em;
}

div.shop_attributes .woocommerce-product-attributes-item__label {
    width: 35%;
}

div.shop_attributes .woocommerce-product-attributes-item__label {
    text-transform: uppercase;
    font-weight: bold;
}

div.shop_attributes .woocommerce-product-attributes-item__value p {
    margin: 0;
}

@media (min-width: 576px) {
    div.shop_attributes .woocommerce-product-attributes-item {
        width: 49%;
        margin-left: 1%;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(odd) {
        width: 50%;
        margin-left: 0;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(even) {
        background-color: transparent;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(4n + 3),
    div.shop_attributes .woocommerce-product-attributes-item:nth-child(4n + 4) {
        background-color: #f9f9f9;
    }
}

/* End - Balanced attribute table styling */

/**
    WP Forms ---------------------------------------------------------------
*/
.wpforms-submit-container {
    padding-top: 5px !important;
}

/**
    The Events Calendar ----------------------------------------------------
*/
:root {
    --tec-font-family-sans-serif: inherit;
    --tec-font-family-base: inherit;
    --tec-color-text-events-title: #242424;
    --tec-color-text-event-title: #242424;
    --tec-color-text-event-date: #777777;
    --tec-color-text-secondary-event-date: #777777;
    --tec-color-link-primary: #333333;
    --tec-color-link-accent: #333333;
    --tec-color-link-accent-hover: rgba(51, 51, 51, 0.8);
    --tec-color-accent-primary: #d0c797;
    --tec-color-accent-primary-hover: rgba(208, 199, 151, 0.8);
    --tec-color-accent-primary-multiday: rgba(208, 199, 151, 0.24);
    --tec-color-accent-primary-multiday-hover: rgba(208, 199, 151, 0.34);
    --tec-color-accent-primary-active: rgba(208, 199, 151, 0.9);
    --tec-color-accent-primary-background: rgba(208, 199, 151, 0.07);
    --tec-color-background-secondary-datepicker: rgba(208, 199, 151, 0.5);
    --tec-color-accent-primary-background-datepicker: #d0c797;
    --tec-color-button-primary: #d0c797;
    --tec-color-button-primary-hover: rgba(208, 199, 151, 0.8);
    --tec-color-button-primary-active: rgba(208, 199, 151, 0.9);
    --tec-color-button-primary-background: rgba(208, 199, 151, 0.07);
    --tec-color-day-marker-current-month: #d0c797;
    --tec-color-day-marker-current-month-hover: rgba(208, 199, 151, 0.8);
    --tec-color-day-marker-current-month-active: rgba(208, 199, 151, 0.9);
    --tec-color-background-primary-multiday: rgba(208, 199, 151, 0.24);
    --tec-color-background-primary-multiday-hover: rgba(208, 199, 151, 0.34);
    --tec-color-background-primary-multiday-active: rgba(208, 199, 151, 0.34);
    --tec-color-background-secondary-multiday: rgba(208, 199, 151, 0.24);
    --tec-color-background-secondary-multiday-hover: rgba(208, 199, 151, 0.34);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 55px;
    padding-top: 0;
}

#tribe-events-pg-template {
    padding-bottom: 55px;
    padding-top: 0;
    max-width: none;
}

.tribe-events-schedule {
    margin-top: 0;
}

.tribe-events-schedule h2 {
    font-size: 24px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
    margin-right: 0;
}

.tribe-events-back {
    display: none;
}

/**
    German Market ----------------------------------------------------------
*/

/* .legacy-itemprop-offers .wgm-info.shipping_de small,
.variation-Lieferzeit {
    border: 1px solid rgb(192 158 71);
    padding: 5px 10px;
    background-color: rgb(192 158 71 / 30%);
    font-size: 100%;
}

.legacy-itemprop-offers .wgm-info.shipping_de small {
    font-weight: bold;
    line-height: 3;
} */

.yith-pre-order-product{
    .shipping_de_string{
        display: none;
    }
}

/* Mega Main Menu */
#mega-menu-main-menu{
    > .mega-menu-item{
        >.mega-sub-menu{
            box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
            padding: 2rem !important;
        }
    }
    .mega-menu-item:not(:has(.mega-sub-menu)){
        padding: 0% !important;
    }
    .mega-menu-item{
        padding-top: 0% !important;
    }

}
@media only screen and (max-width: 1025px) {
    .mobile-nav{
        .wd-nav-mob-tab{
            display: none;
        }
        
    }
    #mega-menu-mobile-menu{
        background: transparent !important;
        padding: 1rem !important;
        li.mega-menu-item{
            display: block !important;
            a.mega-menu-link{
                color: #222 !important;
            }
        }
        li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, li.mega-menu-item.mega-toggle-on > a.mega-menu-link, li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
            background: transparent !important;
        }
        li.mega-menu-item > ul.mega-sub-menu {
            padding-left: 1.25rem !important;
        }
    }
    .wd-sub-menu{
        padding: 0.75rem;
        .woocommerce-MyAccount-navigation-link a{
            padding-top: 0 !important;
        }
    }
}
/* TEST */