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




/* Colors 

#052e20 - dark green
#289925 - bright green
#fffaed - sand
#E43A36 - red sale

*/


/* Top white header */
.current-status {
    font-size: 13px;
}

span.status-accent {
	color: var(--wd-alternative-color);
	font-weight: 700;
}

a.wd-social-icon.social-ok {
    --wd-social-icon: "\f157";
}

header a.wd-social-icon.social-ok {
    --wd-social-icon: "\f157";
    order: -1;
}



/* Dark green header */
header .searchform[class*="wd-style-with-bg"] .searchsubmit {
	--btn-bgcolor: var(--wd-alternative-color);
}

header .wd-header-cart.wd-design-3 .wd-cart-subtotal .amount {
	color: #fff !important;
}

header .wd-header-cart.wd-design-3 .wd-tools-icon:before {
	font-size: 24px;
}

.whb-general-header .wd-info-box :is(.info-box-subtitle,.info-box-title,.info-box-inner):not(:first-child) {
    margin-top: 8px;
}



/* Bright Green Header */

.whb-header-bottom .whb-column.whb-col-left {
    flex-grow: 1;
    /* background: red; */
}

.whb-header-bottom .whb-col-center.whb-empty-column {
    display: none;
}

.whb-header-bottom .wd-dropdown {
    border-radius: 5px;
}

.whb-header-bottom .wd-dropdown-menu.wd-design-default .wd-dropdown {
    top: -12px;
}




/* Menu TMP */

#menu-mobile-shop-menu li.menu-item:not(.cat_filled) a:before,
.shoptab li.menu-item:not(.cat_filled):before {
    content: '';
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    background: red;
    border-radius: 50%;
    top: 15px;
    left: -11px;
} 

#menu-mobile-shop-menu li.menu-item:not(.cat_filled) a:before {
    left: 8px;
    top: 22px;
}

#menu-mobile-shop-menu li.menu-item.cat_filled li.menu-item a:before,
.shoptab li.menu-item.cat_filled li.menu-item:before {
    display: none;
}

li.menu-item.noclick {
    pointer-events: none;
}

li.menu-item.noclick a {
    color: #000 !important;
    font-weight: 700;
}




/* Home - Hero */
.wp-block-wd-section.passe-partout {
    width: calc(100vw - 20px);
    margin-left: 10px;
    margin-right: 10px;
}



/* WooCommerce - Category block */
.category-grid-item.cat-design-default .wd-fill.category-link:before {
    background-image: linear-gradient(0deg, rgb(15, 32, 39) 0%, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 86%);
    opacity: 0.6;
    content: '';
    height: 100px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.category-grid-item.cat-design-default .wd-cat-content {
    z-index: 6;
}



/* WooCommerce small product slider block */

.wd-product.wd-hover-small .price {
    color: var(--wd-alternative-color);    
}


/* WooCommerce category */

/*
.coming-soon-message {
    position: relative;
    margin-bottom: 20px;
    padding-block: 18px;
    padding-inline: 65px 30px !important;
    text-align: start;
    border: none;
    border-radius: var(--wd-brd-radius);
    outline: none !important;
    background: var(--notices-warning-bg);
    color: #fff;
    display: inline-block;
}
*/

.coming-soon-message.woocommerce-info {
    margin-bottom: 40px !important;
}

.per-page-title:after {
    content: ':';
    margin-left: -4px;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1,
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-2,
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-3 {
    position: relative;
    margin: 0 15px;
    -webkit-transition: all .35s ease;
            transition: all .35s ease;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1:before {
    /* content: '>'; */
    content: "\f129";
    font-family: "woodmart-font";
    position: absolute;
    top: -23px;
    right: 0;
    font-size: 9px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    border: solid 1px #ddd;
    -webkit-transition: all .35s ease;
            transition: all .35s ease;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1:hover:before {
    background: #fafafa;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1 > li {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
    -webkit-transition: all .35s ease;
            transition: all .35s ease;
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1.active,
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-2,
ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-3 {
    margin-top: var(--li-mb);
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1.active:before {
    margin-top: -15px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1.active > li {
    max-height: 9999px;
    opacity: 1;
    margin-bottom: var(--li-mb);
    overflow: visible;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    border-radius: 5px;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__input {
    padding: 0 7px;
}

.wp-block-search .wp-block-search__button {
    padding: 5px 12px;
    line-height: 18px;
    font-size: 12px;
    border-radius: 5px;
}



/* WooCommerce product */
p.stock.wd-style-default.in-stock:before {
    color: var(--wd-alternative-color);
    margin-right: 12px;
}

.single-product table.woocommerce-product-attributes.shop_attributes:before {
    content: 'Details';
    font-size: 20px;
    color: var(--wd-title-color);
    margin-bottom: var(--wd-tags-mb, 20px);
    text-transform: var(--wd-title-transform);
    font-weight: var(--wd-title-font-weight);
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
    line-height: 1.4;
    display: block;
}

.shop_attributes tbody {
    display: block;
    column-count: 2;
}

.shop_attributes tr {
    align-items: flex-start;
}



/* WooCommerce my account */

.wd-builder-off .woocommerce-MyAccount-content .wd-nav-my-acc {
    --wd-col-lg: 2;
    --wd-col-sm: 2;
}




/* WooCommerce - Mini Cart */

.shopping-cart-widget-footer .woocommerce-mini-cart__total {
    font-size: 100%;
}

.shopping-cart-widget-footer .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: var(--wd-alternative-color);  
}

.cart-widget-side .close-side-widget .wd-action-text {
    display: none !important;
}




/* WooCommerce checkout */

form.woocommerce-checkout input,
form.woocommerce-checkout textarea,
form.woocommerce-checkout select {
    border-radius: 8px !important;
}

form.woocommerce-checkout textarea {
    min-height: 90px;
}

.woocommerce-checkout h3#ship-to-different-address {
    margin: 25px 0 40px;
}

.wd-checkout-steps {
    font-size: 18px;
    text-transform: none;
}

/* Openings Hours */

.opening-hours {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.opening-hours li {
    position: relative;
    list-style: none;
    margin-bottom: 0;
}

.opening-hours li.current-day.is-open .title {
    position: relative;
}

/*
.opening-hours li.current-day.is-open .title:after {
    content: '';
    display: block;
    position: absolute;
    right: -85px;
    top: -10px;
    width: 80px;
    height: 42px;
    background-image: url(img/open-closed.png);
    background-position: 0px 0px;
    background-size: 100%;
    background-repeat: no-repeat;
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
}
*/

.opening-hours li.current-day.is-open {
    color: var(--wd-alternative-color);
}

.opening-hours li strong {
    min-width: 90px;
    display: inline-block;
    font-weight: 400;
}

.opening-hours li.current-day,
.opening-hours li.current-day strong {
    font-weight: 700;
}

.opening-hours li span {
    display: inline-block;
    vertical-align: top;
}

.opening-hours li span.date {
    min-width: 55px;
}






/* Gravity GFORM */


p.gform_required_legend {
    display: none;
}

.gform_wrapper.gform-theme--foundation {
    --gf-form-gap-y: 25px;
}

.gform-theme--foundation .gfield_label {
    margin-bottom: 4px;
}

.gform-theme--foundation .gfield input,
.gform-theme--foundation .gfield textarea {
    border-radius: 8px !important;
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color) !important;
}

.gform_footer input[type="submit"] {
    font-weight: 600 !important;
    border-radius: 30px !important;
}

/* Footer */

.mc4wp-form input[type="submit"] {
    width: 100%;
}

img.paymeny_logo {
    height: 30px;
}

/*
footer ul#menu-footer-shop {
    display: block;
    column-count: 2;
}
*/

footer .wd-nav>li>a {
    min-height: 1px;
    padding: 1.5px;
}

.wd-copyrights.copyrights-wrapper {
    font-size: 15px;
}



@media only screen and (max-width: 990px) {

.shop_attributes tbody {
    display: block;
    column-count: 1;
}

}


@media only screen and (max-width: 767px) {

.wp-block-wd-section.passe-partout {
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
}


.site-content > article > .wp-block-wd-section.passe-partout:nth-child(1) {
	margin-top: -40px;
	border-radius: 0 0 20px 20px;
}

}


