/*
 Theme Name:   Divi Child
 Theme URI:    https://www.ealyva.lt/
 Description:  Divi vaikų tema
 Author:       jaunareklama
 Author URI:   https://www.ealyva.lt/
 Template:     Divi
 Version:      1.0.0
*/

/* Toliau rašyk savo stilių pakeitimus */

.woocommerce div.product div.images img {
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;

  margin: 0 auto;
}
.et_shop_image {
  width: 100%;
  aspect-ratio: 1;
}
.et_shop_image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  margin: 0 auto;
}

.field-to-notices {
  margin: 0 0 15px;
}
.field-to-notices p {
  color: #ea4954;
}

.related.products span.price ins bdi,
.related.products span.price bdi,
.related.products span.price span,
.related.products
  .woocommerce
  ul.products
  li.product
  .woocommerce-loop-product__title {
  font-family: Open Sans, Arial, sans-serif !important;
}
.related.products
  .woocommerce
  ul.products
  li.product
  .woocommerce-loop-product__title {
  font-weight: 600 !important;
}
.related.products span.price ins bdi,
.related.products span.price ins bdi span {
  color: #e02b20 !important;
}
.related.products span.price del {
  text-decoration: none;
}
.related.products span.price del bdi,
.related.products span.price del bdi span {
  color: #666 !important;
  text-decoration: line-through;
}
span.price bdi {
  color: #5b549c !important;
}
#mobile-menu {
  display: none;
}
.woocommerce-NoticeGroup ul.woocommerce-error li,
.woocommerce-NoticeGroup ul.woocommerce-error li a,
.woocommerce-NoticeGroup ul.woocommerce-error li p {
  color: #e02b20;
  font-size: 14px;
}
.woocommerce-NoticeGroup ul.woocommerce-error li strong {
  color: #000;
}
/* Make the number look like a small badge */
span.jr-cart-count {
    position: absolute;
    right: 68px;
    top: -15px;
    font-size: 10px;
    height: 13px;
    width: 13px;
    background: #312456;
    border-radius: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mobile_menu2 li a {
  padding: 10px;
}
#mobile_menu2 .menu-item-191 a {
    position: relative;
}
/* Badge inside the mobile menu */
#mobile_menu2 .menu-item-191 a .jr-cart-count{
    position: absolute;
    left: 21px;
    top: 23px;
    font-size: 8px;
    height: 11px;
    width: 11px;
    background: #312456;
    border-radius: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 1360px) {
  span.price del bdi,
  span.price ins bdi,
  span.price bdi,
  span.price span {
    font-size: 14px;
  }
  span.price del {
    text-decoration: none;
  }
  span.price del bdi,
  span.price del bdi span {
    font-size: 12px;
    text-decoration: line-through;
  }
  span.price {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
  }
}
@media only screen and (max-width: 980px) {
  #mobile-menu {
    display: block;
  }
  #desktop-menu {
    display: none;
  }
  #mobile-menu .et_pb_column {
    margin-bottom: 0 !important;
  }
  .prekiu-filtro-mobMenu h2 {
    background: #312456;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    font-weight: 500 !important;
    cursor: pointer;
  }
  .prekiu-filtras {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  span.price ins bdi,
  span.price bdi,
  span.price span,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px;
  }
  span.price del bdi,
  span.price del bdi span {
    font-size: 10px;
  }
  .prekiu-filtro-mobMenu h2 {
    font-size: 18px !important;
    padding: 12px 0;
  }
}
