/* Product-specific layout; shared site colours, controls and form remain authoritative. */
.tws-naezdnik { color:#172a2e; font-family:Arial,sans-serif; font-size:16px; line-height:1.65; }
.tws-naezdnik *, .tws-naezdnik *::before, .tws-naezdnik *::after { box-sizing:border-box; }
body.tws-shell-active .tws-naezdnik h2 { font-family:Arial,sans-serif; font-weight:800; font-size:clamp(26px,3vw,32px); line-height:1.2; }
body.tws-shell-active .tws-naezdnik h3 { margin:0 0 12px; font-family:Arial,sans-serif; font-weight:700; font-size:22px; line-height:1.28; }
body.tws-shell-active .entry-content .tws-naezdnik p { margin:0 0 16px; line-height:1.65; }
body.tws-shell-active .entry-content .tws-naezdnik p:last-child { margin-bottom:0; }
.tws-naezdnik-hero { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:30px; padding:34px; border:1px solid #d5e5e7; border-radius:18px; background:#f2f7f8; }
body.tws-shell-active .tws-naezdnik-hero h2 { margin:10px 0 16px; font-size:clamp(28px,3.4vw,40px); line-height:1.14; }
.tws-naezdnik-kicker { color:#08717a; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
body.tws-shell-active .entry-content .tws-naezdnik .tws-naezdnik-lead { color:#40565a; font-size:18px; line-height:1.6; }
.tws-naezdnik-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }
.tws-naezdnik-secondary { display:inline-flex; justify-content:center; align-items:center; min-height:48px; padding:10px 20px; border:1px solid #a8c9cd; border-radius:10px; background:#fff; color:#08717a!important; font-weight:700; text-decoration:none!important; }
.tws-naezdnik-secondary:hover { background:#e5f2f3; }
.tws-naezdnik-photo { min-width:0; margin:0; overflow:hidden; border:1px solid #e1ebed; border-radius:14px; background:#fff; }
.tws-naezdnik-photo a { display:block; }
.tws-naezdnik-photo img { display:block; width:100%; max-width:100%; height:auto; margin:0; }
.tws-naezdnik-photo figcaption { padding:12px 16px; color:#53666b; font-size:14px; line-height:1.5; }
.tws-naezdnik-grid { display:grid; gap:22px; }
.tws-naezdnik-grid > * { min-width:0; }
.tws-naezdnik-benefits { grid-template-columns:repeat(4,minmax(0,1fr)); }
.tws-naezdnik-card { padding:24px; border:1px solid #d5e5e7; border-radius:14px; background:#fff; }
.tws-naezdnik-number { display:none; }
.tws-naezdnik-specs { padding:30px; border-radius:16px; background:#f7fafb; }
body.tws-shell-active .entry-content .tws-naezdnik-specs > h2 { margin:0 0 20px; color:#172022; font-size:30px; line-height:1.2; }
body.tws-shell-active .entry-content .tws-naezdnik-table-wrap { min-width:0; margin:0; border-bottom:1px solid #f0f0f0; }
.tws-naezdnik-table { width:100%; margin:0!important; border-collapse:collapse; border:0; table-layout:auto; }
.tws-naezdnik-table tbody tr:nth-child(odd) { background:#f0f0f0; }
body.tws-shell-active .entry-content .tws-naezdnik-table th, body.tws-shell-active .entry-content .tws-naezdnik-table td { padding:10px 5px; border:1px solid transparent; background:transparent; font:400 16px/1.65 Arial,sans-serif; text-align:left; vertical-align:middle; overflow-wrap:break-word; }
body.tws-shell-active .entry-content .tws-naezdnik-table th { width:35%; color:#676767; }
body.tws-shell-active .entry-content .tws-naezdnik-table td { color:#5d5c5c; }
.tws-naezdnik-selection { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:36px; align-items:center; }
.tws-naezdnik-selection > h3, .tws-naezdnik-selection-copy { grid-column:1; }
.tws-naezdnik-selection > .tws-naezdnik-phone { grid-column:2; grid-row:1 / span 2; }
body.tws-shell-active .entry-content .tws-naezdnik-selection p { color:#40565a; }
.tws-naezdnik-phone { color:#08717a!important; font-size:23px; font-weight:800; white-space:nowrap; }
.tws-naezdnik-explain { grid-template-columns:1fr 1fr; align-items:start; gap:32px; }
.tws-naezdnik-explain h3:not(:first-child) { margin-top:26px; }
.tws-naezdnik-assembly { padding:16px; }
.tws-naezdnik-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tws-naezdnik-note { color:#53666b; font-size:15px; }
.tws-naezdnik .wp-block-details { padding:16px 18px; border:1px solid #d5e5e7; border-radius:10px; }
.tws-naezdnik .wp-block-details p { margin-top:14px; }
.tws-naezdnik [id] { scroll-margin-top:24px; }
@media(max-width:1000px) { .tws-naezdnik-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:781px) {
  .tws-naezdnik-hero, .tws-naezdnik-explain, .tws-naezdnik-steps { grid-template-columns:1fr; }
  .tws-naezdnik-hero { padding:24px; gap:24px; }
  .tws-naezdnik-explain { gap:24px; }
  .tws-naezdnik-selection { display:block; }
  .tws-naezdnik-selection > .tws-naezdnik-phone { display:inline-block; margin-top:20px; }
  .tws-naezdnik-steps { gap:16px; }
}
@media(max-width:520px) {
  .tws-naezdnik-benefits { grid-template-columns:1fr; }
  .tws-naezdnik-hero, .tws-naezdnik-card, .tws-naezdnik-specs { padding:20px; }
  body.tws-shell-active .entry-content .tws-naezdnik .tws-naezdnik-lead { font-size:17px; }
  body.tws-shell-active .entry-content .tws-naezdnik-specs > h2 { font-size:26px; }
  body.tws-shell-active .entry-content .tws-naezdnik-table th, body.tws-shell-active .entry-content .tws-naezdnik-table td { font-size:14px; line-height:1.5; }
  .tws-naezdnik-actions { align-items:stretch; }
  .tws-naezdnik-actions > * { flex:1 1 180px; }
  .tws-naezdnik-assembly { padding:5px; }
}

/* Keep the in-content action consistent with the shared header button. */
body.tws-shell-active .entry-content .tws-naezdnik .tws-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; margin:0; padding:12px 24px; border:1px solid #ffca22; border-radius:10px; color:#101819; background:#ffca22; box-shadow:none; font:800 14px/1.3 Arial,sans-serif; text-align:center; cursor:pointer; }
body.tws-shell-active .entry-content .tws-naezdnik .tws-button:hover { background:#ffd544; border-color:#ffd544; }
body.tws-shell-active .entry-content .tws-naezdnik .tws-button:focus-visible { outline:3px solid #08717a; outline-offset:3px; }
body.tws-shell-active .entry-content .tws-naezdnik h2, body.tws-shell-active .entry-content .tws-naezdnik h3 { color:#172a2e; }

@media(max-width:360px) {
  .tws-naezdnik-specs { padding:16px; }
  body.tws-shell-active .entry-content .tws-naezdnik-specs > h2 { font-size:24px; }
  body.tws-shell-active .entry-content .tws-naezdnik-table th, body.tws-shell-active .entry-content .tws-naezdnik-table td { font-size:13px; overflow-wrap:anywhere; }
  body.tws-shell-active .entry-content .tws-naezdnik-table th { width:43%; }
}
