/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com/demo/
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/

/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* don't show price on product page separately (it's already inside button) */
.price.nasa-single-product-price {
  display: none !important;
}

.price.nasa-single-product-price + form.cart {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .nasa-product-info-wrap > div > div:last-child {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 2.5rem !important;
  }

  .price.nasa-single-product-price + form.cart {
    justify-content: center;
  }
}

.price.nasa-single-product-price + form.cart {
  justify-content: center;
}

.quantity-label {
  align-content: center;
  /*margin-right: 0.2rem;*/
  /* font-weight: 500; */
  color: #404040;
}

.nasa-product-info-wrap .quantity,
.nasa-product-info-wrap .quantity-label {
  margin-bottom: 1rem;
}

/* hide default reviews */
.woocommerce-product-rating {
  display: none !important;
}

.reviews-slider .review-item {
  display: none;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.natura-review-widget {
  margin: 20px 0;
  padding: 20px;
  background: #f0f0f0;
  border: 2px solid #eee;
  border-radius: 10px;
  max-width: 600px;
  transition: opacity 0.4s ease;
}

.natura-review {
  margin-bottom: 0;
  padding: 0;
  border: none;
}

.natura-stars {
  color: #bd8500;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.natura-content {
  font-style: italic;
  margin-bottom: 8px;
  color: #325932;
  font-size: 16px;
}

.natura-author {
  font-size: 0.9rem;
  color: #555;
}

.natura-date {
  font-weight: normal;
  color: #999;
}

.natura-review-widget.fade-out {
  opacity: 0;
}

.nasa-dsc-type-1.nasa-dsc-wrap.nasa-not-in-sticky a.ev-dsc-qty {
  background: rgba(255, 255, 255, 0.701);
}

.cart .quantity-label,
.cart .quantity {
  display: none !important;
}

.ns-single-add-btn.single_add_to_cart_button {
  padding: 15px !important;
}

@media (max-width: 768px) {
  /*meni so Prodavnica Kategorije Pretraga Lista zelja (dole mob)*/
  .nasa-bottom-bar.nasa-transition.nasa-active {
    display: none !important;
  }

  .nasa-single-btn-clone {
    flex-direction: column !important;
  }

  .nasa-fixed-single-simple .quantity-label,
  .nasa-fixed-single-simple .quantity {
    display: none !important;
  }

  .ns-single-add-btn.single_add_to_cart_button {
    padding: 5px !important;
  }
}

/* submenu w img e.g. PROIZVODI */
.nav-dropdown .sub-menu {
  padding: 20px 30px 20px 30px !important;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom img {
  height: 50px !important;
}

li.menu-item.menu-item-type-custom.menu-item-object-custom a {
  display: flex;
  align-items: center;
}

.ev-dsc-qty {
  display: flex !important;
  align-items: center !important;
  position: relative;
}

/* HTML: <div class="ribbon">Your text content</div> */
#promo-ribbon {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
#promo-ribbon {
  --f: 0.5em; /* control the folded part*/
  --r: 0.8em; /* control the ribbon shape */

  position: absolute;
  top: 10px;
  right: calc(-1 * var(--f));
  padding-inline: 0.25em;
  line-height: 1.8;
  background: #ca3d26;
  border-bottom: var(--f) solid #0005;
  border-left: var(--r) solid #0000;
  clip-path: polygon(
    var(--r) 0,
    100% 0,
    100% calc(100% - var(--f)),
    calc(100% - var(--f)) 100%,
    calc(100% - var(--f)) calc(100% - var(--f)),
    var(--r) calc(100% - var(--f)),
    0 calc(50% - var(--f) / 2)
  );
}

.nasa-accordion-title {
  display: none !important;
}

.ev-dsc-qty-wrap {
  width: 100% !important;
}

.ev-dsc-qty:hover,
.nasa-dsc-type-1 .dsc-flex-column .ev-dsc-qty.actived {
  border-color: #a8a8a8 !important;
}

@media (max-width: 768px) {
  .nasa-col-flex.nasa-relative:has(form.cart) {
    padding: 10px 20px !important;
  }
}

.nasa-single-share {
    display: none !important;
  }

.natura-review-widget {
  text-align: center;
  width: fit-content;
  border-width: 0px;
}

#nasa-section-accordion-reviews {
  display: block !important;
  padding: 40px 40px;
}

#elementor-like-h2 {
  margin-top: 20px;
  font-size: 26px;
  line-height: 2.5rem;
}

#elementor-like-hr {
  border-style: dashed;
  border-color: #000 !important;
  margin-top: 30px;
  margin-bottom: 30px;
}

em.woocommerce-review__verified {
  width: fit-content;
  background: linear-gradient(#6ca300, #508859);
  color: white;
  padding: 3px 7px;
  border-radius: 5px;
  font-style: normal;
  margin-left: 2px;
  margin-bottom: 2px;
  font-size: 13px;
}

ol.commentlist.list .description {
  font-size: 16px !important;
  margin-top: 10px;
}

@media (max-width: 768px) {
  em.woocommerce-review__verified.verified {
    display: block !important;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0 !important;
  }

  #nasa-section-accordion-reviews {
    display: block !important;
    padding: 20px 20px;
  }
}

@media (min-width: 768px) {
  .nasa-fixed-single-simple .nasa-fixed-product-btn {
    width: 100%;
  }

  .nasa-fixed-single-simple .nasa-single-btn-clone {
    justify-content: end !important;
  }

  .nasa-fixed-single-simple .ns-single-add-btn.single_add_to_cart_button {
    width: 30% !important;
  }

  .nasa-fixed-single-simple .custom-tel-link-button {
    width: 30% !important;
    padding: 7px !important;
  }
}

@media (min-width: 769px) {
  #prostatol-image2 {
    mask-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 70%,
      rgba(0, 0, 0, 0) 100%
    ) !important;
  }
}

/*xxl*/
@media (min-width: 1400px) {
  #nasa-section-accordion-reviews {
    padding: 40px 170px;
  }
}

.nasa-dsc-type-1 .nasa-crazy-box {
  margin-bottom: 15px !important;
}

.ev-dsc-qty {
  justify-content: center;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
}

.ns-single-add-btn.single_add_to_cart_button {
  max-width: none !important;
}

.row.related-product {
  margin-bottom: 50px !important;
}

@media only screen and (min-width: 1024px) {
  .product-info .nasa-wrap-flex.info-modern-1 .nasa-col-flex:last-child {
    padding: 30px !important;
    padding-top: 20px !important;
  }
}

.dsc-label {
  font-size: 16px !important;
}

.wpcf7-form.init .wpcf7-form-control-wrap {
  margin-top: 10px !important;
}

.wpcf7-form.init label {
  margin-top: 10px;
  color: white !important;
  font-size: 16px;
}

.wpcf7-form-control.wpcf7-submit.btn-contact {
  width: 100%;
  /* background-color: #4caf50; */
  font-size: 16px;
}

/*HOME*/
.nasa-sc.products.woocommerce.ns-type-carousel h3.nasa-heading-title {
  line-height: 1;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}

.nasa-sc.products.woocommerce.ns-type-carousel p.nasa-product-description {
  font-size: 16px;
  margin-bottom: 15px;
}

.sticky-wrapper .header_logo.logo_mobile {
  max-width: 45% !important;
  max-height: 45% !important;
}

.nasa-mobile-nav-wrap .header_logo.logo_mobile {
  max-height: none !important;
}

#contact-phonenum {
  font-weight: 700 !important;
  background: -webkit-linear-gradient(#515151, #242424) !important;
  background-clip: border-box !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/*mobile menu*/
@media (max-width: 768px) {
  .nasa-icon.mobile-search,
  .nasa-login-register-ajax {
    display: none !important;
  }

  #nasa-counter-viewing {
    margin: auto !important;
  }

  .natura-review-widget {
    width: 90%;
    margin: auto !important;
  }

  #nasa-counter-viewing {
    margin-top: 20px !important;
  }
}

@media only screen and (max-width: 767px) {
  /* .mobile-menu .header-icons > li .mini-cart svg {
    height: auto !important;
    width: auto !important;
  } */

  li.nasa-icon-mini-cart:nth-child(2)
    > a:nth-child(1)
    > span:nth-child(1)
    > svg:nth-child(1) {
    width: 36px !important;
    height: 36px !important;
    /* color: #333; */
  }

  a.nasa-icon:nth-child(1) > svg:nth-child(1) {
    stroke-width: 1.5;
    /* color: #333; */
  }
}

/* footer */
#nasa-footer {
  font-size: 16px;
}

/* #nasa-footer li.menu-item {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: linear-gradient(to left, #743ad500 40%, #508d725c);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding-left: 0px;
} */

#nasa-footer li {
  margin-bottom: 7px;
}

.footer-contact button {
  background: #508d72 !important;
  font-family: "Jost", sans-serif !important;
}

@media (max-width: 768px) {
  #nasa-footer li.menu-item {
    width: fit-content;
    margin: auto;
  }

  #nasa-footer #menu-footer-menu {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  /* #nasa-footer #menu-footer-menu li {
    margin-bottom: 10px;
    border: 10px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(
      to right,
      #fff0 0%,
      #508d728c 50%,
      #fff0 100%
    );
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding-left: 0px;
  } */
}

#nasa-footer #menu-footer-menu li {
  margin-bottom: 15px;
  border: 1px solid #e4e4e4;
  border-image-slice: 1;
  border-width: 1px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding-left: 0px;
}

#masthead {
  padding: 0 !important;
}

@media (min-width: 769px) {
  #header-content {
    position: sticky !important;
    top: 0 !important;
    background: white;
    z-index: 10000;
  }

  .header_logo {
    padding: 5px !important;
  }

  #top-bar {
    display: none !important;
  }
  
  li.nasa-icon-wishlist, li.nasa-icon-compare {
    display: none !important;
  }

  ul.nasa-menus-account {
    list-style: none;
  }

  span.nasa-login-title {
    display: none !important;
  }

  li.nasa-menu-item-account ul.sub-menu {
    display: none;
  }
}

#nasa-init-viewed {
  display: none !important;
}