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

html { scroll-behavior: smooth; }
div.wpb_row { scroll-margin-top: 50px; }
.wd-content-layout { padding-bottom: 0px !important; }
body.woocommerce .wd-content-layout { padding-bottom: 40px !important; }
body.blog .wd-content-layout { padding-bottom: 40px !important; }

/* Color */
.amount {
	color: #000000;
}

.whb-main-header {
	--tw-backdrop-blur: blur(16px);
	-webkit-backdrop-filter: var(--tw-backdrop-blur);
	backdrop-filter: var(--tw-backdrop-blur);
	background-color: rgb(81 81 81 / var(--tw-bg-opacity)) !important;
	--tw-bg-opacity: 0.2;
}

.wd-header-main-nav .wd-nav[class*="wd-style-"] > li:is(.current-menu-item, .wd-active, .active) > a {
	color: #fff;
	opacity: 1;
	text-decoration-line: underline;
	text-underline-offset: 2px;
}

.wd-header-main-nav .wd-nav[class*="wd-style-"] > li > a {
	opacity: 1;
}
.wd-header-main-nav .wd-nav[class*="wd-style-"] > li:hover > a {
	text-decoration-line: underline;
	text-underline-offset: 2px;
	opacity: 0.6;
	color: #fff !important;
}

.header-menu-titel { text-transform: uppercase; }

.wd-dropdown-menu { padding-top: 0px !important; }
.wd-dropdown-my-account { padding-top: 12px !important; }

.wd-dropdown-menu a:hover {
	text-decoration-line: underline;
	text-underline-offset: 2px;
}

/* Dölja kategorier */
ul li.cat-item-292 { display: none !important; }

/* Arrow down */
.wd-nav[class*="wd-style-"] > li:is(.wd-has-children, .menu-item-has-children) > a::after {
	color: #fff;
	display: none !important;
}
.wd-nav > li:is(.wd-has-children, .menu-item-has-children) > a::after {
	font-size: clamp(6px, 80%, 18px);
}
.wd-header-main-nav .wd-nav[class*="wd-style-"] > li:is(.current-menu-item, .wd-active, .active) > a::after {
	text-decoration-line: grammar-error !important;
}

/* Megamenu */
.megamenu-background { background-color: #F5F5F5 !important; padding-left: 35px; }

/* Mobile Menu */
.wd-cross-icon > a::before { font-size: 20px !important; }
#mobilmenylogo img { max-width: 85px; } 
.mobile-nav.wd-side-hidden {
	background-color: #fff;
}
.mobile-nav {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 0px 12% 12% 12%;
}
.cart-widget-side .wd-heading {
	padding: 10px;
}
.wd-heading {
	border-bottom: 0px !important;
	padding: 20px 0px 0px 0px;
}
.mobile-nav .close-side-widget.wd-action-btn.wd-style-text > a { color: #000; font-size: 0px !important; }
.mobile-nav .mobile-pages-menu { order: 3; }
.mobile-nav .widgetarea-mobile { order: 2; padding: 0px; }

.mobile-nav .wd-nav-opener { border-left: 0px !important; }

.wd-nav > li > a { font-size: 18px; line-height: 2; }

.mobile-nav .wd-nav-mobile > li > a { color: #000 !important; padding: 5px 20px 5px 0px !important; }
.mobile-nav .wd-sub-menu li > a { color: #000 !important; padding: 5px 20px 5px 20px !important; }

.wd-nav-mobile li a:hover {
	border-bottom: 1px solid #e4e4e4 !important;
}
.wd-nav-opener { color: #000 !important; }
.mobile-nav .wd-nav-opener.wd-active { background-color: transparent !important; }
.wd-nav-mobile li:active > a, .wd-nav-mobile li.opener-page > a { background-color: transparent !important; }

.wd-nav-mobile li .wd-mob-nav-html-block a:hover {
	border-bottom: 1px solid #e4e4e4 !important;
}

/* Cart widget */
p.woocommerce-mini-cart__total.total {
	text-transform: uppercase;
	font-size: 95%;
}
p.woocommerce-mini-cart__total.total .tax_label { text-transform: none !important; }
.cart-widget-side { --wd-side-hidden-w: 700px; }

/* Sidebar */
aside.sidebar-left .wd-heading .close-side-widget { margin-right: 12px; }

/* Titlar */
.nouppercase .title { text-transform: none !important; }

/* Product category */
.product-element-top, .product-element-top .hover-img { background-color: #f1f1f1 !important; }
.woocommerce-product-gallery .wd-carousel-wrap .wd-carousel-item { background-color: #f1f1f1; }
.wd-carousel-item .product-element-top { background-color: #f1f1f1; }

.product-wrapper .product-element-bottom .wrap-price .price { font-size: 100%; }
.product-wrapper .product-element-bottom .wrap-price span.price .amount { color: #000 !important; font-weight: 300; }

[class*="title-line-"] .wd-product .wd-entities-title { text-align: left; }
.wd-products[class*="wd-stretch-cont"] .wd-product :is(.price, .wrap-price, .product-rating-price) { text-align: left; }

h3.wd-entities-title {
	font-weight: 400;
	font-size: 100% !important;
}

/* Hover FX */
.wd-hover-with-fade.hover-ready:hover .product-wrapper { transform: translateY(-10px) translateZ(0) !important; }
.wd-hover-with-fade .content-product-imagin { inset: -15px -15px -2px -15px !important; box-shadow: none !important; border: 1px solid #e4e4e4 !important; }

/* Product page */
img.zoomImg { background-color:#f1f1f1;}

.product_title {
	font-size: 40px;
	font-weight: 600;
}
div.extra_product_info {
	padding-top: 15px;
	border-top: 1px solid #dcdcdc;
}

.wd-content-area:not([style*="col-lg:12;"]) .product-tabs-wrapper {
  background-color: #fff !important;
}

.wd-before-product-tabs {
  background-color: #212121 !important;
}
.wd-before-product-tabs .product_meta { color: #fff !important;}
.product_meta .meta-label { color: #fff; }
.wd-before-product-tabs span a { color: #fff !important; }
.wd-before-product-tabs .wd-label { color: #fff !important; }
.wd-before-product-tabs .wd-social-icons > a { color: #fff; }

.single_add_to_cart_button { width: 100% !important; }

table.variations label { text-transform: uppercase; }
table.variations tr { display: flex; flex-direction: column; }
table.variations .label { padding-right: 0px !important; padding-bottom: 10px !important; }
table.variations label::after {
	content: "" !important;
}

/* Input */
div.quantity input[type="button"]:hover {
	background-color: #242424;
	border-color: #242424;
}

/* Swatches */
[class*="wd-swatches"].wd-size-m {
  --wd-swatch-size: 55px !important;
}
[class*="wd-swatches"] {
	--wd-swatch-h-sp: 0px !important;
	--wd-swatch-brd-color: #afafaf !important;
}

/* Footer */
#logo-footer .first-one img {
	margin-left: 0px;
}
#logo-footer .last-one img {
	margin-right: 0px;
}
#logo-footer img {
	max-height: 70px;
	width: auto !important;
	margin: 0px 10px;
}

.grecaptcha-badge { display: none !important; }

@media (max-width: 1380px) { }

/* Tablet - Padding */
@media (max-width: 1024px) { }

/* Tablet */
@media (max-width: 991px) { }

/* Mobile */
@media (max-width: 767px) {
	/* Megamenu */
	.megamenu-background { background-color: #ffffff !important; padding-left: 0px; }
}
@media (max-width: 576px) {
	#logo-footer { text-align: center !important; }
	#logo-footer .first-one img {
		margin-left: auto !important;
	}
	#logo-footer .last-one img {
		margin-right: auto !important;
	}
}
@media (max-width: 480px) {
	#logo-footer img {
		max-height: 55px;
	}
	small.mobile {
		width: 100%;
		display: inline-block;
	}
}