/* POS top-15 contact / legal / category / about UX; no legal text or form-field removal. */
html[lang] body.pos-top15-contact #main .pos-contact-lead { margin-bottom: 14px; }
html[lang] body.pos-top15-contact #main .pos-contact-actions { margin-bottom: 20px; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 28px; align-items: start; margin: 0 auto 28px; max-width: 1100px; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-panel { min-width: 0; padding: 24px; border: 1px solid #dce3df; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgb(30 48 56 / 5%); }
html[lang] body.pos-top15-contact #main .pos-contact-form-title { margin: 0 0 10px; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.25; text-align: left; }
html[lang] body.pos-top15-contact #main .pos-contact-form-helper { margin: 0 0 16px; text-align: left; font-size: 15px; line-height: 1.5; }
html[lang] body.pos-top15-contact #main .wpcf7 { width: 100%; max-width: none; margin: 0; padding: 0 !important; border: 0; background: none; box-shadow: none; }
html[lang] body.pos-top15-contact #main .wpcf7 form.pos-ux-enquiry,
html[lang] body.pos-top15-contact #main .wpcf7 form > .pos-ux-enquiry { width: 100%; margin: 0; padding: 0 !important; }
html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary { display: block !important; width: 100%; }
html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary > p { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100% !important; max-width: none !important; margin: 0; }
html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary > p > br { display: none; }
html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary label { width: 100% !important; max-width: none !important; min-width: 0; }
html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary input { width: 100%; }
html[lang] body.pos-top15-contact #main .pos-contact-file-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; }
html[lang] body.pos-top15-contact #main .pos-contact-overview { display: block !important; margin: 0; }
html[lang] body.pos-top15-contact #main .pos-contact-card { margin: 0 0 16px; padding: 20px; }
html[lang] body.pos-top15-contact #main .pos-contact-card h2 { font-size: 22px; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-help { margin: 0; border: 1px solid #dce3df; border-radius: 12px; background: #f8faf9; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-help > summary { cursor: pointer; padding: 14px 18px; min-height: 48px; font-weight: 600; color: #24383e; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-help .pos-contact-checklist { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
html[lang] body.pos-top15-contact #main .pos-top15-contact-help .pos-contact-solutions { padding: 0 20px 20px; margin: 0; font-size: 14px; line-height: 1.6; }
html[lang] body.pos-top15-contact #main summary:focus-visible { outline: 3px solid #53640d; outline-offset: 3px; }

html[lang] body.pos-top15-legal #main .pos-legal-toc { padding: 0; }
html[lang] body.pos-top15-legal #main .pos-top15-legal-details > summary { cursor: pointer; padding: 18px 22px; color: #24383e; font-size: 18px; font-weight: 700; min-height: 48px; }
html[lang] body.pos-top15-legal #main .pos-top15-legal-details ul { padding: 0 22px 20px; margin: 0; }
html[lang] body.pos-top15-legal #main .pos-top15-legal-details > summary:focus-visible { outline: 3px solid #53640d; outline-offset: -3px; }
html[lang] body.pos-top15-cookies #main .pos-top15-cookie-scroll:focus-visible { outline: 3px solid #53640d; outline-offset: 3px; }

html[lang] body.pos-top15-category #main .products > .product-small > .col-inner { height: 100%; }
html[lang] body.pos-top15-category #main .product-small.box { height: 100%; display: flex; flex-direction: column; border: 1px solid #dce3df; border-radius: 12px; overflow: hidden; background: #fff; }
html[lang] body.pos-top15-category #main .product-small.box .box-image { width: 100%; }
html[lang] body.pos-top15-category #main .product-small.box .box-text-products { flex: 1; display: flex; flex-direction: column; padding: 16px !important; }
html[lang] body.pos-top15-category #main .product-small.box .woocommerce-loop-product__title { min-height: 2.8em; line-height: 1.4; margin: 0 0 10px; }
html[lang] body.pos-top15-category #main .pos-top15-category-description { color: #4b5f66; font-size: 15px; line-height: 1.5; margin: 0; }
html[lang] body.pos-top15-category #main .product-small.box a:focus-visible { outline: 3px solid #53640d; outline-offset: 3px; }

html[lang] body.pos-top15-about #main .pos-top15-about-intro { padding: 32px 36px; margin-bottom: 24px; }
html[lang] body.pos-top15-about #main .pos-about-title { font-size: clamp(34px, 3.5vw, 48px) !important; line-height: 1.15; margin: 0 0 16px; }
html[lang] body.pos-top15-about #main .pos-top15-about-intro .pos-about-lead { font-size: 18px; line-height: 1.6; }
html[lang] body.pos-top15-about #main .pos-about-pillars { margin-top: 20px; margin-bottom: 28px; }
html[lang] body.pos-top15-about #main .pos-about-pillar { padding: 18px; }
html[lang] body.pos-top15-about #main .pos-about-section-title { margin-bottom: 20px; }
html[lang] body.single-product #main .pos-top15-documentation-link { display: inline-block; margin-top: 8px; padding: 4px 0; color: #40500a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html[lang] body.single-product #main .pos-top15-choice-details { margin: 0 0 20px; padding: 0; border: 1px solid #dce3df; border-radius: 12px; background: #fff; }
html[lang] body.single-product #main .pos-top15-choice-details > summary { cursor: pointer; min-height: 48px; padding: 16px 18px; color: #24383e; font-size: 18px; font-weight: 700; }
html[lang] body.single-product #main .pos-top15-choice-details > .pos-tech-grid { margin: 0; padding: 0 16px 16px; gap: 12px; }
html[lang] body.single-product #main .pos-top15-choice-details .pos-tech-card { padding: 16px; background: #f8faf9; }
html[lang] body.single-product #main .pos-top15-choice-details .pos-tech-card h3 { font-size: 19px; line-height: 1.35; }
html[lang] body.single-product #main .pos-top15-choice-details .pos-tech-card :is(p, ul) { font-size: 14px; line-height: 1.5; }
html[lang] body.single-product #main .pos-top15-choice-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #40500a; text-decoration: underline; text-underline-offset: 3px; }
html[lang] body.single-product #main .pos-top15-choice-details > summary:focus-visible,
html[lang] body.single-product #main .pos-top15-choice-link:focus-visible,
html[lang] body.single-product #main .pos-top15-documentation-link:focus-visible { outline: 3px solid #53640d; outline-offset: 3px; }

html[lang] body #main summary.pos-top15-toggle-control { display: flex; align-items: center; gap: 12px; list-style: none; }
html[lang] body #main summary.pos-top15-toggle-control::-webkit-details-marker { display: none; }
html[lang] body #main .pos-top15-toggle-indicator { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; margin-left: auto; border: 1px solid #85969a; border-radius: 50%; color: #40565c; font-size: 18px; line-height: 1; }
html[lang] body #main .pos-top15-toggle-indicator::after { content: '+'; }
html[lang] body #main details[open] > summary > .pos-top15-toggle-indicator::after { content: '−'; }

@media (max-width: 849px) {
  html[lang] body.single-product #main :is(h2, h3, section, .landing-gallery, .pos-ux-gallery)[id] { scroll-margin-top: var(--pos-top15-anchor-offset, 152px) !important; }
  html[lang] body.pos-top15-contact #main #content { width: 100%; margin-left: 0; margin-right: 0; }
  html[lang] body.pos-top15-contact #main .row-main > .col { padding-left: 15px; padding-right: 15px; }
  html[lang] body.pos-top15-contact #main .pos-top15-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html[lang] body.pos-top15-contact #main .pos-top15-contact-panel { padding: 18px; }
  html[lang] body.pos-top15-contact #main .pos-contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  html[lang] body.pos-top15-contact #main .pos-contact-actions a.button { padding: 10px 12px; min-height: 44px; font-size: 15px; }
  html[lang] body.pos-top15-legal #main .pos-legal-toc { margin: 22px 0; }
  html[lang] body.pos-top15-legal #main .pos-top15-legal-details > summary { padding: 14px 18px; font-size: 17px; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-scroll { overflow-x: auto !important; isolation: isolate; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table { min-width: 900px !important; table-layout: auto !important; border-collapse: separate; border-spacing: 0; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table th,
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table td { padding: 12px 14px; vertical-align: top; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; min-width: 136px; max-width: 160px; width: 150px; background: #f8faf9; color: #24383e; box-shadow: 3px 0 5px rgb(30 48 56 / 12%); overflow-wrap: anywhere; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table thead th:first-child { z-index: 2; background: #e9eeea; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table :is(th, td):nth-child(4) { min-width: 310px !important; max-width: 360px; }
  html[lang] body.pos-top15-about #main .pos-top15-about-intro { padding: 24px 20px; margin-bottom: 20px; }
  html[lang] body.pos-top15-about #main .pos-about-title { font-size: 34px !important; }
  html[lang] body.pos-top15-about #main .pos-about-pillar { padding: 16px; }
}
@media (max-width: 549px) {
  html[lang] body.pos-top15-contact #main .wpcf7 .cf7-row-primary > p { grid-template-columns: minmax(0, 1fr) !important; gap: 0; }
  html[lang] body.pos-top15-category #main .product-small.box .box-text-products { padding: 12px !important; }
  html[lang] body.pos-top15-category #main .product-small.box .woocommerce-loop-product__title { min-height: 4.2em; font-size: 16px; }
  html[lang] body.pos-top15-category #main .pos-top15-category-description { font-size: 14px; }
}
@media print {
  html[lang] body.pos-top15-contact #main .pos-top15-contact-grid { display: block; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-scroll { overflow: visible; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table { min-width: 0 !important; width: 100%; }
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-table :is(th, td):first-child { position: static; box-shadow: none; }
}

/* Shared template refinements: only classes validated and marked by ostalo.js. */
html[lang] body.pos-top15-legal #main .pos-legal-toc { margin: 22px 0 28px; border: 1px solid #dce4e6; border-radius: 12px; background: #f8faf9; }
html[lang] body.pos-top15-legal #main .pos-top15-legal-details ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0 24px; list-style: none; }
html[lang] body.pos-top15-legal #main .pos-top15-legal-details a { display: block; padding: 9px 0; min-height: 44px; line-height: 1.45; color: #263c43 !important; text-decoration: underline; text-underline-offset: 3px; }
html[lang] body.pos-top15-cookies #main .pos-top15-cookie-hint { margin: 14px 0 10px; color: #52666d; font-size: 13px; line-height: 1.5; }
html[lang] body #main summary.pos-top15-toggle-control::after { content: none !important; }

html[lang] body.pos-top15-about #main .pos-top15-about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px 32px; }
html[lang] body.pos-top15-about #main .pos-top15-about-layout-copy { min-width: 0; text-align: left; }
html[lang] body.pos-top15-about #main .pos-top15-about-layout-copy .pos-about-lead { margin-bottom: 0; }
html[lang] body.pos-top15-about #main .pos-top15-about-photo { min-width: 0; margin: 0; width: 100%; }
html[lang] body.pos-top15-about #main .pos-top15-about-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
html[lang] body.pos-top15-about #main .pos-top15-about-photo figcaption { padding-top: 8px; color: #52666d; font-size: 13px; text-align: left; line-height: 1.45; }
html[lang] body.pos-top15-about #main .pos-top15-about-layout > :not(.pos-top15-about-layout-copy):not(.pos-top15-about-photo) { grid-column: 1 / -1; margin-top: 0 !important; margin-bottom: 0 !important; }
html[lang] body.pos-top15-about #main .pos-top15-about-principles { margin: 24px 0; border: 1px solid #dce4e6; border-radius: 12px; background: #fff; }
html[lang] body.pos-top15-about #main .pos-top15-about-principles > summary { min-height: 48px; padding: 16px 18px; cursor: pointer; color: #263c43; font-weight: 700; }
html[lang] body.pos-top15-about #main .pos-top15-about-principles .pos-about-principles { margin: 0; padding: 22px; border: 0; border-radius: 0; background: #f8faf9; box-shadow: none; }

html[lang] body.pos-top15-guide #main .pos-top15-advice-guide { max-width: 820px; color: #263c43; }
html[lang] body.pos-top15-guide #main .pos-top15-advice-guide h1 { font-size: clamp(32px, 4.3vw, 46px) !important; line-height: 1.16; text-transform: none !important; overflow-wrap: anywhere; margin-bottom: 20px; }
html[lang] body.pos-top15-guide #main .pos-top15-advice-guide h2 { font-size: clamp(23px, 2.9vw, 30px) !important; line-height: 1.3; text-transform: none !important; overflow-wrap: anywhere; }
html[lang] body.pos-top15-guide #main .pos-guide-toc > summary { padding: 14px 16px; min-height: 48px; color: #263c43; line-height: 1.45; }
html[lang] body.pos-top15-guide #main .pos-guide-toc ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
html[lang] body.pos-top15-guide #main .pos-guide-toc a { min-height: 44px; padding: 9px 0; line-height: 1.45; color: #263c43 !important; }
html[lang] body.pos-top15-guide #main .pos-top15-guide-early { margin: 16px 0; }
html[lang] body.pos-top15-guide #main .pos-top15-guide-early a.button { margin: 0; min-height: 48px; text-transform: none !important; }

html[lang] body.pos-top15-guide-hub #main :is(.pos-guide-hub, .pos-guide-index) { max-width: 1100px; margin: 0 auto; color: #263c43; }
html[lang] body.pos-top15-guide-hub #main :is(.pos-guide-hub, .pos-guide-index) > h1 { font-size: clamp(32px, 4.3vw, 46px) !important; line-height: 1.16; max-width: 24ch; text-transform: none !important; overflow-wrap: anywhere; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; margin: 28px 0 32px !important; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-card { display: flex; flex-direction: column; min-width: 0; padding: 22px !important; border: 1px solid #dce4e6 !important; border-radius: 14px !important; background: #f8faf9 !important; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-card h2 { font-size: 21px !important; line-height: 1.35 !important; margin: 0 0 14px; text-transform: none !important; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-card :is(p, a) { overflow-wrap: anywhere; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-read { display: inline-flex !important; align-items: center; min-height: 44px; margin-top: auto; padding: 8px 0 !important; font-weight: 700; line-height: 1.45; color: #263c43 !important; text-decoration: underline; text-underline-offset: 3px; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-hub-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; margin: 8px 0; border: 2px solid #ccd500; border-radius: 8px; background: #ccd500; color: #203238 !important; text-transform: none; text-decoration: none !important; font-weight: 700; line-height: 1.5; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-read:hover,
html[lang] body.pos-top15-guide #main .pos-guide-toc a:hover,
html[lang] body.pos-top15-legal #main .pos-top15-legal-details a:hover { color: #203238 !important; text-decoration-thickness: 2px; }
html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-hub-cta:hover { background: #e0e65a; border-color: #e0e65a; }

html[lang] body.pos-top15-trust-content #main :is(.pos-case, .pos-refhub, .pos-tc, .pos-custom-made, .pos-trust-paths, .pos-price-addition, .pos-replacement-addition) { color: #263c43; font-family: inherit; line-height: 1.65; }
html[lang] body.pos-top15-trust-content #main :is(.pos-case, .pos-refhub, .pos-tc, .pos-custom-made, .pos-trust-paths) h1 { font-size: clamp(32px, 4.7vw, 54px) !important; line-height: 1.13 !important; text-transform: none !important; color: #203238 !important; overflow-wrap: anywhere; }
html[lang] body.pos-top15-trust-content #main :is(.pos-case, .pos-refhub, .pos-tc, .pos-custom-made, .pos-trust-paths, .pos-price-addition, .pos-replacement-addition) h2 { font-size: clamp(24px, 3.2vw, 34px) !important; line-height: 1.25 !important; text-transform: none !important; color: #203238 !important; overflow-wrap: anywhere; }
html[lang] body.pos-top15-trust-content #main :is(.pos-case, .pos-refhub, .pos-tc, .pos-custom-made, .pos-trust-paths, .pos-price-addition, .pos-replacement-addition) h3 { font-size: clamp(20px, 2.5vw, 24px) !important; line-height: 1.3 !important; text-transform: none !important; color: #203238 !important; overflow-wrap: anywhere; }
html[lang] body.pos-top15-trust-content #main :is(.pos-case__hero, .pos-refhub__hero, .pos-tc__hero, .pos-custom-made__hero, .pos-trust-paths) { background: #f5f8f8 !important; background-image: none !important; border-color: #dce4e6; box-shadow: 0 8px 24px rgb(30 48 56 / 5%) !important; }
html[lang] body.pos-top15-trust-content #main :is(.pos-case__step, .pos-refhub__card, .pos-refhub__explain, .pos-tc__card, .pos-tc__measure, .pos-custom-made__card, .pos-trust-paths__card) { min-width: 0; border-color: #dce4e6; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgb(30 48 56 / 4%); }

@media (min-width: 850px) {
  html[lang] body.pos-top15-cookies #main .pos-top15-cookie-hint { display: none; }
}
@media (max-width: 849px) {
  html[lang] body.pos-top15-about #main .pos-top15-about-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html[lang] body.pos-top15-guide #main .pos-top15-advice-guide { padding: 24px 0 36px !important; }
  html[lang] body.pos-top15-guide #main .pos-top15-guide-early a.button { width: 100%; }
}
@media (max-width: 700px) {
  html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-card { padding: 20px !important; }
  html[lang] body.pos-top15-guide-hub #main .pos-top15-guide-hub-cta { width: 100%; }
}
@media (max-width: 549px) {
  html[lang] body.pos-top15-about #main .pos-about-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
  html[lang] body.pos-top15-about #main .pos-about-proof-grid > div { padding: 13px 15px; }
  html[lang] body.pos-top15-about #main .pos-about-proof-grid dt { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
  html[lang] body.pos-top15-about #main .pos-about-proof-grid dd { font-size: 14px; line-height: 1.45; margin-top: 5px; overflow-wrap: anywhere; hyphens: auto; }
  html[lang] body.pos-top15-about #main .pos-about-pillars .wp-block-columns { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 18px; }
  html[lang] body.pos-top15-about #main .pos-about-pillars .wp-block-column { min-width: 0; margin: 0; }
  html[lang] body.pos-top15-guide-hub #main :is(.pos-guide-hub, .pos-guide-index) { padding: 24px 0 36px !important; }
}
