/* Farma Markovych - vlastni vzhled Shoptetu */

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

/* Popis bez produktově specifických bodů využije celou šířku. */
@media (min-width: 768px) {
  body.type-detail .row.product-top > .fm-product-story.fm-product-story--solo {
    grid-template-columns: 1fr !important;
  }

  body.type-detail .fm-product-story.fm-product-story--solo h3,
  body.type-detail .fm-product-story.fm-product-story--solo .p-short-description {
    grid-column: 1 !important;
  }
}

/* =========================================================
   Detail produktu — sjednocený vzhled (2026-10-04)
   ========================================================= */
@media (min-width:768px){body.type-detail .p-detail-inner-header{margin:0 0 18px!important;padding:0!important;border:0!important}body.type-detail .p-detail-inner-header h1{margin:0!important;color:#242724!important;font-size:36px!important;line-height:1.15!important;font-weight:750!important;letter-spacing:-.02em!important}body.type-detail .row.product-top{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr)!important;gap:18px!important;align-items:start!important;margin:0!important;padding:18px!important;background:#faf9f5!important;border:1px solid #e3ded3!important;border-radius:16px!important;box-shadow:0 5px 18px rgba(35,105,51,.055)!important}body.type-detail .row.product-top>.col-xs-12{float:none!important;width:auto!important;min-width:0!important;padding:0!important}body.type-detail .row.product-top>.col-xs-12:first-child{position:absolute!important;z-index:8!important;top:32px!important;left:32px!important;width:auto!important}body.type-detail .p-detail-info{min-height:0!important;margin:0!important;padding:0!important}body.type-detail .flags.flags-inline{display:flex!important;gap:8px!important;margin:0!important}body.type-detail .flags .flag{position:static!important;display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:6px 11px!important;color:#765019!important;background:#f6ead4!important;border:1px solid #e6c98f!important;border-radius:999px!important;font-size:12px!important;font-weight:700!important;line-height:1.1!important}body.type-detail .p-image-wrapper{grid-column:1!important;grid-row:1!important;align-self:start!important}body.type-detail .p-image{padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #e3ded3!important;border-radius:13px!important}body.type-detail .p-main-image{display:block!important;overflow:hidden!important;border-radius:12px 12px 0 0!important}body.type-detail .p-main-image img{display:block!important;width:100%!important;height:auto!important;border-radius:12px 12px 0 0!important}body.type-detail .p-thumbnails-wrapper{margin:0!important;padding:12px!important;background:#fff!important;border-top:1px solid #eee9df!important}body.type-detail .p-thumbnail{overflow:hidden!important;margin-right:9px!important;border:1px solid #e3ded3!important;border-radius:8px!important}body.type-detail .p-thumbnail.highlighted{border:2px solid #236933!important}body.type-detail .p-info-wrapper{grid-column:2!important;grid-row:1!important;align-self:start!important;padding:18px!important;background:#fff!important;border:1px solid #e3ded3!important;border-radius:13px!important;box-shadow:0 3px 12px rgba(35,105,51,.04)!important}body.type-detail .p-final-price-wrapper{margin:0 0 12px!important;padding:0 0 13px!important;border-bottom:1px solid #eee9df!important}body.type-detail .price-final{color:#242724!important;font-size:32px!important;line-height:1!important}body.type-detail .price-additional,body.type-detail .price-measure{color:#6a6e69!important}body.type-detail .availability-value{display:block!important;margin:0 0 12px!important;padding:11px 13px!important;background:#edf4ee!important;border:1px solid #dce7dd!important;border-radius:10px!important}body.type-detail .availability-label{display:block!important;color:#236933!important;font-size:17px!important;font-weight:700!important}body.type-detail .fm-shipping-time{display:block!important;margin-top:3px!important;color:#536056!important;font-size:13px!important}body.type-detail .detail-parameters{margin:0!important}body.type-detail .add-to-cart{display:flex!important;align-items:stretch!important;gap:10px!important;margin:0 0 11px!important;padding:10px!important;background:#f5f2eb!important;border:1px solid #e8e1d5!important;border-radius:10px!important}body.type-detail .quantity{min-width:82px!important;background:#fff!important;border-radius:7px!important}body.type-detail .add-to-cart-button{min-height:48px!important;flex:1!important;background:#236933!important;border-color:#236933!important;border-radius:7px!important;font-weight:700!important}body.type-detail #dkLabFavouriteDiv{margin:0 0 12px!important;padding:0 0 11px!important;border-bottom:1px solid #eee9df!important}body.type-detail #dkLabFavDetailSpan{color:#236933!important}body.type-detail .p-short-description{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;max-height:90px!important;overflow:hidden!important;margin:0!important;padding:0!important;color:#454a45!important;font-size:14.5px!important;line-height:1.48!important;border:0!important}body.type-detail .p-short-description+a{display:inline-block!important;margin-top:12px!important;color:#236933!important;font-weight:650!important}body.type-detail .social-buttons-wrapper{margin-top:12px!important;padding-top:11px!important;border-top:1px solid #eee9df!important}body.type-detail .link-icons{display:flex!important;justify-content:flex-start!important;gap:20px!important;color:#696e69!important}}@media (max-width:767px){body.type-detail .p-detail-inner-header h1{font-size:28px!important;line-height:1.15!important}body.type-detail .row.product-top{margin:0!important;padding:14px!important;background:#faf9f5!important;border:1px solid #e3ded3!important;border-radius:14px!important}body.type-detail .p-image,body.type-detail .p-info-wrapper{overflow:hidden!important;background:#fff!important;border:1px solid #e3ded3!important;border-radius:12px!important}body.type-detail .p-info-wrapper{margin-top:14px!important;padding:18px!important}body.type-detail .availability-value{padding:12px!important;background:#edf4ee!important;border-radius:9px!important}body.type-detail .add-to-cart{padding:10px!important;background:#f5f2eb!important;border-radius:9px!important}}
@media (min-width:768px){
body.type-detail .p-detail-inner-header{padding-left:19px!important}
body.type-detail .row.product-top{grid-template-columns:minmax(0,1fr) minmax(390px,1fr)!important}
html body.type-detail .p-detail .row.product-top>.p-info-wrapper{box-sizing:border-box!important;padding:22px!important}
html body.type-detail .p-detail .p-info-wrapper .p-final-price-wrapper,html body.type-detail .p-detail .p-info-wrapper .availability-value,html body.type-detail .p-detail .p-info-wrapper .add-to-cart,html body.type-detail .p-detail .p-info-wrapper .p-short-description{width:auto!important;margin-left:0!important;margin-right:0!important}
body.type-detail .p-image-wrapper .p-image{overflow:visible!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
body.type-detail .p-image-wrapper .p-main-image{overflow:hidden!important;border:1px solid #e3ded3!important;border-radius:12px!important}
body.type-detail .p-image-wrapper .p-main-image img{border-radius:11px!important}
body.type-detail .p-thumbnails-wrapper{height:auto!important;margin:0!important;padding:14px 0 0!important;background:transparent!important;border:0!important}
body.type-detail .p-thumbnails-inner{display:flex!important;gap:10px!important;padding:0!important;background:transparent!important}
body.type-detail .p-thumbnail,body.type-detail .p-thumbnail.highlighted{box-sizing:border-box!important;overflow:hidden!important;margin:0!important;background:transparent!important;border:1px solid #d9d4ca!important;border-radius:8px!important;box-shadow:none!important}
body.type-detail .p-thumbnail.highlighted{border-color:#236933!important;box-shadow:0 0 0 1px #236933!important}
body.type-detail .p-thumbnail img{display:block!important;border-radius:7px!important}
body.type-detail .p-final-price-wrapper{padding-bottom:18px!important;margin-bottom:16px!important}
body.type-detail .price-final{display:block!important;margin:0 0 7px!important;font-size:32px!important;line-height:1.05!important}
body.type-detail .price-additional{display:block!important;margin:0 0 11px!important;line-height:1.4!important}
body.type-detail .price-measure{display:block!important;margin-top:10px!important;line-height:1.4!important}
body.type-detail .availability-value{margin-bottom:16px!important;padding:14px 16px!important}
body.type-detail .add-to-cart{margin-bottom:16px!important;padding:12px!important}
body.type-detail #dkLabFavouriteDiv{margin:0 0 16px!important;padding:0 0 16px!important}
body.type-detail .p-short-description{display:block!important;max-height:104px!important;margin:0!important;padding:0!important;overflow:hidden!important;font-size:14.5px!important;line-height:1.58!important}
body.type-detail .p-short-description+a{margin-top:15px!important}
body.type-detail .social-buttons-wrapper{margin-top:15px!important;padding-top:14px!important}
}

@media (min-width:768px){body.type-detail .p-image-wrapper .p-main-image{outline:0!important;border-color:#ddd8ce!important;box-shadow:none!important}body.type-detail .p-thumbnail,body.type-detail .p-thumbnail.highlighted{outline:0!important;border:1px solid #d9d4ca!important;box-shadow:none!important}body.type-detail .p-thumbnail.highlighted{border-color:#cbd8cc!important}body.type-detail .p-short-description{display:block!important;max-height:none!important;overflow:visible!important;padding:0 0 16px!important;border-bottom:1px solid #eee9df!important;line-height:1.62!important}body.type-detail .p-short-description+a{display:inline-block!important;margin-top:14px!important}}

@media (min-width:768px){
body.type-detail .p-detail-inner-header{padding-left:0!important}
body.type-detail .p-thumbnails-inner{align-items:flex-start!important;gap:10px!important}
html body.type-detail .p-image-wrapper a.p-thumbnail,html body.type-detail .p-image-wrapper a.p-thumbnail.highlighted{position:relative!important;display:block!important;flex:0 0 108px!important;width:108px!important;height:81px!important;min-width:108px!important;max-width:108px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #d9d4ca!important;border-radius:8px!important;box-shadow:none!important;outline:0!important}
html body.type-detail .p-image-wrapper a.p-thumbnail::before,html body.type-detail .p-image-wrapper a.p-thumbnail::after{display:none!important;content:none!important}
html body.type-detail .p-image-wrapper a.p-thumbnail img{display:block!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover!important;border:0!important;border-radius:7px!important;outline:0!important}
html body.type-detail .p-info-wrapper .quantity{display:grid!important;grid-template-columns:54px 28px!important;grid-template-rows:24px 24px!important;flex:0 0 82px!important;width:82px!important;min-width:82px!important;height:50px!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #b9b9b9!important;border-radius:7px!important}
html body.type-detail .p-info-wrapper .quantity .amount{grid-column:1!important;grid-row:1/3!important;width:54px!important;min-width:0!important;height:48px!important;margin:0!important;padding:0 4px!important;box-sizing:border-box!important;text-align:center!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.type-detail .p-info-wrapper .quantity .increase,html body.type-detail .p-info-wrapper .quantity .decrease{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:24px!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background:#fff!important;border:0!important;border-left:1px solid #b9b9b9!important;border-radius:0!important}
html body.type-detail .p-info-wrapper .quantity .increase{grid-column:2!important;grid-row:1!important;border-bottom:1px solid #b9b9b9!important}
html body.type-detail .p-info-wrapper .quantity .decrease{grid-column:2!important;grid-row:2!important}
html body.type-detail .p-info-wrapper .p-short-description+a{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:48px!important;margin:0!important;padding:13px 0!important;box-sizing:border-box!important;border-top:0!important;border-bottom:1px solid #eee9df!important}
html body.type-detail .p-info-wrapper .p-short-description+a::after{margin-left:auto!important}
body.type-detail .social-buttons-wrapper{margin-top:0!important;padding-top:14px!important;border-top:0!important}
body.type-detail .link-icons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:0!important}
body.type-detail .link-icons>a{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;margin:0!important;text-align:center!important}
}

@media (min-width:768px){html body.type-detail .p-info-wrapper .quantity .increase>*,html body.type-detail .p-info-wrapper .quantity .decrease>*{display:none!important}html body.type-detail .p-info-wrapper .quantity .increase::before,html body.type-detail .p-info-wrapper .quantity .decrease::before{position:static!important;display:block!important;margin:0!important;color:#3f443f!important;font-family:Arial,sans-serif!important;font-size:15px!important;font-weight:600!important;line-height:1!important;transform:none!important}html body.type-detail .p-info-wrapper .quantity .increase::before{content:"+"!important}html body.type-detail .p-info-wrapper .quantity .decrease::before{content:"−"!important}html body.type-detail .p-info-wrapper .p-short-description+a::after{position:static!important;right:auto!important;left:auto!important;float:none!important;margin:0 0 0 auto!important;transform:none!important}}

@media (min-width:768px){html body.type-detail .p-info-wrapper a[href$="#description"]{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:48px!important;margin:0!important;padding:13px 0!important;box-sizing:border-box!important;border-top:0!important;border-bottom:1px solid #eee9df!important}html body.type-detail .p-info-wrapper a[href$="#description"]::after{position:static!important;right:auto!important;left:auto!important;float:none!important;margin:0 0 0 auto!important;transform:none!important}}

@media (min-width:992px){body.type-detail .p-detail-inner-header{margin-top:16px!important}}

@media (min-width:992px){body.type-detail .p-detail-inner-header{margin-top:21px!important}}

@media (min-width:768px){html body.type-detail .p-info-wrapper .quantity .increase,html body.type-detail .p-info-wrapper .quantity .decrease{position:relative!important;display:block!important;text-align:center!important}html body.type-detail .p-info-wrapper .quantity .increase::before,html body.type-detail .p-info-wrapper .quantity .decrease::before{position:absolute!important;inset:0!important;display:grid!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;place-items:center!important;text-align:center!important;font-family:Arial,sans-serif!important;font-size:15px!important;font-weight:600!important;line-height:1!important;transform:none!important}}

@media (min-width:768px){html body.type-detail .p-info-wrapper .quantity .decrease::before{content:"–"!important;color:#3f443f!important;font-size:15px!important;font-weight:700!important;opacity:1!important}}

@media (min-width:768px){html body.type-detail .p-info-wrapper .quantity{position:relative!important;display:block!important}html body.type-detail .p-info-wrapper .quantity .increase{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}html body.type-detail .p-info-wrapper .quantity .decrease{position:absolute!important;top:auto!important;right:0!important;bottom:0!important;left:auto!important}html body.type-detail .p-info-wrapper .quantity .amount{position:absolute!important;top:0!important;left:0!important;bottom:auto!important}}

@media (min-width:768px){body.type-detail .fm-product-story{margin-top:20px;padding:20px 22px;background:#fff;border:1px solid #e3ded3;border-radius:12px;box-shadow:0 3px 12px rgba(35,105,51,.035)}body.type-detail .fm-product-story h3{margin:0 0 12px;color:#242724;font-size:20px;line-height:1.2;font-weight:700}body.type-detail .fm-product-story .p-short-description{display:block!important;max-height:none!important;margin:0!important;padding:0 0 16px!important;overflow:visible!important;color:#454a45!important;font-size:14.5px!important;line-height:1.6!important;border-bottom:1px solid #eee9df!important}body.type-detail .fm-product-points{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0 0;padding:0;list-style:none}body.type-detail .fm-product-points li{position:relative;margin:0;padding:0 0 0 25px;color:#354238;font-size:14px;line-height:1.45}body.type-detail .fm-product-points li::before{position:absolute;top:1px;left:0;display:grid;width:18px;height:18px;content:"✓";place-items:center;color:#236933;background:#edf4ee;border-radius:50%;font-size:11px;font-weight:700}body.type-detail .p-info-wrapper{align-self:start!important}}

@media (min-width:768px){body.type-detail .row.product-top>.fm-product-story{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr)!important;grid-template-rows:auto 1fr!important;column-gap:32px!important;row-gap:0!important;width:auto!important;margin:0!important;padding:22px 24px!important;box-sizing:border-box!important}body.type-detail .fm-product-story h3{grid-column:1!important;grid-row:1!important;margin:0 0 12px!important}body.type-detail .fm-product-story .p-short-description{grid-column:1!important;grid-row:2!important;padding:0!important;border:0!important}body.type-detail .fm-product-story .fm-product-points{grid-column:2!important;grid-row:1/3!important;align-self:center!important;margin:0!important;padding:0 0 0 24px!important;border-left:1px solid #eee9df!important}}

/* Zoom aktivní pouze nad hlavní fotografií */
body.type-detail .p-image #wrap { position: relative !important; }
body.type-detail .p-image #wrap > .mousetrap {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}

/* Vzdušnější rozestup mezi náhledy produktu */
body.type-detail .p-thumbnails-wrapper .p-thumbnail ~ .p-thumbnail {
  margin-left: 12px !important;
}

/* Pravý okraj detailu přesně do linie hlavního menu */
body.type-detail main.content.narrow > .p-detail {
  width: calc(100% + 20px) !important;
  max-width: none !important;
}

/* Popis produktu jako samostatný klidný blok */
body.type-detail .p-detail-tabs-wrapper {
  margin: 28px 0 34px !important;
  background: #fff !important;
  border: 1px solid #e4dccd !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 18px rgba(55,45,28,.035) !important;
  overflow: hidden !important;
}
body.type-detail .p-detail-tabs-wrapper > .row {
  width: 100% !important;
  margin: 0 !important;
}
body.type-detail .p-detail-tabs-wrapper .col-sm-12 {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.type-detail .p-detail-tabs-wrapper .p-detail-tabs-row {
  margin: 0 !important;
  padding: 0 !important;
  background: #f7f4ed !important;
  border-bottom: 1px solid #e4dccd !important;
}
body.type-detail #p-detail-tabs {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body.type-detail #p-detail-tabs > li,
body.type-detail #p-detail-tabs > li > a {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.type-detail #p-detail-tabs > li > a {
  display: block !important;
  padding: 17px 24px !important;
  color: #236933 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
}
body.type-detail .p-detail-tabs-wrapper .tab-content {
  width: 100% !important;
  padding: 25px 28px 30px !important;
}
/* Související produkty jako samostatný blok */
body.type-detail .fm-related-preview {
  margin: 0 0 34px !important;
  padding: 22px 12px 26px !important;
  background: #fbfaf7 !important;
  border: 1px solid #e4dccd !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 18px rgba(55,45,28,.035) !important;
}
body.type-detail .fm-related-preview .products-related-header {
  margin: 0 0 20px !important;
}
body.type-detail .fm-related-preview .products-related {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Jemné oddělení popisu a doplňkových parametrů */
@media (min-width: 768px) {
  body.type-detail .p-detail-tabs-wrapper .extended-description {
    position: relative !important;
    align-self: stretch !important;
  }
  body.type-detail .p-detail-tabs-wrapper .extended-description::before {
    content: "" !important;
    position: absolute !important;
    top: 18px !important;
    bottom: 18px !important;
    left: -25px !important;
    width: 1px !important;
    background: #e4dccd !important;
  }
}

/* Zaoblené fotografie souvisejících produktů */
body.type-detail .fm-related-preview .product .image,
body.type-detail .fm-related-preview .product .image a,
body.type-detail .fm-related-preview .product .image img {
  border-radius: 12px !important;
}
body.type-detail .fm-related-preview .product .image {
  overflow: hidden !important;
}

/* Sjednocená tlačítka v souvisejících produktech */
body.type-detail .fm-related-preview .p-bottom > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
body.type-detail .fm-related-preview .p-tools,
body.type-detail .fm-related-preview .p-tools form {
  width: 172px !important;
  max-width: 172px !important;
}
body.type-detail .fm-related-preview .p-tools .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 172px !important;
  min-width: 172px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

/* Kompaktnější rytmus souvisejících produktů */
body.type-detail .fm-related-preview {
  padding-top: 18px !important;
  padding-bottom: 12px !important;
}
body.type-detail .fm-related-preview .products-related-header {
  margin-bottom: 14px !important;
}
body.type-detail .fm-related-preview .product .name {
  margin-bottom: 6px !important;
}
body.type-detail .fm-related-preview .p-bottom > div {
  gap: 8px !important;
}
body.type-detail .fm-related-preview .prices {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
}
body.type-detail .fm-related-preview .price-additional {
  margin-bottom: 5px !important;
}
body.type-detail .fm-related-preview .price-final {
  margin-bottom: 3px !important;
  line-height: 1.3 !important;
}
body.type-detail .fm-related-preview .price-measure {
  margin-top: 4px !important;
}

/* Jednodušší cenová část souvisejících produktů */
body.type-detail .fm-related-preview .price-additional {
  display: none !important;
}
body.type-detail .fm-related-preview .product .name {
  margin-bottom: 4px !important;
}
body.type-detail .fm-related-preview .p-bottom > div {
  gap: 6px !important;
}
body.type-detail .fm-related-preview .price-final {
  margin-bottom: 2px !important;
}
body.type-detail .fm-related-preview .price-measure {
  margin-top: 2px !important;
}

/* Tenká a čistá plovoucí nákupní lišta */
body.type-detail .fixed-cart-line {
  padding: 8px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: rgba(255,255,255,.985) !important;
  border-bottom: 1px solid #e4dccd !important;
  box-shadow: 0 7px 20px rgba(44,38,27,.075) !important;
}
body.type-detail .fixed-cart-line > .container {
  min-height: 54px !important;
  height: 54px !important;
  align-items: center !important;
  justify-content: space-between !important;
}
body.type-detail .fixed-cart-line .fcl-left {
  flex: 0 1 auto !important;
  height: 54px !important;
  margin-right: 24px !important;
  align-items: center !important;
}
body.type-detail .fixed-cart-line .fcl-image {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 48px !important;
  margin-right: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e4dccd !important;
  border-radius: 8px !important;
  background: #fff !important;
}
body.type-detail .fixed-cart-line .fcl-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 7px !important;
}
body.type-detail .fixed-cart-line .fcl-desc {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 22px !important;
  width: auto !important;
  height: auto !important;
}
body.type-detail .fixed-cart-line .fcl-title {
  width: auto !important;
  margin: 0 !important;
  color: #252525 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
body.type-detail .fixed-cart-line .fcl-price,
body.type-detail .fixed-cart-line .p-final-price-wrapper {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.type-detail .fixed-cart-line .price-final {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  color: #252525 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
body.type-detail .fixed-cart-line .price-additional,
body.type-detail .fixed-cart-line .price-measure {
  display: none !important;
}
body.type-detail .fixed-cart-line .fcl-form {
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
}
body.type-detail .fixed-cart-line .add-to-cart {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 5px !important;
  border: 1px solid #e4dccd !important;
  border-radius: 10px !important;
  background: #f7f4ed !important;
}
body.type-detail .fixed-cart-line .add-to-cart-button {
  width: auto !important;
  min-width: 168px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
}

/* Průsvitná světle béžová plovoucí lišta */
body.type-detail .fixed-cart-line {
  background: rgba(248, 244, 233, .94) !important;
  -webkit-backdrop-filter: blur(10px) saturate(115%) !important;
  backdrop-filter: blur(10px) saturate(115%) !important;
  border-bottom-color: rgba(213, 201, 180, .9) !important;
  box-shadow: 0 7px 20px rgba(55, 45, 28, .09) !important;
}

/* Mobilní doladění detailu produktu */
@media (max-width: 767px) {
  body.type-detail main.content.narrow > .p-detail {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.type-detail .p-detail-tabs-wrapper {
    margin-top: 20px !important;
    margin-bottom: 26px !important;
    border-radius: 12px !important;
  }
  body.type-detail #p-detail-tabs > li > a {
    padding: 14px 16px !important;
    font-size: 17px !important;
  }
  body.type-detail .p-detail-tabs-wrapper .tab-content {
    padding: 18px 16px 24px !important;
  }
  body.type-detail .p-detail-tabs-wrapper .description-inner {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.type-detail .p-detail-tabs-wrapper .basic-description,
  body.type-detail .p-detail-tabs-wrapper .extended-description {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.type-detail .p-detail-tabs-wrapper .extended-description {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e4dccd !important;
  }
  body.type-detail .fm-related-preview {
    margin-bottom: 26px !important;
    border-radius: 12px !important;
  }
  body.type-detail .fixed-cart-line {
    padding: 6px 0 !important;
  }
  body.type-detail .fixed-cart-line > .container {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }
  body.type-detail .fixed-cart-line .fcl-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin-right: 0 !important;
  }
  body.type-detail .fixed-cart-line .fcl-image {
    display: none !important;
  }
  body.type-detail .fixed-cart-line .fcl-desc {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  body.type-detail .fixed-cart-line .fcl-title {
    display: block !important;
    width: 100% !important;
    max-width: 170px !important;
    overflow: hidden !important;
    color: #252525 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body.type-detail .fixed-cart-line .price-final {
    font-size: 18px !important;
  }
  body.type-detail .fixed-cart-line .fcl-form {
    margin-left: 0 !important;
  }
  body.type-detail .fixed-cart-line .add-to-cart {
    padding: 3px !important;
    border-radius: 8px !important;
  }
  body.type-detail .fixed-cart-line .add-to-cart-button {
    min-width: 154px !important;
    width: 154px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}

/* Mobilní odstup a karta O produktu */
@media (max-width: 767px) {
  body.type-detail .row.product-top > .fm-product-story {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 18px 0 0 !important;
    padding: 18px 16px !important;
    background: #fff !important;
    border: 1px solid #e3ded3 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(35,105,51,.03) !important;
    box-sizing: border-box !important;
  }
  body.type-detail .fm-product-story h3 {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 12px !important;
    color: #242724 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }
  body.type-detail .fm-product-story .p-short-description {
    display: block !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    overflow: visible !important;
    border-bottom: 1px solid #eee9df !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.type-detail .fm-product-story .fm-product-points {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
  }
  body.type-detail .fm-product-story .fm-product-points li {
    margin: 0 !important;
    padding-left: 24px !important;
  }
}


/* Detail clanku */
body.type-post main#content.content.narrow .news-item-detail {
  box-sizing: border-box;
  overflow: hidden;
  width: auto !important;
  max-width: none !important;
  margin-top: 20px !important;
  margin-right: 0 !important;
  padding: 36px 42px 38px;
  border: 1px solid #e3ded3;
  border-radius: 0;
  background: #fbfaf7;
  box-shadow: none;
}

body.type-post main#content.content.narrow .news-item-detail > h1 {
  max-width: 900px;
  margin: 0 0 12px;
  color: #252525;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.16;
  text-transform: none;
}

body.type-post main#content.content.narrow .news-item-detail > time {
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #416448;
  background: #eef3ec;
  font-size: 13px;
  font-weight: 600;
}

body.type-post main#content.content.narrow .news-item-detail .text > p,
body.type-post main#content.content.narrow .news-item-detail .text > h2,
body.type-post main#content.content.narrow .news-item-detail .text > h3,
body.type-post main#content.content.narrow .news-item-detail .text > ul,
body.type-post main#content.content.narrow .news-item-detail .text > ol,
body.type-post main#content.content.narrow .news-item-detail .text > blockquote {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
}

body.type-post main#content.content.narrow .news-item-detail .text > p {
  margin-top: 0;
  margin-bottom: 18px;
  color: #474b47;
  font-size: 17px;
  line-height: 1.72;
}

body.type-post main#content.content.narrow .news-item-detail .text > p:first-child {
  max-width: none;
  margin: 0 0 32px;
}

body.type-post main#content.content.narrow .news-item-detail .text > p:first-child img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(45, 61, 49, 0.05);
}

body.type-post main#content.content.narrow .news-item-detail .text h2 {
  position: relative;
  margin-top: 34px;
  margin-bottom: 14px;
  padding-top: 15px;
  color: #252525;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

body.type-post main#content.content.narrow .news-item-detail .text h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: #347b43;
  content: "";
}

body.type-post main#content.content.narrow .news-item-detail .text a {
  color: #276b39;
  font-weight: 600;
  text-decoration-color: rgba(39, 107, 57, 0.4);
  text-underline-offset: 3px;
}

body.type-post main#content.content.narrow .news-item-detail .text a:hover {
  color: #1d552c;
  text-decoration-color: currentColor;
}

body.type-post main#content.content.narrow .news-item-detail .next-prev {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: 790px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e3ded3;
}

body.type-post main#content.content.narrow .news-item-detail .next-prev .btn {
  padding: 11px 17px;
  border: 1px solid #2f713e;
  border-radius: 9px;
  color: #276b39;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

body.type-post main#content.content.narrow .news-item-detail .next-prev .btn:hover {
  color: #fff;
  background: #276b39;
}

/* Prehled clanku */
body.type-posts-listing main#content.content.narrow {
  max-width: none !important;
}

body.type-posts-listing main#content.content.narrow .sectionDescription {
  margin: 20px 0 28px;
}

body.type-posts-listing main#content.content.narrow .sectionDescription h1 {
  position: relative;
  margin: 0;
  padding-bottom: 15px;
  color: #252525;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  text-transform: none;
}

body.type-posts-listing main#content.content.narrow .sectionDescription h1::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #347b43;
  content: "";
}

body.type-posts-listing #newsWrapper.news-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 24px;
  margin: 0 !important;
}

body.type-posts-listing #newsWrapper .news-item {
  display: flex;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  overflow: visible;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 0 28px !important;
  border: 0;
  border-bottom: 1px solid #e3ded3;
  background: transparent;
  box-shadow: none;
}

body.type-posts-listing #newsWrapper .news-item:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 28px !important;
  border-top: 1px solid #e3ded3;
  border-bottom: 1px solid #e3ded3;
  background: #fbfaf7;
}

body.type-posts-listing #newsWrapper .news-item:first-child .image {
  grid-column: 2;
  grid-row: 1;
}

body.type-posts-listing #newsWrapper .news-item:first-child .text {
  grid-column: 1;
  grid-row: 1;
  padding: 4px 0;
}

body.type-posts-listing #newsWrapper .news-item .image {
  width: 100% !important;
  margin: 0 !important;
}

body.type-posts-listing #newsWrapper .news-item .image a {
  display: block;
  overflow: hidden;
  border-radius: 13px;
}

body.type-posts-listing #newsWrapper .news-item .image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease;
}

body.type-posts-listing #newsWrapper .news-item .image a:hover img {
  transform: scale(1.015);
}

body.type-posts-listing #newsWrapper .news-item .text {
  box-sizing: border-box;
  width: 100% !important;
  padding: 17px 8px 0;
}

body.type-posts-listing #newsWrapper .news-item .title {
  display: block;
  margin: 0 0 10px;
  color: #252525;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.23;
  text-decoration: none;
}

body.type-posts-listing #newsWrapper .news-item:first-child .title {
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: 1.17;
}

body.type-posts-listing #newsWrapper .news-item .title:hover {
  color: #276b39;
}

body.type-posts-listing #newsWrapper .news-item time {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 13px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #416448;
  background: #eef3ec;
  font-size: 12px;
  font-weight: 600;
}

body.type-posts-listing #newsWrapper .news-item .description,
body.type-posts-listing #newsWrapper .news-item .description p {
  margin: 0;
  color: #4d514d;
  font-size: 15px;
  line-height: 1.62;
}

body.type-posts-listing #newsWrapper .news-item:not(:first-child) .description p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.type-posts-listing .pagination-wrapper {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #e3ded3;
}

/* Stranka Kontakty */
body.in-kontakty main#content.content.narrow {
  max-width: none !important;
}

body.in-kontakty .pageArticleDetail > header h1 {
  position: relative;
  margin: 20px 0 28px;
  padding-bottom: 15px;
  color: #252525;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  text-transform: none;
}

body.in-kontakty .pageArticleDetail > header h1::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #347b43;
  content: "";
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div {
  max-width: none !important;
  margin-top: 0 !important;
  color: #414741;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > strong {
  display: block !important;
  margin: 42px 0 22px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #d9ded8 !important;
  color: #276b39 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: left !important;
  text-transform: uppercase;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > strong:first-child {
  margin-top: 0 !important;
}

/* Hlavni e-mail */
body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) {
  display: block !important;
  margin: 0 0 38px !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) > div {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 28px 32px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: #276b39 !important;
  box-shadow: none !important;
  text-align: left !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) > div > span:first-child {
  display: none !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) strong {
  margin: 0 0 7px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) a {
  display: inline-block;
  color: #fff !important;
  text-decoration: none !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) a span {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) a:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* Lide na farme */
body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px !important;
  margin: 0 0 40px !important;
  text-align: left !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) > div {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  padding: 24px !important;
  border: 1px solid #e3ded3;
  border-radius: 12px !important;
  background: #fbfaf7;
  box-shadow: none !important;
  text-align: center !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) img {
  width: 148px !important;
  height: 148px !important;
  margin: 0 auto 16px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) strong {
  margin: 0 0 6px !important;
  color: #252525 !important;
  font-size: 18px !important;
  line-height: 1.3;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) span {
  margin: 0 0 12px !important;
  color: #4b514b !important;
  font-size: 15px;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 9px 14px;
  border: 1px solid #347b43;
  border-radius: 8px;
  color: #276b39 !important;
  background: #fff;
  font-size: 13px;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) a:hover {
  color: #fff !important;
  background: #276b39;
}

/* Firemni udaje a mapa */
body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) {
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 26px !important;
  align-items: stretch;
  margin-top: 0 !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) > div {
  min-width: 0 !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) > div:first-child > div {
  margin-bottom: 14px !important;
  padding: 20px !important;
  border: 1px solid #e3ded3 !important;
  border-left: 4px solid #347b43 !important;
  border-radius: 9px !important;
  color: #414741 !important;
  background: #fbfaf7 !important;
  line-height: 1.65 !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) strong {
  color: #276b39 !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) > div:last-child > strong {
  margin: 0 0 12px !important;
  font-size: 18px !important;
}

body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) > div:last-child > div {
  height: calc(100% - 34px) !important;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #e3ded3 !important;
  border-radius: 12px !important;
}

body.in-kontakty .pageArticleDetail iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
}

@media (max-width: 767px) {
  body.type-post main#content.content.narrow .news-item-detail {
    margin: 0 -8px;
    padding: 24px 18px 26px;
    border-radius: 0;
  }

  body.type-post main#content.content.narrow .news-item-detail > h1 {
    font-size: 29px;
  }

  body.type-post main#content.content.narrow .news-item-detail > time {
    margin-bottom: 20px;
  }

  body.type-post main#content.content.narrow .news-item-detail .text > p {
    font-size: 16px;
    line-height: 1.65;
  }

  body.type-post main#content.content.narrow .news-item-detail .text > p:first-child {
    margin-bottom: 24px;
  }

  body.type-post main#content.content.narrow .news-item-detail .text h2 {
    margin-top: 28px;
    font-size: 23px;
  }

  body.type-post main#content.content.narrow .news-item-detail .next-prev {
    flex-direction: column;
  }

  body.type-post main#content.content.narrow .news-item-detail .next-prev .btn {
    width: 100%;
    text-align: center;
  }

  body.type-posts-listing main#content.content.narrow .sectionDescription {
    margin: 14px 0 22px;
  }

  body.type-posts-listing #newsWrapper.news-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.type-posts-listing #newsWrapper .news-item:first-child {
    display: flex;
    padding: 18px !important;
  }

  body.type-posts-listing #newsWrapper .news-item:first-child .image,
  body.type-posts-listing #newsWrapper .news-item:first-child .text {
    grid-column: auto;
    grid-row: auto;
  }

  body.type-posts-listing #newsWrapper .news-item:first-child .image {
    order: 1;
  }

  body.type-posts-listing #newsWrapper .news-item:first-child .text {
    order: 2;
    padding-top: 16px;
  }

  body.type-posts-listing #newsWrapper .news-item .text {
    padding: 14px 4px 0;
  }

  body.type-posts-listing #newsWrapper .news-item .title,
  body.type-posts-listing #newsWrapper .news-item:first-child .title {
    font-size: 23px;
  }

  body.in-kontakty .pageArticleDetail > header h1 {
    margin-top: 14px;
  }

  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) > div {
    padding: 24px 20px !important;
  }

  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(1) a span {
    font-size: 22px !important;
    overflow-wrap: anywhere;
  }

  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2),
  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) {
    grid-template-columns: 1fr;
  }

  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(2) > div {
    padding: 20px !important;
  }

  body.in-kontakty .pageArticleDetail [itemprop="about"] > div > div:nth-of-type(3) > div:last-child > div,
  body.in-kontakty .pageArticleDetail iframe {
    min-height: 340px;
  }
}

.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;
}

/* Mrizka podkategorii a produktu */
body.type-category main#content.content.narrow {
  max-width: none !important;
}

body.type-category .category-top {
  margin-bottom: 34px;
}

body.type-category .category-title {
  position: relative;
  margin: 20px 0 28px;
  padding-bottom: 15px;
  color: #252525;
  font-family: inherit;
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-transform: none;
}

body.type-category .category-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #236933;
  content: "";
}

body.type-category ul.subcategories.with-image {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category ul.subcategories.with-image::before,
body.type-category ul.subcategories.with-image::after {
  display: none !important;
  content: none !important;
}

body.type-category ul.subcategories.with-image > li {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category ul.subcategories.with-image > li > a {
  display: flex !important;
  height: 100%;
  min-height: 0 !important;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e3ded3 !important;
  border-radius: 11px;
  color: #252525 !important;
  background: #fbfaf7;
  box-shadow: none !important;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

body.type-category ul.subcategories.with-image > li > a:hover {
  border-color: #236933 !important;
  transform: translateY(-2px);
}

body.type-category ul.subcategories.with-image .image {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 7 / 5;
  margin: 0 !important;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #f5f4f0;
}

body.type-category ul.subcategories.with-image .image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain;
}

body.type-category ul.subcategories.with-image .text {
  display: flex !important;
  min-height: 66px !important;
  padding: 12px 14px !important;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  color: #252525 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.28 !important;
  text-align: center;
  white-space: normal !important;
}

/* Produktovy vypis v kategorii */
body.type-category #products.products-block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  margin: 28px 0 0 !important;
}

body.type-category #products.products-block::before,
body.type-category #products.products-block::after {
  display: none !important;
  content: none !important;
}

body.type-category #products.products-block > .product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category #products.products-block > .product > .p {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  flex-direction: column;
  border: 0 !important;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(35, 105, 51, 0.05);
}

/* Jemný vnitřní rámeček drží kartu pohromadě, ale nepřečnívá do mezer. */
body.type-category #products.products-block > .product > .p::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(35, 105, 51, 0.12);
  border-radius: 12px;
}

body.type-category #products.products-block > .product,
body.type-category #products.products-block > .product > .p,
body.type-category #products.products-block .p > a.image,
body.type-category #products.products-block .p > a.image img {
  border: 0 !important;
  outline: 0 !important;
}

body.type-category #products.products-block .p > a.image {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f4f0;
}

body.type-category #products.products-block .p > a.image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
}

body.type-category #products.products-block .p-in {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 17px 18px !important;
}

body.type-category #products.products-block .p-in-in {
  min-height: 50px;
}

body.type-category #products.products-block .name {
  color: #236933 !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
}

body.type-category #products.products-block .p-bottom {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.type-category #products.products-block .p-tools .btn-primary {
  border-color: #236933 !important;
  background: #236933 !important;
}

body.type-category #products.products-block .p-tools .btn-primary:hover {
  border-color: #1d552c !important;
  background: #1d552c !important;
}

body.type-category #products.products-block .p-desc {
  display: -webkit-box !important;
  height: auto !important;
  max-height: 63px !important;
  overflow: hidden !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  color: #4c4c4c;
  font-size: 14px;
  line-height: 21px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 1199px) {
  body.type-category ul.subcategories.with-image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.type-category .category-title {
    margin-top: 14px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  body.type-category ul.subcategories.with-image,
  body.type-category #products.products-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  body.type-category ul.subcategories.with-image .image {
    height: auto !important;
    min-height: 0 !important;
  }

  body.type-category ul.subcategories.with-image .text {
    min-height: 62px !important;
    padding: 10px 8px !important;
    font-size: 14px !important;
  }

  body.type-category #products.products-block .p-in {
    padding: 12px 11px 14px !important;
  }

  body.type-category #products.products-block .name {
    font-size: 15px !important;
  }

  body.type-category #products.products-block .p-desc {
    display: none;
  }
}

/* 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: #faf9f5 !important;
    background-image: none !important;
    border: 1px solid #e3ded3 !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: #2d312f !important;
    background: #f0ede6 !important;
    border: 0 !important;
    border-bottom: 1px solid #e3ded3 !important;
    border-left: 3px solid transparent !important;
    font-size: 15.4px !important;
    font-weight: 600;
  }

  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: #edf4ee !important;
    border-left: 3px solid #236933 !important;
    font-weight: 700 !important;
  }

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

  .sidebar-left #categories ul {
    margin: 0 !important;
    padding: 5px 0 !important;
    background: #faf9f5 !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: #3f443f !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: #f5f2eb !important;
  }

  .sidebar-left #categories ul ul > li > a {
    padding: 8px 26px 8px 38px !important;
    color: #5a5f5a !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: #edf4ee !important;
    border: 0 !important;
    border-left: 4px solid #236933 !important;
    box-shadow: inset 0 1px 0 #dce7dd, inset 0 -1px 0 #dce7dd !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: #f0f5f0 !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;
  }
}

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

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

/* Odstup mezi uvodnim blokem a pruhem s vyhodami. */
body.in-index .benefitBanner.position--benefitHomepage {
  gap: 18px;
  margin-top: 44px !important;
}

body.in-index .benefitBanner.position--benefitHomepage .benefitBanner__item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e4e0d6;
  border-radius: 12px;
  background: #fdfcf9;
  box-shadow: 0 3px 14px rgba(52, 67, 55, 0.05);
}

body.in-index .benefitBanner.position--benefitHomepage .benefitBanner__link {
  width: 100%;
}

/* Samostatne bloky produktu na hlavni strance. */
body.in-index .homepage-products-heading-2,
body.in-index .homepage-products-heading-4,
body.in-index .homepage-products-heading-7 {
  box-sizing: border-box;
  position: relative;
  margin: 58px -12px 0 !important;
  padding: 24px 50px 21px !important;
  border: 1px solid #e3ded3;
  border-bottom: 1px solid #e3ded3;
  border-radius: 16px 16px 0 0;
  background: #f5f1e8;
  color: #236933;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.in-index .homepage-products-heading-2::after,
body.in-index .homepage-products-heading-4::after,
body.in-index .homepage-products-heading-7::after {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: #347b43;
  content: "";
  transform: translateX(-50%);
}

body.in-index #products-2,
body.in-index #products-4,
body.in-index #products-7 {
  box-sizing: border-box;
  margin: 0 -12px 38px !important;
  padding: 24px 0 28px !important;
  border: 1px solid #e3ded3;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fbfaf7;
}

body.in-index #products-2 .product .p,
body.in-index #products-4 .product .p,
body.in-index #products-7 .product .p {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e5e1d8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(45, 61, 49, 0.07);
}

body.in-index #products-2 .product .p-in,
body.in-index #products-4 .product .p-in,
body.in-index #products-7 .product .p-in {
  box-sizing: border-box;
  padding: 2px 18px 18px;
}

body.in-index #products-2 .product .price-additional,
body.in-index #products-4 .product .price-additional,
body.in-index #products-7 .product .price-additional {
  display: none !important;
}

body.in-index #products-2 .product .p-in-in,
body.in-index #products-4 .product .p-in-in,
body.in-index #products-7 .product .p-in-in {
  height: auto !important;
  min-height: 34px !important;
}

body.in-index #products-2 .product .name,
body.in-index #products-4 .product .name,
body.in-index #products-7 .product .name {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 6px !important;
}

body.in-index #products-2 .product .prices,
body.in-index #products-4 .product .prices,
body.in-index #products-7 .product .prices {
  height: auto !important;
  min-height: 0 !important;
}

body.in-index #products-2 .product .price-measure,
body.in-index #products-4 .product .price-measure,
body.in-index #products-7 .product .price-measure {
  margin-top: 4px !important;
}

body.in-index #products-2 .product .p-desc,
body.in-index #products-4 .product .p-desc,
body.in-index #products-7 .product .p-desc {
  margin-top: 12px !important;
}

body.in-index #products-2 .product .image,
body.in-index #products-4 .product .image,
body.in-index #products-7 .product .image {
  margin-bottom: 12px;
}

body.in-index #products-2 .slick-prev,
body.in-index #products-4 .slick-prev,
body.in-index #products-7 .slick-prev {
  left: 12px !important;
}

body.in-index #products-2 .slick-next,
body.in-index #products-4 .slick-next,
body.in-index #products-7 .slick-next {
  right: 12px !important;
}

.products-block .p-tools .fm-variant-button {
  min-width: 132px;
  padding-right: 12px;
  padding-left: 12px;
  white-space: nowrap;
}

/* Clanky na hlavni strance. */
body.in-index .homepage-blog-wrapper {
  box-sizing: border-box;
  align-items: stretch;
  margin: 58px -12px 42px !important;
  padding: 0 8px 28px !important;
  overflow: hidden;
  border: 1px solid #e3ded3;
  border-radius: 16px;
  background: #fbfaf7;
}

body.in-index .homepage-blog-wrapper .homepage-group-title {
  position: relative;
  flex: 0 0 calc(100% + 16px);
  margin: 0 -8px 24px !important;
  padding: 24px 50px 21px !important;
  border-bottom: 1px solid #e3ded3;
  background: #f5f1e8;
  color: #236933;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.in-index .homepage-blog-wrapper .homepage-group-title::after {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: #347b43;
  content: "";
  transform: translateX(-50%);
}

body.in-index .homepage-blog-wrapper .news-item {
  display: flex;
  align-items: stretch;
  padding: 0 10px !important;
}

body.in-index .homepage-blog-wrapper .news-item > a {
  display: flex;
  flex: 1;
  width: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e5e1d8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(45, 61, 49, 0.07);
  text-decoration: none;
}

body.in-index .homepage-blog-wrapper .news-item .image {
  width: 100%;
  margin: 0 !important;
}

body.in-index .homepage-blog-wrapper .news-item .text {
  box-sizing: border-box;
  width: 100%;
  padding: 16px 18px 20px;
}

.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 {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.42;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

#footer #signature a {
  font-size: 10px;
}

#footer #signature img,
#footer #signature svg {
  width: auto !important;
  max-width: 18px !important;
  height: auto !important;
  max-height: 18px !important;
}

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

#footer .fm-kodo-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  order: 2;
  margin-left: auto;
  color: #59635b;
  font-size: 12px;
  text-decoration: none;
}

#footer .fm-kodo-credit__logo {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  object-fit: contain;
}

#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;
  }

  body.in-index .homepage-products-heading-2,
  body.in-index .homepage-products-heading-4,
  body.in-index .homepage-products-heading-7 {
    margin: 38px 0 0 !important;
    padding: 18px 42px 18px !important;
    border-radius: 12px 12px 0 0;
    font-size: 18px;
    letter-spacing: 0.055em;
  }

  body.in-index .homepage-products-heading-2::after,
  body.in-index .homepage-products-heading-4::after,
  body.in-index .homepage-products-heading-7::after {
    bottom: 7px;
    width: 34px;
  }

  body.in-index #products-2,
  body.in-index #products-4,
  body.in-index #products-7 {
    margin: 0 0 28px !important;
    padding: 16px 0 18px !important;
    border-radius: 0 0 12px 12px;
  }

  body.in-index #products-2 .product .p,
  body.in-index #products-4 .product .p,
  body.in-index #products-7 .product .p {
    border-radius: 10px;
  }

  body.in-index #products-2 .product .p-in,
  body.in-index #products-4 .product .p-in,
  body.in-index #products-7 .product .p-in {
    padding: 2px 12px 14px;
  }

  body.in-index .homepage-blog-wrapper {
    margin: 38px 0 32px !important;
    padding: 0 6px 16px !important;
    border-radius: 12px;
  }

  body.in-index .homepage-blog-wrapper .homepage-group-title {
    flex-basis: calc(100% + 12px);
    margin: 0 -6px 16px !important;
    padding: 18px 42px 18px !important;
    font-size: 18px;
    letter-spacing: 0.055em;
  }

  body.in-index .homepage-blog-wrapper .homepage-group-title::after {
    bottom: 7px;
    width: 34px;
  }

  body.in-index .homepage-blog-wrapper .news-item {
    padding: 0 6px 12px !important;
  }

  body.in-index .homepage-blog-wrapper .news-item > a {
    border-radius: 10px;
  }

  body.in-index .homepage-blog-wrapper .news-item .text {
    padding: 12px 14px 16px;
  }

  .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;
  }

  #footer .fm-kodo-credit {
    justify-content: center;
  }
}

/* Detail produktu má jedinou záložku, rozbalovací tlačítko proto není potřeba. */
body.type-detail .p-detail-tabs-wrapper .navigation-btn {
  display: none !important;
}

/* Horní lišta už říká „Popis produktu“, duplicitní nadpis uvnitř není potřeba. */
body.type-detail #description .basic-description > h3:first-child {
  display: none !important;
}

/* Shoptet může záložku doplnit až po načtení; CSS ji spolehlivě skryje. */
body.type-detail #p-detail-tabs [data-testid="tabAlternativeProducts"],
body.type-detail #p-detail-tabs li:has(> a[href="#productsAlternative"]) {
  display: none !important;
}

/* Značka patří mezi informace o produktu, ne do samostatné záložky. */
body.type-detail #p-detail-tabs [data-testid="tabBrand"],
body.type-detail #p-detail-tabs li:has(> a[href="#manufacturerDescription"]) {
  display: none !important;
}

body.type-detail .detail-parameters .fm-brand-row td strong {
  color: #236933 !important;
  font-weight: 600 !important;
}

/* Nadpis detailu produktu: stejný klidnější řez jako nadpis kategorie. */
body.type-detail .p-detail-inner-header h1 {
  font-family: inherit !important;
  font-size: 34px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.012em !important;
}

/* Mobil: varianty a nákupní řádek vždy přesně uvnitř pravé karty. */
@media (max-width: 767px) {
  body.type-detail .p-detail-inner-header h1 {
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
  }

  body.type-detail .p-info-wrapper .detail-parameters,
  body.type-detail .p-info-wrapper .detail-parameters > tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .variant-list {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .variant-list > th,
  body.type-detail .p-info-wrapper .variant-list > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .variant-list select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .add-to-cart {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .quantity {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
  }

  body.type-detail .p-info-wrapper .add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 10px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-info-wrapper .add-to-cart-button::before {
    flex: 0 0 auto !important;
    width: 18px !important;
    margin: 0 !important;
  }

  body.type-detail .p-info-wrapper .price-additional,
  body.type-detail .p-info-wrapper .price-measure,
  body.type-detail .p-info-wrapper .variant-list > th,
  body.type-detail .p-info-wrapper .link-icon,
  body.type-detail .p-info-wrapper .detail-parameters {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body.type-detail .fm-product-story p,
  body.type-detail .fm-product-story li,
  body.type-detail #description .basic-description,
  body.type-detail #description .basic-description p,
  body.type-detail #description .basic-description li {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}

/* Detail produktu: popis přes celou šířku, parametry v samostatném bloku pod ním. */
@media (min-width: 768px) {
  body.type-detail .p-detail-tabs-wrapper .description-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-detail-tabs-wrapper .basic-description {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.type-detail .p-detail-tabs-wrapper .extended-description {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 32px 0 0 !important;
    padding: 20px 22px !important;
    box-sizing: border-box !important;
    background: #f7f4ed !important;
    border: 1px solid #e4dccd !important;
    border-radius: 12px !important;
  }

  body.type-detail .p-detail-tabs-wrapper .extended-description::before {
    display: none !important;
    content: none !important;
  }

  body.type-detail .p-detail-tabs-wrapper .extended-description > h3 {
    margin: 0 0 14px !important;
    color: #236933 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  body.type-detail .p-detail-tabs-wrapper .extended-description .detail-parameters {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
  }
}


/* Homepage article thumbnails and Ambiente teaser */
.homepage-blog-wrapper .image {
  flex: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.homepage-blog-wrapper [href*="darkove-poukazy"] .image img {
  object-fit: contain;
}

.fm-article-promo {
  position: fixed;
  z-index: 11;
  inset-inline-start: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(410px, calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  box-sizing: border-box;
  border: 1px solid #ded9cc;
  border-radius: 14px;
  background: #fbfaf7;
  box-shadow: 0 8px 24px rgb(32 40 30 / 16%);
  animation: fm-article-promo-in 220ms ease-out both;
}

.fm-article-promo__link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: inherit;
  padding: 10px 44px 10px 10px;
  color: #25432b;
  text-decoration: none;
}

.fm-article-promo__link:hover {
  color: #25432b;
  text-decoration: none;
}

.fm-article-promo__link:hover .fm-article-promo__action {
  text-decoration: underline;
}

.fm-article-promo__link:focus-visible,
.fm-article-promo__close:focus-visible {
  outline: 2px solid #236933;
  outline-offset: -3px;
}

.fm-article-promo__image {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.fm-article-promo__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.fm-article-promo__action {
  display: block;
  margin-top: 5px;
  color: #236933;
  font-size: 12px;
  font-weight: 600;
}

.fm-article-promo__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  color: #25432b;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.fm-article-promo__close:hover {
  background: #efede5;
}

@keyframes fm-article-promo-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fm-article-promo { animation: none; }
}
