/*
Theme Name: Электрокарниз — восстановленная тема
Description: Локальная реконструкция оригинальной темы karnizy по снимкам Wayback и сохранившимся исходникам. Источники и ограничения описаны в проекте.
Version: 1.0.0
Text Domain: karnizy-recovered
*/
.recovery-blog{padding:30px 0 60px}.recovery-blog article{max-width:1080px;margin:0 auto}.recovery-blog h1{margin:20px 0 28px}.recovery-blog-hero{width:100%;max-height:500px;object-fit:cover;border-radius:8px;margin-bottom:25px}.recovery-article{font-size:18px;line-height:1.7}.recovery-article img{max-width:100%;height:auto}.recovery-article h2{margin:40px 0 20px}.recovery-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.recovery-blog-card{border:1px solid #ddd;border-radius:8px;overflow:hidden}.recovery-blog-card a{display:block;color:inherit;text-decoration:none}.recovery-blog-card h2{font-size:21px;line-height:1.4;padding:0 18px 20px}.recovery-blog-card img{height:200px;margin:0 0 15px;border-radius:0}.recovery-breadcrumb{font-size:14px;padding:8px 0;color:#666}.recovery-sitemap{columns:2;column-gap:40px}.recovery-sitemap li{break-inside:avoid;margin-bottom:10px}.recovery-external-media{display:block;padding:18px;background:#f2f4ed;color:#456400;border:1px solid #d9e1c8;border-radius:4px}.recovery-form-result{font:15px/1.5 Arial,sans-serif;margin:12px 0;padding:12px;border:1px solid #a7c84b;background:#f4f9e7;color:#263510}.recovery-form-result.error{border-color:#c07878;background:#fff2f2;color:#7d2323}.recovery-local-modal-open{overflow:hidden}.recovery-broken-image{background:#f0f0ed;min-height:50px}.recovery-article table{max-width:100%;display:block;overflow:auto}.recovery-article figure{margin:24px 0}.recovery-article figcaption{color:#666;font-size:14px}.recovery-local-help{font-size:12px;color:#666;margin-top:8px}@media(max-width:850px){.recovery-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recovery-blog{padding:20px 0}.recovery-article{font-size:16px}.recovery-sitemap{columns:1}}@media(max-width:540px){.recovery-blog-grid{grid-template-columns:1fr}.recovery-blog h1{font-size:28px}.recovery-blog-card img{height:220px}}

/* Preserve the original fixed-header offset and contain wide archived tables. */
body{padding-top:79px!important;overflow-x:hidden}main img{max-width:100%}.recovery-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.recovery-table-scroll table{margin-bottom:0}.recovery-external-media{max-width:100%;white-space:normal}main div[style*="width"]{max-width:100%}.offer{overflow:hidden}@media(max-width:575px){body{padding-top:61px!important}.recovery-table-scroll{margin-bottom:20px}}

.recovery-cart-form{max-width:720px;margin:30px 0 70px}.recovery-cart-form>label{display:block;margin:18px 0}.recovery-cart-form input:not([type=checkbox]),.recovery-cart-form textarea{display:block;width:100%;border:1px solid #bbb;padding:12px;margin-top:6px;background:white;color:#222}.recovery-cart-form .checks{font-size:15px}

/* Header correction documented in the surviving project notes, 30 Oct 2026. */
@media(min-width:1400px){header nav ul.nav>li{margin:0 10px}header .btn-call{margin:0 0 0 20px}}
@media(min-width:1200px) and (max-width:1399px){header .btn-call{height:40px;font-size:0;width:40px;min-width:40px;margin:0 0 0 15px;background:#9dc32c url(/recovered-assets/wp-content/uploads/img/phone.svg) center no-repeat}}
header .mobile-nav{cursor:pointer}header .mobile-nav:focus-visible{outline:2px solid #709414;outline-offset:4px}
