/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemosgg
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*HEADER*/
@media screen and (max-width: 1024px) {
  .wd-nav-mobile > li.menu-only-desktop {
    display: none;
  }
}

/*NASLOVNA*/
.product-grid-item .woocommerce-Price-amount.amount {
  font-size: 1.6em;
}

/*FOOTER*/
.gb-footer-title {
  margin-bottom: 5px;
  text-decoration: underline;
}
.div-footer-payment-card-icons-inner img {
  height: 25px;
}
.div-footer-payment-card-icons-inner {
  display: flex;
}

/*SHOP*/
.wd-product.wd-hover-fw-button .add-to-cart-loop .wd-action-text {
  overflow: visible !important;
  white-space: normal !important;
}
.wd-product .price {
  display: inline-flex !important;
  flex-wrap: wrap !important;
}
.single_add_to_cart_button,
.wd-buy-now-btn {
  font-size: 1em !important;
}

.product-label {
  font-size: 1.5em !important;
}

.wd-product.wd-hover-fw-button .add-to-cart-loop .wd-action-text {
  font-size: 1.2em !important;
}

@media screen and (max-width: 1024px) {
  .wd-product.wd-hover-fw-button .add-to-cart-loop .wd-action-text {
    font-size: 0.9em !important;
  }
}
/* Definicija shake animacije */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.woocommerce-mini-cart__buttons .checkout,
.wc-proceed-to-checkout .checkout-button,
#place_order {
  font-size: 1.5em !important;
}

.woocommerce-mini-cart__buttons .checkout,
.wd-buy-now-btn,
.wc-proceed-to-checkout .checkout-button,
#place_order {
  animation: shake 3s ease-in-out infinite;
}

.gb-sigurna-kupnja {
  text-align: center;
  margin: 0;
  font-size: 1.5em;
  color: #000;
}

/*MINI CART*/

.javescript-additional-products-mini-cart .product-element-top,
.javescript-additional-products-mini-cart
  .product-grid-item
  .wd-entities-title {
  height: inherit;
}
.shopping-cart-widget-footer .javescript-flores-product-short-description,
.javescript-additional-products-mini-cart .wd-product-cats {
  display: none !important;
}
.shopping-cart-widget-footer .wd-product img {
  max-width: 100px;
}
.javescript-additional-products-mini-cart {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: end;
}
body .cart-widget-side {
  max-width: 80%;
  min-width: 20%;
  width: max-content;
  transform: translate3d(100%, 0, 0);
  -webkit-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -sand-transform: translate3d(100%, 0, 0);
  overflow: hidden;
}
.javescript-additional-products-mini-cart-title {
  margin-top: 10px;
}
.javescript-additional-products-mini-cart .wd-entities-title {
  max-width: 210px;
  font-size: 13px;
}
.woocommerce-mini-cart__total .woocommerce-Price-amount.amount-eur {
  max-width: 100px;
}
.javescript-additional-products-mini-cart .price {
  font-size: 13px;
}
.javescript-additional-products-mini-cart-title h3 {
  margin-bottom: 5px;
}

@media screen and (max-width: 525px) {
  body
    .cart-widget-side
    .javescript-additional-products-mini-cart
    .wd-product:nth-child(3) {
    display: none;
  }
  .javescript-additional-products-mini-cart {
    justify-content: space-around;
  }
  .javescript-additional-products-mini-cart
    .wd-product.wd-hover-standard
    .wd-add-btn
    .add-to-cart-loop
    span {
    font-size: 10px !important;
  }
  .shopping-cart-widget-footer .wd-product img {
    max-width: 50px;
  }
  .javescript-additional-products-mini-cart-title h3 {
    font-size: 16px;
  }
  .shopping-cart-widget-footer .wd-product .wd-entities-title {
    font-size: 12px;
  }
  .shopping-cart-widget-footer .progress-msg {
    font-size: 11px;
  }
  .cart-widget-side .shopping-cart-widget-footer {
    padding-bottom: 3px !important;
  }
  body .cart-widget-side {
    min-width: 90%;
  }
}

/*CHECKOUT*/
#ship-to-different-address {
  display: inline-flex;
}

/*KONTAKT*/
#gform_submit_button_1 {
  background-color: #fe5c09;
  color: #fff;
  border-radius: 35px !important;
  font-size: 1.2em !important;
}

/*SLIDERS*/

.wd-slider .woodmart-title-container,
.wd-slider .wd-text-block {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.28);
  -webkit-text-stroke: 1px rgba(58, 58, 58, 0.35);
}

/*KLAVIYO*/
.form-row.kl_newsletter_checkbox_field {
  display: inline-flex;
}