/*=============== VARIABLES CSS ===============*/

:root {
  /*========== Colors ==========*/
  --color-primary: #ec1c24;
  --color-secondary: #ec1c24;
  --color-text: #231f20;
  --color-background: #f0f0f0;
  --color-border-gray: #f1f1f1;
  --color-white: #fff;
  --color-black: #000;
  /*========== Font and typography ==========*/
  --h1-font-size: 3.6rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.6rem;
  --h4-font-size: 2rem;
  --h5-font-size: 1.8rem;
  --normal-font-size: 1.6rem;
  --small-font-size: 1.4rem;
  --smaller-font-size: 1.2rem;

  /*========== Font weight ==========*/
  --light-font-weight: 300;
  --normal-font-weight: 400;
  --medium-font-weight: 500;
  --semi-bold-font-weight: 600;
  --bold-font-weight: 700;

  /*========== Line height ==========*/
  --line-height-big: 2em;
  --line-height-normal: 1.75em;
  --line-height-small: 1.5em;
  --line-height-smaller: 1.33em;
  --transition-time: 0.4s;
}

/*=============== BASE ===============*/
*:not(ul, li, ol) {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
::selection {
  background-color: var(--color-secondary);
}

::-moz-selection {
  background-color: var(--color-secondary);
}

::-webkit-input-placeholder {
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
}

:-moz-placeholder {
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
}

::-moz-placeholder {
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
}

:-ms-input-placeholder {
  font-size: var(--small-font-size);
  font-weight: var(--normal-font-weight);
}

/* table */
table {
  margin-bottom: 25px;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid var(--color-primary);
}

tr:nth-child(even) {
  background-color: var(--color-gray);
}

th {
  height: 37px;
  padding: 10px;
  font-weight: bold;
  text-align: left;
}

td {
  min-width: 110px;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}

input:hover,
textarea:hover {
  border: 1px solid var(--color-primary);
}

input:focus,
textarea:focus {
  border: 1px solid var(--color-secondary);
}

.elementor-text-editor p:last-of-type,
.elementor-widget-container p:last-of-type,
.elementor-text-editor p:last-child,
.elementor-widget-container p:last-child {
  margin: 0;
}

.elementor-widget-container p img {
  margin-bottom: 15px;
}

/*****************************************************************/

.elementor-widget-container p a {
  transition: all var(--transition-time);
  text-decoration: underline;
  text-decoration-color: transparent;
}

.elementor-widget-container p a:hover {
  text-decoration: underline;
}
.grama-kontakt-page p a {
  text-decoration: underline !important;
}

.combic-link--underline a {
  text-decoration: underline !important;
}

.text-color-primary {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}
.jeretina-text-underline h2::after {
  content: "";
  display: block;
  margin-left: 37.5%;
  margin-right: 37.5%;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  height: 4px;
  background-color: var(--color-primary);
}
/* 
*{
  outline: 1px solid red;
} */

/**** breadcrumb *****/
.jeretina-breadcrumb nav p {
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: 1.2em;
  font-weight: 300;
  text-transform: uppercase !important;
  text-align: center;
}
.jeretina-breadcrumb nav p span {
  text-transform: uppercase !important;
}
.jeretina-breadcrumb nav a {
  color: var(--color-white);
}
.jeretina-breadcrumb .rank-math-breadcrumb {
  padding-top: 1.2em !important;
  padding-bottom: 1.2em !important;
}

/*header stiky **/

.jeretina-header-menu--container.jeretina-sticky-header--active {
  background-color: #fff;
  box-shadow: 0px 5px 30px 0px rgb(0 0 0 / 10%);
  transition: all ease-in var(--transition-time);
}

@media screen and (max-width: 1450px) {
  .jeretina-header-menu--container .elementor-icon-box-content {
    display: none;
  }
}

/** cart menu btn ***/
.jeretina-menu-cart span.elementor-button-icon::before {
  background-color: var(--color-secondary) !important;
  font-size: 1.2rem !important;
  top: -0.2em !important;
  font-family: inherit !important;
}
.jeretina-menu-cart span.elementor-button-icon i::before {
  content: "" !important;
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("../images/shopping-cart.svg") no-repeat center/cover;
  font-family: inherit !important;
}
.jeretina-menu-cart .widget_shopping_cart_content::before {
  content: "Košarica";
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5em;
  border-bottom: 2px solid var(--color-black);
  margin-bottom: 2rem;
}

.jeretina-menu-cart dl.variation {
  display: flex;
  flex-direction: column;
}
.jeretina-menu-cart dl.variation img {
  width: 75px !important;
}

.rank-math-breadcrumb {
  font-size: 1.4rem;
  text-transform: uppercase;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  color: var(--color-primary) !important;
}
.rank-math-breadcrumb a {
  color: var(--color-primary);
}
.jeretina-slider-trogovina .elementor-slide-heading {
  position: relative;
}
.jeretina-slider-trogovina .elementor-slide-heading::after {
  content: "";
  border-top: 4px solid var(--color-primary);
  width: 50%;
  display: inline-block;
  position: absolute;
  top: -10px;
  left: 0;
}
@media screen and (min-width: 1024px) {
  .jeretina-slider-trogovina .elementor-swiper-button-prev {
    left: 3%;
  }
  .jeretina-slider-trogovina .elementor-swiper-button-next {
    right: 3%;
  }
}

/*** Banner Home Page ****/

.jeretina-okvirijamo--banner .elementor-cta__content {
  background-color: var(--color-text);
  width: 40%;
  margin: auto;
}
.jeretina-okvirijamo--banner .elementor-cta__content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon-right.png") no-repeat bottom right;
  z-index: 1;
}
.jeretina-okvirijamo--banner .elementor-cta__content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon.png") no-repeat top left;
  z-index: 2;
}
.jeretina-okvirijamo--banner .elementor-cta__content h3 {
  text-align: center;
}
.jeretina-okvirijamo--banner .elementor-cta__content h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  width: 60%;
  height: 5px;
  background-color: var(--color-primary);
  display: block;
  margin: auto;
}
.jeretina-okvirijamo--banner .elementor-cta__description {
  display: grid;
  place-content: center;
}

.jeretina-okvirijamo--bannerv2 h3 {
  background-color: var(--color-text);
  padding: 40px 0;
  width: 80%;
  margin: auto;
}
.jeretina-okvirijamo--bannerv2 .elementor-cta__content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon-right.png") no-repeat bottom right;
  z-index: 1;
}
.jeretina-okvirijamo--bannerv2 .elementor-cta__content h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon.png") no-repeat top left;
  z-index: 2;
}

@media only screen and (max-width: 1400px) and (min-width: 1024px) {
  .jeretina-okvirijamo--banner .elementor-cta__content {
    width: 70%;
  }
  .jeretina-okvirijamo--bannerv2 h3 {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .jeretina-okvirijamo--bannerv2 .elementor-cta__content h3::after,
  .jeretina-okvirijamo--bannerv2 .elementor-cta__content h3::before,
  .jeretina-okvirijamo--banner .elementor-cta__content::before,
  .jeretina-okvirijamo--banner .elementor-cta__content::after,
  .jeretina-okvirijamo--banner .elementor-cta__content h3::before {
    display: none;
  }
  .jeretina-okvirijamo--banner .elementor-cta__content {
    width: 70%;
  }
  .jeretina-okvirijamo--banner .elementor-cta__content h3 {
    border-bottom: 2px solid var(--color-primary);
    margin-left: 10%;
    margin-right: 10%;
  }
  .jeretina-okvirijamo--bannerv2 h3 {
    width: 100%;
  }
}

/*** Footer **/

.jeretina-cta-baner--container {
  position: relative;
}

.jeretina-cta-baner--container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon-right.png") no-repeat bottom right;
  z-index: 1;
}

.jeretina-cta-baner--container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/jeretina-icon.png") no-repeat top left;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .jeretina-cta-baner--container::after,
  .jeretina-cta-baner--container::before {
    display: none;
  }
}
.link-footer {
  margin: 0 20px;
}
@media screen and (max-width: 768px) {
  .webtim-copyright--container .author__wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
  }
  .link-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*** Kontaktt ****/
.jeretina-kontakt--form .elementor-field-type-acceptance {
  margin-left: 20px;
}
.jeretina-kontakt--form button[type="submit"] {
  margin-top: 2.5rem;
}
.jeretina-kontakt--form .kontakt-soglasam {
  margin-top: 2rem !important;
}
@media screen and (max-width: 768px) {
  .jeretina-kontakt--form button[type="submit"] {
    width: 100%;
  }
}

/*jeretina Product Box ***/
.jeretina-product-box--image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 90px;
  background: url("../images/jeretina-icon.png") no-repeat top left;
  z-index: 0;
}
.jeretina-sale-badge {
  right: 0 !important;
}

.jeretina-sale-badge .onsale.percentage {
  background-color: var(--color-text);
  color: var(--color-white);
  display: grid;
  place-content: center;
  width: 70px;
  height: 70px;
  font-size: 2rem;
  font-weight: 700;
  margin-left: auto;
  margin-top: 5px;
  margin-right: 5px;
  border-radius: unset !important;
  line-height: 1em;
  position: unset !important;
}
.jeretina-file-uploaded-txt {
  padding-top: 1.5rem !important;
  color: green;
}
.jeretina-sale-badge .onsale.percentage::before,
.jeretina-sale-badge--singel--page .onsale.percentage::before {
  content: "POPUST";
  font-size: 1.2rem;
  line-height: 1.2em;
}

.jeretina-sale-badge .pre-symbol,
.jeretina-sale-badge--singel--page .pre-symbol {
  display: none;
}
.jeretina-sale-badge .value::before,
.jeretina-sale-badge--singel--page .value::before {
  content: "-";
}

.jeretina-sale-badge--singel--page .onsale.percentage {
  background-color: var(--color-text) !important;
  color: var(--color-white);
  display: grid;
  place-content: center;
  width: 70px;
  height: 70px;
  font-size: 2rem;
  font-weight: 700;
  margin-left: auto;
  border-radius: unset !important;
  line-height: 1em;
  float: right;
}
.jeretina-sale-badge--singel--page {
  right: calc(-100% + 65px);
}
.jeretina-new-badge--container {
  left: calc(100% - 75px);
  bottom: calc(0% + 260px);
  margin: 0 !important;
}
.jeretina--new-product-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  display: inline-block;
  text-align: center;
  width: 70px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.5em 0;
  margin-left: auto;
}

.jeretina-product-box--price del > .woocommerce-Price-amount > bdi {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text) !important;
  text-decoration-color: var(--color-text) !important;
}
.jeretina-product-box--price.singel-page del > .woocommerce-Price-amount > bdi {
  font-size: 2rem;
}
.jeretina-product-box--price ins {
  text-decoration: none;
}
.jeretina-product-box--price ins > .woocommerce-Price-amount > bdi {
  color: var(--color-primary) !important;
}

.jeretina-add-to-cart-button-holder {
  background-color: var(--color-text);
  color: var(--color-white) !important;
  text-align: center;
  font-size: 1.6rem;
  padding: 1rem 0;
}
.jeretina-add-to-cart-button-holder a {
  color: var(--color-white);
}

.jeretina-add-to-cart-button-holder .added_to_cart.wc-forward {
  position: absolute;
  top: -25px;
  left: calc(50% - 45px);
  color: var(--color-primary);
  display: block;
  font-size: 1.4rem;
  transition: all ease;
}
