/*** MOJE AUTODOPLNKY.SK - CUSTOM STYLE CSS ***/

/** HEADER **/

/* MENU */

@media (min-width: 768px) {
  .navigation-in > ul > li > a {
    color: white;
  }

  .navigation-in {
    background-color: #c22126;
  }

  .navigation-in > ul > li a {
    border-radius: 5px 5px 0px 0px;
  }

  .navigation-in > ul > li.ext > ul > li > div > ul > li > a {
    font-weight: 400;
    font-size: 15px;
    line-height: 2rem;
  }

  .navigation-in ul.menu-level-2 {
    border-color: #c22126;
  }

  .navigation-in > ul > li.ext > ul > li > div > a {
    font-weight: 600;
    padding: 0;
    font-size: 18px;
    text-transform: uppercase;
  }
}

.menu-helper:after,
.menu-trigger:after {
  background-color: #666;
  color: #ffffff;
}

[class^="icon-"] {
  color: white;
}

.next-to-carousel-banners {
  margin-top: 20px;
}

/* BENEFIT BANNER */

.benefitBanner .benefitBanner__picture img {
  max-height: 130%;
}

.benefitBanner .benefitBanner__title {
  display: inline-block;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.benefitBanner .benefitBanner__data {
  font-size: 18px;
  line-height: 30px;
  color: grey;
}

/* PRODUCT CAROUSEL */

.products-block > div .p .p-in .p-in-in .name {
  font-weight: 700;
  height: 50px;
  letter-spacing: 0.4px;
  overflow: hidden;
  font-size: 18px;
  display: block;
  margin: 0 auto;
  width: 75%;
  line-height: 23px;
}

.price.price-final {
  font-size: 20px;
}

/* DETAIL */

.p-detail-full-width #tab-content {
  background: #fff;
  box-shadow: 0px 8px 8px 8px rgba(0, 0, 0, 0.08);
}

.shp-tabs-holder ul.shp-tabs li.shp-tab.active a {
  box-shadow: 4px 0 4px -2px rgba(0, 0, 0, 0.09);
  background: #c22126;
  color: white;
}

.shp-tabs-row .shp-tabs-holder ul.shp-tabs li.shp-tab a:hover {
  padding: 16px 40px 24px;
  color: black;
}

#category-header input[type="radio"]:checked + label {
  background-color: #c22126;
  box-shadow: 4px 0 4px -2px rgba(0, 0, 0, 0.09);
  color: #fff;
}

/* FOOTER */

#footer {
  background-color: #30302f;
}

.footer-rows .custom-footer ul li {
  padding-bottom: 5px;
  color: white;
  font-weight: 400;
}

#footer a {
  padding-bottom: 5px;
  color: white;
  font-weight: 400;
}

.footer-bottom,
.footer-bottom-full-width {
  background-color: #30302f;
}

#footer .footer-bottom {
  color: #fff;
  font-weight: 400;
}

#footer .footer-bottom a {
  color: #fff;
  font-weight: 600;
}

/* MOBILE SIZE MEDIAQUERY MAX WIDHT 768PX */

@media (max-width: 768px) {
  .navigation-buttons a[data-target="navigation"],
  .navigation-buttons a[data-target="navigation"]:hover {
    background-color: var(--color-primary);
    color: #ffffff;
  }

  #header .header-top .header-top-wrapper .site-name a img,
  #header .header-top .header-top-wrapper h1.site-name a img {
    max-height: 130%;
  }

  /* BENEFIT BANER */

  .benefitBanner.position--benefitHomepage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 10px;
  }

  .benefitBanner .benefitBanner__title {
    display: inline-block;
    font-size: 16px;
    text-align: left;
  }

  .benefitBanner .benefitBanner__data {
    font-size: 13px;
    line-height: 18px;
    text-align: left;
  }

  .benefitBanner .benefitBanner__item {
    flex: 0 0 100%;
    width: 100%;
    align-items: flex-start;
  }

  .benefitBanner.position--benefitCategory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: self-start;
    gap: 10px;
  }
}
