/* Layout adapters for the original prom_sl component markup. */
.legacy-restored { --legacy-accent:#c50000; }
.legacy-restored .legacy-icon { width:24px;height:24px;flex:none;display:inline-block;vertical-align:middle; }
.legacy-restored .legacy-header { position:relative;z-index:40;background:white; }
.legacy-restored.legacy-main .legacy-header { background:transparent;margin-bottom:-175px;color:white; }
.legacy-header .pk-wrap { max-width:1344px; }
.legacy-header .widget-panel { border-bottom:1px solid #e8e8e8; }
.legacy-header .legacy-panel-inner { min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px; }
.legacy-panel-inner a { display:flex;align-items:center;gap:10px;color:#999; }
.legacy-panel-inner .legacy-icon { width:15px;height:15px; }
.legacy-header .legacy-header-inner { height:85px;display:flex;align-items:center;gap:24px; }
.legacy-header .legacy-logo { width:280px;flex:none;display:block; }
.legacy-header .legacy-logo img { width:100%;height:auto;display:block; }
.legacy-header .legacy-tagline { width:180px;max-width:180px;max-height:none;overflow:visible;flex:none;font-size:12px;line-height:16px;margin:0;color:#999; }
.legacy-header .legacy-search { flex:1;min-width:100px;display:flex;border:1px solid #e8e8e8;border-radius:2px;height:40px;overflow:hidden; }
.legacy-search input { width:100%;min-width:0;padding:10px 14px;border:0;background:transparent;color:inherit;font-size:12px;outline-offset:-2px; }
.legacy-search input::placeholder { color:inherit;opacity:.7; }
.legacy-search button { background:transparent;color:inherit;border:0;padding:0 12px; }
.legacy-search .legacy-icon { width:18px;height:18px; }
.legacy-header-phone { display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:none; }
.legacy-header-phone>a { color:#2d2d2d;font-weight:600;font-size:16px;line-height:18px; }
.legacy-header-phone>button { padding:0;border:0;border-bottom:1px dotted currentColor;background:transparent;color:var(--legacy-accent);font-size:12px;line-height:17px; }
.legacy-basket { position:relative;display:flex;align-items:center;gap:5px;color:var(--legacy-accent);background:transparent;border:0;padding:8px 0 8px 5px; }
.legacy-basket>span { font-size:10px;min-width:18px;line-height:18px;text-align:center;border-radius:50%;background:var(--legacy-accent);color:white; }
.legacy-header .pk-menu-toggle { display:none; }
.legacy-nav .menu-wrapper { background:var(--legacy-accent)!important; }
.legacy-nav .legacy-nav-inner { position:relative;height:50px;display:flex;align-items:stretch; }
.legacy-nav .menu-item { display:flex!important;height:50px;align-items:stretch;flex:1;min-width:0;border-left:1px solid #ffffff20; }
.legacy-nav .menu-item:last-child { border-right:1px solid #ffffff20; }
#pk-nav .menu-item>.menu-item-text { display:flex;align-items:center;justify-content:center;flex:1;min-width:0;white-space:normal;padding:0 14px;font-size:14px; }
#pk-nav .menu-item-text-wrapper { display:block;max-width:100%;white-space:normal;font-size:14px;line-height:18px;color:white; }
.legacy-nav .menu-item>.menu-item-text:hover,.legacy-nav .menu-item>.menu-item-text[aria-current] { background:#ffffff16; }
.legacy-nav .legacy-catalog-menu { position:static!important;flex:1.25; }
.legacy-catalog-toggle { flex:none;color:white;padding:0 12px 0 0;border:0;background:transparent;font-size:20px; }
.legacy-catalog-dropdown { display:none;position:absolute;top:100%;left:0;right:0;background:white;color:#333;box-shadow:0 8px 30px #0003;max-height:min(70vh,650px);overflow:auto;z-index:20;border:1px solid #e8e8e8;padding:30px; }
.legacy-catalog-menu:hover .legacy-catalog-dropdown,.legacy-catalog-menu:focus-within .legacy-catalog-dropdown,.legacy-catalog-menu.is-open .legacy-catalog-dropdown { display:block; }
.legacy-catalog-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 36px; }
.legacy-catalog-grid section { min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start; }
.legacy-catalog-picture { width:64px;height:64px!important;object-fit:contain;background:#fff; }
.legacy-catalog-grid a { display:block;color:#808080;font-size:12px;line-height:1.5;padding:5px 0; }
.legacy-catalog-grid a.legacy-catalog-title { color:#333;font-size:14px;font-weight:600; }
.legacy-catalog-grid a:hover,.legacy-catalog-grid a:focus-visible { color:var(--legacy-accent); }
.legacy-all-catalog { display:block;margin-top:24px;padding-top:16px;border-top:1px solid #eee;font-size:13px;color:var(--legacy-accent); }
.legacy-restored.legacy-main .legacy-header .widget-view-desktop-1 { background:transparent; }
.legacy-restored.legacy-main .legacy-header .widget-panel { border-color:#ffffff35; }
.legacy-restored.legacy-main .legacy-header .legacy-panel-inner a,.legacy-restored.legacy-main .legacy-header .legacy-tagline,.legacy-restored.legacy-main .legacy-header-phone>a,.legacy-restored.legacy-main .legacy-header-phone>button,.legacy-restored.legacy-main .legacy-header .legacy-search,.legacy-restored.legacy-main .legacy-basket { color:white; }
.legacy-restored.legacy-main .legacy-header .legacy-search { border-color:#ffffff60; }
.legacy-restored .legacy-banner { position:relative;min-height:520px;background:#30343a; }
.legacy-banner .legacy-slide { position:relative;background-size:cover;background-position:center; }
.legacy-banner .legacy-slide::before { content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000b,#0005);pointer-events:none; }
.legacy-banner .legacy-slide[hidden] { display:none; }
.legacy-banner .legacy-slide-inner { position:relative;z-index:1;min-height:520px;display:flex;align-items:center;padding-top:200px;padding-bottom:45px; }
.legacy-banner .legacy-slide-copy { max-width:750px; }
#main .legacy-banner .widget-item-header { color:white;font-size:40px;font-weight:500;line-height:52px;margin:0 0 24px;white-space:normal;max-width:100%;max-height:none;height:auto;overflow:visible; }
#main .legacy-banner .widget-item-description { display:block;font-size:16px;color:white;line-height:1.6;max-height:none;height:auto;overflow:visible;-webkit-line-clamp:unset; }
.legacy-restored .legacy-button { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:16px 28px;border:1px solid var(--legacy-accent);border-radius:2px;background:var(--legacy-accent);color:white;font-size:12px;line-height:18px;cursor:pointer;transition:background .2s; }
.legacy-restored .legacy-button:hover { background:#a50000;border-color:#a50000;color:white; }
.legacy-restored .legacy-button-outline { background:transparent;color:var(--legacy-accent); }
.legacy-restored .legacy-button-outline:hover { color:white;background:var(--legacy-accent); }
.legacy-slide-controls { position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px; }
.legacy-slide-controls>button { background:transparent;border:0;color:white;font-size:32px; }
.legacy-slide-controls>div { display:flex;gap:10px; }
.legacy-slide-controls [data-slide-to] { width:8px;height:8px;border:1px solid white;border-radius:50%;padding:0;background:transparent; }
.legacy-slide-controls [aria-current] { background:white; }
.legacy-home .intec-content { width:calc(100% - 96px);max-width:1344px;margin:0 auto; }
.legacy-home .intec-content-wrapper { margin:0; }
.legacy-home .dopuski-item-icon .legacy-icon { width:26px;height:26px; }
.legacy-home .dopuski-title { margin-top:0; }
.legacy-home .widget.c-advantages.c-advantages-template-30 { padding:60px 0; }
/* The source template clips its negative grid margins inside widget-items-wrap. */
.legacy-home .c-advantages-template-30 > .pk-wrap { overflow:hidden; }
.legacy-home .legacy-advantages-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:-30px; }
.legacy-home .legacy-advantages-grid .widget-item { min-width:0; }
.legacy-home .legacy-advantages-grid .widget-item-wrapper { padding:30px; }
.legacy-home .legacy-advantages-grid .widget-item-picture { height:38px;display:flex;align-items:center;justify-content:center;color:var(--legacy-accent);margin-bottom:24px; }
.legacy-home .legacy-advantages-grid .widget-item-picture .legacy-icon { width:38px;height:38px; }
.legacy-home .legacy-advantages-grid .widget-item-name { margin:0 0 4px;font-size:14px;font-weight:500;line-height:22px;color:#404040; }
.legacy-home .legacy-advantages-grid .widget-item-description { font-size:13px;line-height:18px;color:#808080; }
.legacy-home .legacy-block { margin:50px 0; }
.legacy-home .legacy-section-heading { display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:30px; }
.legacy-home .legacy-section-heading .widget-title { font-size:28px;line-height:36px;margin:0!important;text-align:center;color:#2c2c2c;font-weight:600; }
.legacy-home .legacy-section-heading .widget-list { position:absolute;right:0;top:50%;transform:translateY(-50%); }
.legacy-home .legacy-popular-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px; }
.legacy-home .legacy-popular-grid .widget-item { border-radius:0;background:#ddd;min-width:0; }
.legacy-home .legacy-popular-grid .widget-item-picture { background-size:cover;padding-top:78%; }
.legacy-home .legacy-popular-grid .widget-item-picture:before { top:25%;background:linear-gradient(180deg,transparent,#000b); }
.legacy-home .legacy-popular-grid .widget-item-content { display:flex;align-items:flex-end;padding:24px; }
.legacy-home .legacy-popular-grid .widget-item-content-container { width:100%; }
.legacy-home .legacy-popular-grid .widget-item-name { margin:0;font-size:18px;line-height:22px;color:white;max-height:none;font-weight:500; }
.legacy-home .legacy-about-grid { display:grid;grid-template-columns:40% minmax(0,1fr);gap:48px;align-items:start; }
.legacy-home .legacy-about-brand { min-height:360px;background:#f8f9fb;display:flex;align-items:center;justify-content:center;padding:35px; }
.legacy-home .legacy-about-brand img { width:100%;max-width:380px;height:auto; }
.legacy-home .c-about-ref-template-2 .widget-title { margin:0 0 16px;font-size:10px;font-weight:400; }
.legacy-home .c-about-ref-template-2 .widget-name { font-size:32px;line-height:40px;font-weight:500;margin:0 0 22px; }
.legacy-home .c-about-ref-template-2 .widget-preview { font-size:14px;line-height:24px;color:#808080; }
.legacy-home .c-about-ref-template-2 .widget-preview p { margin:0 0 16px; }
.legacy-home .c-about-ref-template-2 .widget-preview ul { padding-left:20px;margin:0 0 16px; }
.legacy-home .c-about-ref-template-2 .widget-preview li { margin-bottom:8px; }
.legacy-home .legacy-about-buttons { display:flex;gap:15px;flex-wrap:wrap;align-items:flex-start; }
.legacy-about-buttons>div { text-align:center; }
.legacy-about-buttons>div>p { font-size:12px;color:#666;font-style:italic;margin:5px 0 0; }
.legacy-home .legacy-contact-map { position:relative;min-height:500px;background:#e8e8e8; }
.legacy-contact-map>iframe { position:absolute;inset:0;width:100%;height:100%;border:0; }
.legacy-contact-map .legacy-map-overlay { position:relative;padding-top:60px;pointer-events:none; }
.legacy-contact-map .widget-items-container { width:350px;max-width:100%;background:#17171d;pointer-events:auto; }
.legacy-contact-map .widget-item-name { margin:0;font-size:16px;line-height:22px; }
.legacy-contact-map .widget-item-information p { margin:0 0 8px; }
.legacy-map-link { color:white;text-decoration:underline;font-size:12px;display:inline-block;margin-top:12px; }
.legacy-consultation { padding:30px 0;background:var(--legacy-accent);color:white; }
.legacy-consultation-inner { display:grid;grid-template-columns:250px minmax(0,1fr) auto;align-items:center;gap:30px; }
.legacy-consultation .widget-web-form-2-title { font-size:22px;font-weight:600;line-height:1.2;margin:0;color:white; }
.legacy-consultation .widget-web-form-2-description { margin:0;font-size:16px;line-height:24px;color:white; }
.legacy-consultation .legacy-button { border-color:white;color:white;white-space:nowrap; }
.legacy-consultation .legacy-button:hover { background:white;color:var(--legacy-accent); }
.legacy-footer { background:#242428;color:#aaa;padding:50px 0 24px;font-size:13px; }
.legacy-footer-main { display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-bottom:45px; }
.legacy-footer-menu { display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;align-content:start; }
.legacy-footer-menu a { color:#ddd;font-size:13px; }
.legacy-footer-contacts { display:grid;grid-template-columns:1fr 1fr;gap:25px 35px;align-items:start; }
.legacy-footer-contacts a { display:flex;gap:14px;color:#eee;line-height:1.7; }
.legacy-footer-contacts .legacy-icon { width:18px;height:18px;margin-top:4px;color:#888; }
.legacy-footer-contacts small { font-size:12px;color:#aaa; }
.legacy-footer-contacts button { justify-self:start;border:1px solid #555;background:transparent;color:#ddd;padding:12px 24px;border-radius:2px;font-size:12px; }
.legacy-footer-bottom { border-top:1px solid #ffffff18;padding-top:25px;display:flex;align-items:center;gap:35px;font-size:11px;line-height:1.8; }
.legacy-footer-logo { width:210px;flex:none; }
.legacy-footer-logo img { width:100%;height:auto; }
.legacy-footer-bottom p { margin:0 0 4px; }
.legacy-footer-bottom>a:last-child { margin-left:auto;color:#aaa; }
@media(max-width:1200px) {
 .legacy-header .legacy-tagline { display:none; }
 .legacy-header .legacy-header-inner { gap:24px; }
 #pk-nav .menu-item>.menu-item-text { padding:0 10px; }
 #pk-nav .menu-item-text-wrapper { font-size:12px; }
 .legacy-home .legacy-popular-grid { gap:24px; }
 .legacy-home .legacy-about-grid { gap:30px;grid-template-columns:35% minmax(0,1fr); }
 .legacy-consultation-inner { grid-template-columns:210px minmax(0,1fr) auto;gap:20px; }
 .legacy-consultation .widget-web-form-2-description { font-size:14px;line-height:22px; }
 .legacy-footer-main { gap:40px; }
}
@media(max-width:1000px) {
 .legacy-header .legacy-logo { width:240px; }
 .legacy-header .legacy-header-inner { gap:18px; }
 .legacy-header-phone>a { font-size:14px; }
 .legacy-home .legacy-popular-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .legacy-home .legacy-advantages-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .legacy-footer-contacts { grid-template-columns:1fr; }
 .legacy-consultation-inner { grid-template-columns:1fr auto; }
 .legacy-consultation .widget-web-form-2-description { grid-row:2; }
 .legacy-consultation-inner>button { grid-column:2;grid-row:1/3; }
}
@media(max-width:768px) {
 .legacy-restored.legacy-main .legacy-header { background:white;color:#333;margin-bottom:0; }
 #legacy-header .widget-panel { display:none; }
 .legacy-header .legacy-header-inner { height:auto;min-height:80px;flex-wrap:wrap;gap:12px;padding:16px 0; }
 #legacy-header .legacy-header-inner { display:grid;grid-template-columns:minmax(0,1fr) 38px 32px;gap:14px 12px;min-height:0;height:auto;padding:20px 0; }
 .legacy-header .legacy-logo { width:235px;max-width:calc(100% - 96px); }
 #legacy-header .legacy-logo { width:100%;max-width:235px;line-height:normal;padding:0;min-height:0; }
 .legacy-header .legacy-logo img { content:url('/include/logo-dark.png'); }
 .legacy-header .legacy-header-phone { display:none; }
 .legacy-header .legacy-search { flex-basis:100%;order:5;height:38px;color:#333!important;border-color:#e8e8e8!important; }
 #legacy-header .legacy-search { grid-column:1/-1;order:5;width:100%;height:38px;margin:0; }
 .legacy-header .legacy-basket { margin-left:auto;color:var(--legacy-accent)!important;padding:0;gap:0; }
 #legacy-header .legacy-basket { margin:0;align-self:center;justify-self:end; }
 .legacy-header .legacy-basket .legacy-icon { width:20px;height:20px; }
 .legacy-header .legacy-basket>span { min-width:15px;line-height:15px;font-size:9px; }
 .legacy-header .pk-menu-toggle { display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:32px;height:32px;margin-left:0;flex:none;border:0;background:transparent; }
 .legacy-header .pk-menu-toggle span { display:block;width:24px;height:2px;background:#444; }
 .legacy-restored .legacy-header.c-header.c-header-template-1 .widget-view.widget-view-desktop { display:block!important; }
 .legacy-header .widget-menu { background:white; }
 .legacy-nav { display:none!important; }
 .legacy-nav.is-open { display:block!important; }
 .legacy-nav .legacy-nav-inner { display:block;height:auto;width:100%; }
 .legacy-nav .menu-item { height:auto;min-height:48px;flex-wrap:wrap;position:relative!important;border:0!important;border-bottom:1px solid #ffffff25!important; }
 #pk-nav .menu-item>.menu-item-text { justify-content:flex-start;min-height:48px;padding:14px 20px; }
 #pk-nav .menu-item-text-wrapper { font-size:13px; }
 .legacy-catalog-toggle { padding:0 24px; }
 .legacy-catalog-dropdown { position:static;width:100%;padding:20px;max-height:55vh;box-shadow:none; }
 .legacy-catalog-menu:hover .legacy-catalog-dropdown,.legacy-catalog-menu:focus-within .legacy-catalog-dropdown { display:none; }
 .legacy-catalog-menu.is-open .legacy-catalog-dropdown { display:block; }
 .legacy-catalog-grid { grid-template-columns:1fr;gap:18px; }
 .legacy-restored .legacy-banner { min-height:300px; }
 .legacy-banner .legacy-slide-inner { min-height:300px;padding-top:35px;padding-bottom:35px; }
 #main .legacy-banner .widget-item-header { font-size:24px!important;line-height:32px; }
 .legacy-banner .widget-item-description { font-size:14px; }
 .legacy-restored .legacy-button { padding:12px 20px;font-size:11px; }
 .legacy-home .intec-content { width:calc(100% - 32px); }
 .legacy-home .dopuski-title { font-size:20px;line-height:1.4; }
 .legacy-home .dopuski-item { padding:18px 12px; }
 .legacy-home .dopuski-item-name { font-size:14px; }
 .legacy-home .dopuski-item-text { font-size:11px;line-height:1.5; }
 .legacy-home .dopuski-all a { font-size:12px;line-height:1.6; }
 .legacy-home .widget.c-advantages.c-advantages-template-30 { padding:30px 0; }
 #main .legacy-advantages-grid { grid-template-columns:1fr;margin:-20px 0; }
 .legacy-home .legacy-advantages-grid .widget-item-wrapper { padding:20px 10px; }
 .legacy-home .legacy-advantages-grid .widget-item-picture { margin-bottom:16px; }
 .legacy-home .legacy-advantages-grid .widget-item-name { font-size:14px; }
 .legacy-home .legacy-advantages-grid .widget-item-description { max-width:330px;margin:auto; }
 .legacy-home .legacy-block { margin:30px 0; }
 .legacy-home .legacy-section-heading { margin-bottom:20px;justify-content:flex-start;padding-right:75px; }
 .legacy-home .legacy-section-heading .widget-title { font-size:21px;line-height:28px;text-align:left; }
 .legacy-home .legacy-section-heading .widget-list-desktop { display:block;width:70px;font-size:9px;line-height:1.5; }
 .legacy-home .legacy-popular-grid { grid-template-columns:1fr;gap:20px; }
 .legacy-home .legacy-popular-grid .widget-item-picture { padding-top:78%; }
 .legacy-home .legacy-popular-grid .widget-item-name { font-size:18px; }
 .legacy-home .legacy-about-grid { grid-template-columns:1fr;gap:25px; }
 .legacy-home .legacy-about-brand { min-height:170px;padding:30px; }
 .legacy-home .c-about-ref-template-2 { padding:30px 0; }
 .legacy-home .c-about-ref-template-2 .widget-name { font-size:25px;line-height:34px; }
 .legacy-home .c-about-ref-template-2 .widget-preview { font-size:13px;line-height:23px; }
 .legacy-home .legacy-about-buttons { flex-direction:column; }
 .legacy-home .legacy-contact-map { min-height:500px;padding-top:230px; }
 .legacy-contact-map>iframe { top:0;height:230px; }
 .legacy-contact-map .legacy-map-overlay { padding-top:20px;padding-bottom:20px; }
 .legacy-contact-map .widget-items-container { width:100%; }
 .legacy-consultation { padding:30px 0; }
 .legacy-consultation-inner { display:flex;flex-direction:column;align-items:flex-start;gap:18px; }
 .legacy-consultation .widget-web-form-2-title { font-size:22px; }
 .legacy-consultation .widget-web-form-2-description { font-size:14px;line-height:22px; }
 .legacy-footer { padding:35px 0 20px; }
 .legacy-footer-main { grid-template-columns:1fr;gap:35px;padding-bottom:30px; }
 .legacy-footer-menu { gap:15px 20px; }
 .legacy-footer-menu a { font-size:12px; }
 .legacy-footer-contacts { gap:20px; }
 .legacy-footer-bottom { align-items:flex-start;flex-direction:column;gap:20px; }
 .legacy-footer-bottom>a:last-child { margin:0; }
}
