:root {
  --primary-color: #02b3f9;
  --primary-color-opacity: #02b3f988;
  --secondary-color: #a35644;
  --secondary-color-opacity: #a35544a2;
  --background-color-light: #fdfcfc;
  --background-color-dark: #ececec;
  --text-color-b: #000000;
  --text-color-w: white;

  /* --font-family-title: "Work Sans", sans-serif;
  --font-family-text: "Inter", sans-serif; */

  --font-family-title: "Playfair Display", serif;
  --font-family-text: "Lora", serif;

  --p-font-size-xl: 18px;
  --p-font-size-l: 18px;
  --p-font-size-m: 16px;
  --p-font-size-s: 14px;

  --h1-font-size-xl: 48px;
  --h1-font-size-l: 42px;
  --h1-font-size-m: 38px;
  --h1-font-size-s: 34px;
  --h1-font-size-xs: 30px;

  --h3-font-size-xl: 30px;
  --h3-font-size-l: 28px;
  --h3-font-size-m: 24px;
  --h3-font-size-s: 23px;

  --padding-40: 40px;
  --padding-20: 20px;
  --padding-10: 10px;

  --margin-40: 40px;
  --margin-20: 20px;
  --margin-10: 10px;

  --gap-20: 20px;
  --gap-10: 10px;

  --button-padding: 15px 25px;
  --button-padding-m: 10px 15px;
  --button-padding-s: 8px 10px;

  --border-radius: 5px;
  --border-radius-lg: 10px;

  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --smouth-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --glass-background: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 1px 3px 10px rgba(0, 0, 0, 0.35);
  --underline-width: 250px;
  --icon-size: 60px;
  --icon-font-size: 30px;
  --swiper-height: 580px;
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    color-mix(in srgb, var(--secondary-color) 85%, black) 100%
  );
  --gradient-secondary-hover: linear-gradient(
    135deg,
    var(--secondary-color-opacity) 0%,
    var(--secondary-color) 100%
  );
  --gradient-shine: linear-gradient(
    90deg,
    transparent 0%,
    var(--secondary-color-opacity) 50%,
    transparent 100%
  );

  --button-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  --button-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(
    135deg,
    rgba(30, 90, 142, 0.9),
    rgba(45, 122, 184, 0.43)
  );
  --border-primary: 1px solid
    color-mix(in srgb, var(--primary-color) 40%, transparent);
  --shadow-card: 3px 3px 10px rgba(0, 0, 0, 0.1);
  --underline-width-sm: 80px;
  --underline-width-md: 170px;
  --underline-width-lg: 200px;
  --underline-width-xl: 250px;

  --font-light-weight: 400;
  --font-medium-weight: 500;
  --font-large-weight: 600;
}

/* Osnovni stil za linkove sa zastavicom */
.list-link.lang-en,
.list-link.lang-rs {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Razmak između zastave i teksta */
}

/* Zastava Velike Britanije */
.list-link.lang-en::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ccircle cx='256' cy='256' r='256' fill='%2300247d'/%3E%3Cpath d='m0 0 512 512m0-512L0 512' stroke='%23fff' stroke-width='60'/%3E%3Cpath d='m0 0 512 512m0-512L0 512' stroke='%23cf142b' stroke-width='40'/%3E%3Cpath d='M256 0v512M0 256h512' stroke='%23fff' stroke-width='100'/%3E%3Cpath d='M256 0v512M0 256h512' stroke='%23cf142b' stroke-width='60'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Zastava Srbije sa grbom */
.list-link.lang-rs::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ccircle cx='256' cy='256' r='256' fill='%23fff'/%3E%3Cpath fill='%23c6363c' d='M0 0h512v170H0z'/%3E%3Cpath fill='%23003896' d='M0 170h512v170H0z'/%3E%3Cpath fill='%23fff' d='M0 340h512v172H0z'/%3E%3C!-- Grb (stilizovan) --%3E%3Cpath d='M226 150h60v90c0 35-30 55-30 55s-30-20-30-55z' fill='%23c6363c' stroke='%23fff' stroke-width='6'/%3E%3C!-- krst --%3E%3Cpath d='M253 170v80M223 210h60' stroke='%23fff' stroke-width='10'/%3E%3C!-- ocila (4C) --%3E%3Cpath d='M215 190c10 0 10 20 0 20M297 190c-10 0-10 20 0 20M215 230c10 0 10-20 0-20M297 230c-10 0-10-20 0-20' stroke='%23fff' stroke-width='6' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.color-span {
  color: var(--secondary-color);
}

.box-container-icon {
  font-size: var(--icon-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6, #60a5fa, #3b82f6);
  color: white;
  margin-bottom: var(--margin-10);
  border-radius: 100%;
  clip-path: polygon(50% 0%, 90% 15%, 90% 65%, 50% 100%, 10% 65%, 10% 15%);
  box-shadow: var(--shadow-lg);
}

/* Kreiranje svetlije desne polovine */
.box-container-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--primary-color-opacity);
  z-index: -1;
}

.product-container-main-title,
.box-container-title,
.product-container-main-title {
  text-align: center;
  margin-bottom: var(--margin-40);
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px;
  position: relative;
}

.product-container-main-title::after,
.box-container-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 30%;
  border-bottom: 3px solid var(--secondary-color);
}
.box-container-section,
.product-container-section,
.single-product-container-section,
.slider-section {
  padding: 20px 0 60px 0;
}

footer {
  background: linear-gradient(
    90deg,
    var(--background-color-dark),
    var(--background-color-light)
  );
  color: var(--text-color-w);
  padding: 60px var(--padding-40) 30px;
  border-top: 1px solid var(--secondary-color-opacity);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap-20);
  margin-bottom: var(--margin-40);
}

footer .footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: var(--margin-20);
  font-size: var(--h3-font-size-m);
  font-family: var(--font-family-title);
  font-weight: var(--font-large-weight);
}

footer .footer-section p,
footer .footer-section a {
  line-height: 1.8;
  color: black;
  margin-bottom: 5px;
  font-family: var(--font-family-text);
  font-size: var(--p-font-size-m);
  font-weight: var(--font-light-weight);
}

footer .footer-section p strong {
  color: black;
  font-weight: var(--font-medium-weight);
}

footer .footer-title {
  border-top: 1px solid var(--secondary-color-opacity);
  padding-top: 25px;
  text-align: center;
  color: black;
  font-size: 14px;
  font-family: var(--font-family-text);
  font-weight: var(--font-light-weight);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding: 50px var(--padding-20) 25px;
  }

  footer .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--gap-20);
    margin-bottom: var(--margin-20);
  }

  footer .footer-section h3 {
    font-size: var(--h3-font-size-s);
  }

  footer .footer-section p {
    font-size: var(--p-font-size-s);
  }

  footer .footer-title {
    font-size: 13px;
    padding-top: var(--padding-20);
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px var(--padding-10) 20px;
  }

  footer .footer-title {
    font-size: 12px;
  }
}

.show-element {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.footer-title {
  font-size: var(--p-font-size-s);
}

.btn-menu {
  display: none;
}

@media screen and (max-width: 1440px) {
  h1,
  h2 {
    font-size: var(--h1-font-size-l);
  }
  h3 {
    font-size: var(--h3-font-size-l);
  }
  p {
    font-size: var(--p-font-size-l);
  }
}
@media screen and (max-width: 1222px) {
  .main-container {
    padding: 0 10px;
  }
  h1,
  h2 {
    font-size: var(--h1-font-size-m);
  }
  h3 {
    font-size: var(--h3-font-size-m);
  }
  p {
    font-size: var(--p-font-size-m);
  }
  .zavod,
  .btn-option-link {
    padding: var(--button-padding-m);
    border-radius: var(--border-radius-lg);
    font-size: var(--p-font-size-m);
    width: fit-content;
  }
}
@media screen and (max-width: 909px) {
  .info-container {
    padding: 0 var(--padding-10);
    background-position: center;
  }
  h1,
  h2 {
    font-size: var(--h1-font-size-s);
  }
  h3 {
    font-size: var(--h3-font-size-s);
  }
  p {
    font-size: var(--p-font-size-s);
  }
  .info-container > * {
    width: 100%;
  }
  .zavod,
  .btn-option-link {
    width: fit-content;
    padding: var(--button-padding-s);
  }
}
@media screen and (max-width: 768px) {
  .header {
    position: relative;
  }

  .logo-img {
    width: 90px;
  }

  .info-container {
    margin-top: 65px;
    height: calc(75dvh - 65px);
  }

  .btn-menu {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 1001;
  }

  .icon-close {
    display: none;
  }

  .list-items {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .list-items a {
    font-size: 22px;
    color: #fff;
    text-decoration: none;
  }

  .list-item {
    padding: var(--padding-20) 0px;
  }

  .list-link {
    padding: unset;
  }

  .menu-open .list-items {
    transform: translateX(0);
  }

  .menu-open .icon-open {
    display: none;
  }
  .icon-open {
    border-radius: 5px;
    padding: 5px;
    box-shadow: var(--glass-shadow);
    border-top: 1px solid rgba(255, 255, 255, 0.493);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.493);
    background: linear-gradient(
      135deg,
      var(--background-color-light),
      rgb(30 90 142 / 64%)
    );
  }

  .menu-open .icon-close {
    display: block;
  }

  body.menu-open .icon-close {
    color: white;
  }

  .slider-section .bnt-option-container {
    justify-content: center;
  }

  .box-container-icon {
    font-size: 20px;
  }
}

@media screen and (max-width: 650px) {
  .logo-img {
    max-width: 100px;
  }

  .info-container {
    margin-top: 72px;
    height: calc(75dvh - 72px);
  }
  .info-container .main-container > * {
    text-align: start;
    width: 100%;
  }

  .bnt-option-container {
    justify-content: start;
  }
  .zavod,
  .btn-option-link {
    font-size: var(--p-font-size-s);
  }

  .box-container-section,
  .product-container-section,
  .single-product-container-section,
  .slider-section {
    padding: var(--padding-20) 0;
  }

  .footer-title {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .info-container {
    margin-top: 64px;
    height: calc(75dvh - 64px);
  }
  h1,
  h2 {
    font-size: var(--h1-font-size-xs);
  }
  .zavod {
    font-size: 13px;
  }
}
@media (max-width: 355px) {
  .info-container {
    margin-top: 64px;
    height: calc(85dvh - 64px);
  }
}
