/*Product page*/
/*Qty*/
#webtim-wooc-product-qty {
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
}
#webtim-wooc-product-qty .qty.text {
  border: none;
}
#webtim-wooc-product-qty span {
  padding: 15px;
  transition: var(--transition-time);
  -webkit-transition: var(--transition-time);
  -moz-transition: var(--transition-time);
  -ms-transition: var(--transition-time);
  -o-transition: var(--transition-time);
}
#webtim-wooc-product-qty span:hover {
  background-color: #f7f7f7;
}
#webtim-wooc-product-qty {
  display: flex;
  align-items: center;
  justify-content: center;
}
#webtim-wooc-product-qty .quantity {
  margin: 0;
}
#webtim-wooc-product-qty,
.globtrade-product-page-cta .webtim-flex-inline__content.vertical-start,
.globtrade-product-page-cta .webtim-flex__content.vertical-start {
  display: flex;
  align-items: stretch;
}
.quantity {
  flex: 1;
}


.lars-product-page--cta .single_add_to_cart_button {
  height: 100% !important;
  min-width: 350px;
}

.lars-product-page--sale-badge span.onsale {
  position: relative;
  background-color: var(--color-primary);
  border-radius: var(--border-rad-smallest);
  font-size: var(--h4-font-size);
  font-weight: var(--light-font-weight);
  padding: 7px 14px;
  top: unset;
  left: unset;
}

.lars-product-page--brands .pwb-brand-shortcode {
  display: flex;
  flex-direction: column;
}
.lars-product-page--brands .pwb-brand-shortcode a {
  max-width: 120px;
  border-radius: var(--border-rad-smallest);
  border: 1px solid var(--color-gray);
  background-color: var(--color-white);
  margin-top: 10px;
}
.lars-product-page--brands .pwb-brand-shortcode a img {
  display: flex;
}

.lars-product-page--tabs .elementor-tabs-wrapper {
  border-bottom: 1px solid var(--color-gray);
  margin-bottom: 35px;
}

.lars-product-page--tabs .elementor-tabs-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.lars-product-page--tabs .elementor-tab-title.elementor-active {
  border-bottom: 3px solid var(--color-primary) !important;
}
/*Tabela*/
.lars-product-table-attributes {
  width: 100%;
  margin: 0;
}
.lars-product-table-attributes tr {
  border: none;
}
.lars-product-table-attributes th,
.lars-product-table-attributes td {
  padding: 10px 25px;
  font-weight: var(--normal-font-weight);
  color: var(--color-secondary);
}

.lars-product-table-attributes tr:nth-child(even) {
  background-color: #fff;
}
.lars-product-table-attributes tr:nth-child(odd) {
  background-color: #2929310D;
}
/*Stock Semafor*/
.lars-product--stock-wrap {
  display: flex;
  align-items: center;

  font-size: var(--small-font-size);
}
.lars-product--stock-notice {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: var(--border-rad-smallest);
}
.lars-product--stock-wrap.low .lars-product--stock-notice {
  background-color: #CC0000;
}
.lars-product--stock-wrap.low {
  color: #CC0000;
}
.lars-product--stock-wrap.mid .lars-product--stock-notice {
  background-color: #FFFF33;
}
.lars-product--stock-wrap.full .lars-product--stock-notice {
  background-color: var(--color-primary);
}
.lars-product--stock-wrap.full {
  color: var(--color-primary);
}

/*Prices*/
/*Price*/
.lars-product--price .price span,
.lars-product--price .price bdi {
  color: var(--color-primary);
  font-size: 4.8rem;
  font-weight: var(--bold-font-weight);
  text-decoration: none;
}
.lars-product--price .price ins {
  margin-top: 8px;
}
.lars-product--price .price ins,
.lars-product--price .price ins span,
.lars-product--price .price ins bdi {
  text-decoration: none;
}
.lars-product--price .price del,
.lars-product--price .price del span,
.lars-product--price .price del bdi {
  color: var(--color-secondary);
  font-size: var(--h5-font-size);
  font-weight: var(--semi-bold-font-weight);
  opacity: 1 !important;
}

/*Dimenzije*/
.lars-product--dimenzija--wrap {
  display: flex;
  align-items: center;
  font-size: var(--h4-font-size);

  padding: 15px 20px;
  background-color: #EDECEC40;
  border-top: 1px solid #4F494640;
  border-bottom: 1px solid #4F494640;
}
.lars-product--dimenzija--icon {
  display: flex;
}
.lars-product--dimenzija--wrap img {
  width: 25px;
  margin-right: 10px;
}

/*Povpraševanje*/
.lars-product--cta--povprasevanje a {
  width: 100%;
}

/*Badges*/
.lars-product-page--new-badge {
  background-color: var(--color-white);
}

@media only screen and (max-width: 1024px) {
  /*Badges (Container)*/
  .lars-product--badges--container {
    position: absolute !important;
    right: 10px;
    top: 10px;
    width: fit-content;
  }
  /*Add to cart BTN*/
  .lars-product-page--cta .single_add_to_cart_button {
    min-width: unset;
  }
  .lars-product-page--cta .webtim-flex__content.flex-wrap {
    flex-wrap: nowrap;
    width: 100%;
  }
  .lars-product-page--cta button {
    width: 100%;
  }
  .lars-product-page--cta #webtim-wooc-product-qty {
    flex-wrap: nowrap;
    width: fit-content;
  }
}
@media only screen and (max-width: 480px) {
  /*Gallery*/
  .woo-variation-product-gallery {
    width: 100%;
  }
}
/* Glavna slika izdelka v galeriji */
.woo-variation-gallery-wrapper img.wp-post-image {
    height: 500px !important;      /* fiksna višina */
    width: 100%;                   /* raztegne čez širino */
    object-fit: cover;             /* odreže sliko, da zapolni prostor */
    object-position: center;       /* poravna po sredini */
    display: block;
}
@media (max-width: 767px) {
    .woo-variation-gallery-wrapper img.wp-post-image {
        height: 350px !important;
    }
}

/*Semafor*/
.lars-product--stock-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 600;
    font-size: 15px;
}

/* kvadrat*/
.lars-product--stock-notice {
    width: 30px;
    height: 30px;
    border-radius: 2px;
    background-color: #ccc; /* privzeta */
}

/* barve glede na razred */
.lars-product--stock-wrap.green .lars-product--stock-notice {
    background-color: #00903B; /* zelena */
}
.lars-product--stock-wrap.green .lars-product--stock-text {
    color: #00903B !important; /* zelena */
}

.lars-product--stock-wrap.yellow .lars-product--stock-notice {
    background-color: #FFFF33; /* rumena */
}
.lars-product--stock-wrap.yellow .lars-product--stock-text {
   color: #4f4946  !important; /* rumena */
}

.lars-product--stock-wrap.orange .lars-product--stock-notice {
    background-color: #f57c00; /* oranžna */
}
.lars-product--stock-wrap.orange .lars-product--stock-text {
   color: #4f4946 !important; /* oranžna */
}

.lars-product--stock-wrap.red .lars-product--stock-notice {
    background-color: #CC0000; /* rdeča */
}
.lars-product--stock-wrap.red .lars-product--stock-text {
    color: #CC0000 !important; /* rdeča */
}
