/*=============== WooCommerce ===============*/
/* Buttons  */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--normal-font-weight);
  transition: var(--transition-time) ease-in-out;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.disabled {
  border: none;
  border-radius: 0;
  background-color: var(--color-primary);
  font-size: var(--normal-font-size);
  font-weight: var(--normal-font-weight);
  transition: var(--transition-time) ease-in-out;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.button.alt.disabled:hover {
  color: var(--color-secondary);
  background-color: var(--color-primary);
  box-shadow: 0 0.4em 0.8em 0 rgba(0, 0, 0, 0.25);
}

.webtim-wooc-product--simple--add-to-cart__wrapper button {
  border-radius: 0;
  font-size: var(--normal-font-size);
  font-weight: var(--normal-font-weight);
  text-transform: uppercase;
}

.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--color-secondary);
}

.woocommerce-info::before,
.woocommerce-error::before {
  color: var(--color-secondary);
}

.woocommerce-message {
  border-top-color: var(--color-secondary);
}
.woocommerce-message::before {
  color: var(--color-secondary);
}

@media only screen and (max-width: 768px) {
  .woocommerce-message,
  .woocommerce-info {
    display: grid;
  }
}

/*=============== Header ===============*/

/*cart-icon*/
@media only screen and (min-width: 768px) {
  .jadran--header--menu-cart .elementor-menu-cart__toggle .elementor-button-icon i:before {
    display: block;
    content: "" !important;
    width: 32px;
    height: 32px;
    background: url("../images/shopping-cart.svg") no-repeat center / contain;
    fill: var(--color-white);
  }
}

.jadran--header--menu-cart .elementor-menu-cart__toggle .elementor-button-icon[data-counter]:before {
  top: 0.2em !important;
  right: -1em !important;
  min-width: 2.4em;
  height: 2.4em;
  font-size: 14px !important;
  z-index: 5;
}

/*Search field*/

@media only screen and (min-width: 767px) {
  .aws-wrapper {
    width: 200px !important;
  }
}
.aws-container {
  border: 1px solid var(--color-white);
  border-radius: 5px;
}

.aws-container .aws-search-form {
  height: 40px;
}

.aws-container .aws-search-form .aws-form-btn {
  border: 1px solid var(--color-white);
  border-radius: 5px;
  background: var(--color-white);
}

.aws-container .aws-search-field {
  border: 1px solid var(--color-white);
}

.aws-container .aws-search-field,
.aws-container .aws-search-field::-webkit-input-placeholder {
  color: var(--color-primary);
  font-size: var(--small-font-size);
}

.aws-container .aws-show-clear .aws-search-field {
  padding-left: 10px;
  background: var(--color-white);
}
@media only screen and (max-width: 767px) {
  .aws-container .aws-show-clear .aws-search-field {
    background: transparent !important;
  }
}

.aws-container .aws-search-form .aws-search-btn {
  width: 40px;
}

.aws-container .aws-search-form .aws-search-btn_icon {
  width: 35px;
  height: 35px;
  color: var(--color-primary);
  font-weight: var(--bold-font-weight);
}

.aws-search-result .aws_result_title {
  color: var(--color-text) !important;
  font-weight: var(--medium-font-weight);
}

.aws-search-result .aws_result_excerpt {
  color: var(--color-text) !important;
  padding-bottom: 5px;
}

.aws_result_price ins {
  color: var(--color-text);
  font-size: var(--normal-font-size);
  font-weight: var(--medium-font-weight);
  text-decoration: none;
}

.aws_result_price bdi {
  color: var(--color-text);
  font-size: var(--normal-font-size);
  font-weight: var(--medium-font-weight);
}
/*End Search field*/

/*Sidecart*/

.jadran--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button {
  right: -15px;
  width: 44px;
  height: 44px;
  margin: 0;
  background-color: var(--color-primary);
}

.jadran--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button::before,
.jadran--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button::after {
  top: 20px;
  left: 11px;
  width: 50%;
  height: 1px;
  background-color: var(--color-white);
}

.jadran-menu--mini-cart--home-menu--element.elementor-element .elementor-menu-cart__product-remove.product-remove {
  overflow: visible;
}

div.elementor-menu-cart__product-remove.product-remove {
  border: none;
  overflow: visible;
}

.jadran--menu-cart.elementor-element .elementor-menu-cart__products .elementor-menu-cart__product .elementor-menu-cart__product-remove.product-remove:before {
  display: block;
  content: "";
  width: 18px;
  height: 20px;
  background: url("../images/jadran-icon-trash.svg") no-repeat center / contain;
  transform: translate(-50%, -50%);
}

.jadran--menu-cart.elementor-element .elementor-menu-cart__products .elementor-menu-cart__product .elementor-menu-cart__product-remove.product-remove::after {
  display: none;
}

html[lang="sl-SI"] .jadran--menu-cart.elementor-element .widget_shopping_cart_content::before {
  content: "Košarica";
}

.jadran--menu-cart.elementor-element .widget_shopping_cart_content::before {
  display: block;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 4px solid var(--color-primary);
  font-size: var(--h1-font-size);
  font-weight: var(--bold-font-weight);
  line-height: var(--line-height-smaller);
}

.jadran--menu-cart.elementor-element .elementor-menu-cart__subtotal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.widget_shopping_cart_content .elementor-menu-cart__footer-buttons {
  display: flex;
  flex-direction: column;
}

.widget_shopping_cart_content .tc-epo-metadata.variation {
  display: none;
}

/*=============== Product box ===============*/
@media screen and (min-width: 768px) {
  .jadran--product-box--wrapper {
    min-height: 600px;
  }
}

.jadran--new-product-badge {
  padding: 2px 15px;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  font-size: var(--normal-font-size);
  font-weight: var(--semi-bold-font-weight);
  line-height: 1em;
  font-size: 14px;
}

.jadran--product-box--sale-badge .onsale.percentage {
  position: relative;
  display: block;
  top: -6px;
  left: 0;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  padding: 15px 15px 10px 15px;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  font-size: var(--h4-font-size);
  font-weight: var(--bold-font-weight);
  line-height: var(--line-height-small);
}

.jadran--product-box--sale-badge .onsale.percentage::after {
  content: "POPUST";
  display: block;
  margin-top: -7px;
  color: var(--color-white);
  font-size: var(--smaller-font-size);
  font-weight: var(--normal-font-weight);
}

.jadran--product-box--link a {
  transition: var(--transition-time);
}

.jadran--product-box--link a:hover {
  color: var(--color-secondary) !important;
}

.jadran--product-box--product-name {
  min-height: 100px;
}
@media screen and (max-width: 768px) {
  .jadran--product-box--product-name {
    min-height: 60px;
  }
}

.jadran--product-box--product-price {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jadran--product-box--product-price .price {
  display: grid;
  font-size: 2.2rem;
  font-weight: bold;
  text-decoration: none;
}

.jadran--product-box--product-price .price del {
  font-size: var(--normal-font-size);
  font-weight: var(--normal-font-weight);
  text-decoration: line-through;
}

.jadran--product-box--product-price .price ins {
  font-size: 2.2rem;
  font-weight: bold;
  text-decoration: none;
}

.jadran--product-box--product-price .price .woocommerce-Price-amount.amount bdi:before {
  content: "Od ";
  font-size: 2.2rem;
  font-weight: var(--bold-font-weight);
}

.jadran--product-box--product-price .price del .woocommerce-Price-amount.amount bdi:before,
.jadran--product-box--product-price .price ins .woocommerce-Price-amount.amount bdi:before {
  content: " ";
}

.cta-btn-wrap-cart {
  display: flex;
}

.jadran--product-box--cta--add-to-cart {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  font-size: var(--normal-font-size);
  font-weight: var(--normal-font-weight);
  line-height: var(--line-height-smaller);
  text-align: center;
}

/*=============== Woof filter ===============*/
.jadran--product-archive--woof-shortcode .woof {
  border: none;
  border-radius: 0;
  background-color: var(--color-white);
  box-shadow: none;
}

.jadran--product-archive--woof-shortcode .woof_sid_auto_shortcode.woof {
  padding: 16px 16px 16px 0;
  border: none;
}

@media screen and (max-width: 768px) {
  .jadran--product-archive--woof-shortcode .woof_sid_auto_shortcode.woof {
    padding: 0;
  }
}

.jadran--product-archive--woof-shortcode .woof_container {
  width: 100% !important;
  margin-bottom: 0;
}

@media screen and (min-width: 1025px) {
  .jadran--product-archive--woof-shortcode .woof_container label {
    max-width: 225px;
  }
}

.jadran--product-archive--woof-shortcode .woof_block_html_items {
  padding: 5px 0;
  border-bottom: none;
}

.jadran--product-archive--woof-shortcode .woof_list li {
  margin: 0 !important;
  padding: 0 !important;
}

.woof_submit_search_form_container > .button.woof_reset_search_form {
  display: none;
}

.jadran--product-archive--woof-shortcode .woof.woof_sid .woof_redraw_zone .woof_container .woof_container_inner h4:first-of-type {
  margin-top: 20px;
}

.jadran--product-archive--woof-shortcode .woof_childs_list_opener span.woof_is_closed::before,
.jadran--product-archive--woof-shortcode .woof_childs_list_opener span.woof_is_opened::before {
  color: var(--color-primary) !important;
}

.jadran--product-archive--woof-shortcode .woof_radio_label {
  margin-left: 0;
}

.jadran--product-archive--woof-shortcode .woof_list label {
  padding: 0;
}

.jadran--product-archive--woof-shortcode .woof.woof_sid .woof_redraw_zone .woof_container .woof_container_inner h4 {
  margin-bottom: auto;
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--small-font-size);
  font-weight: var(--bold-font-weight);
  line-height: var(--line-height-normal);
  text-transform: uppercase;
}

.jadran--product-archive--woof-shortcode .woof_container_inner h4 {
  padding-bottom: 3px;
}

.jadran--product-archive--woof-shortcode .woof_container_inner ul {
  padding-top: 0;
}

.jadran--product-archive--woof-shortcode .woof_open_hidden_li {
  font-weight: var(--bold-font-weight);
  text-align: inherit;
  text-transform: none;
}

.jadran--product-archive--woof-shortcode .woof.woof_sid .woof_redraw_zone .woof_container .woof_container_inner ul li {
  display: block;
  padding-bottom: 5px;
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
  line-height: var(--line-height-smal);
  color: var(--color-primary);
  text-transform: none;
}

.jadran--product-archive--woof-shortcode .woof_list_checkbox li div {
  margin-top: 0;
}

.jadran--product-archive--woof-shortcode .woof_list > li > ul > li {
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
  line-height: var(--line-height-smaller);
}

.jadran--product-archive--woof-shortcode .woof_checkbox_label {
  margin-left: 0;
}

.jadran--product-archive--woof-shortcode .woof_childs_list_opener {
  float: right;
}

.jadran--product-archive--woof-shortcode .woof_childs_list_opener span {
  width: 10px;
  height: 10px;
}

.jadran--product-archive--woof-shortcode .woof_childs_list {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-primary);
}

.jadran--product-archive--woof-shortcode .iradio_square-green,
.woof_radio_term_reset {
  display: none !important;
}

.jadran--product-archive--woof-shortcode .woof_radio_term_reset {
  display: none;
}

.jadran--product-archive--woof-shortcode .woof_childs_list_opener {
  margin-top: 4px;
}

.jadran--product-archive--woof-shortcode .irs {
  margin-top: 35px;
}
/* .woof_checkbox_sales_container.woof_container.woof_container_onsales {
  display: block;
} */

/*=============== Webtim catalog ===============*/
@media screen and (max-width: 768px) {
  .jadran--webtim-woocommerce-catalog .webtim-catalog-wrap .webtim-catalog-menu .webtim-catalog-order-display {
    margin-top: 0px;
  }

  .jadran--webtim-woocommerce-catalog .webtim-catalog-wrap .webtim-catalog-menu .webtim-catalog-order-display {
    display: none;
  }
}

.jadran--webtim-woocommerce-catalog .webtim-catalog-products.webtim-grid {
  border-top: 1px solid var(--color-primary);
  padding-top: 30px;
  padding-bottom: 100px;
}

#webtim_grid_icn .webtim_icn_cls_1 {
  stroke-width: 1px !important;
}

.navigation.pagination {
  margin-top: 20px;
}

.nav-links .page-numbers.current {
  padding: 5px 10px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--small-font-size);
}

.nav-links .page-numbers {
  padding: 5px 10px;
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: var(--small-font-size);
}

.jadran--webtim-woocommerce-catalog .nav-links {
  float: right;
  margin-bottom: 10px;
}

.jadran--webtim-woocommerce-catalog .navigation.pagination {
  padding: 19px 0 45px 0;
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.jadran--webtim-woocommerce-catalog .webtim-catalog-normal-pagination .navigation.pagination {
  margin-top: 0;
  border: none;
}

.jadran--webtim-woocommerce-catalog .webtim-catalog-menu {
  margin-top: 10px;
}

/*To do*/

#webtim-wooc-product-qty {
  border: 1px solid #e2e2e2;
}

#webtim-wooc-product-qty span,
#webtim-wooc-product-qty input {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#webtim-wooc-qty-minus,
#webtim-wooc-qty-plus {
  background-color: #ececec;
}

div.webtim-wooc--product-qty--input__wrapper .qty-change {
  cursor: pointer;
}

#webtim-wooc-product-qty .quantity {
  margin: 0;
}

.webtim-cart--cart-collaterals__container .cart-collaterals .cart_totals #shipping_method.woocommerce-shipping-methods li input {
  border: 2px solid var(--cart-color) !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message{
  color: black !important;
}