/* Product-only presentation. The original shop forms, IDs, JS and post_content stay intact. */
.zp2-product { overflow: visible; background: #fff; color: #24342a; }
.zp2-product .post-body { padding: 0; }
.zp2-product .single-post-top-features { position: relative; z-index: 3; min-height: 24px; padding: 7px 24px; background: #fff; }
.zp2-product .zp2-hero { min-height: 740px; position: relative; overflow: visible; border-radius: 16px; margin: 0 18px; background: #213d29; }
.zp2-product .zp2-media { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; }
.zp2-product .zp2-media .post-media-body,
.zp2-product .zp2-media .figure-link-w,
.zp2-product .zp2-media .figure-link,
.zp2-product .zp2-media figure { width: 100%; height: 100%; margin: 0; display: block; }
.zp2-product .zp2-media img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 42%; display: block; }
.zp2-product .zp2-photo-shade { pointer-events: none; position: absolute; inset: 0; z-index: 1; border-radius: 16px; background: linear-gradient(90deg, rgba(9, 36, 23, .85) 0%, rgba(9, 36, 23, .53) 38%, rgba(9, 36, 23, .07) 75%); }
.zp2-product .zp2-hero-copy { position: relative; z-index: 2; color: #fff; max-width: calc(100% - 430px); padding: 58px 42px; pointer-events: none; }
.zp2-product .zp2-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.zp2-product .zp2-hero-copy .zp2-eyebrow { color: #e4f4da; }
.zp2-product .zp2-hero-copy h1 { color: #fff; font-size: clamp(31px, 3.7vw, 53px); line-height: 1.14; font-weight: 750; margin: 15px 0 18px; text-shadow: 0 2px 15px rgba(0,0,0,.2); }
.zp2-product .zp2-hero-tip { color: #f3f8f1; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 520px; }
.zp2-product .zp2-buy-card { position: absolute; z-index: 4; top: 54px; right: 30px; width: 370px; max-width: calc(100% - 60px); padding: 24px 26px 26px; background: #fff; border-radius: 18px; box-shadow: 0 18px 42px rgba(10, 31, 18, .22); }
.zp2-product .zp2-card-intro .zp2-eyebrow { color: #617665; }
.zp2-product .zp2-card-intro h2 { margin: 5px 0 20px; color: #253b2b; font-size: 23px; line-height: 1.22; font-weight: 750; }
.zp2-product .zp2-variant-picker { display: grid; gap: 10px; margin-bottom: 20px; }
.zp2-product .zp2-variant { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 67px; padding: 12px 14px; width: 100%; background: #fff; border: 1px solid #d2dfcf; border-radius: 11px; text-align: left; color: #273b2b; font-size: 14px; font-weight: 700; cursor: pointer; }
.zp2-product .zp2-variant strong { white-space: nowrap; font-size: 15px; }
.zp2-product .zp2-variant.is-active { background: #f1f8ee; border: 2px solid #317a43; padding: 11px 13px; }
.zp2-product .zp2-variant:hover { border-color: #317a43; }
.zp2-product .zp2-variant:focus-visible, .zp2-product .zp2-cart-original .cart:focus-visible { outline: 3px solid #88bd61; outline-offset: 3px; }
.zp2-product .zp2-cart-original { border-top: 1px solid #e6ece3; padding-top: 15px; }
.zp2-product .zp2-cart-original > div { min-height: 0; }
.zp2-product .zp2-cart-original .price { float: none; width: auto; padding: 0; margin: 0 0 14px; color: #215d34; font-size: 31px; font-weight: 800; line-height: 1.2; cursor: default; }
.zp2-product .zp2-cart-original .price strike { font-size: 18px; color: #768477; }
.zp2-product .zp2-cart-original .cart-block { position: static; top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; text-align: left; font-size: 14px; }
.zp2-product .zp2-cart-original .cart-caption { width: 100%; color: #536956; font-size: 13px; font-weight: 700; }
.zp2-product .zp2-cart-original .cart3 { width: 58px; height: 43px; padding: 5px; font-size: 18px; border: 1px solid #cad7c7; background: #f8faf6; }
.zp2-product .zp2-cart-original .cart2 { display: inline-flex; flex-direction: column; gap: 3px; width: 33px; padding: 0; }
.zp2-product .zp2-cart-original .cart2 .zoom { width: 23px; height: 22px; }
.zp2-product .zp2-cart-original .cart { flex: 1 1 180px; min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: auto; padding: 9px 11px; border-radius: 9px; background: #267a3a; color: #fff; font-size: 14px; font-weight: 800; }
.zp2-product .zp2-cart-original .cart:hover { background: #1c6330; transform: none; }
.zp2-product .zp2-cart-original .cart::after { content: 'Přidat do košíku'; }
.zp2-product .zp2-cart-original .cart svg { width: 19px; height: 19px; }
.zp2-product .zp2-cart-original .txtinfo { flex: 1 0 100%; min-height: 0; font-size: 13px; color: #526c55; }
.zp2-product .zp2-cart-original .cblock { height: auto; min-height: 0; }
.zp2-product .zp2-cart-original .vyber { display: none; }
.zp2-product .zp2-card-hint { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: #67796b; }
.zp2-product .zp2-specs { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: -27px 42px 0; padding: 19px 20px; border-radius: 16px; background: #fff; box-shadow: 0 10px 29px rgba(12, 28, 15, .14); }
.zp2-product .zp2-specs div { min-width: 0; padding: 5px 16px; border-right: 1px solid #e4eae1; }
.zp2-product .zp2-specs div:last-child { border-right: 0; }
.zp2-product .zp2-specs dt { margin: 0 0 4px; color: #728176; font-size: 12px; font-weight: 500; }
.zp2-product .zp2-specs dd { margin: 0; color: #253b2b; font-size: 15px; line-height: 1.3; font-weight: 800; }
.zp2-product .zp2-below { padding: 48px 50px 54px; }
.zp2-product .zp2-guide { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 10px; padding: 13px 17px; border-radius: 9px; background: #edf5e9; color: #285e35; font-weight: 750; text-decoration: none; }
.zp2-product .zp2-guide:hover { background: #e1eedb; }
.zp2-product .zp2-below .my_tags { margin: 14px 0 25px; padding: 13px 0; text-align: left; }
.zp2-product .zp2-below .post-content { max-width: 900px; font-size: 17px; line-height: 1.72; }
.zp2-product .zp2-below .post-content img { max-width: 100%; height: auto; }
.zp2-product .zp2-below .post-content li { margin-bottom: 7px; }
/* Keep the legacy editorial content, but make its presentation match the new product header. */
.zp2-product .zp2-below > .zp2-guide,
.zp2-product .zp2-below > .zp2-section-head,
.zp2-product .zp2-below > .my_tags,
.zp2-product .zp2-below > .post-content { max-width: 900px; margin-left: auto; margin-right: auto; }
.zp2-product .zp2-below > .zp2-guide { display: flex; width: fit-content; max-width: 900px; margin-left: calc((100% - min(100%, 900px)) / 2); }
.zp2-product .zp2-section-head { padding: 28px 0 13px; border-bottom: 1px solid #e1e9df; }
.zp2-product .zp2-section-head .zp2-eyebrow { color: #64806a; }
.zp2-product .zp2-section-head h2 { margin: 6px 0 0; color: #243b2b; font-size: clamp(26px, 2.6vw, 35px); line-height: 1.2; font-weight: 750; }
.zp2-product .zp2-below .my_tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; margin-bottom: 25px; padding: 0; }
.zp2-product .zp2-below .my_tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zp2-product .zp2-below .my_tags li { float: none; display: block; margin: 0; padding: 0; list-style: none; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.zp2-product .zp2-below .my_tags a { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border: 1px solid #d9e7d6; border-radius: 99px; background: #edf5e9; color: #376344; font-size: 12px; font-weight: 700; line-height: 1.25; text-decoration: none; text-transform: none; box-shadow: none; }
.zp2-product .zp2-below .my_tags a:hover { color: #214e30; border-color: #9fc79e; background: #e1eedb; }
.zp2-product .zp2-below .post-content { color: #314337; font-size: 17px; line-height: 1.7; }
.zp2-product .zp2-below .post-content p { margin: 0 0 21px; color: #314337; }
.zp2-product .zp2-below .post-content h2,
.zp2-product .zp2-below .post-content h3 { color: #253d2c; font-weight: 750; line-height: 1.25; }
.zp2-product .zp2-below .post-content h2 { margin: 38px 0 20px; font-size: clamp(25px, 2.4vw, 31px); }
.zp2-product .zp2-below .post-content h3 { margin: 30px 0 15px; font-size: 22px; }
.zp2-product .zp2-below .post-content ol,
.zp2-product .zp2-below .post-content ul.wp-block-list { margin: 22px 0 34px; padding: 0; list-style: none; display: grid; gap: 8px; }
.zp2-product .zp2-below .post-content ol { counter-reset: zp2-benefit; }
.zp2-product .zp2-below .post-content ol > li,
.zp2-product .zp2-below .post-content ul.wp-block-list > li { position: relative; display: block; min-height: 52px; margin: 0 !important; padding: 13px 18px 13px 58px; border: 1px solid #e1eadd; border-radius: 10px; background: #f6f9f4; color: #304637; line-height: 1.5; box-shadow: none; }
.zp2-product .zp2-below .post-content ol > li { counter-increment: zp2-benefit; }
.zp2-product .zp2-below .post-content ol > li::before,
.zp2-product .zp2-below .post-content ul.wp-block-list > li::before { position: absolute; left: 17px; top: 14px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #dcefd7; color: #26703a; font: 800 12px/1 Arial, sans-serif; box-shadow: none; transform: none; }
.zp2-product .zp2-below .post-content ol > li::before { content: counter(zp2-benefit) !important; }
.zp2-product .zp2-below .post-content ul.wp-block-list > li::before { content: '✓' !important; }
.zp2-product .zp2-below .post-content .youtube { position: relative; display: block; width: 100%; height: auto !important; aspect-ratio: 16 / 9; margin: 27px 0 33px; overflow: hidden; border-radius: 13px; background: #172a1e; box-shadow: 0 8px 24px rgba(20, 42, 24, .12); }
.zp2-product .zp2-below .post-content .youtube iframe { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; border: 0; }
.zp2-product .zp2-below .post-content figure,
.zp2-product .zp2-below .post-content .wp-block-image { max-width: 100%; margin: 28px 0 35px; }
.zp2-product .zp2-below .post-content figure img,
.zp2-product .zp2-below .post-content .wp-block-image img { width: auto; max-width: 100%; border-radius: 12px; }
.zp2-product .zp2-below .post-content figcaption { color: #68796b; font-size: 13px; }
@media (max-width: 950px) {
  .zp2-product .zp2-hero { min-height: 0; margin: 0 12px; padding-top: 390px; background: #fff; }
  .zp2-product .zp2-media { height: 390px; bottom: auto; }
  .zp2-product .zp2-photo-shade { height: 390px; bottom: auto; background: linear-gradient(0deg, rgba(9,36,23,.8), rgba(9,36,23,.1) 75%); }
  .zp2-product .zp2-hero-copy { position: absolute; top: 0; left: 0; max-width: 100%; width: 100%; height: 390px; display: flex; flex-direction: column; justify-content: end; padding: 26px; }
  .zp2-product .zp2-hero-copy h1 { max-width: 700px; margin: 8px 0 10px; font-size: clamp(27px, 5vw, 41px); }
  .zp2-product .zp2-hero-tip { margin: 0; font-size: 16px; }
  .zp2-product .zp2-buy-card { position: relative; top: auto; right: auto; width: 100%; max-width: none; box-shadow: none; border: 1px solid #e1e8de; margin: 16px 0 0; }
  .zp2-product .zp2-specs { margin: 17px 12px 0; box-shadow: none; border: 1px solid #e1e8de; }
  .zp2-product .zp2-below { padding: 32px 25px; }
}
@media (max-width: 520px) {
  .zp2-product { padding: 0 !important; }
  .zp2-product .single-post-top-features { padding: 5px 13px; }
  .zp2-product .zp2-hero { margin: 0 8px; padding-top: 350px; }
  .zp2-product .zp2-media, .zp2-product .zp2-photo-shade, .zp2-product .zp2-hero-copy { height: 350px; }
  .zp2-product .zp2-hero-copy { padding: 20px; }
  .zp2-product .zp2-hero-copy h1 { font-size: 27px; line-height: 1.15; }
  .zp2-product .zp2-buy-card { padding: 20px; }
  .zp2-product .zp2-specs { grid-template-columns: 1fr 1fr; padding: 9px; }
  .zp2-product .zp2-specs div { padding: 12px; border-right: 0; border-bottom: 1px solid #e4eae1; }
  .zp2-product .zp2-specs div:nth-child(odd) { border-right: 1px solid #e4eae1; }
  .zp2-product .zp2-specs div:nth-last-child(-n+2) { border-bottom: 0; }
  .zp2-product .zp2-below { padding: 28px 16px; }
  .zp2-product .zp2-below > .zp2-guide { margin-left: 0; }
  .zp2-product .zp2-section-head { padding-top: 22px; }
  .zp2-product .zp2-below .post-content { font-size: 16px; line-height: 1.62; }
  .zp2-product .zp2-below .post-content ol > li,
  .zp2-product .zp2-below .post-content ul.wp-block-list > li { padding: 12px 12px 12px 48px; }
  .zp2-product .zp2-below .post-content ol > li::before,
  .zp2-product .zp2-below .post-content ul.wp-block-list > li::before { left: 12px; top: 12px; }
}
