/* =========================================================
   Zdravěnka – custom CSS (plain CSS, no <style> tags)
   Version: 3 | updated 2026-10-29
   Load in HTML code → Header:
   <link rel="stylesheet" href="/user/documents/zdravenka/custom.css?v=3">
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --template-font: 'Montserrat', Arial, sans-serif;
  --template-headings-font: 'Montserrat', Arial, sans-serif;
}

/* Základní písmo */
* {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

body {
  font-weight: 500;
}

/* Nadpisy */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.zdr-info .zdr-title,
.zdr-info .zdr-heading,
.zdr-info .zdr-row-title {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 600 !important;
}

/* ---------- Buttons & navigation ---------- */
.btn,
.zdr-info .zdr-button,
.navigation-in a {
  font-weight: 600;
}

/* ---------- Banners ---------- */
.body-banners .banner-wrapper .banner-caption .extended-banner-title,
.body-banners .banner-wrapper .banner-caption h2,
.body-banners .footer-banner .banner-caption .extended-banner-title,
.body-banners .footer-banner .banner-caption h2,
.footer-banners .banner-wrapper .banner-caption .extended-banner-title,
.footer-banners .banner-wrapper .banner-caption h2,
.footer-banners .footer-banner .banner-caption .extended-banner-title,
.footer-banners .footer-banner .banner-caption h2 {
  color: #fff;
}

@media (max-width: 1199px) {

  .next-to-carousel-banners .banner-wrapper,
  .body-banners .banner-wrapper img {
    min-height: 200px;
  }
}

/* ---------- Page: Ochrana osobních údajů ---------- */
.in-podminky-ochrany-osobnich-udaju main#content h4 {
  font-size: 16px !important;
  margin-bottom: 10px;
}

.in-podminky-ochrany-osobnich-udaju main#content h4:after {
  display: none;
}

/* ---------- Top products list (mobile) ---------- */
@media(max-width: 767px) {
  ol.top-products li {
    justify-content: center;
  }
}

/* ---------- Homepage: hide underline on selected headings ---------- */
.hp-categories .homepage-group-title::after {
  display: none !important;
}

/* ---------- Homepage: Nové články (image + title only) ---------- */
.homepage-blog-wrapper .news-item .description {
  display: none !important;
}

.homepage-blog-wrapper .news-item .read-article {
  display: none !important;
}

.homepage-blog-wrapper .news-item .title {
  margin-bottom: 14px !important;
}

.homepage-blog-wrapper .news-item .title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #2d7b55;
  margin-top: 10px;
}

.homepage-blog-wrapper .news-item .image {
  height: 198px !important;
  overflow: hidden !important;
}

.homepage-blog-wrapper .news-item .image img {
  height: 100% !important;
  object-fit: cover !important;
}

/* ---------- Homepage: Recepty block (same look as blog cards) ---------- */
.recipes-section {
  margin: 40px 0 56px;
}

.recipes-section>.container {
  padding: 0;
  width: auto;
  max-width: none;
}

.recipes-section .sectionDescription {
  margin: 0;
  padding: 0;
  text-align: center;
}

.recipes-section .sectionDescription a.homepage-group-title {
  display: block;
  color: inherit;
  text-decoration: none;
}

.recipes-section .listingControls,
.recipes-section .news-item .description {
  display: none !important;
}

.recipes-section .news-item .title {
  display: block;
  margin-bottom: 14px;
}

.recipes-section .news-item .title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #2d7b55;
  margin-top: 10px;
}

.recipes-section .news-item .image,
.recipes-section .news-item .image a {
  display: block;
  width: 100%;
}

.recipes-section .news-item .image {
  height: 198px;
  overflow: hidden;
}

.recipes-section .news-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-index .homepage-blog-wrapper {
  margin: 40px 0 56px;
}

/* ---------- Product cards: layout ---------- */
.products-block .product,
.product.slick-slide {
  padding: 8px !important;
  box-sizing: border-box !important;
  border: 0 !important;
}

.products-block .product .p,
.product.slick-slide .p {
  height: 100% !important;
}

.p {
  display: flex !important;
  flex-direction: column !important;
  container-type: inline-size;
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 18px !important;
  padding: 10px 10px 14px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04) !important;
  transition: box-shadow .2s ease;
  box-sizing: border-box !important;
}

.p:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08) !important;
}

.p a.image {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  max-height: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #efefef !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}

.p a.image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  transform-origin: 50% 50% !important;
  transition: transform .25s ease;
}

/* ---------- Product cards: flags ---------- */
.p .flags {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

.p .flags .flag {
  display: inline-block !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1c2b28 !important;
  background: #dff0e3 !important;
  border: 0 !important;
  margin: 0 !important;
}

.p .flags .flag-new {
  background: #fbd98a !important;
}

/* ---------- Product cards: quick-add "+" button ---------- */
.p .quick-add {
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 36px;
  height: 36px;
  background: #e07a39;
  border-radius: 8px;
  font-size: 0;
  box-shadow: 0 2px 8px rgba(224, 122, 57, .35);
  cursor: pointer;
  z-index: 3;
  user-select: none;
}

.p .quick-add::before,
.p .quick-add::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 3.5px;
  margin: -1.75px 0 0 -8px;
  background: #fff;
  border-radius: 2px;
}

.p .quick-add::after {
  transform: rotate(90deg);
}

.p .quick-add:hover {
  background: #c9682b;
}

/* ---------- Product cards: content, name, stock + price ---------- */
.p .p-in {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 2px !important;
}

.p .p-in-in {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

.p .p-bottom {
  margin-top: auto !important;
  width: 100% !important;
}

.p .p-bottom [data-micro=offer],
.p .prices {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.p .name {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.p .name span {
  font-weight: 500 !important;
  font-size: clamp(13px, 6.6cqi, 15px) !important;
  line-height: 1.35 !important;
  color: #1c2b28 !important;
}

.p .ratings-wrapper {
  margin: 0 !important;
}

.p .skladem-price-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  column-gap: 6px !important;
  margin: 0 !important;
  text-align: left !important;
}

.p .skladem-price-row .availability {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 3px 0 0 !important;
  font-size: clamp(12px, 6cqi, 14px) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.p .skladem-price-row .availability span {
  color: #2d6a2d !important;
}

.p .skladem-price-row .availability-amount {
  display: none !important;
}

.p .price-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  flex: 1 1 auto !important;
  margin-left: auto !important;
  text-align: right !important;
  min-width: 0 !important;
}

.p .price-stack .price-final {
  order: 1 !important;
  white-space: nowrap !important;
  font-size: clamp(16px, 8.5cqi, 19px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  color: #1c2b28 !important;
}

.p .price-stack .price-final strong {
  font-size: inherit !important;
}

.p .price-stack .price-additional {
  order: 2 !important;
  white-space: normal !important;
  text-wrap: balance;
  font-size: clamp(11px, 5cqi, 12px) !important;
  line-height: 1.3 !important;
  color: #8a8a8a !important;
  margin: 2px 0 0 !important;
}

.p .p-tools form.pr-action {
  display: none !important;
}

/* ---------- Product cards: "Top products" compact row variant ---------- */
.products-top .p {
  flex-direction: row !important;
  align-items: center !important;
}

.products-top .p a.image {
  aspect-ratio: 1/1 !important;
  height: 80px !important;
  width: 80px !important;
  flex: 0 0 80px !important;
  margin: 0 12px 0 0 !important;
}

.products-top .p .quick-add {
  display: none !important;
}

/* ---------- Footer ---------- */
@media(min-width: 768px) and (max-width: 1199px) {
  footer .custom-footer>div:not(.site-name) {
    width: 33.3% !important;
  }

  footer .custom-footer .site-name {
    width: 100% !important;
  }
}

footer .site-name {
  display: none !important;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 24px;
}

.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-columns li {
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
/* ---------- Footer: full-width divider from page content ---------- */
#footer {
  border-top: 1px solid #E8DFC8;
}
#footer .footer-rows {
  padding-top: 40px;
}
/* ---------- Homepage: middle banner "Doprava zdarma" ---------- */
/* offer on top, whole banner is the link */
.middle-banners-wrapper {
  margin-top: 40px !important;
  margin-bottom: -22px !important;
}

.middle-banners-wrapper .banner-wrapper > a {
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 88%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.middle-banners-wrapper .banner-wrapper > a::after {
  content: "Naplňte košík oblíbenými dobrotami.";
  grid-row: 1;
  font: 800 clamp(20px, 2.6vw, 32px)/1.15 'Montserrat', sans-serif;
  color: #2d7b55;
  transition: color .3s;
}

.middle-banners-wrapper .banner-wrapper > a::before {
  content: "Doprava zdarma od 1 500 Kč";
  grid-row: 2;
  margin: 2px 0 8px;
  font: 500 clamp(14px, 1.5vw, 18px)/1.4 'Montserrat', sans-serif;
  color: #894f2a;
}

.middle-banners-wrapper .banner-wrapper .extended-banner-texts {
  display: none !important;
}

.middle-banners-wrapper .banner-wrapper > a > img {
  grid-row: 3;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 2103 / 556;
  object-fit: cover !important;
  object-position: center bottom;
  transition: transform .4s ease;
}

.middle-banners-wrapper .banner-wrapper > a:hover > img {
  transform: scale(1.03);
}

.middle-banners-wrapper .banner-wrapper > a:hover::after {
  color: #e07a39;
}

@media (max-width: 767px) {
  .middle-banners-wrapper .banner-wrapper > a {
    max-width: 100%;
  }
}

/* ---------- Homepage: blog (left) + recipes (right) ---------- */
.homepage-blog-wrapper {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 16px 32px;
  align-items: start;
  margin: 48px 0 40px !important;
}

.homepage-blog-wrapper::before,
.homepage-blog-wrapper::after {
  display: none !important;
}

/* section headers */
.homepage-blog-wrapper .zd-blog-head,
.homepage-blog-wrapper .zd-rec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8dfc8;
}

.homepage-blog-wrapper .zd-blog-head {
  grid-column: 1;
  grid-row: 1;
}

.homepage-blog-wrapper .zd-rec-head {
  grid-column: 2;
  grid-row: 1;
}

.homepage-blog-wrapper .zd-blog-head .homepage-group-title,
.homepage-blog-wrapper .zd-rec-head .homepage-group-title {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.homepage-blog-wrapper .zd-blog-head .homepage-group-title::after,
.homepage-blog-wrapper .zd-rec-head .homepage-group-title::after {
  display: none !important;
}

.homepage-blog-wrapper .zd-blog-all {
  font: 700 14px 'Montserrat', sans-serif;
  color: #2d7b55;
  text-decoration: none;
  white-space: nowrap;
}

.homepage-blog-wrapper .zd-blog-all:hover {
  color: #e07a39;
}

/* shared item styles */
.homepage-blog-wrapper .news-item {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.homepage-blog-wrapper .news-item a {
  display: block;
  text-decoration: none !important;
}

.homepage-blog-wrapper .news-item .title::after {
  display: none !important;
}

.homepage-blog-wrapper .news-item img {
  transition: transform .4s;
}

.homepage-blog-wrapper .news-item a:hover img {
  transform: scale(1.04);
}

.homepage-blog-wrapper .news-item a:hover .title {
  color: #2d7b55 !important;
}

/* featured blog article */
.homepage-blog-wrapper .zd-blog-head + .news-item {
  grid-column: 1;
  grid-row: 2 / 6;
}

.homepage-blog-wrapper .zd-blog-head + .news-item .image {
  height: 300px !important;
  border-radius: 10px;
  overflow: hidden;
}

.homepage-blog-wrapper .zd-blog-head + .news-item .image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}

.homepage-blog-wrapper .zd-blog-head + .news-item .title {
  display: block;
  margin: 14px 0 6px !important;
  font: 800 22px/1.25 'Montserrat', sans-serif !important;
  color: #363636;
}

.homepage-blog-wrapper .zd-blog-head + .news-item .description {
  display: block !important;
  margin-bottom: 8px;
  font: 400 15px/1.5 'Montserrat', sans-serif;
  color: #555;
}

.homepage-blog-wrapper .zd-blog-head + .news-item .read-article {
  display: inline-block !important;
  font: 700 14px 'Montserrat', sans-serif;
  color: #2d7b55;
}

/* recipes */
.homepage-blog-wrapper .zd-rec {
  grid-column: 2;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f0eadb;
}

.homepage-blog-wrapper .zd-rec a {
  display: grid !important;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}

.homepage-blog-wrapper .zd-rec .image {
  width: 120px !important;
  height: 84px !important;
  margin: 0 !important;
  border-radius: 8px;
  overflow: hidden;
}

.homepage-blog-wrapper .zd-rec .image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.homepage-blog-wrapper .zd-rec .text {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.homepage-blog-wrapper .zd-rec .title {
  display: block !important;
  margin: 0 0 5px !important;
  font: 700 15px/1.3 'Montserrat', sans-serif !important;
  color: #363636;
}

.homepage-blog-wrapper .zd-rec .read-article {
  display: inline-block !important;
  font: 700 13px 'Montserrat', sans-serif !important;
  color: #2d7b55 !important;
}

@media (max-width: 767px) {
  .homepage-blog-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .homepage-blog-wrapper .zd-blog-head,
  .homepage-blog-wrapper .zd-rec-head,
  .homepage-blog-wrapper .zd-blog-head + .news-item,
  .homepage-blog-wrapper .zd-rec {
    grid-column: 1;
    grid-row: auto;
  }

  .homepage-blog-wrapper .zd-blog-head + .news-item .image {
    height: 200px !important;
  }

  .homepage-blog-wrapper .zd-rec-head {
    margin-top: 16px;
  }
}

/* ---------- Newsletter: homepage only, next to welcome text ---------- */
/* safety: hide on other pages if the script doesn't run */
body:not(.type-index) .custom-footer__newsletter {
  display: none !important;
}

.zd-welcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.zd-welcome-grid .welcome {
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

.zd-welcome-grid .welcome .h1 {
  text-align: left !important;
}

.zd-nl {
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 28px 24px !important;
  background: #f6f2e7 !important;
  border-radius: 12px;
  text-align: left !important;
}

.zd-nl .newsletter-header h3 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 22px !important;
  text-align: left !important;
}

.zd-nl .newsletter-header h3::before,
.zd-nl .newsletter-header h3::after {
  display: none !important;
}

.zd-nl .newsletter-header p {
  margin: 0 0 16px !important;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: normal !important;
  color: #555;
  text-align: left !important;
}

.zd-nl fieldset {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
}

.zd-nl .smart-label-wrapper {
  margin: 0 !important;
}

.zd-nl input[type=email] {
  width: 100%;
  height: 46px;
  background: #fff !important;
  border: 1px solid #d8d2c8 !important;
  border-radius: 6px !important;
}

.zd-nl button[type=submit] {
  height: 46px;
  padding: 0 24px !important;
  background: #e07a39 !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.zd-nl button[type=submit]:hover {
  background: #c87941 !important;
}

.zd-nl .consents {
  grid-column: 1 / -1;
  margin: 2px 0 0 !important;
}

.zd-nl .consents .label {
  margin: 0 !important;
  font-size: 12px !important;
  letter-spacing: normal !important;
  color: #777 !important;
  text-align: left !important;
}

@media (max-width: 991px) {
  .zd-welcome-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .zd-nl fieldset {
    grid-template-columns: 1fr;
  }

  .zd-nl button[type=submit] {
    width: 100%;
  }
}
/* ---------- Newsletter: homepage only, next to welcome text (green card) ---------- */
/* safety: hide on other pages if the script doesn't run */
body:not(.type-index) .custom-footer__newsletter {
  display: none !important;
}

.zd-welcome-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.zd-welcome-grid .welcome {
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

.zd-welcome-grid .welcome .h1 {
  text-align: left !important;
}

.zd-nl {
  position: relative;
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 32px 32px 26px !important;
  background: #2d7b55 !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(45, 123, 85, .18);
  overflow: hidden;
  text-align: left !important;
}

.zd-nl::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.zd-nl .newsletter-header h3 {
  position: relative;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  color: #fff !important;
  text-align: left !important;
}

.zd-nl .newsletter-header h3::before,
.zd-nl .newsletter-header h3::after {
  display: none !important;
}

.zd-nl .newsletter-header p {
  position: relative;
  margin: 0 0 18px !important;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: normal !important;
  color: #e3efe7 !important;
}

.zd-nl form,
.zd-nl fieldset {
  width: 100% !important;
  max-width: none !important;
}

.zd-nl fieldset {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.zd-nl .smart-label-wrapper label {
  display: none !important;
}

.zd-nl .smart-label-wrapper,
.zd-nl .form-control-wrapper,
.zd-nl input[type=email],
.zd-nl button[type=submit] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

.zd-nl .smart-label-wrapper {
  order: 1;
}

.zd-nl input[type=email] {
  height: 48px;
  padding: 0 14px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 14px;
}

.zd-nl button[type=submit] {
  order: 2;
  height: 48px;
  background: #e07a39 !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.zd-nl button[type=submit]:hover {
  background: #c87941 !important;
}

.zd-nl .consents {
  order: 3;
  position: static !important;
  margin: 2px 0 0 !important;
}

.zd-nl .consents .label {
  margin: 0 !important;
  font-size: 12px !important;
  letter-spacing: normal !important;
  color: #cfe3d6 !important;
}

.zd-nl .consents a {
  color: #fff !important;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .zd-welcome-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Welcome slogan: logo "ě" + heart "o" (spans added by script) ---------- */
.zd-g {
  display: inline-block;
  color: transparent;
  overflow: hidden;
  background: no-repeat center / contain;
  vertical-align: baseline;
  line-height: 1;
}

.zd-g-e {
  width: .49em;
  height: .8em;
  margin: 0 .02em 0 .01em;
  background-image: url(/user/documents/images/logo-e.png?v=2);
}

.zd-g-o {
  width: .66em;
  height: .57em;
  margin: 0 .03em;
  vertical-align: -.01em;
  background-image: url(/user/documents/images/radosti-o.png?v=2);
}

/* ---------- Homepage: uniform 60 px spacing between sections ---------- */
.in-index .hp-categories .homepage-group-title:empty {
  display: none !important;
}

.in-index .benefitBanner.position--benefitHomepage {
  padding-bottom: 6px !important;
}

.in-index .content-wrapper.middle-banners-wrapper {
  margin-bottom: -29px !important;
}

.in-index .homepage-blog-wrapper {
  margin-top: 61px !important;
  margin-bottom: 21px !important;
}

.in-index .content-wrapper.welcome-wrapper {
  padding-top: 60px !important;
}

/* ---------- Banners: sentence case titles, readable carousel text ---------- */
.extended-banner-title {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
}

#carousel .extended-banner-texts {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

/* ---------- Middle banner "Doprava zdarma" on mobile ---------- */
/* template moves the banner out of .middle-banners-wrapper; found by image file name */
.body-banners .banner-wrapper > a:has(> img[data-src*="banner-middle"]) {
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  text-decoration: none !important;
  padding: 0 8px;
}

.body-banners .banner-wrapper > a:has(> img[data-src*="banner-middle"])::after {
  content: "Naplňte košík oblíbenými dobrotami.";
  grid-row: 1;
  font: 800 22px/1.2 'Montserrat', sans-serif;
  color: #2d7b55;
}

.body-banners .banner-wrapper > a:has(> img[data-src*="banner-middle"])::before {
  content: "Doprava zdarma od 1 500 Kč";
  grid-row: 2;
  margin: 4px 0 10px;
  font: 500 15px/1.4 'Montserrat', sans-serif;
  color: #894f2a;
}

.body-banners .banner-wrapper > a:has(> img[data-src*="banner-middle"]) .extended-banner-texts {
  display: none !important;
}

.body-banners .banner-wrapper > a:has(> img[data-src*="banner-middle"]) > img {
  grid-row: 3;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2103 / 556;
  object-fit: cover !important;
  object-position: center bottom;
}

/* ---------- Product cards: grid spacing + top border fix ---------- */
/* Adamin draws a white strip over the card's top edge – hide it */
.p .p-in::before {
  display: none !important;
}

/* category grid: same 20 px gaps as homepage carousels */
body .products-block.products-page .product {
  padding: 10px !important;
  margin: 0 !important;
}

/* ---------- Product carousels: round side arrows (homepage, Podobné, Související) ---------- */
.products-block.slick-slider .slick-arrow {
  top: 124px !important;
  transform: translateY(-50%);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid #D8D2C8 !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D7B55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
  z-index: 5;
  transition: background-color .2s, opacity .2s;
  font-size: 0 !important;
}

.products-block.slick-slider .slick-prev {
  left: -22px !important;
  right: auto !important;
}

.products-block.slick-slider .slick-next {
  right: -22px !important;
  left: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D7B55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") !important;
}

.products-block.slick-slider .slick-arrow:hover {
  background-color: #2D7B55 !important;
  border-color: #2D7B55 !important;
}

.products-block.slick-slider .slick-prev:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") !important;
}

.products-block.slick-slider .slick-next:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") !important;
}

.products-block.slick-slider .slick-arrow.slick-disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* product detail cards are slightly smaller */
.type-detail .products-block.slick-slider .slick-arrow {
  top: 113px !important;
}

@media (max-width: 767px) {
  .products-block.slick-slider .slick-arrow {
    display: none !important;
  }
}

/* ---------- Category page: sticky sidebar (name + description + filters) ---------- */
/* Adamin's overflow:hidden breaks position:sticky */
.overall-wrapper {
  overflow: clip !important;
}

@media (min-width: 992px) {
  .sidebar-left .zd-sticky-side {
    position: sticky;
    top: 226px;
    z-index: 2;
    background: #fff;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-top: 10px !important;
  }
}

h1.category-title {
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: #363636 !important;
  margin: 0 0 12px !important;
  letter-spacing: normal !important;
}

.sidebar-left .zd-sticky-side .category-perex {
  margin: 0 0 16px !important;
}

.sidebar-left .category-perex {
  border-bottom-color: #E8DFC8 !important;
}

/* ---------- Back-to-top button: always visible ---------- */
.back-to-top {
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #D8D2C8 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.back-to-top img {
  opacity: .7;
}

.back-to-top:hover {
  background: #2D7B55;
  border-color: #2D7B55 !important;
}

.back-to-top:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

@media (max-width: 767px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px !important;
    height: 40px !important;
  }
}