@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* =========================
   BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #151E26;
  text-align: left;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.btn {
  border-radius: 50px !important;
}

.card-img,
.card-img-top,
.card-img-bottom {
  border-radius: 10px;
}

/* =========================
   HEADER
========================= */
header {
  border-bottom: 0;
}

header .navbar {
  padding: 15px 0;
}

header .form-control {
  background-color: transparent;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.header-bottom-line {
  background-color: #394259;
}

.header-top-line {
  background-color: #61d1e4;
}

.nav-link,
.header-top a {
  color: #FFF;
}

.nav-link:active,
.nav-link:hover,
.header-top a:active,
.header-top a:hover {
  color: #61d1e4;
}

.header-top-line a:not(.edit-link) {
  padding: 10px 1rem;
  font-size: 0.8125rem;
}

.search-module .form-control {
  border-radius: 50px;
}

.children {
  background-color: #394259;
  box-shadow: 0 5px 30px 5px rgba(69, 79, 91, 0.2);
}

.category-menu .parent.js-sf-hover > .nav-link {
  color: #ffffff !important;
}

/* desktop dropdown positioning */
.sf-horizontal .children {
  top: 42px;
  left: 100px;
}

.sf-horizontal > li.dropDownParent > .nav-link::after,
.sf-horizontal > li.parent > .nav-link::after {
  border: solid #61D1E4;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  height: 7px;
  width: 7px;
  display: inline-block;
  margin: auto;
  transform: rotate(45deg);
  top: -3px;
  position: relative;
  left: auto;
  right: -3px;
}

.sf-horizontal > li.parent .parent > .nav-link::after {
  border: solid #61D1E4;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  height: 6px;
  width: 6px;
  display: inline-block;
  transform: rotate(-45deg);
  position: absolute;
  right: 0.5rem;
  left: auto;
  top: 0;
  bottom: 0;
  margin: auto;
}

.sf-horizontal > li.parent .parent:active > .nav-link::after,
.sf-horizontal > li.parent .parent:hover > .nav-link::after,
.sf-horizontal > li.dropDownParent:active > .nav-link::after,
.sf-horizontal > li.dropDownParent:hover > .nav-link::after,
.sf-horizontal > li.parent:active > .nav-link::after,
.sf-horizontal > li.parent:hover > .nav-link::after {
  border-right: 1.5px solid #61d1e4;
  border-bottom: 1.5px solid #61d1e4;
}

.sf-horizontal .children .nav-link:active,
.sf-horizontal .children .nav-link:hover {
  color: #61d1e4;
}

/* =========================
   SLIDER / BANNER
========================= */

/* FONTOS:
   Itt szüntetjük meg a széteső tördelést.
   Nem padding-right százalékkal szűkítünk,
   hanem stabil max-width-et használunk.
*/
.banner-items-container {
  text-align: left;
  margin-top: 0;
  padding-right: 0 !important;
  width: 100%;
  max-width: 760px;
}

.banner-items-title {
  width: 100%;
  text-align: left;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.banner-items-text,
.banner-items-description,
.banner-items-container p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.banner-items-container .btn {
  margin-top: 0.5rem;
}

/* Ha a bannerben bármely belső elem túl széles lenne */
.banner-items-container * {
  max-width: 100%;
}

/* =========================
   BADGES
========================= */
.badgecolor_c .badgeitem-text {
  color: #fff;
}

.badgeitem {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  overflow: visible;
  position: relative;
  margin-bottom: 0;
  background: #61d1e4;
  border-radius: 0;
  padding: 4px 20px 6px;
}

.badgeitem.badgeitemid_16 {
  background-color: #3e86b0;
}

.badgeitem.badgeitemid_7 {
  background-color: #394259;
}

.badgeitem.badgeitemid_12 {
  background-color: #249aae;
}

.product_badges .badgeitem-content:first-child .badgeitem {
  border-radius: 10px 0 0 0;
}

.product_badges .badgeitem-content:last-child .badgeitem {
  border-radius: 0 10px 0 0;
}

/* =========================
   LARGE DESKTOP
========================= */
@media (max-width: 1800px) {
  .banner-items-container {
    max-width: 680px;
  }

  .banner-items-title {
    font-size: 1.75rem;
  }
}

/* =========================
   DESKTOP / SMALLER LAPTOP
========================= */
@media (max-width: 1400px) {
  .banner-items-container {
    max-width: 580px;
  }

  .banner-items-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .banner-items-text,
  .banner-items-description,
  .banner-items-container p {
    font-size: 0.95rem;
  }

  .sf-horizontal .children {
    left: 0;
  }
}

/* =========================
   TABLET LANDSCAPE
========================= */
@media (max-width: 1199px) {
  .navbar-brand img {
    height: 44px;
  }

  .header-top-line a:not(.edit-link) {
    padding: 8px 0.75rem;
    font-size: 0.78rem;
  }

  .banner-items-container {
    max-width: 520px;
  }

  .banner-items-title {
    font-size: 1.45rem;
  }

  .banner-items-text,
  .banner-items-description,
  .banner-items-container p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .badgeitem {
    font-size: 12px;
    padding: 4px 16px 6px;
  }
}

/* =========================
   TABLET / MOBILE MENU RANGE
========================= */
@media (max-width: 991px) {
  body {
    font-size: 0.875rem;
  }

  header .navbar {
    padding: 10px 0;
  }

  .navbar-brand img {
    height: 40px;
  }

  .header-top-line a:not(.edit-link) {
    padding: 8px 0.5rem;
    font-size: 0.75rem;
  }

  .nav-link,
  .header-top a {
    word-break: break-word;
  }

  .sf-horizontal .children {
    top: auto;
    left: 0;
    box-shadow: none;
  }

  .banner-items-container {
    max-width: 100%;
    width: 100%;
    padding-right: 0 !important;
  }

  .banner-items-title {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .banner-items-text,
  .banner-items-description,
  .banner-items-container p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .banner-items-container .btn {
    width: auto;
    max-width: 100%;
  }

  .badgeitem {
    font-size: 11px;
    padding: 4px 12px 5px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
  body {
    font-size: 0.875rem;
  }

  .navbar-brand img {
    height: 36px;
  }

  .header-top-line a:not(.edit-link) {
    font-size: 0.72rem;
    padding: 7px 0.4rem;
  }

  .search-module .form-control {
    min-height: 42px;
  }

  .banner-items-container {
    max-width: 100%;
    width: 100%;
  }

  .banner-items-title {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .banner-items-text,
  .banner-items-description,
  .banner-items-container p {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .banner-items-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .badgeitem {
    font-size: 10px;
    padding: 3px 10px 4px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .navbar-brand img {
    height: 32px;
  }

  .banner-items-title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .banner-items-text,
  .banner-items-description,
  .banner-items-container p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .btn {
    font-size: 0.85rem;
  }

}