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

.liner-continer { margin-bottom: 0px !important; }

/* Popup */
.mfp-bg {
	background-color: rgba(0,0,0,0) !important;
}
.mfp-container {
	align-items: flex-end !important;
	justify-content: flex-end !important;
}
.mfp-content {
	margin-block: 0px !important;
}
.wd-popup.wd-promo-popup {
	margin: auto !important;
	right: 15px !important;
	position: absolute !important;
	bottom: 15px !important;
}
.mfp-ready button.mfp-close {
	color: #000 !important;
	top: 0px !important;
	inset-inline-end: -5px !important;
}

/* Header */
.whb-main-header:hover { background-color: #fff; transition: background-color 0.5s ease; }
.whb-main-header { transition: background-color 0.5s ease; }

/* Swatch */
.wd-swatch { font-weight: 400 !important;}

/* Menu */
ul.menu .wd-dropdown-menu.wd-dropdown {
	position: fixed;
	top: 160px;
	left: 0 !important;
	right: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 860px;
}
.wd-dropdown-menu.wd-design-sized {
  padding: 30px 35px 30px 35px;
}
.wd-dropdown-menu .woodmart-title-container.title {
	text-decoration: solid underline 1px #000;
	text-underline-offset: 5px;
}
.wd-nav[class*="wd-style-"] > li:is(.wd-has-children, .menu-item-has-children) > a::after {
    color: #000 !important;
}

/* Promo banner */
.banner-mask .wrapper-content-banner { background-color: transparent !important; }
.banner-mask[class*="banner-hover-zoom"]:hover .wrapper-content-banner {
  background-color: rgba(0,0,0,0.6) !important;
}

/* Formulär */
.mc4wp-form-fields input[type="email"], .mc4wp-form-fields input[type="date"], .mc4wp-form-fields input[type="search"], .mc4wp-form-fields input[type="number"], .mc4wp-form-fields input[type="text"], .mc4wp-form-fields input[type="tel"], .mc4wp-form-fields input[type="url"], .mc4wp-form-fields input[type="password"], .mc4wp-form-fields textarea, .mc4wp-form-fields select {
	border-color: #151515;
	background-color: #fff;
	border-width: 1px;
	max-width: 350px;
	float: left;
}
.mc4wp-form input[type="submit"] {
	float: left;	
}

/* Product label */
.product-label { font-weight: 400 !important; }

.label-term-coming-soon {
	background-color: #242424 !important;
	color: #fff !important;
}

/* Produktkort */
span.yith-wcbr-brands a {
	font-size: 12px;
	font-style: italic !important;
}
.product-grid-item .hover-img { margin-top: 0px; }
.product-element-top:hover .hover-img {
	transform: none !important;
	margin-top: 0px;
}

.product-grid-item .product-image-link {
	height: 100%;
	max-height: 100%;
}
.product-grid-item :is(.product-image-link, .hover-img) img { 
	height: 100%;
	object-fit: cover;
}
.wd-hover-quick .wd-add-btn { display: none !important; }
.wd-add-btn.wd-add-btn-replace.woodmart-add-btn {
	display: none !important;
}

/* produktsida */
.product-tabs-wrapper {
	display: none;
}
.wd-tabs-header, .wd-tabs-desc, .wd-nav-tabs-wrapper { margin-bottom: 25px !important; }
.wd-nav-tabs > li:not(:last-child) {
  margin-inline-end: 0px !important;
}
.woocommerce-tabs.wc-tabs-wrapper.tabs-layout-tabs { margin-bottom: 25px; }
.wd-nav.wd-style-underline-reverse { width: 100%; }
.wd-nav.wd-style-underline-reverse > li { width: 50%; }
.wd-nav.wd-style-underline-reverse > li > a > .nav-link-text::after {
	top: 41px !important;
	height: 2px !important;
}
.wd-nav.wd-style-underline-reverse > li > a { color: #bbbbbb; padding-top: 10px !important; font-weight: 400; }
.wd-nav.wd-style-underline-reverse > li.active > a { color: #000; }
.wd-nav.wd-style-underline-reverse > li > a span { width: 100%; text-align: center; }
.wd-nav.wd-style-underline-reverse > li { border-bottom: 1px solid #bbbbbb; }

table.variations select {
	max-width: unset !important;
}
form.cart :where(.single_add_to_cart_button, .wd-buy-now-btn) {
	flex: 1 0 auto !important;
}
.related-products h3.slider-title,
.upsells-carousel h3.slider-title {
	text-align: center;;
}
.related-products h3.slider-title:before,
.upsells-carousel h3.slider-title:before {
	left: 50% !important;
	transform: translate( -50%, 0% );
}

/* Kassa */
body.woocommerce-checkout .woocommerce {
	max-width: 1200px !important;
	margin: 0 auto;
}
body.woocommerce-checkout .woocommerce * {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


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

/* Tablet - Padding */
@media (max-width: 1024px) {
	.whb-top-bar .wd-header-text { text-align: center; }
}

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

/* Mobile */
@media (max-width: 768px) { }
@media (max-width: 767px) { }
@media (max-width: 575px) { }
@media (max-width: 480px) { }

.wd-swatch.ao-disabled {
	opacity: .4 !important;
	cursor: default !important;
	--wd-swatch-brd-color: var(--brdcolor-gray-500) !important;
}