/* papirovezaluzie.cz – vlastní styly
   Při změně zvyšte ?v= v odkazu v HTML kódech. */

/* ===== Font Jost ===== */
html:root {
  --template-font: "Jost";
  --template-headings-font: "Jost";
}
body,
button,
input,
select,
textarea {
  font-family: "Jost", sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.cart-related-name,
.cart-table .main-link,
.vote-name,
.empty-content {
  font-family: "Jost", sans-serif;
  font-weight: 700;
}

/* ===== Hlavička – sticky + transparentní ===== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent !important;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
#header .navigation-wrapper,
#header #navigation,
#header .navigation-in {
  background: transparent !important;
}
#header .navigation-buttons > a,
#header .navigation-buttons > button {
  background-color: transparent;
}
#header .navigation-buttons > a:hover,
#header .navigation-buttons > button:hover {
  background-color: rgba(255, 255, 255, .6);
}
/* rozbalovací podmenu zůstává bílé */
#header .menu-level-2,
#header .menu-level-3 {
  background: #fff;
}

/* po odscrollování – bílá poloprůhledná s rozmazáním */
body.header-scrolled #header {
  background: rgba(255, 255, 255, .88) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}

/* úvodní stránka: hlavička leží přes banner */
@media (min-width: 768px) {
  body.in-index #header {
    margin-bottom: -80px;
  }
}

/* mobil – hlavička vždy bílá kvůli čitelnosti */
@media (max-width: 767px) {
  #header {
    background: #fff !important;
  }
}

/* ===== Úvodní banner ===== */
.banners-row .wide-carousel,
.banners-row .carousel,
.banners-row .carousel-inner {
  height: auto !important;
  min-height: 0 !important;
}
#carousel .item img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center top;
}

/* ===== Ikony výhod ===== */
.benefitBanner__picture {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdecec;
  border-radius: 50%;
}
.benefitBanner__picture img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}
.benefitBanner__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}
.benefitBanner__content {
  font-size: 13px;
  line-height: 1.35;
  color: #666;
}

/* bílá karta výhod – homepage i detail produktu */
.container--bannersBenefit {
  position: relative;
  z-index: 5;
  margin-top: 32px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.p-detail .container--bannersBenefit {
  margin-bottom: 32px;
}
.benefitBanner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 22px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .10);
}
.benefitBanner .benefitBanner__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: none;
  flex: none;
  margin: 0;
  padding: 4px 20px;
  border-left: 1px solid #eee;
}
.benefitBanner .benefitBanner__item:first-child {
  border-left: 0;
}
@media (max-width: 991px) {
  .benefitBanner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .benefitBanner .benefitBanner__item:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 767px) {
  #carousel .item img {
    height: auto;
  }
  .container--bannersBenefit {
    margin-top: 16px;
  }
  .benefitBanner {
    padding: 16px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  }
  .benefitBanner .benefitBanner__item {
    gap: 10px;
    padding: 4px 10px;
  }
}

/* ===== Homepage – produkty hned pod výhodami ===== */
.index-content-wrapper {
  display: flex;
  flex-direction: column;
}
.index-content-wrapper .homepage-tabs-wrapper {
  order: -1;
  margin-top: 40px;
}
/* záložky jako nadpis sekce – zobrazí se jen první skupina */
.homepage-tabs .shp-tab:not(:first-child) {
  display: none;
}
.homepage-tabs-wrapper .shp-tabs-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  border: 0;
}
.homepage-tabs-wrapper .shp-tabs-row::before,
.homepage-tabs-wrapper .shp-tabs-row::after {
  display: none;
}
.homepage-tabs .shp-tab {
  border: 0 !important;
  background: none !important;
}
.homepage-tabs .shp-tab .shp-tab-link {
  padding: 0;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  border: 0 !important;
  background: none !important;
  pointer-events: none;
}
.homepage-products-1.products-block {
  justify-content: center;
}

/* ===== Obsahové stránky – společné prvky ===== */
.pz-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  max-width: 760px;
}
.pz-note {
  margin: 24px 0;
  padding: 18px 22px;
  background: #fdf3f3;
  border-radius: 12px;
}
.pz-note p {
  margin: 0;
}

/* ===== FAQ (akordeon) ===== */
.pz-faq {
  max-width: 860px;
  margin: 24px 0;
}
.pz-faq__item {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  transition: box-shadow .2s ease;
}
.pz-faq__item[open] {
  box-shadow: 0 8px 28px rgba(0, 0, 0, .09);
}
.pz-faq__item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.pz-faq__item summary::-webkit-details-marker {
  display: none;
}
.pz-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: #d71920;
  background: #fdecec;
  border-radius: 50%;
  transition: transform .2s ease;
}
.pz-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.pz-faq__answer {
  padding: 0 22px 18px;
  color: #444;
  line-height: 1.6;
}
.pz-faq__answer p {
  margin: 0;
}

/* FAQ nad patičkou */
.pz-faq-section {
  padding: 56px 0 64px;
  background: #f7f7f7;
}
.pz-faq-section h2 {
  margin: 0 0 28px;
  font-size: 30px;
  text-align: center;
}
.pz-faq-section .pz-faq {
  margin: 0 auto;
}
.pz-faq-section__more {
  margin-top: 24px;
  text-align: center;
}
.pz-faq-section__more a {
  font-weight: 700;
  color: #d71920;
}

/* ===== Montáž ===== */
.pz-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 16px 0 32px;
  padding: 0;
  list-style: none;
}
.pz-checklist li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}
.pz-checklist li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  color: #fff;
  background: #d71920;
  border-radius: 50%;
}
.pz-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 16px 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: pzstep;
}
.pz-steps li {
  position: relative;
  padding: 56px 18px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  counter-increment: pzstep;
}
.pz-steps li::before {
  content: counter(pzstep);
  position: absolute;
  top: 16px;
  left: 18px;
  width: 30px;
  height: 30px;
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background: #d71920;
  border-radius: 50%;
}
.pz-steps li strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #111;
}
.pz-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 16px 0 40px;
}
.pz-card {
  padding: 20px;
  background: #f7f7f7;
  border-radius: 12px;
}
.pz-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.pz-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}
.pz-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.pz-cta a:not(.btn) {
  font-weight: 700;
  color: #d71920;
}
@media (max-width: 991px) {
  .pz-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pz-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .pz-checklist,
  .pz-steps,
  .pz-cards {
    grid-template-columns: 1fr;
  }
  .pz-faq-section h2 {
    font-size: 24px;
  }
}
.pz-cta a.btn {
  padding: 14px 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  background: #d71920 !important;
  border: 0 !important;
  border-radius: 0;
}
.pz-cta a.btn:hover {
  color: #fff !important;
  background: #b5141a !important;
}

/* ===== Homepage – úvodní text ===== */
.homepage-texts-wrapper {
  margin-top: 24px;
}
.welcome-wrapper .welcome {
  padding: 56px 0 48px;
}
.welcome-wrapper .welcome > .h1 {
  margin-bottom: 24px;
  font-size: 36px;
  text-align: center;
}
.welcome .pz-home-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.welcome .pz-home-intro h2 {
  margin: 24px 0 12px;
  font-size: 24px;
}
.welcome .pz-home-intro p {
  line-height: 1.65;
}
.pz-size {
  padding: 32px;
  background: #f7f7f7;
  border-radius: 16px;
}
.pz-size p.pz-size__label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
}
.pz-size p.pz-size__value {
  margin: 0 0 20px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: #d71920;
}
.pz-size .pz-checklist {
  grid-template-columns: 1fr;
  margin: 0;
}
.welcome h2.pz-center {
  margin: 0 0 24px;
  font-size: 30px;
  text-align: center;
}
.welcome .pz-cards {
  margin-bottom: 32px;
}
.welcome .pz-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.welcome .pz-card h3 {
  position: relative;
  padding-top: 40px;
}
.welcome .pz-card h3::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
  color: #d71920;
  background: #fdecec;
  border-radius: 50%;
}
.pz-home-outro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #666;
}
@media (max-width: 991px) {
  .welcome .pz-home-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 575px) {
  .welcome-wrapper .welcome > .h1 {
    font-size: 28px;
  }
  .pz-size p.pz-size__value {
    font-size: 36px;
  }
}

/* ===== Homepage – jednotný layout ===== */
.in-index .index-content-wrapper > * {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.in-index .index-content-wrapper .homepage-tabs-wrapper {
  order: -2;
  margin-top: 80px;
}
.in-index .index-content-wrapper .homepage-texts-wrapper {
  order: -1;
  margin-top: 80px;
}
.in-index .index-content-wrapper .banners-content {
  order: 0;
  margin-top: 80px;
  margin-bottom: 80px;
}
.in-index .banners-content .banner-wrapper,
.in-index .banners-content img {
  display: block;
  width: 100%;
}
/* jednotné nadpisy sekcí */
.homepage-tabs .shp-tab .shp-tab-link,
.welcome-wrapper .welcome > .h1,
.pz-faq-section h2 {
  margin: 0 0 36px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #111;
}
.homepage-tabs-wrapper .shp-tabs-row {
  margin-bottom: 0;
}
.homepage-tabs .shp-tab .shp-tab-link::before,
.homepage-tabs .shp-tab .shp-tab-link::after,
.homepage-tabs .shp-tab::before,
.homepage-tabs .shp-tab::after {
  display: none !important;
}
/* produkty */
.in-index .homepage-products-1.products-block {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 32px;
  margin: 0;
  border: 0;
}
.in-index .homepage-products-1 .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.in-index .homepage-products-1 .p {
  height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee !important;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.in-index .homepage-products-1 .p .image {
  display: block;
  background: #fff;
}
.in-index .homepage-products-1 .p .image img {
  width: 100%;
  height: auto;
}
.in-index .homepage-products-1 .p-desc,
.in-index .homepage-products-1 .p-code {
  display: none !important;
}
.in-index .homepage-products-1 .p-in {
  padding: 20px 24px 0;
}
.in-index .homepage-products-1 .name {
  min-height: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.in-index .homepage-products-1 .price-final strong {
  font-size: 24px;
}
/* text o žaluziích */
.in-index .welcome-wrapper .welcome {
  padding: 0;
}
.in-index .welcome .pz-home-intro {
  margin-bottom: 0;
}
/* benefity ve stejné šířce */
.in-index .container--bannersBenefit .benefitBanner {
  max-width: 1200px;
  margin: 0 auto;
}
/* FAQ */
.pz-faq-section {
  padding: 80px 0;
}

/* ===== Jednotná velikost textu v obsahu ===== */
.welcome,
.welcome p,
.welcome li,
.pageArticleDetail p,
.pageArticleDetail li,
.basic-description p,
.basic-description li,
.basic-description td,
.pz-faq__answer,
.pz-faq__answer p,
.pz-card p,
.pz-steps li,
.pz-checklist li,
.pz-note p {
  font-size: 16px;
  line-height: 1.65;
}
.pz-lead,
.welcome p.pz-lead {
  font-size: 16px;
  color: inherit;
}

/* ===== Homepage – bílá hlavička nad bannerem (před odscrollováním) ===== */
#header .site-name a,
#header .site-name img,
#header .menu-level-1 > li > a,
#header .navigation-buttons > a,
#header .navigation-buttons > button {
  transition: color .3s ease, opacity .3s ease;
}
@media (min-width: 768px) {
  body.in-index:not(.header-scrolled) #header .site-name a {
    background: url("/user/documents/upload/papirovezaluzie-logo-white.png") no-repeat left center / contain;
  }
  body.in-index:not(.header-scrolled) #header .site-name img {
    opacity: 0;
  }
  body.in-index:not(.header-scrolled) #header .menu-level-1 > li > a,
  body.in-index:not(.header-scrolled) #header .menu-helper > span,
  body.in-index:not(.header-scrolled) #header .navigation-buttons > a,
  body.in-index:not(.header-scrolled) #header .navigation-buttons > a::before,
  body.in-index:not(.header-scrolled) #header .navigation-buttons > button,
  body.in-index:not(.header-scrolled) #header .navigation-buttons > button::before {
    color: #fff;
  }
  body.in-index:not(.header-scrolled) #header .menu-level-1 > li > a:hover {
    color: rgba(255, 255, 255, .75);
  }
  body.in-index:not(.header-scrolled) #header .navigation-buttons > a:hover,
  body.in-index:not(.header-scrolled) #header .navigation-buttons > button:hover {
    background-color: rgba(255, 255, 255, .15);
  }
}

/* ===== Úpravy pro různé velikosti monitorů ===== */
/* banner vždy celý v přirozeném poměru – bez ořezu */
#carousel .item img {
  height: auto;
  max-height: none;
  object-fit: fill;
}
/* tlačítko „Více“ v menu – bez bílého pozadí */
#header .menu-helper > span {
  background: transparent !important;
  color: inherit;
}
/* menší monitory – užší položky menu, aby se vešly všechny */
@media (min-width: 768px) and (max-width: 1299px) {
  #header .menu-level-1 > li > a {
    padding-left: 14px;
    padding-right: 14px;
  }
  #header .navigation-buttons > a,
  #header .navigation-buttons > button {
    width: 52px;
  }
}
/* výhody – nedělit slova */
.benefitBanner__title,
.benefitBanner__content {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
@media (min-width: 768px) and (max-width: 1299px) {
  .benefitBanner {
    padding: 18px 16px;
  }
  .benefitBanner .benefitBanner__item {
    gap: 10px;
    padding: 4px 12px;
  }
}

/* ===== Štítek slevy ===== */
.flag.flag-discount {
  background-color: #eb967b !important;
}

#footer {
  margin-top: 0;
}
/* ===== Patička ===== */
/* newsletter – oranžový pruh přes celou šířku (barva z banneru vzorkovny) */
.footer-newsletter {
  padding-top: 48px;
  padding-bottom: 48px;
  color: #1d1d1b;
  background: #eb967b;
  box-shadow: 0 0 0 100vmax #eb967b;
  clip-path: inset(0 -100vmax);
}
.footer-newsletter .topic,
.footer-newsletter .topic span,
.footer-newsletter p,
.footer-newsletter label,
.footer-newsletter a {
  color: #1d1d1b !important;
}
.footer-newsletter .form-control {
  background: #fff;
  border-color: #fff;
}
.footer-newsletter .btn.btn-primary {
  color: #fff !important;
  background: #1d1d1b !important;
  border-color: #1d1d1b !important;
}
.footer-newsletter .btn.btn-primary:hover {
  color: #1d1d1b !important;
  background: #fff !important;
  border-color: #fff !important;
}
/* sloupce: logo | kontakt | informace */
#footer .footer-rows {
  padding-top: 56px;
  padding-bottom: 40px;
}
#footer .custom-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin: 0;
}
#footer .custom-footer::before,
#footer .custom-footer::after {
  display: none;
}
#footer .custom-footer > div {
  width: auto;
  float: none;
  padding: 0;
}
.pz-footer-brand__logo img {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 16px;
}
.pz-footer-brand p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.6;
}
#footer .pageElement__heading {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 18px;
}
#footer .pageElement__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: #d71920;
}
#footer .custom-footer a:hover {
  color: #d71920;
}
/* platební metody */
.pz-footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #e3e3e3;
  font-size: 14px;
  color: #555;
}
.pz-footer-payments::before,
.pz-footer-payments::after {
  display: none;
}
.pz-footer-payments img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 32px;
}
#footer .footer-bottom {
  font-size: 13px;
  color: #777;
  border-top: 1px solid #e3e3e3;
}
@media (max-width: 767px) {
  #footer .custom-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pz-footer-payments {
    justify-content: center;
    text-align: center;
  }
  .pz-footer-payments img {
    height: auto;
  }
}

/* ===== Popis produktu ===== */
.basic-description h2 {
  margin: 48px 0 20px;
  font-size: 26px;
  line-height: 1.25;
}
.basic-description > h2:first-of-type {
  margin-top: 32px;
}
.basic-description .pz-lead {
  max-width: 860px;
}
.pz-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.pz-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.pz-steps--3 {
  grid-template-columns: repeat(3, 1fr);
}
.basic-description .pz-cards,
.basic-description .pz-steps {
  margin-bottom: 0;
}
.basic-description .pz-note {
  margin-top: 16px;
}
/* karty s ikonou fajfky */
.pz-cards--icons .pz-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.pz-cards--icons .pz-card h3 {
  position: relative;
  padding-top: 42px;
}
.pz-cards--icons .pz-card h3::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
  color: #d71920;
  background: #fdecec;
  border-radius: 50%;
}
/* parametry + obsah balení */
.pz-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.pz-two-col h2 {
  margin-top: 0 !important;
}
.basic-description table.pz-params {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}
.basic-description table.pz-params td {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.basic-description table.pz-params td:first-child {
  width: 40%;
  padding-right: 16px;
  font-weight: 700;
  color: #111;
}
.pz-box {
  padding: 32px;
  background: #f7f7f7;
  border-radius: 16px;
}
.pz-box .pz-checklist {
  grid-template-columns: 1fr;
  margin: 0 0 24px;
}
.pz-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.pz-box p {
  margin: 0;
}
@media (max-width: 991px) {
  .pz-cards--3,
  .pz-steps--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pz-two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .pz-cards--2,
  .pz-cards--3,
  .pz-steps--3 {
    grid-template-columns: 1fr;
  }
}
.basic-description .pz-card h3,
.basic-description .pz-steps li strong {
  font-size: 18px;
}

/* ===== Kategorie – karty produktů jako na homepage ===== */
.type-category .products-page.products-block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  border: 0;
}
.type-category .products-page.products-block::before,
.type-category .products-page.products-block::after {
  display: none;
}
.type-category .products-page .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.type-category .products-page .p {
  height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee !important;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.type-category .products-page .p:hover,
.in-index .homepage-products-1 .p:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}
.type-category .products-page .p .image {
  display: block;
  background: #fff;
}
.type-category .products-page .p .image img {
  width: 100%;
  height: auto;
}
.type-category .products-page .p-desc,
.type-category .products-page .p-code {
  display: none !important;
}
.type-category .products-page .p-in {
  padding: 20px 24px 0;
}
.type-category .products-page .name {
  min-height: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.type-category .products-page .name:hover {
  color: #d71920;
}
.type-category .products-page .price-final strong {
  font-size: 24px;
}
@media (max-width: 991px) {
  .type-category .products-page.products-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 575px) {
  .type-category .products-page.products-block {
    grid-template-columns: 1fr;
  }
}

/* ===== Štítek slevy – čitelný text ===== */
.flag.flag-discount,
.flag.flag-discount span {
  color: #1d1d1b !important;
}

/* ===== Mobilní verze ===== */
@media (max-width: 767px) {
  .in-index .index-content-wrapper .homepage-tabs-wrapper,
  .in-index .index-content-wrapper .homepage-texts-wrapper,
  .in-index .index-content-wrapper .banners-content {
    margin-top: 48px;
  }
  .in-index .index-content-wrapper .banners-content {
    margin-bottom: 48px;
  }
  /* jednotné nadpisy sekcí */
  .homepage-tabs .shp-tab .shp-tab-link,
  .welcome-wrapper .welcome > .h1,
  .pz-faq-section h2 {
    margin-bottom: 24px;
    font-size: 26px;
  }
  .basic-description h2 {
    margin: 36px 0 16px;
    font-size: 22px;
  }
  /* výhody – ikona nad textem, 2 × 2 */
  .benefitBanner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
    padding: 18px 8px;
  }
  .benefitBanner .benefitBanner__item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    text-align: center;
    border-left: 0;
  }
  .benefitBanner__title {
    font-size: 14px;
  }
  .benefitBanner__content {
    font-size: 12px;
  }
  /* produkty – 2 vedle sebe (homepage i kategorie) */
  .in-index .homepage-products-1.products-block,
  .type-category .products-page.products-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .in-index .homepage-products-1 .p,
  .type-category .products-page .p {
    padding-bottom: 14px;
    border-radius: 12px;
  }
  .in-index .homepage-products-1 .p-in,
  .type-category .products-page .p-in {
    padding: 12px 12px 0;
  }
  .in-index .homepage-products-1 .name,
  .type-category .products-page .name {
    font-size: 14px;
  }
  .in-index .homepage-products-1 .price-final strong,
  .type-category .products-page .price-final strong {
    font-size: 18px;
  }
  .in-index .homepage-products-1 .p .btn,
  .type-category .products-page .p .btn {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
  /* karty s fajfkou v popisu – 2 vedle sebe, kompaktní */
  .pz-cards--icons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .pz-cards--icons .pz-card {
    padding: 16px;
  }
  .pz-cards--icons .pz-card h3,
  .basic-description .pz-cards--icons .pz-card h3 {
    padding-top: 38px;
    font-size: 15px;
  }
  .pz-cards--icons .pz-card p {
    font-size: 14px;
    line-height: 1.5;
  }
  /* kroky montáže – číslo vedle nadpisu, méně výšky */
  .pz-steps li {
    padding: 18px 18px 18px 62px;
  }
  .pz-steps li::before {
    top: 18px;
    left: 18px;
  }
  .pz-card,
  .pz-box,
  .pz-size {
    padding: 20px;
  }
  /* celý název produktu v kartě */
  .in-index .homepage-products-1 .name,
  .type-category .products-page .name {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal;
    -webkit-line-clamp: unset !important;
  }
  .in-index .homepage-products-1 .name span,
  .type-category .products-page .name span {
    display: inline;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  /* detail produktu – menší nadpis */
  .p-detail h1 {
    font-size: 26px;
    line-height: 1.2;
  }
  #footer .contact-box {
    min-height: 0;
  }
  /* patička */
  .footer-newsletter {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .footer-newsletter .topic,
  .footer-newsletter .topic span {
    font-size: 24px;
  }
  #footer .footer-rows {
    padding-top: 36px;
    padding-bottom: 24px;
  }
}

/* ===== Čitelnost a dotykové plochy ===== */
.pz-size p.pz-size__label {
  color: #666;
}
#footer .footer-bottom,
#footer .footer-bottom .copyright {
  color: #555;
}
@media (max-width: 767px) {
  #footer .custom-footer__articles li a {
    display: inline-block;
    padding: 6px 0;
  }
}

/* ===== Mobil – hlavička bez mezery nahoře a bez vyjíždění ===== */
@media (max-width: 767px) {
  .overall-wrapper {
    padding-top: 0 !important;
  }
  #header {
    transform: none !important;
  }
  /* bez rozmazání – jinak se rozbalené menu vejde jen do výšky hlavičky */
  body.header-scrolled #header {
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* rozbalené mobilní menu – bílé pozadí */
  #header #navigation,
  #header .navigation-in {
    background: #fff !important;
  }
}

/* ===== Výrobce PAPL ===== */
.pz-maker {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding: 32px 40px;
  background: #f7f7f7;
  border-radius: 16px;
}
.pz-maker__logo img,
.pz-maker-hero__logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}
.welcome .pz-maker h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.pz-maker p {
  margin: 0 0 8px;
}
.pz-maker .pz-cta {
  margin-top: 12px;
}
.pz-maker-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
}
.pz-maker-hero__logo {
  flex: 0 0 200px;
}
.pz-maker-hero .pz-lead {
  margin: 0;
  font-size: 20px;
}
@media (max-width: 767px) {
  .pz-maker {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }
  .pz-maker__logo img {
    max-width: 160px;
    margin: 0 auto;
  }
  .pz-maker .pz-cta {
    justify-content: center;
  }
  .pz-maker-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .pz-maker-hero__logo {
    flex: none;
    width: 160px;
  }
  .pz-maker-hero .pz-lead {
    font-size: 17px;
  }
}

/* ===== Značka – karty produktů jako v kategorii ===== */
.type-manufacturer-detail .products-page.products-block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  border: 0;
}
.type-manufacturer-detail .products-page.products-block::before,
.type-manufacturer-detail .products-page.products-block::after {
  display: none;
}
.type-manufacturer-detail .products-page .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.type-manufacturer-detail .products-page .p {
  height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee !important;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.type-manufacturer-detail .products-page .p:hover,
.in-index .homepage-products-1 .p:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}
.type-manufacturer-detail .products-page .p .image {
  display: block;
  background: #fff;
}
.type-manufacturer-detail .products-page .p .image img {
  width: 100%;
  height: auto;
}
.type-manufacturer-detail .products-page .p-desc,
.type-manufacturer-detail .products-page .p-code {
  display: none !important;
}
.type-manufacturer-detail .products-page .p-in {
  padding: 20px 24px 0;
}
.type-manufacturer-detail .products-page .name {
  min-height: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.type-manufacturer-detail .products-page .name:hover {
  color: #d71920;
}
.type-manufacturer-detail .products-page .price-final strong {
  font-size: 24px;
}
@media (max-width: 991px) {
  .type-manufacturer-detail .products-page.products-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 575px) {
  .type-manufacturer-detail .products-page.products-block {
    grid-template-columns: 1fr;
  }
}

/* značka – text a mobil */
.manufacturerDetail p,
.manufacturerDetail li {
  font-size: 16px;
  line-height: 1.65;
}
.manufacturerDetail .pz-cta {
  margin: 24px 0 40px;
}
@media (max-width: 767px) {
  .type-manufacturer-detail .products-page.products-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .type-manufacturer-detail .products-page .p-in {
    padding: 12px 12px 0;
  }
  .type-manufacturer-detail .products-page .name {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 14px;
  }
  .type-manufacturer-detail .products-page .price-final strong {
    font-size: 18px;
  }
}

/* ===== Kategorie – popis pod produkty ===== */
.category__secondDescription {
  max-width: 900px;
  margin-top: 56px;
}
.category__secondDescription p,
.category__secondDescription li {
  font-size: 16px;
  line-height: 1.65;
}
.category__secondDescription h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}
.category__secondDescription h2:first-child {
  margin-top: 0;
}
.category-perex .pz-lead {
  max-width: 760px;
  margin-bottom: 24px;
}

/* ===== Homepage – produkty vedle sebe, při větším počtu carousel ===== */
.in-index .pz-carousel {
  position: relative;
}
.in-index .pz-carousel .homepage-products-1.products-block {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.in-index .pz-carousel .homepage-products-1.products-block::-webkit-scrollbar {
  display: none;
}
.in-index .pz-carousel .homepage-products-1 .product {
  flex: 0 0 calc((100% - 64px) / 3);
  scroll-snap-align: start;
}
.in-index .pz-carousel .homepage-products-1 .name {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset;
}
.in-index .pz-carousel .homepage-products-1 .product:first-child {
  margin-left: auto !important;
}
.in-index .pz-carousel .homepage-products-1 .product:last-child {
  margin-right: auto !important;
}
.pz-carousel__btn {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 26px;
  line-height: 46px;
  text-align: center;
  color: #d71920;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: opacity .2s ease;
}
.pz-carousel__btn:hover {
  color: #fff;
  background: #d71920;
}
.pz-carousel__btn--prev {
  left: -24px;
}
.pz-carousel__btn--next {
  right: -24px;
}
.pz-carousel.is-scrollable .pz-carousel__btn {
  display: block;
}
.pz-carousel .pz-carousel__btn[disabled] {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1299px) {
  .pz-carousel__btn--prev {
    left: 4px;
  }
  .pz-carousel__btn--next {
    right: 4px;
  }
}
@media (max-width: 991px) {
  .in-index .pz-carousel .homepage-products-1.products-block {
    gap: 16px;
  }
  .in-index .pz-carousel .homepage-products-1 .product {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 575px) {
  .in-index .pz-carousel .homepage-products-1.products-block {
    gap: 12px;
  }
  .in-index .pz-carousel .homepage-products-1 .product {
    flex-basis: 72%;
  }
  .pz-carousel__btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 38px;
  }
}
