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

.price, .amount {
	color: #333333;
}

.products .price, .products .amount {
	font-size: 18px;
}

@media (max-width: 768px) {
	.products .price, .products .amount {
		font-size: 14px;
	}
}

.product-grid-item {
	display: flex;
}

.wd-quantity-overlap div.quantity input[type] {
	background-color: #fff !important;
}
.wd-quantity-overlap div.quantity {
	border: 1px solid rgba(119, 92, 45, 0.28) !important;
	border-radius: 5px !important;
	filter: brightness(1) !important;
}

.meta-author {
	display: none !important;
}

.wd-products-with-bg .wd-product {
	height: 100%;
}

#NewsletterSubscribe {
	cursor: pointer;
}

.elementor-widget-container .slick-list {
    padding: 0 50px; /* Adjust for left and right padding */
    overflow: visible; /* Allows previous and next items to show slightly */
}

.returnReadMore {
	cursor: pointer;
}

.single_add_to_cart_button {
	max-width: 200px;
}

.wd-social-icons.icons-size-large .wd-icon {
	margin-left: 10px;
	margin-right: 10px;
	font-size: 32px !important;
}

.carouselBackroundTitles .content-banner h4 {
	background: #fff;
    border-radius: 10px;
    padding: 5px;
    opacity: 0.6;
}

.carouselBackroundTitles .content-banner {
	max-width: 400px !important;
}


div.quantity .plus {
    border-start-end-radius: 10px;
    border-end-end-radius: 10px;
}

div.quantity .minus {
    border-start-start-radius: 10px;
    border-end-start-radius: 10px;
}

.cwginstock-panel-heading {
	background-color: #d4ccd8 !important;
	border-color: #d4ccd8 !important;
}

.cwginstock-subscribe-form .panel-primary {
    border-color: #d4ccd8 !important;
}

.woocommerce-variation .woocommerce-variation-description {
    display: none !important;
}

.woocommerce-product-attributes-item--weight {
	display: none !important;
}

.woocommerce-product-attributes-item--dimensions {
	display: none !important;
}

.wd-post-meta {
	display: none !important;
}

.cc-link {
	min-height: 0px !important;
	padding: 0 !important;
	background-color: transparent !important;
	vertical-align: unset !important;
}

.cc-link:hover {
	transition: none !important;
	font-size: 13px !important;
	color: initial !important;
}

.b-tl {
	background: none !important;
    display: block;
    font-family: inherit !important;
    font-size: .95em !important;
    padding: 0;
    position: relative;
    transition: background-color .25s ease !important;
    width: 100% !important;
	text-align: left !important;
	text-transform: none !important;
}

.b-tl:hover {
	background: none !important;
    display: block;
    font-family: inherit !important;
    font-size: .95em !important;
    padding: 0;
    position: relative;
    transition: background-color .25s ease !important;
    width: 100% !important;
	text-align: left !important;
}


.cc_div .title {
	margin-bottom: 0 !important;
	line-height: 1.2 !important;
}

.cc_div {
	font-family: unset !important;
}

.c-bn {
	text-transform: none !important;
	line-height: 1.2 !important;
}

#c-bns button:first-child {
	background-color: #d4ccd8;
	color: #000;
}

#c-bns button:first-child:hover {
	background-color: #d4ccd8;
	color: #000;
}

/* All Brands Page */
.brand-alphabet {
	text-align: center;
	padding-bottom: 40px;
	border-bottom: 2px solid #E2DDD4;
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
	justify-content: center;
}

.brand-alphabet a {
	padding: 10px;
	font-weight: bold;
	font-size: 24px;
	border: 1px solid;
    margin: 5px;
    width: 80px;
}

@media (max-width: 768px) {
	.brand-alphabet {
		text-align: center;
		padding-bottom: 40px;
		border-bottom: 2px solid #E2DDD4;
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
	}

	.brand-alphabet a {
		padding: 5px;
		font-weight: bold;
		font-size: 12px;
		border: 1px solid;
		margin: 5px;
		width: 35px;
	}
}

.brand-group {
	padding-top: 20px;
	border-bottom: 2px solid #E2DDD4;
}

.brand-group h3 {
	font-size: 24px;
	font-weight: bold;
}

.brand-group ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.brand-group ul li{
	width: 100%;
}

@media (min-width: 1200px) {
	.brand-group ul li{
		width: 25%;
	}
}

body a {
	color: #91799c;
}

.read-more-link {
	border-radius: 5px;
}

.read-more-link::after {
    content: "\f129";
	font-family: "woodmart-font";
	font-weight: 400;
	position: relative;  /* Position it relative to the link */
    top: 2px;  /* Move it 2px down */
	left: 5px;
}
.read-more-link.opened::after {
    content: "\f115";
	font-family: "woodmart-font";
	font-weight: 400;
	position: relative;  /* Position it relative to the link */
    top: 2px;  /* Move it 2px down */
	left: 5px;
}

.product-read-more {
	display: inline-block;
	text-align: center;
	width: 100%;
	margin-top: 10px;
}

.product-wrapper {
	width: 100%;
}

/* Hide categories in search page */
body.search-results .elementor-widget-wd_product_categories {
	display: none;
}

.custom-text-below-single-product-image {
	display: flex; 
	justify-content: center; 
	position:relative; 
	text-align:center; 
	margin-top:-10px; 
	font-size: 12px; 
	z-index: 1;
}

@media (max-width: 768px) {
	.custom-text-below-single-product-image {
		font-size: 10px; 
	}
}

/* Blog post cards */
.wd-post.blog-style-bg .wd-post-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.wd-read-more {
	margin-top: auto !important;
	padding-left: 25px;
	padding-bottom: 25px;
}

/* Styles to get rounded add to cart buttons */
.wd-products[class*="wd-stretch-cont"] .wd-product :is(.price,.wrap-price,.product-rating-price) {
    margin-top: auto;
    display: flex;
    column-gap: 5px;
}

.wd-product.wd-hover-fw-button .wd-add-btn {
    font-size: 0;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    margin-top: -40px !important;
    flex-direction: row-reverse;
}


.wd-add-btn-replace .add-to-cart-loop:before {
    transform: none !important;
}

.wd-product.wd-hover-fw-button .wd-add-btn>a {
    width: 42px !important;
    border-radius: 50% !important;
}

@media (max-width: 768px) {
	.wd-product.wd-hover-fw-button .wd-add-btn>a {
		width: 40px !important;
		border-radius: 50% !important;
	}
}

/* Free Gifts design */
.fgw_gifts_popup_main .modal-content {
	width: 80%;
	max-width: 990px;
}

.fgw_gift_slider_pp {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.fgw_title {
    display: block;
    color: var(--wd-entities-title-color);
    word-wrap: break-word;
    font-weight: var(--wd-entities-title-font-weight);
    font-style: var(--wd-entities-title-font-style);
    font-family: var(--wd-entities-title-font);
    text-transform: var(--wd-entities-title-transform);
    line-height: 1.4;
	padding: 5px 20px !important;
}
.fgw_title:hover {
    color: var(--wd-entities-title-color-hover);
}
.fgw_gifts_popup_main .modal-content  {
	border-radius: 10px;
}
.fgw_gift {
	align-items: center;
}

/* Disable the + and - buttons for items with the 'gift-item' class */
.woocommerce-cart .quantity.gift-item .plus,
.woocommerce-cart .quantity.gift-item .minus {
    pointer-events: none;   /* Disable interaction with the buttons */
    opacity: 0.5;           /* Visually indicate that the buttons are disabled */
    cursor: not-allowed;    /* Change the cursor to show that it's not clickable */
}

/* Disable the quantity input field for gift items */
.woocommerce-cart .quantity.gift-item .input-text {
    pointer-events: none;   /* Disable interaction with the input field */
    background-color: #f0f0f0; /* Optionally change background to indicate disabled state */
    opacity: 0.5;           /* Optionally make the input look disabled */
    cursor: not-allowed;    /* Change cursor to show that the input is disabled */
}

/* Disable the + and - buttons for items with the 'gift-item' class */
.woocommerce-checkout .quantity.gift-item .plus,
.woocommerce-checkout .quantity.gift-item .minus {
    pointer-events: none;   /* Disable interaction with the buttons */
    opacity: 0.5;           /* Visually indicate that the buttons are disabled */
    cursor: not-allowed;    /* Change the cursor to show that it's not clickable */
}

/* Disable the quantity input field for gift items */
.woocommerce-checkout .quantity.gift-item .input-text {
    pointer-events: none;   /* Disable interaction with the input field */
    background-color: #f0f0f0; /* Optionally change background to indicate disabled state */
    opacity: 0.5;           /* Optionally make the input look disabled */
    cursor: not-allowed;    /* Change cursor to show that the input is disabled */
}

.woocommerce-message {
	background-color: #775C2D47;
}
.woocommerce-message:has(p) {
  background-color: #000 !important;
}