/*
 Theme Name:   Woodmart Child
 Description:  Child theme for Woodmart — eltrikolki.bg
 Author:       ADvantage
 Author URI:   https://advantage.bg
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Custom CSS goes below. */
/* ---- Moved from Customizer → Additional CSS (parent theme) on 2026-10-05 ---- */

.wd-product:not(.wd-hover-small) :is(.product-image-link, .hover-img) img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wm-call-btn{
  display:block;
  margin-top:12px;
  padding:12px;
  background:#44D62C;
  color:#fff;
  text-align:center;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  transition:0.2s;
}
.wm-call-btn:hover{
  background:#44D62C;
}

.wd-sticky-btn .wm-extra-block,
.wd-sticky-btn .wm-call-btn,
.wd-sticky-btn img {
  display: none !important;
}

.wd-before-add-to-cart.wd-entry-content {
  display: none !important;
}

.wd-after-add-to-cart {
  display: none !important;
}

.wd-cart-totals,
.cart_totals,
.widget_shopping_cart {
  white-space: nowrap !important;
}

/* WoodMart sticky price - на 1 ред */
.wd-sticky-btn .price {
  text-align: left !important;   /* вместо end */
  white-space: nowrap !important; /* да не се чупи */
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

/* Mini cart buttons – бутоните да са на колона */
.woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
}

/* Всеки бутон да заема цял ред */
.woocommerce-mini-cart__buttons a {
  width: 100% !important;
  text-align: center;
}

#cmplz-manage-consent .cmplz-manage-consent {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    display: none;
}

/* WoodMart: 1 продукт на ред (мобилна версия) */
@media (max-width: 767px){
  .products.wd-products.wd-grid-g{
    grid-template-columns: 1fr !important;
  }
}
