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

/* Hide image blog post */
.post-single-page.has-post-thumbnail .article-inner > .entry-header {display: none;}

/* disable hover image zoom */
/*body .product-grid-item .product-element-top:hover .hover-img {
  transform: none;
  -webkit-transform: none;
}*/

/* Hide add cart action */
.wd-buttons {display: none;}

/* Background product title tabs */
.single-product-page .wd-tab-wrapper .wd-all-open-title {background-color: rgba(0, 123, 196, 1); color: white;padding-left: 1em;border-top-right-radius: 5px 5px;border-top-left-radius: 5px 5px;}

/* Margin purchase buttons */
form button.single_add_to_cart_button {margin-bottom: 1em; background-color: #ffe354; color: #000;}
form button.single_add_to_cart_button:hover {background-color: #ffeb8d;color: #000;}

/* Purchase button in loops */
.wd-bottom-actions .wd-add-btn {display: none;}

/* Remove hover effects */
body .category-grid-item:hover .category-image {transform: none;}
body .category-grid-item-lcs:hover .category-image {transform: none;}

/* Scale category image */
.wrapp-category .category-image-wrapp img {border-radius: 12px; transform: scale(0.8);}

/* Shadow grid category */
.categories-style-default .wrapp-category, .category-grid-item .wrapp-category, .category-grid-item-lcs .wrapp-category {box-shadow: 0 0 4px rgba(0,0,0,0.12);}

/* Product category filters */
.lcs-filters-products-category .col-lg-3, .lcs-filters-products-category .col-md-3, .lcs-filters-products-category .col-sm-6, .lcs-filters-products-category .col-12 {max-width: 100%;}

/* arrows carrousel */
.owl-carousel .wd-btn-arrow {visibility: visible;opacity: 1;}
.owl-carousel .wd-btn-arrow[class*="prev"], .owl-carousel .wd-btn-arrow[class*="next"] {transform: none;}
.owl-carousel .wd-btn-arrow[class*="prev"]:after, .owl-carousel .wd-btn-arrow[class*="next"]:after {background-color: rgba(0, 0, 0, 0.02);border-radius: 8px; color:  rgba(0, 123, 196, 1);padding: 8px;}

/* default font size in content descriptions */
.content-layout-wrapper #tab-description, .content-layout-wrapper .wd-shop-desc, .content-layout-wrapper .post-single-page {font-size: 16px;}
.content-layout-wrapper .wd-shop-desc a, .content-layout-wrapper .post-single-page a, .content-layout-wrapper .article-body-container a, div#tab-description a {color: #0170B9;}
.content-layout-wrapper .meta-post-categories a {color: #fff;}

/* box categories */
.category-grid-item-lcs{text-align:center}.category-grid-item-lcs img{width:100%}.category-grid-item-lcs .hover-mask{padding:10px}.category-grid-item-lcs .category-image-wrapp{position:relative;overflow:hidden;border-radius:var(--wd-brd-radius);-webkit-mask-image:-webkit-radial-gradient(white, black)}.category-grid-item-lcs .category-image{display:block;margin:-1px;transition:transform 0.5s cubic-bezier(0, 0, 0.44, 1.18)}.category-grid-item-lcs:hover .category-image{transform:scale3d(1.1, 1.1, 1)}.category-grid-item-lcs .wd-entities-title{margin-bottom:0;text-transform:uppercase;font-size:20px;min-height: 80px;}.category-grid-item-lcs .count{display:none;padding:0;background-color:transparent;color:rgba(0,0,0,0.25)}.category-grid-item-lcs .more-products>a{color:inherit}.category-grid-item-lcs .wrapp-category{position:relative;border-radius:var(--wd-brd-radius)}.category-grid-item-lcs .category-link{z-index:5}.wd-img-width .cat-design-alt .category-image-wrapp{margin-left:auto;margin-right:auto;max-width:var(--wd-cat-img-width)}.products:not(.wd-img-width) .cat-design-alt img{width:auto}.cat-design-alt.categories-with-shadow .category-image-wrapp{box-shadow:1px 1px 2px rgba(0,0,0,0.12)}@media (max-width: 768.98px){.category-grid-item-lcs .wd-entities-title{font-size:16px}.category-grid-item-lcs:hover .category-image{transform:none}}

/* height videos fix */
.elementor-widget-video {position: relative;padding-bottom: 56.25%; /* 16:9 */height: 0;}
.elementor-widget-video .elementor-wrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

/* min height title in grids */
.product-grid-item .product-title {min-height:40px;}

/* search images */
.search-results-wrapper .suggestion-thumb {text-align: center;}
.search-results-wrapper .suggestion-thumb img {max-height: 100px; width: auto;}

/* product images */
.woocommerce-product-gallery .product-image-wrap figure {text-align: center;}
.woocommerce-product-gallery .product-image-wrap img {max-height: 400px; width: auto; margin: auto;}

/* filters and media queries */
@media (max-width: 600px) {
  /* product images */
  .woocommerce-product-gallery .product-image-wrap figure {text-align: center;}
  .woocommerce-product-gallery .product-image-wrap img {max-height: 200px; width: auto; margin: auto;}
  .woocommerce-product-gallery .thumbnails img {max-height: 100px;}
}
@media (max-width: 1024px) {
  /* product images */
  .woocommerce-product-gallery .product-image-wrap figure {text-align: center;}
  .woocommerce-product-gallery .product-image-wrap img {max-height: 300px; width: auto; margin: auto;}
  .woocommerce-product-gallery .thumbnails img {max-height: 150px;}
}

@media (max-width: 1200px) and (min-width: 1025px)  {
  /* fix very long header menu */
  .wd-nav-main>li>a {font-size: 12px !important;}
  .wd-nav-main.wd-nav {gap: 1px 9px;}
}

/* author meta */
.lcs-author-info-custom {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 0.75em;
}
.lcs-author-info-custom .lcs-author-img-avatar {
  display: flex;
}
.lcs-author-info-custom  a {
  color: var(--wd-primary-color);
  font-weight: 800;
  font-size: 16px;
}
.lcs-author-info-custom .lcs-author-img-avatar img {
  max-width: 50px; 
  border: 3px solid var(--wd-main-bgcolor);
  border-radius: 50%;
}
.lcs-author-info-custom .lcs-author-info-meta {
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .lcs-author-info-custom {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0.75em;
  }
}

/* Form products */
form.cart.cart-product-form {
  display: flex;
}

form.cart.cart-product-form>* {
  flex: 1 1 20%;
}

.wd-btn-design-full form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn) {
  color: rgb(51, 51, 51);
  flex: 1 1 50% !important;
  font-size: 0.9em;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.cart-product-form button {
  margin-bottom: 1em;
}

.cart-product-form button.single_add_to_cart_button_logo {
  background-color: #FFF;
}

/* hide pricings  
.woocommerce-Price-amount {
  display: none !important;
}
*/

/* custom styles  */
.lcs-floating-notice {
  z-index: 9 !important;
}
:is(.wc-block-grid__products,.wp-block-query) li .wp-block-button .wp-block-button__link {
	color:white;
	background-color:red;
}
.wc-block-grid__product-onsale {
		background-color:black !important;
		color:white !important;
	font-size: 1em !important;
	box-shadow: 1px 2px 10px grey;
	}
.wc-block-grid__product {
		font-size: 1.3em !important;
		}
a {
    color: #0032C7;
}

.breadcrumb-link{
	    color: #121212 !important;
}

.blog-design-meta-image.blog-style-bg .wd-post-thumb {
    max-height: 200px !important;
}

.table-comparative-wrap-abs {
    text-transform: uppercase !important;
}

.table-comparative-wrap-abs {
    text-transform: uppercase !important;
}