/* Farma Markovych - vlastni vzhled Shoptetu */

/* Informacni prouzek */
.site-msg.information {
  padding: 12px 16px !important;
}

.site-msg.information .text {
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
}

/* Cas odeslani u dostupnosti produktu */
.fm-shipping-time {
  display: block !important;
  margin-top: 3px;
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.35;
  font-weight: 400 !important;
  white-space: normal;
}

/* Kategorie v levem panelu */
@media (min-width: 992px) {
  .sidebar.sidebar-left,
  .sidebar-left .sidebar-inner {
    background: #fff !important;
  }

  .sidebar-left .box-categories {
    width: calc(100% + 40px) !important;
    max-width: none !important;
    margin-right: -20px !important;
    margin-bottom: 20px !important;
    margin-left: -20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #f3f3f3 !important;
    background-image: none !important;
    border: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .sidebar-left .box-categories .pageElement__heading {
    margin: 0 !important;
    padding: 15px 16px !important;
    color: #fff !important;
    background: #236933 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .sidebar-left #categories > .categories {
    left: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .sidebar-left #categories a {
    position: relative;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease, background-color 0.15s ease;
  }

  .sidebar-left #categories > .categories > .topic > a {
    padding: 12px 38px 12px 15px !important;
    color: #333 !important;
    background: #e3e3e3 !important;
    border: 0 !important;
    border-bottom: 1px solid #d0d0d0 !important;
    border-left: 3px solid transparent !important;
    font-size: 15.4px !important;
    font-weight: 650;
  }

  html body .sidebar.sidebar-left #categories > .categories.active > .topic > a,
  html body .sidebar.sidebar-left #categories > .categories > .topic.child-active > a {
    color: #236933 !important;
    background: #dadada !important;
    border-left: 3px solid #236933 !important;
    font-weight: 700 !important;
  }

  .sidebar-left #categories > .categories + .categories {
    border-top: 5px solid #f3f3f3 !important;
  }

  .sidebar-left #categories ul {
    margin: 0 !important;
    padding: 5px 0 !important;
    background: #f3f3f3 !important;
    border: 0 !important;
    border-left: 0 !important;
  }

  .sidebar-left #categories li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .sidebar-left #categories > .categories > ul > li > a {
    padding: 9px 28px 9px 22px !important;
    color: #454545 !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 4px solid transparent !important;
    font-size: 14.3px !important;
    font-weight: 400;
  }

  .sidebar-left #categories ul ul {
    padding: 2px 0 4px !important;
    background: #ededed !important;
  }

  .sidebar-left #categories ul ul > li > a {
    padding: 8px 26px 8px 38px !important;
    color: #666 !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 4px solid transparent !important;
    font-size: 13.2px !important;
  }

  html body .sidebar.sidebar-left .box-categories #categories ul > li[class~="active"] > a {
    color: #236933 !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 4px solid #236933 !important;
    box-shadow: inset 0 1px 0 #dedede, inset 0 -1px 0 #dedede !important;
    font-weight: 700 !important;
  }

  html body .sidebar.sidebar-left #categories > .categories > ul > li[class~="active"] > a {
    padding: 10px 28px 10px 18px !important;
  }

  html body .sidebar.sidebar-left #categories ul ul > li[class~="active"] > a {
    padding-left: 34px !important;
  }

  .sidebar-left #categories a:hover {
    color: #236933 !important;
    background: #fff !important;
    transform: none !important;
  }

  .sidebar-left #categories .cat-trigger {
    top: 50% !important;
    right: 13px !important;
    left: auto !important;
    width: 12px !important;
    height: 12px !important;
    color: #236933 !important;
    opacity: 0.7;
    transform: translateY(-50%) !important;
  }

  .sidebar-left #categories .cat-trigger::before {
    color: #236933 !important;
  }
}

/* Uvodni blok hlavni stranky */
body.in-index #content-wrapper .banners-row,
body.in-index .welcome-wrapper {
  background: #f5f4f0 !important;
}

/* Vnejsi pas zustava bily; bezova zacina presne s bannerem. */
html body.in-index .content-wrapper.homepage-box.before-carousel {
  background: #fff !important;
}

html body.in-index .homepage-box.before-carousel .container {
  background: #f5f4f0 !important;
}

body.in-index .content-wrapper.homepage-box.before-carousel {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

body.in-index .homepage-box.before-carousel .content-wrapper-in {
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  html body.in-index .content-wrapper.homepage-box.before-carousel {
    position: relative;
    z-index: 1;
    margin-top: -8px !important;
  }

  html body.in-index #navigation {
    position: relative;
    z-index: 2;
  }

  html body.in-index #carousel,
  html body.in-index #carousel .carousel-inner,
  html body.in-index #carousel .item,
  html body.in-index #carousel .item.active,
  html body.in-index #carousel img {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

body.in-index .welcome-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.in-index .welcome-wrapper .welcome {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.farm-intro-container {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 42px;
}

.farm-intro-eyebrow {
  margin: 0 0 10px;
  color: #28743b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.farm-h1-title {
  max-width: 1050px;
  margin: 0 0 16px;
  color: #252525;
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  text-transform: none;
}

.farm-intro-text {
  max-width: 1050px;
  margin: 0 0 8px;
  color: #4c4c4c;
  font-size: 17px;
  line-height: 1.58;
}

.farm-intro-text:last-child {
  margin-bottom: 0;
}

/* Paticka */
#footer {
  margin-top: 48px;
  color: #363b36;
  background: #fff !important;
  border-top: 1px solid #d5ddd6;
}

#footer .footer-rows,
#footer .footer-bottom {
  background: #fff !important;
}

#footer .footer-rows {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 44px 20px 38px !important;
}

#footer .footer-rows::before,
#footer .footer-rows::after {
  display: none !important;
  content: none !important;
}

#footer .footer-rows > .site-name {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  text-align: left;
}

#footer .footer-rows > .site-name img {
  display: block;
  width: 180px !important;
  max-width: 100%;
  height: auto !important;
}

#footer .custom-footer {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#footer .custom-footer > div {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

#footer .custom-footer__facebook,
#footer #facebookWidget {
  display: none !important;
}

#footer .pageElement__heading {
  margin: 0 0 18px !important;
  color: #276b39;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#footer .custom-footer ul {
  margin: 0;
  padding: 0;
}

#footer .custom-footer li {
  margin-bottom: 9px;
  line-height: 1.45;
}

#footer a {
  color: #3f4941;
}

#footer a:hover {
  color: #276b39;
}

#footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 22px !important;
  border-top: 1px solid #d5dbd4;
  font-size: 13px;
}

#footer #signature {
  opacity: 0.62;
}

#footer .footer-bottom .copyright {
  order: 1;
}

#footer .fm-kodo-credit {
  order: 2;
  margin-left: auto;
  color: #59635b;
  font-size: 12px;
  text-decoration: none;
}

#footer .fm-kodo-credit:hover {
  color: #276b39;
  text-decoration: underline;
}

#footer #signature {
  order: 3;
}

@media (max-width: 767px) {
  body.in-index #content-wrapper .banners-row {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .farm-intro-container {
    padding: 24px 20px 32px;
  }

  .farm-h1-title {
    font-size: 26px;
  }

  .farm-intro-text {
    font-size: 16px;
    line-height: 1.55;
  }

  #footer {
    margin-top: 32px;
  }

  #footer .footer-rows {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 20px !important;
  }

  #footer .footer-rows > .site-name {
    text-align: center;
  }

  #footer .footer-rows > .site-name img {
    width: 155px !important;
    margin: 0 auto;
  }

  #footer .custom-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #footer .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  #footer .footer-bottom .copyright,
  #footer .fm-kodo-credit,
  #footer #signature {
    order: initial;
    margin-left: 0;
  }
}
