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

body.home .wd-content-layout {
  padding-bottom: 0;
}

div.wd-prefooter {
  padding-bottom: 0;
}
.wd-cat img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.wd-post-img img,
.wd-post .entry-thumbnail img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

#wapo-total-price-table {
  display: none;
}

.yith-wapo-container.yith-wapo-form-style-custom
  .yith-wapo-block
  .yith-wapo-addon
  span.checkboxbutton:before {
  margin-right: 0;
  margin-left: 10px;
}

.yith-wapo-container.yith-wapo-form-style-custom
  .yith-wapo-block
  .yith-wapo-addon
  span.checkboxbutton {
  margin-right: 0;
  margin-left: 10px;
}

.wd-sticky-btn .wd-sticky-btn-cart #yith-wapo-container {
  display: none;
}
.wapo-addon-description {
  display: none;
}
.yith-wapo-addon.yith-wapo-addon-type-checkbox {
  margin: 10px 0 40px;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option {
  margin-bottom: 0;
}

body:not(.woocommerce-checkout) .whb-header .wd-logo img {
  min-height: 120px;
  background-color: rgba(236, 233, 214, 1);
  border-radius: 50%;
  transition: all 0.2s ease;
}

body:not(.woocommerce-checkout) .whb-header .site-logo {
  position: relative;
  padding: 0;
}

body:not(.woocommerce-checkout) .whb-header .wd-logo:before,
body:not(.woocommerce-checkout) .whb-header .site-logo:before {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  width: 134px;
  height: 120px;
  top: 0%;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: all 0.2s ease;
}

body:not(.woocommerce-checkout) .whb-header .wd-logo:before {
  background: rgba(236, 233, 214, 1);
  z-index: 0;
}

body:not(.woocommerce-checkout) .whb-header .site-logo:before {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

body:not(.woocommerce-checkout) .whb-header.whb-sticked .wd-logo img {
  min-height: 90px;
}

body:not(.woocommerce-checkout) .whb-header.whb-sticked .wd-logo:before,
body:not(.woocommerce-checkout) .whb-header.whb-sticked .site-logo:before {
  height: 90px;
}

.promo-banner
  :is(.banner-subtitle, .banner-title, .banner-inner):not(:first-child) {
  color: #000;
}

.woocommerce-product-gallery img {
  /* aspect-ratio: 1 / 1.1; */
  object-fit: cover;
}

.wd-single-post-header .wd-post-meta {
  display: none;
}

body.single-post .wd-content-layout {
  max-width: 990px;
}

@media (max-width: 1024px) {
  body:not(.woocommerce-checkout) .whb-header .wd-logo img {
    min-height: 90px;
  }

  body:not(.woocommerce-checkout) .whb-header .wd-logo:before,
  body:not(.woocommerce-checkout) .whb-header .site-logo:before {
    height: 90px;
    width: 90px;
  }

  .single-product .wd-content-layout.wd-builder-off {
    --wd-single-spacing: 40px;
    padding-block: 40px;
  }

  .wd-sidebar-hidden-sm.wd-builder-off .woocommerce-result-count,
  .wd-breadcrumbs,
  .woocommerce-breadcrumb {
    font-size: 12px;
  }

  .wd-page-content .wd-page-title {
    padding-top: 50px;
  }

  .cart-info ul.variation {
    font-size: 12px;
  }

  .header-banner-container p {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .wd-buy-now-btn {
    width: 100%;
  }

  .yoast-breadcrumb {
    font-size: 12px;
  }

  .single_add_to_cart_button {
    width: 100%;
    margin: 20px 0 10px;
  }
}
