/* ==========================================================================
   TPMove / Puori – Custom CSS (external file)
   ========================================================================== */

/* ==========================================================================
   FOOTER + LAYOUT
   ========================================================================== */
#footer {
  background-color: #dce3df !important;
}

.content-inner {
  max-width: none;
}

/* ==========================================================================
   TOP NAV – DESKTOP (>=1200px) – email v hornom bare
   ========================================================================== */
@media screen and (min-width: 1200px) {
  .top-navigation-bar .project-email {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-left: 24px;
    color: var(--color-primary);
  }

  a.project-email::before {
    content: "\e910";
    font-size: 16px;
  }
}

/* ==========================================================================
   TOP NAV – MOBILE (360–767px) – kontakt info (email/phone)
   ========================================================================== */
@media screen and (min-width: 360px) and (max-width: 767px) {
  .top-navigation-contacts {
    display: block !important;
  }

  .top-navigation-contacts .project-phone {
    display: none !important;
  }

  .top-navigation-contacts .project-email {
    display: block !important;
    position: absolute;
    right: 164px;
    top: 15px;
    color: #a3a3af;
  }

  a.project-email::before {
    content: "\e910";
  }

  .top-navigation-contacts .project-email span {
    display: none;
  }
}

/* ==========================================================================
   HEADER + MENU – TABLET/DESKTOP (>=768px)
   ========================================================================== */
@media screen and (min-width: 768px) {
  /* farba pozadia “baru” pod headerom */
  #header::after {
    background-color: #dce3df;
  }

  .navigation-in {
    background-color: transparent;
  }

  /* farba textu v menu */
  .navigation-in > ul > li > a,
  .submenu-arrow::after {
    color: #19788a;
  }

  /* farba hamburgeru */
  .menu-helper::after {
    color: #fff;
  }
}

/* ==========================================================================
   KATEGÓRIE – vypnutie prvkov v hlavičke kategórie
   ========================================================================== */
/* .category-top, */
#category-header,
.products-top-wrapper {
  display: none;
}

/* ==========================================================================
   FLAGS + TABS
   ========================================================================== */
.flag.flag-new {
  background-color: #e5ab21;
}

h3.popis-nadpis,
.shp-tabs-holder {
  display: none;
}

/* ==========================================================================
   FOOTER – ikony + certifikácie
   ========================================================================== */
.footer-icon {
  max-width: 75px;
}

.custom-footer div ul#footer-certificates li::before {
  position: static;
  width: 0;
  height: 0;
}

ul#footer-certificates {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

/* ==========================================================================
   FAQ – accordion správanie
   ========================================================================== */
.faq-item label::before {
  display: none !important;
}

.faq-item label + div {
  display: none;
}

.faq-item input:checked + label + div {
  display: block;
  padding: 0 20px;
}

.faq-item {
  border: 1px solid #dadada;
  margin-bottom: 12px;
}

.faq-item label {
  margin: 0 !important;
  cursor: pointer;
  padding: 16px 52px 16px 20px !important;
  width: 100%;
  color: #222 !important;
  background-color: #fff;
  font-size: 20px;
  position: relative !important;
  display: inline-block;
}

.faq-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq-item label::after {
  content: "\e911" !important;
  font-family: shoptet !important;
  right: 20px;
  position: absolute !important;
  line-height: 1 !important;
  font-size: 14px !important;
  top: 50% !important;
  margin-top: -8px;
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
  background: none !important;
  color: #222 !important;
  left: auto !important;
}

.faq-item input:checked + label::after {
  -webkit-transform: rotate(0deg) !important;
  transform: rotate(0deg) !important;
}

.faq-item:not(.not-last) {
  margin-bottom: 12px;
}

.faq-item input {
  display: none;
}

/* ==========================================================================
   GAELTA EDITS – mobile layout úpravy (<=768px)
   ========================================================================== */
@media only screen and (max-width: 768px) {
  .gaelta-child {
    width: 100% !important;
  }

  .gaelta-parent {
    display: flex;
    flex-direction: column;
  }

  .gaelta-parent-1 {
    display: flex;
    margin: 0px !important;
    flex-direction: column;
    background-position: 0% 0% !important;
    background-size: contain !important;
  }

  .gaelta-i h3 {
    padding-top: 90px;
  }

  .gaelta-parent-2 {
    display: flex;
    flex-direction: column;
    background-position: 0% 0% !important;
    background-size: contain !important;
  }

  .gaelta-parent-3 {
    display: flex;
    flex-direction: column;
  }

  .gaelta-parent-4 {
    display: flex;
    flex-direction: column-reverse;
  }

  .gaelta-parent-4 .img-1 {
    object-fit: contain;
    height: 250px;
  }
}

.gaelta-lu li {
  color: #000;
  padding-bottom: 15px;
}

/* ==========================================================================
   SITE MESSAGE – informačný banner štýl
   ========================================================================== */
.site-msg.information {
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   BF element styling
   ========================================================================== */
a#bf {
  text-decoration: none;
  padding: 5px;
}

a#bf:hover {
  padding: 7px;
  letter-spacing: 3px;
}

.bfc {
  padding: 10px 5px;
  border: 2px solid #00938d;
  position: relative;
  top: 15px;
  background-color: #dce3df;
  color: #f00006;
  font-weight: 600;
}

/* ==========================================================================
   BLOG/NEWS – obrázky v zozname
   ========================================================================== */
.news-item .image img {
  width: 100%;
  height: 211px;
  object-fit: cover;
}

/* ==========================================================================
   UPSELL / GIFT wrapper – shadow
   ========================================================================== */
.up-product-gift-wrapper {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

/* ==========================================================================
   FAQ + Instagram – layout
   ========================================================================== */
.faq-instagram-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.faq-wrapper {
  flex: 1;
}

.instagram-wrapper {
  flex: 1;
  max-width: 540px;
}

/* ==========================================================================
   Mobile (<=768px) – FAQ/Instagram stĺpce + benefit banner typografia
   ========================================================================== */
@media (max-width: 768px) {
  .faq-instagram-wrapper {
    flex-direction: column;
  }

  .benefitBanner__title {
    font-size: 20px !important;
    line-height: 26px;
  }

  .benefitBanner__data {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   Homepage blog – underline hover
   ========================================================================== */
.homepage-blog-wrapper .news-item a .title,
.homepage-blog-wrapper .read-article {
  text-decoration: none !important;
}

.homepage-blog-wrapper .news-item a:hover .title,
.homepage-blog-wrapper .read-article {
  text-decoration: underline !important;
}

/* ==========================================================================
   Mobile (<=767px) – skryť posledný blog post + certifikácie footer + H1 kategórie
   ========================================================================== */
@media (max-width: 767px) {
  .homepage-blog-wrapper .news-item:last-child {
    display: none !important;
  }

  .custom-footer > div.custom-footer__banner1 ul,
  .custom-footer > div.custom-footer__banner1 .news-item-widget {
    display: block !important;
  }

  ul#footer-certificates {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
  }

  .footer-icons img {
    transform: scale(0.7);
    transform-origin: center;
  }

  h1.category-title {
    font-size: 28px !important;
  }
}

/* ==========================================================================
   Footer icons – grayscale hover
   ========================================================================== */
.footer-icons img {
  filter: grayscale(100%) brightness(0.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-icons img:hover,
.footer-icons img:focus {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ==========================================================================
   Slick slider – arrows + spacing
   ========================================================================== */
.slick-next,
.slick-prev {
  background-color: #dadada !important;
}

.slick-dotted.slick-slider {
  margin-bottom: 50px !important;
}

/* ==========================================================================
   Homepage welcome wrapper – spacing
   ========================================================================== */
.homepage-box.welcome-wrapper.welcimg-wrapper {
  margin-top: 18px !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  margin-bottom: 18px !important;
}

/* ==========================================================================
   MOBILE MENU (<=560px) – hlavné menu + oddelené info menu (top-navigation-bar-menu)
   ========================================================================== */
@media (max-width: 560px) {

  /* --- Hlavné menu: väčší odsadený text zľava + väčšia klikateľnosť --- */
  .navigation-in.menu .menu-level-1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .navigation-in.menu .menu-level-1 > li > a {
    padding-left: 34px; /* posun textu od ľavého okraja */
    padding-right: 14px;
    padding-top: 12px;
    padding-bottom: 12px;

    font-size: calc(1em + 2px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navigation-in.menu .menu-level-1 > li > a b {
    font-weight: 800;
    flex: 1 1 auto;
  }

  .navigation-in.menu .menu-level-1 > li > a:active {
    transform: scale(0.99);
  }

  .navigation-in.menu .menu-level-1 > li > a::after {
    content: "›";
    font-size: 20px;
    line-height: 1;
    opacity: 0.55;
    transform: translateY(-1px);
    flex: 0 0 auto;
  }

  /* --- Zvýraznenie: Produkty (primary) --- */
  .navigation-in.menu .menu-level-1 > li.menu-item-705 > a {
    background: #006460;
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 100, 96, 0.18);
  }

  .navigation-in.menu .menu-level-1 > li.menu-item-705 > a::after {
    opacity: 0.9;
  }

  /* --- Informačná sekcia: top-navigation-bar-menu (Kontakt, Doprava, atď.) --- */
  .navigation-in.menu .top-navigation-bar-menu {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);

    background: #f3f4f6; /* sivé oddelenie */
    border-radius: 12px;
    padding: 12px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    list-style: none;
  }

  .navigation-in.menu .top-navigation-bar-menu > li {
    margin: 0;
  }

  .navigation-in.menu .top-navigation-bar-menu > li > a {
    display: block;
    padding: 12px 14px;

    font-size: calc(1em + 2px);
    font-weight: 700;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    text-decoration: none;
  }

  .navigation-in.menu .top-navigation-bar-menu > li > a::after {
    content: "›";
    float: right;
    opacity: 0.55;
  }
}