/**
 * Theme Name: Woodmart
 * Theme URI: https://woodmart.xtemos.com/
 * Author: XTemos
 * Author URI: http://themeforest.net/user/xtemos
 * Description: Woodmart - Child Theme
 * Version: 1.0.0
 * Template: woodmart
 * Text Domain: woodmart
 * License: GNU General Public License version 3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post, translation-ready
 */

/* Main Navigation */
.wd-nav.wd-style-default {
	--nav-color-hover: var(--wd-primary-color);
	--nav-color-active: #333;
}

.wd-header-text {
	color: #ffffff;
}

/* Header - Customer Color */
.wd-header-my-account.wd-tools-element > a, 
.wd-header-wishlist.wd-tools-element > a, 
.wd-header-cart.wd-tools-element > a {
	color: #ffffff;
}

/* Header - Price Amount */
.wd-cart-subtotal > span.woocommerce-Price-amount.amount bdi {
	color: #ffffff !important;
}

/* Title limit */
.wd-entities-title.title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Header Banner */
li.header-banner.color-scheme-light {
  padding-left: 0px;
	color: #ffffff;
}

/* Header Menu - List Item */
li.header-menu-element-border-top a.woodmart-nav-link {
    text-transform: uppercase;
	margin-top: 10px;
    padding: 15px 0 10px;
    border-top: 1px dashed rgba(0,0,0,0.105);
}

/* Image Sizes (Thumb) */
.blog .blog-design-masonry.blog-style-bg :is(.post-img-wrapp,.entry-thumbnail img) {
	width: 410px;
    object-fit: cover;
    height: 240px;
} 

/* Pages */
.page-title .container>* {
    margin-bottom: 30px !important;
}

/* Thank You page */
.woocommerce-thankyou-order-received {
    border: 2px dashed #d2b885;
    color: #d2b885;
}

/* Star Rating */
.star-rating span:before {
  color: #D2B885 !important;
}
.stars:hover a:before, 
.stars.selected a:before, 
.stars.selected:hover a:before {
    color: #D2B885; 
}

ul.wd-list.color-scheme-.wd-fontsize-xs.wd-list-type-image.wd-list-style-.wd-justify-left li:hover {
    color: var( --e-global-color-accent );
		fill: #000;
}

.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    border-bottom: none;
    min-width: 272px;
}

/* Reviews */
em.woocommerce-review__verified.verified {
	color: #709900;
}

.description {
    font-weight: normal;
}

.form-style-underlined label {
    margin-bottom: 25px
}

.form-style-underlined select {
    background-position: right 0 top 50%
}

.form-style-underlined textarea {
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 120px;
}

/* Buttons */
button[type="submit"]:hover,
.form-submit input[type="submit"]:hover {
	color: #ffffff;
	background-color: var(--btn-accented-bgcolor);
}

.checkout_coupon .button {
    width: max-content;
}

/* GT Translate */
.gtranslate_wrapper {
	text-align: center;
}

.gtranslate_wrapper .glink {
	color: #ffffff;
}

/* Prefooter */
.wd-prefooter {
    padding-bottom: 0;
}

/* Footer 1st block */
.wp-container-1.wp-container-1, 
.wp-container-2.wp-container-2, 
.wp-container-3.wp-container-3 {
    display: inline-flex;
    line-height: 1;
}

.safe-svg-cover {
    margin-right: 10px;
}

.widget {
    border-bottom: 1px solid rgb(0 0 0 / 0%);
}

/* Blog Card */
.article-body-container {
    min-height: 244px;
}

/* Mini/Flying Card */
.button.btn-cart.wc-forward {
	display: none;
}

.woocommerce-mini-cart__total {
    font-size: 110% !important;
}

.shopping-cart-widget-footer>* { 
	margin-bottom: 5px; 
}

.progress-msg > .woocommerce-Price-amount.amount,
.progress-msg > .woocommerce-Price-currencySymbol {
	color: #333333;
}

/* WooCommerce - Single Product */
.woocommerce-variation-price,
.woocommerce-variation.single_variation .price .amount,
.woocommerce-variation.single_variation .price del {
    font-size: 24px;
}

.woocommerce-variation.single_variation .price del,
.wrap-price > .price span.woocommerce-Price-amount.amount bdi,
.woocommerce-variation-price > span.woocommerce-Price-amount.amount bdi {
    color: #333333;
}

.single_add_to_cart_button {
    padding: 20px;
    width: 100%;
}

form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn,.quantity) {
    flex: auto !important;
}

.woocommerce-variation > div {
	margin-bottom: 20px;
    text-align: center;
    display: block;
}

/* WooCommerce - Shop Page */
.product-wrapper .price del,
.product-wrapper span.woocommerce-Price-amount.amount bdi,
.product-wrapper del span.woocommerce-Price-amount.amount bdi {
    font-size: 1.3rem;
}

.product-wrapper .price del,
.product-wrapper del span.woocommerce-Price-amount.amount bdi {
	color: #b50808 !important;
}

.woocommerce-category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5.5rem 0 5rem;
}

.woocommerce-category-title::before,
.woocommerce-category-title::after {
    content: '';
    flex: .2;
    border-bottom: 1px solid #242424; /* Adjust the color and thickness as needed */
    margin: 0 20px; /* Adjust the spacing around the lines as needed */
}

div.custom-excerpt {
	font-size: 14px;
    line-height: 1.2;
}

/* WooCommerce - Checkout Page */
/*.woocommerce>.woocommerce-checkout {
    column-gap: 5px;
}
*/

.wc-block-components-notice-banner is-success {
	display: flex;
}

.wd-shipping-progress-bar.wd-style-bordered,
.woocommerce-checkout .wd-shipping-progress-bar.wd-style-bordered .wd-free-progress-bar {
    padding: 10px;
	background: rgba(223, 240, 216, .2);
    text-align: center;
    font-weight: bold;
}

.wd-progress-bar.wd-free-progress-bar .progress-msg,
.woocommerce-checkout .wd-progress-bar.wd-free-progress-bar .progress-msg {
	color: rgb(70, 136, 71);
}

.wd-shipping-progress-bar.wd-style-bordered {
    padding: 0;
}

.cart-widget-side .wd-progress-bar.wd-free-progress-bar .progress-msg {
	color: inherit;
}

:is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div {
    display: flex;
    margin: 25px 0 !important;
    padding: 10px !important;
    border: 5px;
    min-height: 0;
    background-color: #f7f7f7;
    color: var(--color-gray-900);
    font-weight: 600;
    text-align: unset;
}

:is(.woocommerce-error,.woocommerce-message,.woocommerce-info) a {
    color: #333333;
    text-decoration: underline;
}

.product-labels .product-label.new {
    font-size: 12px !important;
}

/* WooCommerce - Checkout Custom Field Alignment */
.woocommerce-billing-fields>h3,
.woocommerce-additional-fields>h3 {
    text-align: center;
}

.woocommerce form .form-row {
    clear: none;
}

.woocommerce form .form-row-first {
    width: calc(50% - 4px); /* Adjust width, subtracting the margin */
    float: left;
    box-sizing: border-box;
    margin-right: 8px; /* Fixed margin between the rows */
}

.woocommerce form .form-row-last {
    width: calc(50% - 4px); /* Adjust width, subtracting the margin */
    float: right;
    box-sizing: border-box;
}

.woocommerce .woocommerce-additional-fields__field-wrapper textarea.input-text {
    overflow: auto;
    padding: 10px 15px;
    min-height: 110px;
}

del,
del span.woocommerce-Price-amount.amount bdi {
	color: #b50808 !important;
}

ins span.woocommerce-Price-amount.amount bdi,
.wd-fbt-purchase .price ins span.woocommerce-Price-amount.amount bdi {
	color: #333333 !important;
}

/* Clear floats after specific fields */
.woocommerce form #billing_last_name, 
.woocommerce form #billing_city,
.woocommerce form #billing_address_1 {
    clear: both;
}

span.free-shipping-label {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0 0 75px 0;
    padding: .2rem 1rem;
    background: #709900;
}

.wc_payment_methods.payment_methods.methods li {
	margin-bottom: 35px;
}

.payment_methods li>label {
    display: inline;
    margin-bottom: 0;
    font-weight: bold;
    cursor: pointer;
}

#order_comments_field label {
	display: none;
}

/* WooCommerce - Payments */
input[type="radio"]#payment_method_cod,
input[type="radio"]#payment_method_mollie_wc_gateway_creditcard {
	display: initial;
}

.mollie-components .mollie-component {
    width: 100%;
    min-height: 35px;
	padding: 5px 15px;
    background-color: #fff;
    border-radius: 5px;
    color: inherit;
    transition: all .05s ease;
	box-shadow: none;
    border: 2px solid rgba(0,0,0,0.1);
}

.mollie-components .mollie-component.is-invalid {
    box-shadow: none;
    border-color: #CA1919;
}

.mollie-components .mollie-component.has-focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

/* Footer Widget for Products */
.widget_nav_mega_menu>.widget-title {
    padding: 0;
    background-color: transparent;
}

ul#menu-footer-products > .menu-item > a.woodmart-nav-link > span {
	color: rgba(255,255,255,0.6);
	font-weight: normal;
}

ul#menu-footer-products > .menu-item > a.woodmart-nav-link:hover > span {
	color: var(--e-global-color-accent);
}

/* FBT */
.container.wd-fbt-wrap {
	padding-right: 0;
    padding-left: 0;
	margin-top: 7rem;
}

.wd-fbt-products .wd-fbt-product-heading .woocommerce-Price-amount.amount {
	color: #709900;
}

.wd-fbt-products .wd-fbt-product-heading span.price > del,
.wd-fbt-products .wd-fbt-product-heading span.price > del .woocommerce-Price-amount.amount {
	color: #dd5444 !important;
}

.wd-fbt-purchase .price del,
.wd-fbt-desc {
	display: none;
}

.wd-fbt-purchase > .price {
	padding: .9rem 0 1rem;
}

.wd-fbt-purchase > .price > .mn_total_txt,
.wd-fbt-purchase .woocommerce-Price-amount.amount {
	color: #333333;
}

.wd-fbt-purchase > .mn_total_txt {
	font-weight: 300;
	font-size: 24px;
}

.wd-fbt-product input[type="checkbox"] {
    top: 12px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
        float: none;
		margin-right: 0;
    }
	
	.price .amount {
		font-size: 16px;
	}

	.price del {
		color: #333333;
		font-size: 16px;
	}
	
	/* Checkout page layout - for mobile only */
	.woocommerce>.woocommerce-checkout {
		flex-wrap: wrap;
	}
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1025px) and (max-width: 1280px) {
	/* Header - Customer Icons */
	.wd-header-my-account.wd-tools-element > a, 
	.wd-header-wishlist.wd-tools-element > a, 
	.wd-header-cart.wd-tools-element > a {
		color: #ffffff;
	}

	.wd-header-my-account.wd-tools-element:hover > a, 
	.wd-header-wishlist.wd-tools-element:hover > a, 
	.wd-header-cart.wd-tools-element:hover > a  {
		color: rgba(255,255,255,0.6) !important;
	}
	
	span.woocommerce-Price-amount.amount bdi {
		color: var(--wd-primary-color);
		font-weight: 600;
	}

	/* Single Product - Image */
	.woocommerce-product-gallery img {
		width: 600px;
		height: 550px;
		object-fit: cover;
	}

	.product-image-thumbnail.active-thumb img {
		height: 120px;
		object-fit: cover;
	}
	
	.product-image-thumbnail img {
		height: 120px;
		object-fit: cover;
	}
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {
	.wd-header-my-account.wd-tools-element > a, 
	.wd-header-wishlist.wd-tools-element > a, 
	.wd-header-cart.wd-tools-element > a {
		color: var(--wd-header-el-color);
	}
	
	div.custom-excerpt {
		display: none;
	}
	
	/* Footer Products */
	ul#menu-footer-products {
    	padding-top: 0 !important;
	}
	
	ul#menu-footer-products > .menu-item.menu-item-type-post_type.menu-item-object-product {
		margin-bottom: 20px;
	}

	/* Single Product - Image */
	.woocommerce-product-gallery img {
		width: 400px;
		height: 350px;
		object-fit: cover;
	}

	.product-image-thumbnail.active-thumb img {
		height: 100px;
		  object-fit: cover;
	}

	.product-image-thumbnail img {
		height: 100px;
		  object-fit: cover;
	}
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/
@media (min-width: 481px) and (max-width: 767px) {
	.product-labels .product-label.new{
		font-size: 10px !important;
	}
	
	.product-grid-item .wd-entities-title {
		font-size: 12px;
	}
	
	div.custom-excerpt {
		display: none;
	}
	
	.wd-header-my-account.wd-tools-element > a, 
	.wd-header-wishlist.wd-tools-element > a, 
	.wd-header-cart.wd-tools-element > a {
			color: var(--wd-header-el-color);
	}
	
	/* Footer Products */
	ul#menu-footer-products {
    	padding-top: 0 !important;
	}
	
	ul#menu-footer-products > .menu-item.menu-item-type-post_type.menu-item-object-product {
		margin-bottom: 20px;
	}
	
	/* Reviews */
	.wd-review-style-2 .woocommerce-review__verified {
		display: none;
	}
	
	/* Shop */
	.wd-shop-tools>* {
		margin-top: 30px;
		margin-bottom: 10px;
		margin-right: 30px;
	}
	
	.woocommerce-category-title {
		margin: 2.5rem 0 2.5rem;
	}
	
	.product-wrapper span.woocommerce-Price-amount.amount bdi, 
	.product-wrapper .price del,
	.product-wrapper del span.woocommerce-Price-amount.amount bdi {
		font-size: inherit;
	}

	/* Single Product - Image*/
	.woocommerce-product-gallery img {
		width: 400px;
		height: 350px;
		object-fit: cover;
	}

	.product-image-thumbnail.active-thumb img {
		height: 100px;
		object-fit: cover;
	}

	.product-image-thumbnail img {
		height: 100px;
		object-fit: cover;
	}
	
	span.free-shipping-label {
		font-size: 13px;
		color: #ffffff;
		font-weight: 600;
		padding: 0;
		background: #709900;
		border-radius: 0;
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
	.product-labels .product-label.new {
		font-size: 10px !important;
	}
	
	.products[class*="wd-stretch-cont"] .product-wrapper {
		height: 100%;
		min-height: 395px;
	}
	
	.product-grid-item .wd-entities-title {
		font-size: 12px;
	}
	
	div.custom-excerpt {
		display: none;
	}
	
  	.wd-header-my-account.wd-tools-element > a, 
	.wd-header-wishlist.wd-tools-element > a, 
	.wd-header-cart.wd-tools-element > a {
		color: var(--wd-header-el-color);;
	}

	/* Footer Products */
	ul#menu-footer-products {
    	padding-top: 0 !important;
	}
	
	ul#menu-footer-products > .menu-item.menu-item-type-post_type.menu-item-object-product {
		margin-bottom: 20px;
	}
	
	/* Single Product - Image */
	.woocommerce-product-gallery img {
		width: 400px;
		height: 350px;
		object-fit: cover;
	}

	.product-image-thumbnail.active-thumb img {
		height: 120px;
		  object-fit: cover;
	}

	.product-image-thumbnail img {
		height: 120px;
		  object-fit: cover;
	}
	
	span.free-shipping-label {
		font-size: 12px;
		color: #ffffff;
		font-weight: 600;
		padding: 0;
		background: #709900;
		border-radius: 0;
		display: block;
		width: 100%;
		text-align: center;
	}
	
	/* Reviews */
	.wd-review-style-2 .woocommerce-review__verified {
		display: none;
	}
	
	/* Shop */
	.wd-shop-tools>* {
		margin-top: 30px;
		margin-bottom: 10px;
		margin-right: 30px;
	}

	.woocommerce-category-title {
		margin: 2.5rem 0 2.5rem;
	}
	
	.product-wrapper span.woocommerce-Price-amount.amount bdi, 
	.product-wrapper .price del,
	.product-wrapper del span.woocommerce-Price-amount.amount bdi {
		font-size: inherit;
	}
}

@media (min-width: 1025px) and (max-width: 1280px) {
	del span.woocommerce-Price-amount.amount bdi {
		color: #dd5444 !important;
	}
	
	ins span.woocommerce-Price-amount.amount bdi {
		color: #709900 !important;
	}
	
	.wd-fbt-purchase .price ins span.woocommerce-Price-amount.amount bdi {
		color: #333333 !important;
	}
}

/* Page Wrapper */
@media (min-width: 1025px) {
    .title-size-small {
        margin: -10px !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
	.page-title {
		margin-block: -30px -20px !important;
	}
}

@media (min-width: 320px) and (max-width: 480px) {
	.page-title {
		margin-block: -30px -20px !important;
	}
}

@media only screen and (min-width: 319px) {
	.page-title {
		margin-block: -30px -20px !important;
	}
}