/* hello-elementor */
/* Базові стилі Hello Elementor (копія hello-elementor/style.min.css v3.3.0)
   без фірмового розового #c36 батьківської теми.

   Батьківський файл фарбував розовим посилання й кнопки, а на :hover/:focus
   заливав розовим БУДЬ-ЯКУ кнопку — правило button:hover специфічніше за
   звичайні класи, тож перебити його з дочірньої теми не можна. Тому оригінал
   вимкнено фільтром hello_elementor_enqueue_style (functions.php), а цю копію
   підключено під тим самим хендлом 'hello-elementor'.
   Змінено: посилання → var(--eg-link / --eg-link-hover), кнопки → color:inherit,
   прозора рамка, без заливки на :hover/:focus. Решта — без змін. */
html{line-height:1.15;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#333;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{margin-block-start:.5rem;margin-block-end:1rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-block-start:0;margin-block-end:.9rem}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em;white-space:pre-wrap}a{background-color:transparent;text-decoration:none;color:var(--eg-link,#ffbf2f)}a:active,a:hover{color:var(--eg-link-hover,#ffd060)}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}abbr[title]{border-block-end:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;height:auto;max-width:100%}details{display:block}summary{display:list-item}figcaption{font-size:16px;color:#333;line-height:1.4;font-style:italic;font-weight:400}[hidden],template{display:none}@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap!important}blockquote,pre{-moz-column-break-inside:avoid;break-inside:avoid;border:1px solid #ccc}thead{display:table-header-group}img,tr{-moz-column-break-inside:avoid;break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{-moz-column-break-after:avoid;break-after:avoid}}label{display:inline-block;line-height:1;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:1rem;line-height:1.5;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{width:100%;border:1px solid #666;border-radius:3px;padding:.5rem 1rem;transition:all .3s}input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#333}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{width:auto;-webkit-appearance:button}[type=button],[type=submit],button{display:inline-block;font-weight:400;color:inherit;text-align:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;border-radius:3px;transition:all .3s}[type=button]:focus:not(:focus-visible),[type=submit]:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{text-decoration:none}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}select{display:block}table{background-color:transparent;width:100%;margin-block-end:15px;font-size:.9em;border-spacing:0;border-collapse:collapse}table td,table th{padding:15px;line-height:1.5;vertical-align:top;border:1px solid hsla(0,0%,50.2%,.5019607843)}table th{font-weight:700}table tfoot th,table thead th{font-size:1em}table caption+thead tr:first-child td,table caption+thead tr:first-child th,table colgroup+thead tr:first-child td,table colgroup+thead tr:first-child th,table thead:first-child tr:first-child td,table thead:first-child tr:first-child th{border-block-start:1px solid hsla(0,0%,50.2%,.5019607843)}table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th{background-color:hsla(0,0%,50.2%,.0705882353)}table tbody tr:hover>td,table tbody tr:hover>th{background-color:hsla(0,0%,50.2%,.1019607843)}table tbody+tbody{border-block-start:2px solid hsla(0,0%,50.2%,.5019607843)}@media (max-width:767px){table table{font-size:.8em}table table td,table table th{padding:7px;line-height:1.3}table table th{font-weight:400}}dd,dl,dt,li,ol,ul{margin-block-start:0;margin-block-end:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}

/* eg-projects */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — Проєкти (архів + сторінка обʼєкта)
   Усе під .egp, кольори з токенів теми (style.css :root).
   ═══════════════════════════════════════════════════════════════════════ */

.egp{
  --p-bd2:  rgba(255,255,255,.12);
  --p-mt2:  rgba(244,244,246,.22);
  --p-line: rgba(255,255,255,.024);
  --p-r:    14px;
  font-family:var(--font);color:var(--text);display:block;
}
.egp *,.egp *::before,.egp *::after{box-sizing:border-box}
.egp h1,.egp h2,.egp h3,.egp p,.egp table{margin:0;padding:0}

/* ── Hero архіву ──────────────────────────────────────────────────────── */
.egp-hero{position:relative;padding:80px 40px 72px;overflow:hidden;border-bottom:1px solid var(--border)}
@media(max-width:640px){.egp-hero{padding:56px 20px 52px}}
.egp-hero__grid{
  position:absolute;inset:0;z-index:0;
  background-image:linear-gradient(var(--p-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--p-line) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 80% 90% at 50% 50%,#000 10%,transparent 72%);
  mask-image:radial-gradient(ellipse 80% 90% at 50% 50%,#000 10%,transparent 72%);
}
.egp-orb{position:absolute;border-radius:50%;filter:blur(120px);pointer-events:none}
.egp-orb--a{width:500px;height:400px;top:-100px;left:-80px;background:radial-gradient(ellipse,rgba(27,79,196,.18) 0%,transparent 70%)}
.egp-orb--b{width:400px;height:350px;bottom:-60px;right:-40px;background:radial-gradient(ellipse,rgba(255,191,47,.1) 0%,transparent 70%)}
.egp-hero__in{position:relative;z-index:1;max-width:1240px;margin:0 auto;text-align:center}

.egp-badge{
  display:inline-flex;align-items:center;gap:7px;padding:5px 14px;border-radius:100px;margin-bottom:20px;
  font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  background:rgba(255,191,47,.08);border:1px solid rgba(255,191,47,.2);color:var(--gold);
}
.egp-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--gold);animation:egp-ping 2s ease infinite}
@keyframes egp-ping{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)}}

.egp-h1{font-size:clamp(32px,5vw,58px);font-weight:800;letter-spacing:-.04em;line-height:1.08;margin-bottom:16px}
.egp-h1 em{
  font-style:normal;
  background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 55%,var(--gold-deep) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.egp .egp-hero__sub{font-size:17px;color:var(--muted);line-height:1.6;max-width:520px;margin:0 auto 40px} /* .egp p{margin:0} перебивав auto — підзаголовок тиснувся вліво */

/* ── Смуга показників ─────────────────────────────────────────────────── */
.egp-stats{
  display:flex;justify-content:center;flex-wrap:wrap;
  border:1px solid var(--border);border-radius:var(--p-r);
  overflow:hidden;max-width:760px;margin:0 auto;background:var(--surface);
}
.egp-stat{flex:1;min-width:160px;padding:20px 24px;text-align:center;border-right:1px solid var(--border)}
.egp-stat:last-child{border-right:none}
.egp-stat__v{
  font-size:28px;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.egp-stat__l{font-size:12px;color:var(--muted);margin-top:3px}
@media(max-width:580px){.egp-stat{min-width:50%;border-right:none;border-bottom:1px solid var(--border)}}

/* ── Секція ───────────────────────────────────────────────────────────── */
.egp-sec{max-width:1240px;margin:0 auto;padding:72px 40px}
@media(max-width:640px){.egp-sec{padding:48px 20px}}

/* ── Фільтри ──────────────────────────────────────────────────────────── */
.egp-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px;align-items:center;justify-content:space-between}
.egp-tabs{display:flex;gap:7px;flex-wrap:wrap}
.egp-tab{
  padding:8px 18px;border-radius:100px;font-size:13px;font-weight:600;cursor:pointer;
  border:1px solid var(--p-bd2);color:var(--muted);background:transparent;font-family:var(--font);
  transition:background .18s,border-color .18s,color .18s;
}
.egp-tab:hover{border-color:var(--gold);color:var(--gold)}
.egp-tab.is-on{background:var(--gold);color:#09090D;border-color:var(--gold)}
.egp-count{font-size:13px;color:var(--muted)}

/* ── Сітка ────────────────────────────────────────────────────────────── */
.egp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:960px){.egp-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.egp-grid{grid-template-columns:1fr}}

/* ── Картка обʼєкта ───────────────────────────────────────────────────── */
.egp-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r);
  overflow:hidden;display:flex;flex-direction:column;
  transition:border-color .22s,transform .22s,box-shadow .22s;
  opacity:0;transform:translateY(20px);
}
.egp-card.is-vis{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease,border-color .22s,box-shadow .22s}
.egp-card:hover{border-color:rgba(255,191,47,.28);transform:translateY(-3px);box-shadow:0 16px 48px rgba(0,0,0,.3)}
.egp-card.is-hidden{display:none}
.egp-card--wide{grid-column:span 2}
@media(max-width:960px){.egp-card--wide{grid-column:span 1}}
.egp-grid.is-filtered .egp-card--wide{grid-column:span 1}

.egp-card__img{position:relative;aspect-ratio:16/9;overflow:hidden;display:flex;align-items:center;justify-content:center}
.egp-card--wide .egp-card__img{aspect-ratio:16/8}
.egp-card__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.egp-card:hover .egp-card__img img{transform:scale(1.04)}
.egp-card__bg{position:absolute;inset:0}
.egp-card__pat{
  position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:28px 28px;
}
.egp-card__emoji{position:relative;z-index:1;font-size:52px;filter:drop-shadow(0 0 20px rgba(255,191,47,.25));transition:transform .3s}
.egp-card:hover .egp-card__emoji{transform:scale(1.08)}
.egp-card__beam{
  position:absolute;top:-40%;left:-60%;width:40%;height:180%;z-index:1;
  background:linear-gradient(105deg,transparent 40%,rgba(255,191,47,.06) 50%,transparent 60%);
  transform:rotate(15deg);pointer-events:none;transition:left .5s ease;
}
.egp-card:hover .egp-card__beam{left:120%}
.egp-card__scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(9,9,13,.72) 0%,transparent 46%)}

/* градієнти-заглушки за типом обʼєкта */
.egp-bg-resi{background:linear-gradient(135deg,#0C1628 0%,#152240 60%,#0D0D1A 100%)}
.egp-bg-comm{background:linear-gradient(135deg,#081A1A 0%,#103030 60%,#0D0D12 100%)}
.egp-bg-agro{background:linear-gradient(135deg,#091208 0%,#0E2010 60%,#09090D 100%)}
.egp-bg-ind {background:linear-gradient(135deg,#0C1018 0%,#18202E 60%,#09090D 100%)}
.egp-bg-warm{background:linear-gradient(135deg,#1A100A 0%,#2C1A0E 60%,#09090D 100%)}

.egp-card__chips{position:absolute;bottom:12px;left:12px;right:12px;z-index:2;display:flex;gap:6px;flex-wrap:wrap}
.egp-chip{
  padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;
  background:rgba(9,9,13,.75);border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--text);
}
.egp-chip--gold{background:rgba(255,191,47,.15);border-color:rgba(255,191,47,.3);color:var(--gold)}
.egp-chip--blue{background:rgba(74,144,232,.15);border-color:rgba(74,144,232,.3);color:var(--blue-light)}

.egp-card__cat{
  position:absolute;top:12px;left:12px;z-index:2;padding:4px 11px;border-radius:100px;
  font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(9,9,13,.8);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--muted);
}
.egp-card__year{
  position:absolute;top:12px;right:12px;z-index:2;font-size:12px;font-weight:700;color:var(--gold);
  background:rgba(9,9,13,.7);padding:3px 9px;border-radius:100px;
  border:1px solid rgba(255,191,47,.2);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}

.egp-card__body{padding:20px;flex:1;display:flex;flex-direction:column;gap:8px}
.egp-card__loc{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;display:flex;align-items:center;gap:5px}
.egp-card__loc::before{content:'📍';font-size:10px}
.egp-card__name{font-size:17px;font-weight:700;letter-spacing:-.02em;line-height:1.3}
.egp-card--wide .egp-card__name{font-size:20px}
.egp-card__name a{color:inherit;text-decoration:none}
.egp-card__name a:hover{color:var(--gold)}
.egp-card__desc{font-size:13px;color:var(--muted);line-height:1.65;flex:1}
.egp-card__ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding-top:14px;border-top:1px solid var(--border)}
.egp-card__kw{font-size:20px;font-weight:800;color:var(--gold);white-space:nowrap}
.egp-card__kw span{font-size:12px;font-weight:500;color:var(--muted)}
.egp-card__link{
  display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;
  color:var(--text);text-decoration:none;padding:7px 14px;border-radius:8px;
  border:1px solid var(--p-bd2);transition:border-color .18s,color .18s;white-space:nowrap;
}
.egp-card__link:hover{border-color:var(--gold);color:var(--gold)}

.egp-more{display:flex;justify-content:center;margin-top:36px}
.egp-empty{text-align:center;color:var(--muted);padding:60px 20px;font-size:15px}

/* ── Кнопки ───────────────────────────────────────────────────────────── */
.egp-btn-g,.egp-btn-o{
  padding:13px 28px;border-radius:10px;font-size:14px;font-weight:700;
  cursor:pointer;font-family:var(--font);text-decoration:none;
  display:inline-flex;align-items:center;gap:7px;transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.egp-btn-g{background:var(--gold);color:#09090D;border:none}
.egp-btn-g:hover{background:var(--gold-light);transform:translateY(-1px);color:#09090D}
.egp-btn-o{background:transparent;color:var(--text);border:1px solid var(--p-bd2)}
.egp-btn-o:hover{border-color:var(--gold);color:var(--gold)}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.egp-cta{
  margin:0 40px 80px;padding:56px 48px;border-radius:20px;text-align:center;position:relative;overflow:hidden;
  background:linear-gradient(135deg,rgba(27,79,196,.1) 0%,rgba(255,191,47,.06) 100%);
  border:1px solid rgba(255,191,47,.14);
}
@media(max-width:640px){.egp-cta{margin:0 20px 60px;padding:40px 24px}}
.egp-cta__in{position:relative;z-index:1}
.egp-cta__h{font-size:clamp(22px,3vw,36px);font-weight:800;letter-spacing:-.03em;margin-bottom:10px}
.egp-cta__h em{
  font-style:normal;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.egp-cta__s{font-size:15px;color:var(--muted);margin-bottom:28px;line-height:1.6}
.egp-cta__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* .egp h2,.egp p{margin:0} сильніший за класи вище — без цього заголовок, текст і кнопки злипались */
.egp .egp-cta__h{margin:0 0 14px;line-height:1.15}
.egp .egp-cta__s{margin:0 auto 32px;max-width:640px}

/* ═══ СТОРІНКА ОБʼЄКТА ═══════════════════════════════════════════════════ */

.egp-phero{position:relative;min-height:480px;overflow:hidden;display:flex;align-items:flex-end}
@media(max-width:640px){.egp-phero{min-height:340px}}
.egp-phero__bg{position:absolute;inset:0}
.egp-phero__bg img{width:100%;height:100%;object-fit:cover}
.egp-phero__pat{
  position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:40px 40px;
}
.egp-phero__grad{position:absolute;bottom:0;left:0;right:0;height:80%;
  background:linear-gradient(to top,rgba(9,9,13,.96) 0%,rgba(9,9,13,.55) 45%,transparent 100%)}
.egp-phero__panels{
  position:absolute;right:60px;top:50%;transform:translateY(-50%);
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;opacity:.35;
}
@media(max-width:900px){.egp-phero__panels{display:none}}
.egp-phero__panel{
  width:52px;height:72px;border-radius:4px;position:relative;overflow:hidden;
  background:linear-gradient(180deg,#1B3A6B 0%,#0D1E3A 100%);
  border:1px solid rgba(74,144,232,.25);
}
.egp-phero__panel::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(255,191,47,.08) 100%)}
.egp-phero__in{position:relative;z-index:1;padding:0 40px 36px;max-width:1240px;margin:0 auto;width:100%}
@media(max-width:640px){.egp-phero__in{padding:0 20px 28px}}
.egp-bc{font-size:12px;color:var(--muted);margin-bottom:14px}
.egp-bc a{color:var(--muted);text-decoration:none}
.egp-bc a:hover{color:var(--gold)}
.egp-phero__cat{
  display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:100px;margin-bottom:12px;
  font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  background:rgba(255,191,47,.1);border:1px solid rgba(255,191,47,.25);color:var(--gold);
}
.egp-phero__h{font-size:clamp(22px,3.5vw,40px);font-weight:800;letter-spacing:-.04em;line-height:1.1;margin-bottom:14px;max-width:640px}
.egp-phero__chips{display:flex;gap:8px;flex-wrap:wrap}

/* ── Розкладка ────────────────────────────────────────────────────────── */
.egp-wrap{max-width:1240px;margin:0 auto;padding:48px 40px 80px;display:grid;grid-template-columns:1fr 340px;gap:36px;align-items:start}
@media(max-width:900px){.egp-wrap{grid-template-columns:1fr;padding:32px 20px 60px}}
.egp-content > section{margin-bottom:44px}
.egp-content > section:last-child{margin-bottom:0}

.egp-sh{font-size:18px;font-weight:700;letter-spacing:-.02em;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.egp-sh::before{content:'';width:3px;height:20px;background:var(--gold);border-radius:2px;flex-shrink:0}

.egp-desc{font-size:15px;line-height:1.75;color:var(--muted)}
.egp-desc p{margin-bottom:14px}
.egp-desc p:last-child{margin-bottom:0}
.egp-desc strong,.egp-desc b{color:var(--text)}
.egp-desc a{color:var(--gold)}
.egp-desc ul,.egp-desc ol{margin:0 0 14px 20px}
.egp-desc li{margin-bottom:6px}

/* ── Плитки результатів ───────────────────────────────────────────────── */
.egp-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media(max-width:480px){.egp-results{grid-template-columns:1fr 1fr}}
.egp-res{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 12px;text-align:center}
.egp-res__v{
  font-size:20px;font-weight:800;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.egp-res__l{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.35}

/* ── Галерея ──────────────────────────────────────────────────────────── */
.egp-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media(max-width:480px){.egp-gal{grid-template-columns:repeat(2,1fr)}}
.egp-gal__i{
  aspect-ratio:4/3;border-radius:10px;overflow:hidden;cursor:pointer;position:relative;
  border:1px solid var(--border);transition:border-color .2s,transform .2s;padding:0;background:none;
}
.egp-gal__i:hover{border-color:rgba(255,191,47,.3);transform:scale(1.02)}
.egp-gal__i:first-child{grid-column:span 2;aspect-ratio:2/1}
.egp-gal__i img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.egp-gal__lbl{
  position:absolute;bottom:0;left:0;right:0;padding:10px 12px;z-index:2;text-align:left;
  background:linear-gradient(to top,rgba(9,9,13,.9) 0%,transparent 100%);
  font-size:11px;color:rgba(244,244,246,.75);font-weight:500;
}
.egp-gal__zoom{
  position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:50%;z-index:2;
  background:rgba(9,9,13,.7);border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;color:var(--muted);opacity:0;transition:opacity .2s;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.egp-gal__i:hover .egp-gal__zoom{opacity:1}

/* ── Таблиця характеристик ────────────────────────────────────────────── */
.egp-specs-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r);overflow:hidden}
.egp-specs{width:100%;border-collapse:collapse;font-size:13px}
.egp-specs tr{border-bottom:1px solid var(--border)}
.egp-specs tr:last-child{border-bottom:none}
.egp-specs td{padding:10px 12px}
.egp-specs td:first-child{color:var(--muted);width:45%;font-weight:500}
.egp-specs td:last-child{font-weight:600;text-align:right}
.egp-specs td.egp-gold{color:var(--gold)}

/* ── Обладнання обʼєкта (репітер eg_p_kit, single-eg_project.php) ──────
   Та сама таблиця, що й характеристики, але перша колонка широка (у ній
   повні назви товарів), друга — кількість, і назва веде в каталог. */
.egp-kit thead th{
  padding:9px 12px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);text-align:left;background:var(--hover-bg,rgba(255,255,255,.04));
}
.egp-kit thead th:last-child{text-align:right;white-space:nowrap}
.egp-kit td:first-child{width:auto;color:var(--text);font-weight:500}
.egp-kit td:last-child{width:1%;white-space:nowrap}
.egp-kit__q{font-variant-numeric:tabular-nums}
.egp-kit__a{
  display:inline-flex;align-items:baseline;gap:6px;color:var(--text);text-decoration:none;
  border-bottom:1px solid transparent;transition:color .2s,border-color .2s;
}
.egp-kit__a svg{width:12px;height:12px;flex-shrink:0;align-self:center;opacity:.5;transition:opacity .2s}
.egp-kit__a:hover{color:var(--gold);border-bottom-color:color-mix(in srgb,var(--gold) 45%,transparent)}
.egp-kit__a:hover svg{opacity:1}
.egp-kit__a:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:3px}

/* ── Етапи ────────────────────────────────────────────────────────────── */
.egp-tl{display:flex;flex-direction:column}
.egp-tl__i{display:flex;gap:18px;position:relative;padding-bottom:28px}
.egp-tl__i:last-child{padding-bottom:0}
.egp-tl__l{display:flex;flex-direction:column;align-items:center;flex-shrink:0}
.egp-tl__dot{
  width:36px;height:36px;border-radius:50%;flex-shrink:0;z-index:1;
  background:linear-gradient(135deg,var(--blue),var(--blue-light));
  border:2px solid rgba(255,191,47,.3);
  display:flex;align-items:center;justify-content:center;font-size:14px;
}
.egp-tl__line{width:2px;flex:1;background:var(--border);margin-top:6px}
.egp-tl__i:last-child .egp-tl__line{display:none}
.egp-tl__b{padding-top:5px}
.egp-tl__n{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin-bottom:4px}
.egp-tl__t{font-size:15px;font-weight:700;margin-bottom:5px}
.egp-tl__d{font-size:13px;color:var(--muted);line-height:1.6}
.egp-tl__date{font-size:11px;color:var(--p-mt2);margin-top:6px}

/* ── Відгук ───────────────────────────────────────────────────────────── */
.egp-quote{
  background:linear-gradient(135deg,rgba(255,191,47,.05) 0%,rgba(27,79,196,.04) 100%);
  border:1px solid rgba(255,191,47,.14);border-radius:var(--p-r);padding:28px;position:relative;
}
.egp-quote::before{content:'\201C';position:absolute;top:16px;left:24px;font-size:80px;line-height:1;color:rgba(255,191,47,.12);font-weight:800}
.egp-quote__t{font-size:16px;line-height:1.7;color:var(--text);position:relative;z-index:1;font-style:italic;margin-bottom:20px}
.egp-quote__a{display:flex;align-items:center;gap:12px}
.egp-quote__ava{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;overflow:hidden;
  background:linear-gradient(135deg,var(--blue),var(--blue-light));
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:800;color:#fff;border:2px solid rgba(255,191,47,.25);
}
.egp-quote__name{font-size:14px;font-weight:700}
.egp-quote__role{font-size:12px;color:var(--muted);margin-top:2px}

/* ── Сайдбар ──────────────────────────────────────────────────────────── */
.egp-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:80px}
@media(max-width:900px){.egp-side{position:static}}
.egp-scard{background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r);overflow:hidden}
.egp-scard__hd{
  padding:14px 18px;border-bottom:1px solid var(--border);
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);display:flex;align-items:center;gap:8px;
}
.egp-scard__hd::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--gold);flex-shrink:0}
.egp-scard__b{padding:18px}

.egp-srow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}
.egp-srow:last-child{border-bottom:none;padding-bottom:0}
.egp-srow__l{color:var(--muted);flex-shrink:0}
.egp-srow__r{font-weight:600;text-align:right}
.egp-srow__r.egp-gold{color:var(--gold)}

.egp-status{
  background:rgba(74,222,128,.06);border:1px solid rgba(74,222,128,.2);
  border-radius:8px;padding:10px 14px;margin-bottom:14px;
  display:flex;align-items:center;gap:9px;font-size:13px;
}
.egp-status__dot{width:8px;height:8px;border-radius:50%;background:var(--ok);flex-shrink:0;animation:egp-pulse 2s ease infinite}
@keyframes egp-pulse{0%,100%{box-shadow:0 0 0 0 rgba(74,222,128,.4)}50%{box-shadow:0 0 0 6px rgba(74,222,128,0)}}

.egp-scta{
  width:100%;padding:12px;border-radius:9px;font-size:14px;font-weight:700;
  background:var(--gold);color:#09090D;border:none;cursor:pointer;font-family:var(--font);
  transition:background .18s,border-color .18s,color .18s;text-decoration:none;
  display:flex;align-items:center;justify-content:center;gap:7px;
}
.egp-scta:hover{background:var(--gold-light);color:#09090D}
.egp-scta--o{background:transparent;border:1px solid var(--p-bd2);color:var(--text);margin-top:8px}
.egp-scta--o:hover{border-color:var(--gold);color:var(--gold);background:transparent}

.egp-mgr{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--border);margin-bottom:14px}
.egp-mgr__ava{
  width:44px;height:44px;border-radius:50%;flex-shrink:0;overflow:hidden;
  background:linear-gradient(135deg,#1A3060,#2A50A0);
  display:flex;align-items:center;justify-content:center;font-size:16px;
  border:2px solid rgba(255,191,47,.2);
}
.egp-mgr__ava img{width:100%;height:100%;object-fit:cover}
.egp-mgr__name{font-size:14px;font-weight:600}
.egp-mgr__role{font-size:11px;color:var(--muted);margin-top:2px}
.egp-mgr__note{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:12px}

/* кільце покриття */
.egp-ring-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.egp-ring{position:relative;width:72px;height:72px;flex-shrink:0}
.egp-ring svg{width:72px;height:72px;transform:rotate(-90deg)}
.egp-ring__bg{fill:none;stroke:var(--p-bd2);stroke-width:4}
.egp-ring__v{fill:none;stroke:var(--gold);stroke-width:4;stroke-linecap:round;
  stroke-dasharray:188.5;stroke-dashoffset:188.5;transition:stroke-dashoffset 1.2s ease}
.egp-ring__lbl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:var(--gold)}
.egp-ring-info__v{font-size:22px;font-weight:800;letter-spacing:-.03em;color:var(--gold)}
.egp-ring-info__l{font-size:12px;color:var(--muted);margin-top:2px}
.egp-ring-info__s{font-size:11px;color:var(--p-mt2);margin-top:1px}

/* ── Схожі проєкти ────────────────────────────────────────────────────── */
.egp-related{max-width:1240px;margin:0 auto;padding:0 40px 80px}
@media(max-width:640px){.egp-related{padding:0 20px 60px}}
.egp-related__h{font-size:20px;font-weight:700;letter-spacing:-.02em;margin-bottom:24px;display:flex;align-items:center;gap:10px}
.egp-related__h::before{content:'';width:3px;height:22px;background:var(--gold);border-radius:2px}
.egp-rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:700px){.egp-rgrid{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.egp-rgrid{grid-template-columns:1fr}}
.egp-rc{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r);
  overflow:hidden;transition:border-color .2s,transform .2s;text-decoration:none;display:block;color:inherit;
}
.egp-rc:hover{border-color:rgba(255,191,47,.25);transform:translateY(-2px)}
.egp-rc__img{aspect-ratio:16/9;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.egp-rc__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.egp-rc__pat{
  position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);
  background-size:24px 24px;
}
.egp-rc__emoji{position:relative;z-index:1;font-size:32px;opacity:.65}
.egp-rc__b{padding:14px}
.egp-rc__cat{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px}
.egp-rc__name{font-size:14px;font-weight:600;line-height:1.35;margin-bottom:6px}
.egp-rc__kw{font-size:13px;font-weight:700;color:var(--gold)}

/* ── Лайтбокс ─────────────────────────────────────────────────────────── */
.egp-lb{
  display:none;position:fixed;inset:0;z-index:10000;
  background:rgba(9,9,13,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  align-items:center;justify-content:center;
}
.egp-lb.is-open{display:flex}
.egp-lb__in{position:relative;max-width:900px;width:90%;animation:egp-lb-in .22s ease}
@keyframes egp-lb-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
.egp-lb__frame{
  width:100%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;border:1px solid var(--p-bd2);
  display:flex;align-items:center;justify-content:center;position:relative;background:var(--bg2);
}
.egp-lb__frame img{width:100%;height:100%;object-fit:contain}
.egp-lb__cap{text-align:center;margin-top:14px;font-size:14px;color:var(--muted)}
.egp-lb__close{
  position:absolute;top:-16px;right:-16px;width:36px;height:36px;border-radius:50%;
  background:var(--surface);border:1px solid var(--p-bd2);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;color:var(--muted);cursor:pointer;transition:color .18s,border-color .18s;
}
.egp-lb__close:hover{color:var(--text);border-color:var(--gold)}
.egp-lb__nav{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:16px}
.egp-lb__btn{
  width:36px;height:36px;border-radius:50%;border:1px solid var(--p-bd2);
  background:var(--surface);color:var(--text);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:16px;
  transition:color .18s,border-color .18s;
}
.egp-lb__btn:hover{border-color:var(--gold);color:var(--gold)}
.egp-lb__num{font-size:12px;color:var(--muted)}

/* ── Поява при скролі ─────────────────────────────────────────────────── */
.egp [data-egp-r]{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.egp [data-egp-r].is-vis{opacity:1;transform:none}
.egp [data-egp-r="1"]{transition-delay:.06s}
.egp [data-egp-r="2"]{transition-delay:.13s}
.egp [data-egp-r="3"]{transition-delay:.2s}
.egp [data-egp-r="4"]{transition-delay:.27s}
.egp [data-egp-r="5"]{transition-delay:.34s}

@media(prefers-reduced-motion:reduce){
  .egp [data-egp-r],.egp .egp-card{opacity:1!important;transform:none!important;transition:none!important}
  .egp .egp-badge::before,.egp .egp-status__dot{animation:none}
  .egp .egp-ring__v{transition:none}
}

/* Пошук, навігація й доступна галерея проєктів. */
.egp [hidden]{display:none!important}
.egp :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.egp .egp-intro{max-width:740px;margin-bottom:28px}
.egp .egp-intro h2{font-size:clamp(23px,3vw,32px);line-height:1.2;margin-bottom:12px}
.egp .egp-intro p,.egp .egp-section-note{color:var(--muted);font-size:15px;line-height:1.7}
.egp .egp-section-note{margin-bottom:22px}
.egp-tools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:24px}
.egp-tools label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}
.egp-search{flex:1;min-width:220px}
.egp-select{min-width:210px}
.egp-tools input,.egp-tools select{width:100%;min-height:48px;background:var(--surface);border:1px solid var(--p-bd2);border-radius:10px;color:var(--text);font:inherit;padding:12px 14px;color-scheme:dark}
.egp-tools input::placeholder{color:var(--muted);opacity:1}
.egp-tools .egp-btn-o{min-height:48px;padding:10px 18px}
.egp-no-results{padding:32px;border:1px dashed var(--p-bd2);border-radius:14px;color:var(--muted);line-height:1.7}
.egp-section-nav{max-width:1240px;margin:auto;padding:22px 40px 0;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.egp-section-nav a,.egp-share{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border-radius:24px;border:1px solid var(--p-bd2);background:var(--surface);color:var(--text);font:inherit;font-size:13px;text-decoration:none;cursor:pointer}
.egp-section-nav a:hover,.egp-share:hover{border-color:var(--gold);color:var(--gold)}
.egp-share{margin-left:auto}
.egp section[id]{scroll-margin-top:110px}
.egp .egp-desc h3{font-size:19px;color:var(--text);margin:26px 0 10px;line-height:1.4}
.egp .egp-side-note{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 18px}
.egp-faq{display:grid;gap:10px}
.egp-faq details{background:var(--surface);border:1px solid var(--p-bd2);border-radius:12px;padding:0 20px}
.egp-faq details[open]{border-color:rgba(255,191,47,.4)}
.egp-faq summary{cursor:pointer;font-weight:600;font-size:15px;line-height:1.5;padding:18px 28px 18px 0;position:relative;list-style:none}
.egp-faq summary::-webkit-details-marker{display:none}
.egp-faq summary::after{content:'+';position:absolute;right:0;top:16px;color:var(--gold);font-size:22px}
.egp-faq details[open] summary::after{content:'−'}
.egp .egp-faq p{font-size:14px;line-height:1.75;color:var(--muted);padding-bottom:20px}
.egp-lb{padding:32px 20px;overflow-y:auto}
.egp-lb__in{margin:auto;max-width:1000px}
.egp-lb__frame{height:min(58dvh,620px);aspect-ratio:auto;touch-action:pan-y pinch-zoom}
.egp-lb__close{z-index:2;width:44px;height:44px;padding:0}
.egp-lb__btn{width:44px;height:44px;padding:0}
.egp-lb__thumbs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.egp-lb__thumbs button{width:54px;height:42px;border-radius:6px;padding:2px;background:transparent;border:2px solid transparent;cursor:pointer}
.egp-lb__thumbs button[aria-pressed="true"]{border-color:var(--gold)}
.egp-lb__thumbs img{width:100%;height:100%;object-fit:cover;border-radius:3px}
.egp .egp-lb__error{color:var(--text);text-align:center;margin:12px 0}
.egp-lb__cap{max-height:15dvh;overflow-y:auto;line-height:1.5}
.egp:not(.has-js) .egp-tabs{display:none}
.egp:not(.has-js) [data-egp-r],.egp:not(.has-js) .egp-card{opacity:1;transform:none}
@media(max-width:640px){
 .egp-section-nav{padding:20px 20px 0;gap:8px}
 .egp-share{margin-left:0}
 .egp-search,.egp-select{min-width:0;flex:1 1 100%}
 .egp-wrap{min-width:0}
 .egp-content,.egp-side{min-width:0}
 .egp-lb{padding:30px 10px}
 .egp-lb__in{width:94%}
 .egp-lb__frame{height:48dvh}
 .egp-lb__cap{font-size:12px}
 .egp-lb__thumbs{gap:4px}
 .egp-lb__thumbs button{width:40px;height:36px}
 .egp-lb__close{right:-8px}
}
@media(prefers-reduced-motion:reduce){.egp-lb__in{animation:none}.egp-card__img img{transition:none}}

.egp .egp-lb__close,.egp .egp-lb__btn{background:var(--surface);color:var(--text)}
.egp .egp-lb__close:hover,.egp .egp-lb__btn:hover{background:var(--surface);color:var(--gold);border-color:var(--gold)}

/* ═══ Паспорт кейсу (картка «ENERGARD CASE #024» і сторінка обʼєкта) ═══ */
.egp-card__case{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-variant-numeric:tabular-nums}
.egp-case{margin:4px 0 0;display:grid;gap:0}
.egp-case__r{display:grid;grid-template-columns:minmax(92px,38%) 1fr;gap:10px;padding:6px 0;border-top:1px dashed var(--border);font-size:13px;line-height:1.45}
.egp-case__r:first-child{border-top:0}
.egp-case dt{margin:0;color:var(--muted);font-weight:500}
.egp-case dd{margin:0;color:var(--text);font-weight:600;min-width:0;overflow-wrap:anywhere}
.egp-case__eq{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 9px;margin:-2px 0 2px -1px;border-radius:7px;
  color:var(--gold-ink,var(--gold));background:color-mix(in srgb,var(--gold-ink,var(--gold)) 10%,transparent);
  border:1px solid color-mix(in srgb,var(--gold-ink,var(--gold)) 28%,transparent);text-decoration:none;font-weight:700;line-height:1.35;
  transition:background .2s,border-color .2s}
.egp-case__eq svg{width:11px;height:11px;flex-shrink:0;opacity:.75;transition:transform .2s}
a.egp-case__eq:hover{color:var(--gold-ink,var(--gold));background:color-mix(in srgb,var(--gold-ink,var(--gold)) 18%,transparent);border-color:color-mix(in srgb,var(--gold-ink,var(--gold)) 55%,transparent)}
a.egp-case__eq:hover svg{transform:translate(1px,-1px);opacity:1}
a.egp-case__eq:focus-visible{outline:2px solid var(--gold-ink,var(--gold));outline-offset:2px}
.egp-case__eq--txt{color:var(--text);background:transparent;border-color:transparent;padding-left:0;padding-right:0;margin-left:0}
.egp-case__spec{display:block;margin-top:2px;font-size:.92em;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.egp-card--wide .egp-case{grid-template-columns:1fr 1fr;column-gap:24px}
.egp-card--wide .egp-case__r:nth-child(2){border-top:0}
@media(max-width:640px){.egp-card--wide .egp-case{grid-template-columns:1fr}.egp-card--wide .egp-case__r:nth-child(2){border-top:1px dashed var(--border)}}

.egp-passport{margin:0 0 8px;padding:22px 24px;border:1px solid rgba(255,191,47,.28);border-radius:18px;background:linear-gradient(160deg,rgba(255,191,47,.07),rgba(255,191,47,0) 60%)}
.egp-passport__h{margin:0 0 12px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.egp-passport .egp-case{grid-template-columns:1fr 1fr;column-gap:32px}
.egp-passport .egp-case__r:nth-child(2){border-top:0}
.egp-passport .egp-case__r{font-size:14px;padding:9px 0}
@media(max-width:640px){.egp-passport .egp-case{grid-template-columns:1fr}.egp-passport .egp-case__r:nth-child(2){border-top:1px dashed var(--border)}}
.egp-phero__case{display:inline-block;margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--gold)}

/* ── картка-запрошення в кінці сітки кейсів ── */
.egp-next{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:260px;
  padding:28px;border-radius:20px;border:1px dashed var(--border);background:transparent;text-decoration:none;color:var(--text);
  transition:border-color .25s,background .25s,transform .25s}
.egp-next:hover{border-color:color-mix(in srgb,var(--gold) 55%,transparent);background:var(--hover-bg,rgba(255,255,255,.03));transform:translateY(-3px);color:var(--text)}
.egp-next__ico{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:24px;font-weight:700;line-height:1;
  color:var(--gold-ink,var(--gold));background:color-mix(in srgb,var(--gold) 12%,transparent);border:1px solid color-mix(in srgb,var(--gold) 30%,transparent)}
.egp-next__t{font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.egp-next__s{font-size:14px;line-height:1.6;color:var(--muted)}
.egp-next__go{margin-top:6px;font-size:14px;font-weight:700;color:var(--gold-ink,var(--gold))}


/* ── Відео з обʼєкта (репітер eg_p_videos, single-eg_project.php) ──────
   Ролики з телефона вертикальні, тому плитки з aspect-ratio 9/16 і
   object-fit:contain — кадр не ріжеться, а чорні поля лишаються тільки
   там, де відео іншої пропорції. */
.egp-vid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:12px; }
.egp-vid__i{ margin:0; }
.egp-vid__i video{
  width:100%; aspect-ratio:9/16; display:block; background:#000;
  object-fit:contain; border-radius:14px; border:1px solid var(--border);
}
.egp-vid__i figcaption{ margin-top:8px; font-size:13px; line-height:1.4; color:var(--muted); }
@media(max-width:480px){ .egp-vid{ grid-template-columns:repeat(2,1fr); gap:10px; } }

/* eg-flagship */
/* Only layout helpers; typography, colors and cards come from the existing theme. */
.eg-project-photo-slot{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:180px;color:var(--muted);background:var(--surface)}
.eg-project-photo-slot svg{width:48px;height:48px;opacity:.35}
.eg-prj__slide>.eg-project-photo-slot{position:absolute;inset:0}
.eg-residential-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.eg-residential{position:relative}.eg-residential .eg-proc-inner{position:relative;z-index:1}
@media(max-width:640px){.eg-residential-grid{grid-template-columns:1fr}}
@media(max-width:900px){body.home .h__orb{max-width:85vw}}
body.home .eg-cat-hero__media-in{overflow:hidden}
@media(max-width:900px){.eg-prj{overflow:clip}}

/* hello-elementor-theme-style */
.comments-area a,.page-content a{text-decoration:underline}.alignright{float:right;margin-left:1rem}.alignleft{float:left;margin-right:1rem}.aligncenter{clear:both;display:block;margin-inline:auto}.alignwide{margin-inline:-80px}.alignfull{margin-inline:calc(50% - 50vw);max-width:100vw}.alignfull,.alignfull img{width:100vw}.wp-caption{margin-block-end:1.25rem;max-width:100%}.wp-caption.alignleft{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{display:block;margin-inline:auto}.wp-caption-text{margin:0}.gallery-caption{display:block;font-size:.8125rem;line-height:1.5;margin:0;padding:.75rem}.pagination{display:flex;justify-content:space-between;margin:20px auto}.sticky{position:relative;display:block}.bypostauthor{font-size:inherit}.hide{display:none!important}.post-password-form p{width:100%;display:flex;align-items:flex-end}.post-password-form [type=submit]{margin-inline-start:3px}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#eee;clip:auto!important;clip-path:none;color:#333;display:block;font-size:1rem;height:auto;left:5px;line-height:normal;padding:12px 24px;text-decoration:none;top:5px;width:auto;z-index:100000}.post .entry-title a{text-decoration:none}.post .wp-post-image{width:100%;max-height:500px;-o-object-fit:cover;object-fit:cover}@media (max-width:991px){.post .wp-post-image{max-height:400px}}@media (max-width:575px){.post .wp-post-image{max-height:300px}}#comments .comment-list{margin:0;padding:0;list-style:none;font-size:.9em}#comments .comment,#comments .pingback{position:relative}#comments .comment .comment-body,#comments .pingback .comment-body{display:flex;flex-direction:column;padding-block-start:30px;padding-block-end:30px;padding-inline-start:60px;padding-inline-end:0;border-block-end:1px solid #ccc}#comments .comment .avatar,#comments .pingback .avatar{position:absolute;left:0;border-radius:50%;margin-inline-end:10px}body.rtl #comments .comment .avatar,body.rtl #comments .pingback .avatar,html[dir=rtl] #comments .comment .avatar,html[dir=rtl] #comments .pingback .avatar{left:auto;right:0}#comments .comment-meta{display:flex;justify-content:space-between;margin-block-end:.9rem}#comments .comment-metadata,#comments .reply{font-size:11px;line-height:1}#comments .children{position:relative;list-style:none;margin:0;padding-inline-start:30px}#comments .children li:last-child{padding-block-end:0}#comments ol.comment-list .children:before{display:inline-block;font-size:1em;font-weight:400;line-height:100%;content:"↪";position:absolute;top:45px;left:0;width:auto}body.rtl #comments ol.comment-list .children:before,html[dir=rtl] #comments ol.comment-list .children:before{content:"↩";left:auto;right:0}@media (min-width:768px){#comments .comment-author,#comments .comment-metadata{line-height:1}}@media (max-width:767px){#comments .comment .comment-body{padding:30px 0}#comments .children{padding-inline-start:20px}#comments .comment .avatar{position:inherit;float:left}body.rtl #comments .comment .avatar,html[dir=rtl] #comments .comment .avatar{float:right}}.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{margin-inline-start:auto;margin-inline-end:auto;width:100%}@media (max-width:575px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{padding-inline-start:10px;padding-inline-end:10px}}@media (min-width:576px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:500px}.site-footer.footer-full-width .footer-inner,.site-header.header-full-width .header-inner{max-width:100%}}@media (min-width:768px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:600px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}@media (min-width:992px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:800px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}@media (min-width:1200px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:1140px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}.site-header+.elementor{min-height:calc(100vh - 320px)}
/* energard-child */
/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Energard
Description: Energard dark theme child.
Version: 3.0.0
*/

/* ═══ ENERGARD DARK THEME ═══ */

/* DM Sans — локально (assets/fonts), @font-face у inc/perf.php. @import з Google
   давав ланцюжок HTML → style.css → Google CSS → шрифт і блокував відображення. */

:root {
  --gold:          #ffbf2f;
  --gold-light:    #ffd060;
  --gold-deep:     #f0b800;
  --blue:          #1B4FC4;
  --blue-light:    #4A90E8;
  --bg:            #09090D;
  --bg2:           #0E0E16;
  --surface:       #13131F;
  --surface2:      #1C1C2E;
  --border:        rgba(255,255,255,0.07);
  --text:          #F4F4F6;
  --muted:         rgba(244,244,246,0.62); /* було .45 — нижче AA для дрібного тексту */
  --nav-bg:        rgba(9,9,13,0.85);
  --grid-line:     rgba(255,255,255,0.025);
  --hover-bg:      rgba(255,255,255,0.04);
  --card-shadow:   0 24px 60px rgba(0,0,0,0.5);
  --badge-neutral: rgba(255,255,255,0.08);
  --ok:            #4ADE80;
  --ok-bg:         rgba(34,197,94,0.16);
  --ok-bd:         rgba(34,197,94,0.3);
  --warn:          #FDE047;
  --warn-bg:       rgba(234,179,8,0.16);
  --warn-bd:       rgba(234,179,8,0.3);
  --font:          'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
*:focus { outline: none; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html { scroll-behavior: smooth; accent-color: var(--gold); }
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; margin: 0; padding: 0;
}

.site-header, .site-footer { display: none !important; }
.page-header { display: none; }
#content { padding: 0 !important; }
.site-main { padding: 0 !important; margin: 0 !important; }

/* ─── NAV ─── */
.eg-nav {
  position: sticky; top: 0; z-index: 9999;
  /* три колонки: лого | меню | дії — меню рівно по центру екрана,
     незалежно від ширини лівої й правої частин */
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; column-gap: 24px;
  padding: 0 48px; height: 68px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.eg-nav-logo { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.eg-nav-logo img { height: 36px; width: auto; }
.eg-nav-logo-text {
  font-size: 18px; font-weight: 700; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.eg-nav-links { grid-column: 2; display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.eg-nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s; }
.eg-nav-links a:hover { color: var(--text); }
/* активний розділ: світлий текст + золота риска під ним */
.eg-nav-links a { position: relative; }
.eg-nav-links a.is-active { color: var(--text); }
.eg-nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
  background: var(--gold-ink, var(--gold));
}
.eg-nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }

.eg-cart-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface2);
  color: var(--text); cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.eg-cart-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.eg-cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 100px; background: var(--gold);
  color: #09090D; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center; font-family: var(--font);
}
.eg-cart-count.show { display: flex; }

.eg-nav-cta {
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--btn-ink, #09090D) !important; border: none; cursor: pointer; font-family: var(--font);
  text-decoration: none; display: inline-flex; align-items: center; transition: opacity 0.2s, transform 0.15s;
}
.eg-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Mobile burger ── */
.eg-nav .eg-nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2) !important;
  color: var(--text) !important;
  cursor: pointer;
  align-items: center; justify-content: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  padding: 0;
  box-shadow: none !important;
}
.eg-nav .eg-nav-burger:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ── Mobile drawer ── */
.eg-mob-menu {
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 9998;
  background: rgba(9,9,13,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 28px;
  display: flex; flex-direction: column;
  transform: translateY(-110%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.eg-mob-menu.eg-open {
  transform: translateY(0);
  pointer-events: auto;
}
.eg-mob-links {
  list-style: none; margin: 0; padding: 0;
}
.eg-mob-links li { border-bottom: 1px solid var(--border); }
.eg-mob-links li:last-child { border-bottom: none; }
.eg-mob-links a {
  display: block;
  padding: 16px 4px;
  color: var(--text);
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
}
.eg-mob-links a:hover { color: var(--gold); }
.eg-mob-links a.is-active { color: var(--gold-ink, var(--gold)); box-shadow: inset 3px 0 0 var(--gold-ink, var(--gold)); padding-left: 14px; }
.eg-mob-cta { margin-top: 24px; align-self: flex-start; }

/* ── Mobile overlay ── */
.eg-mob-overlay {
  display: none;
  position: fixed;
  inset: 0; top: 68px;
  z-index: 9997;
  background: rgba(0,0,0,0.5);
}
.eg-mob-overlay.eg-open { display: block; }

@media (max-width: 900px) {
  .eg-nav { padding: 0 20px; }
  .eg-nav-links { display: none; }
  .eg-nav-cta { display: none; }
  .eg-nav .eg-nav-burger { display: flex; }
}

/* ─── BUTTONS ─── */
/* Геометрія. Колір, тінь, ховер, натиск і фокус — assets/css/buttons.css. */
.btn-primary {
  padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
  text-decoration: none; display: inline-block;
}
.btn-secondary {
  padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: var(--font);
  text-decoration: none; display: inline-block;
}

/* ─── SHOP PAGE ─── */
.eg-shop-page { max-width: 1400px; margin: 0 auto; padding: 40px 48px 100px; }
.eg-shop-bg { background: var(--bg2); }

.eg-cat-strip { display: flex; gap: 8px; padding: 0 0 32px; flex-wrap: wrap; }
.eg-cat-btn {
  padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  cursor: pointer; transition: all 0.2s; font-family: var(--font); text-decoration: none; display: inline-block;
}
.eg-cat-btn:hover, .eg-cat-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(255,191,47,0.08); }

/* WC product grid */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important; grid-template-columns: repeat(3,1fr) !important;
  gap: 24px !important; margin: 0 !important; padding: 0 !important;
  list-style: none !important; float: none !important; width: 100% !important;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-radius: 20px !important; overflow: hidden !important;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s !important;
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products li.product:hover, .woocommerce-page ul.products li.product:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(255,191,47,0.35) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5),0 0 0 1px rgba(255,191,47,0.18) !important;
}

/* ─── PRODUCT CARD ─── */
.woocommerce ul.products li.product.eg-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  padding: 0 !important; margin: 0 !important;
}
.woocommerce ul.products li.product.eg-card:hover { border-color: rgba(255,191,47,0.35); transform: translateY(-2px); }

/* Thumbnail */
.eg-card-thumb {
  display: block; position: relative; aspect-ratio: 4/3;
  background: var(--surface2); overflow: hidden; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.eg-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.eg-card-brand-wm {
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(244,244,246,0.12); text-transform: uppercase; user-select: none;
}

/* Badge */
.eg-card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; z-index: 1;
}
.eg-card-badge--ok  { background: rgba(34,197,94,0.15); color: #008b33; border: 1px solid rgba(2,147,56,0.25); }
.eg-card-badge--warn{ background: var(--warn-bg);  color: var(--warn); border: 1px solid var(--warn-bd); }

/* Body */
.eg-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.eg-card-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px; display: block;
}

/* Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px !important; font-weight: 600 !important; color: var(--text) !important;
  margin: 0 0 10px !important; padding: 0 !important; line-height: 1.35 !important;
  font-family: var(--font) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: var(--text) !important; text-decoration: none !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--gold) !important; }

/* Spec chips */
.eg-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.eg-card-chip {
  padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 500;
  background: var(--surface2); color: var(--muted); border: 1px solid var(--border);
}

/* Footer: price + actions */
.eg-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto; flex-wrap: wrap;
}
.eg-card-price { display: flex; align-items: baseline; gap: 4px; }

/* Price — white, large */
.eg-card-price .woocommerce-Price-amount,
.eg-card-price .price,
.woocommerce ul.products li.product.eg-card .price {
  font-size: 22px !important; font-weight: 700 !important;
  color: var(--text) !important; font-family: var(--font) !important;
  margin: 0 !important; line-height: 1 !important;
}
.woocommerce ul.products li.product.eg-card .price bdi { color: var(--text) !important; }
.woocommerce ul.products li.product.eg-card .price .woocommerce-Price-currencySymbol {
  font-size: 14px !important; color: var(--muted) !important; font-weight: 500 !important;
}
.woocommerce ul.products li.product.eg-card .price del { display: none !important; }
.woocommerce ul.products li.product.eg-card .price ins {
  text-decoration: none !important; background: none !important;
}
.eg-price-request { font-size: 14px; color: var(--gold); font-weight: 600; }

/* Action buttons */
.eg-card-actions { display: flex; align-items: center; gap: 8px; }
.eg-card-cart-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.eg-card-cart-btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.eg-card-cart-btn.added { background: var(--ok-bg); border-color: var(--ok-bd); color: var(--ok); }
.eg-card-detail-btn {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; transition: all 0.2s; white-space: nowrap;
  font-family: var(--font);
}
.eg-card-detail-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Keep old helpers alive (used elsewhere) */
.eg-stock-ok  { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; background: var(--ok-bg);   color: var(--ok);   border: 1px solid var(--ok-bd);   }
.eg-stock-warn{ display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-bd); }
.eg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.eg-tag  { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 500; background: var(--badge-neutral); color: var(--muted); border: 1px solid var(--border); }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 40px 0; margin: 0; border: none !important; }
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { padding: 8px 16px; border-radius: 100px; font-size: 14px; border: 1px solid var(--border) !important; color: var(--muted) !important; background: var(--surface); font-family: var(--font); transition: all 0.2s; }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--gold) !important; color: var(--gold) !important; background: rgba(255,191,47,0.08) !important; }

.woocommerce-result-count { color: var(--muted) !important; font-family: var(--font) !important; font-size: 13px !important; }
.woocommerce-ordering select { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; border-radius: 8px !important; padding: 6px 12px !important; font-family: var(--font) !important; }
.woocommerce-breadcrumb { display: none !important; }

/* ─── SINGLE PRODUCT ─── */
.single-product .woocommerce { max-width: 1400px; margin: 0 auto; padding: 60px 48px; }
.woocommerce div.product .product_title { font-size: clamp(24px,3vw,40px) !important; font-weight: 700 !important; color: var(--text) !important; letter-spacing: -0.02em !important; font-family: var(--font) !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 32px !important; font-weight: 700 !important; color: var(--gold-light) !important; font-family: var(--font) !important; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted) !important; font-size: 15px !important; line-height: 1.7 !important; }
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce div.product form.cart .button {
  background: linear-gradient(135deg,var(--gold),var(--gold-deep)) !important; color: var(--btn-ink, #09090D) !important; border: none !important;
  border-radius: 100px !important; font-family: var(--font) !important; font-weight: 600 !important; padding: 14px 32px !important; font-size: 15px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { background: transparent !important; padding: 0 !important; border-bottom: 1px solid var(--border) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border: none !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted) !important; font-family: var(--font) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--text) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: 16px !important; padding: 32px !important; color: var(--muted) !important; font-family: var(--font) !important; line-height: 1.7 !important; }

/* ─── CART & CHECKOUT SHARED ─── */
/* ─── WC NOTICES AS TOAST ─── */
.woocommerce-message, .woocommerce-info {
  position: fixed !important;
  top: 82px !important; right: 24px !important;
  z-index: 100000 !important;
  max-width: 320px !important; width: auto !important;
  background: var(--surface) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55) !important;
  list-style: none !important;
  margin: 0 !important;
  animation: eg-toast-in 0.3s ease;
}
.woocommerce-message::before, .woocommerce-message li::before { display: none !important; }
.woocommerce-message a.button, .woocommerce-info a.button { display: none !important; }
/* Hide "View cart" button that appears on product cards after AJAX add-to-cart */
a.added_to_cart.wc-forward { display: none !important; }

/* ── Add-to-cart toast inner layout ── */
.eg-atc-toast { display: flex; align-items: center; gap: 12px; }
.eg-atc-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,191,47,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.eg-atc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 3px;
}
.eg-atc-name { font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.35; }
.woocommerce-error {
  position: fixed !important;
  top: 82px !important; right: 24px !important;
  z-index: 100000 !important;
  max-width: 360px !important;
  background: var(--surface2) !important;
  border: 1px solid rgba(229,72,77,0.4) !important;
  border-left: 3px solid #E5484D !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
  list-style: none !important;
  margin: 0 !important;
}
@keyframes eg-toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.eg-toast-fade { animation: eg-toast-out 0.4s ease forwards !important; }
@keyframes eg-toast-out {
  to { opacity: 0; transform: translateX(20px); }
}

/* ── Checkout: hide WC top notice block, use only per-field inline errors ── */
.eg-checkout-wrap .woocommerce-NoticeGroup-checkout { display: none !important; }
/* Per-field inline error (injected by WC JS as .checkout-inline-error-message) */
.eg-checkout-wrap .checkout-inline-error-message {
  font-size: 14px !important;
  margin-top: 7px !important;
  color: #ed1152 !important;
  font-family: var(--font) !important;
  margin-bottom: 0 !important;
}

/* ─── CART PAGE ─── */
.eg-cart-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 48px 100px; }
.eg-cart-title { font-size: clamp(26px,3vw,40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px; }
.woocommerce table.shop_table {
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-radius: 20px !important; color: var(--text) !important; font-family: var(--font) !important;
  border-collapse: separate !important; border-spacing: 0 !important; width: 100% !important; overflow: hidden !important;
}
.woocommerce table.shop_table th {
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.12em !important;
  text-transform: uppercase !important; color: var(--muted) !important;
  border-bottom: 1px solid var(--border) !important; background: transparent !important; padding: 16px 20px !important;
}
.woocommerce table.shop_table td { color: var(--text) !important; border-top: 1px solid var(--border) !important; padding: 16px 20px !important; font-family: var(--font) !important; vertical-align: middle !important; }
.woocommerce table.shop_table a { color: var(--gold) !important; text-decoration: none !important; }
.woocommerce table.cart .product-thumbnail img { border-radius: 10px !important; width: 72px !important; height: 72px !important; object-fit: cover !important; }
.woocommerce table.cart td.product-name { font-size: 15px !important; font-weight: 600 !important; }
.woocommerce table.cart td.product-name .variation { font-size: 12px !important; color: var(--muted) !important; font-weight: 400 !important; }
.woocommerce table.cart input.qty {
  background: var(--surface2) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: 8px !important; font-family: var(--font) !important;
  padding: 8px 12px !important; width: 64px !important; text-align: center !important; font-size: 14px !important;
}
.woocommerce table.cart .remove { color: var(--muted) !important; font-size: 18px !important; }
.woocommerce table.cart .remove:hover { color: #E5484D !important; background: transparent !important; }
.woocommerce .cart-collaterals { margin-top: 32px !important; }
.woocommerce .cart-collaterals .cart_totals {
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-radius: 20px !important; padding: 28px !important; float: right !important; width: 42% !important;
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 18px !important; font-weight: 700 !important; color: var(--text) !important; font-family: var(--font) !important; margin-bottom: 20px !important; }
.woocommerce .cart-collaterals .cart_totals table { border: none !important; background: transparent !important; border-radius: 0 !important; }
.woocommerce .cart-collaterals .cart_totals table th, .woocommerce .cart-collaterals .cart_totals table td { border: none !important; border-bottom: 1px solid var(--border) !important; padding: 10px 0 !important; }
.woocommerce .cart-collaterals .cart_totals table tr:last-child th, .woocommerce .cart-collaterals .cart_totals table tr:last-child td { border-bottom: none !important; padding-top: 16px !important; }
.woocommerce .cart-collaterals .cart_totals table .order-total th, .woocommerce .cart-collaterals .cart_totals table .order-total td { font-size: 20px !important; font-weight: 700 !important; color: var(--text) !important; }
.woocommerce .coupon input.input-text {
  background: var(--surface2) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: 10px !important; font-family: var(--font) !important;
  padding: 10px 14px !important; font-size: 14px !important;
}
.woocommerce button[name="apply_coupon"], .woocommerce button[name="update_cart"] {
  background: transparent !important; border: 1px solid var(--border) !important;
  color: var(--muted) !important; border-radius: 100px !important; font-family: var(--font) !important;
  padding: 10px 20px !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer !important;
  transition: all 0.2s !important;
}
.woocommerce button[name="apply_coupon"]:hover, .woocommerce button[name="update_cart"]:hover { border-color: var(--gold) !important; color: var(--gold) !important; }
.woocommerce a.checkout-button, .woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block !important; padding: 16px !important; border-radius: 100px !important;
  font-size: 15px !important; font-weight: 600 !important; text-align: center !important;
  background: linear-gradient(135deg,var(--gold),var(--gold-deep)) !important;
  color: var(--btn-ink, #09090D) !important; border: none !important; font-family: var(--font) !important;
  text-decoration: none !important; margin-top: 20px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 8px 28px rgba(255,191,47,0.28) !important;
}
.woocommerce a.checkout-button:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 36px rgba(255,191,47,0.38) !important; }

/* ═══ CHECKOUT PAGE ═══ */

/* Override hello-elementor site-main constraint so our checkout wrap can center itself */
.woocommerce-checkout .site-main,
.woocommerce-cart .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
}
/* Hide default hello-elementor page title on checkout/cart (we render our own) */
.woocommerce-checkout .page-header,
.woocommerce-cart .page-header { display: none !important; }

/* Wrapper + header */
.woocommerce-checkout .eg-shop-page,
.woocommerce-cart .eg-shop-page { padding: 0 !important; }
.eg-checkout-wrap { max-width: 1140px; margin: 0 auto !important; padding: 40px 48px 100px; }
.eg-checkout-wrap .optional { display: none !important; }
.eg-checkout-head { margin-bottom: 36px; }
.eg-checkout-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.eg-checkout-title { font-size: clamp(30px,4vw,46px); font-weight: 700; letter-spacing: -0.02em; }

/* Two-column grid: form overrides need to be flat — template handles structure */
.eg-checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }

/* ── Form cards ── */
.eg-form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 32px; margin-bottom: 24px;
}
.eg-form-card h2 {
  font-size: 18px; font-weight: 700; margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font);
}
.eg-step-n {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0B0B0F; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eg-form-card-sub { font-size: 13px; color: var(--muted); margin: 0 0 22px 36px; }

/* Field grid (2-col inside card) */
.eg-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* WC form-row resets inside our cards */
.eg-checkout-wrap .form-row { margin-bottom: 14px !important; float: none !important; clear: none !important; width: 100% !important; }
.eg-checkout-wrap .form-row label {
  color: var(--muted) !important; font-size: 13px !important; font-family: var(--font) !important;
  font-weight: 500 !important; display: block !important; margin-bottom: 6px !important;
}
.eg-checkout-wrap .form-row label .required { color: var(--gold) !important; }
.eg-checkout-wrap .form-row input.input-text,
.eg-checkout-wrap .form-row textarea,
.eg-checkout-wrap .form-row select {
  background: var(--surface2) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: 12px !important; font-family: var(--font) !important;
  padding: 13px 16px !important; font-size: 14px !important; width: 100% !important;
  outline: none !important; transition: border-color 0.2s, box-shadow 0.2s !important; box-sizing: border-box !important;
}
.eg-checkout-wrap .form-row input.input-text:focus,
.eg-checkout-wrap .form-row textarea:focus {
  border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(255,191,47,0.12) !important;
}
.eg-checkout-wrap .form-row.woocommerce-invalid input,
.eg-checkout-wrap .form-row.woocommerce-invalid select { border-color: #E5484D !important; }
.eg-checkout-wrap .form-row textarea { min-height: 90px !important; resize: vertical !important; }

/* ── Delivery / Payment option rows (eg-opt) ── */
.eg-opt-group { display: flex; flex-direction: column; gap: 10px; }
.eg-opt {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 14px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; position: relative;
}
.eg-opt:hover { border-color: var(--muted); }
.eg-opt.eg-sel { border-color: var(--gold); background: rgba(255,191,47,0.06); }
.eg-opt-radio {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); margin-top: 2px; position: relative; transition: border-color 0.2s;
}
.eg-opt.eg-sel .eg-opt-radio { border-color: var(--gold); }
.eg-opt.eg-sel .eg-opt-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); }
.eg-opt-body { flex: 1; min-width: 0; }
.eg-opt-title { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.eg-opt-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.eg-opt-meta { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; padding-left: 12px; }

/* ── Order review: hide WC payment list (Card 3 is our custom PHP render) ── */
.eg-sum-order-review .woocommerce-checkout-review-order-table { display: none !important; }
.eg-sum-order-review #payment { background: transparent !important; border: none !important; padding: 0 !important; }
.eg-sum-order-review #payment ul.payment_methods { display: none !important; }
.eg-sum-order-review #payment .payment_box { display: none !important; }

/* ── Summary (right column, sticky) ── */
.eg-summary {
  position: sticky; top: 92px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px;
}
.eg-summary-title { font-size: 17px; font-weight: 700; margin-bottom: 20px; color: var(--text); font-family: var(--font); }

.eg-sum-items { display: flex; flex-direction: column; gap: 14px; max-height: 300px; overflow-y: auto; margin-bottom: 20px; scrollbar-width: thin; scrollbar-color: rgba(255,191,47,0.35) transparent; }
.eg-sum-items::-webkit-scrollbar { width: 4px; }
.eg-sum-items::-webkit-scrollbar-track { background: transparent; border-radius: 4px; }
.eg-sum-items::-webkit-scrollbar-thumb { background: rgba(255,191,47,0.35); border-radius: 4px; }
.eg-sum-items::-webkit-scrollbar-thumb:hover { background: rgba(255,191,47,0.65); }
.eg-si { display: flex; gap: 12px; align-items: flex-start; }
.eg-si-img {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface2); text-align: center; overflow: hidden;
}
.eg-si-body { flex: 1; min-width: 0; }
.eg-si-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text); }
.eg-si-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.eg-si-price { font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--text); }
.eg-si-price.eg-si-req { color: var(--gold); font-weight: 600; }
/* compact qty controls in checkout items (inside eg-si-body) */
.eg-si-qty { gap: 6px; margin-top: 8px; }
.eg-si-qty .eg-sp-qty-btn { width: 28px; height: 28px; font-size: 15px; border-radius: 7px; }
.eg-si-qty .eg-sp-qty-display { min-width: 18px; font-size: 13px; }

/* ── WC Blocks Cart: quantity selector ── */
.wc-block-components-quantity-selector {
  display: flex !important; align-items: center !important; gap: 8px !important;
  background: transparent !important; border: none !important; padding: 0 !important;
}
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus,
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus {
  width: 38px !important; height: 38px !important; flex-shrink: 0 !important;
  background: var(--surface2) !important; border: 1px solid rgba(255,191,47,0.35) !important;
  border-radius: 9px !important; color: var(--gold) !important; font-size: 20px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; transition: border-color .2s, background .2s !important;
  padding: 0 !important; line-height: 1 !important; min-width: unset !important;
}
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus:hover,
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus:hover {
  border-color: var(--gold) !important; background: rgba(255,191,47,0.10) !important;
}
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus:disabled,
.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus:disabled {
  opacity: .3 !important; cursor: default !important; border-color: var(--border) !important; color: var(--muted) !important;
}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  width: 36px !important; min-width: 36px !important; text-align: center !important;
  font-size: 18px !important; font-weight: 600 !important; color: var(--text) !important;
  background: transparent !important; border: none !important; box-shadow: none !important;
  font-family: var(--font) !important; padding: 0 !important;
  -moz-appearance: textfield !important;
}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus {
  outline: none !important; box-shadow: none !important;
}
.eg-si-remove {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-top: 2px;
  font-size: 16px; line-height: 1; color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  border-radius: 6px; text-decoration: none; transition: color 0.15s, background 0.15s;
}
.eg-si-remove:hover { color: #E5484D; background: rgba(229,72,77,0.12); }

.eg-sum-line { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--muted); }
.eg-sum-line b, .eg-sum-line .woocommerce-Price-amount { color: var(--text); font-weight: 600; }
.eg-sum-divider { height: 1px; background: var(--border); margin: 12px 0; }
.eg-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 4px; }
.eg-sum-total-l { font-size: 15px; font-weight: 600; color: var(--text); }
.eg-sum-total-v { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.eg-sum-total-v .woocommerce-Price-amount { font-size: 28px; font-weight: 700; color: var(--text); }
.eg-sum-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 10px 0 18px; }

/* place_order button inside summary */
.eg-sum-place-order { }
.eg-sum-place-order #payment { background: transparent !important; border: none !important; padding: 0 !important; }
.eg-sum-place-order .payment_methods { display: none !important; }
.eg-sum-place-order .place-order { padding: 0 !important; }
.eg-sum-place-order #place_order {
  width: 100% !important; padding: 16px !important; border-radius: 100px !important;
  font-size: 15px !important; font-weight: 600 !important;
  background: linear-gradient(135deg,var(--gold),var(--gold-deep)) !important;
  color: var(--btn-ink, #09090D) !important; border: none !important; cursor: pointer !important; font-family: var(--font) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 8px 28px rgba(255,191,47,0.28) !important;
}
.eg-sum-place-order #place_order:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 36px rgba(255,191,47,0.38) !important; }

/* Trust badges */
.eg-checkout-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.eg-checkout-trust div { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.eg-checkout-trust svg { color: var(--gold); flex-shrink: 0; }

/* ── ORDER RECEIVED ── */
.eg-order-wrap { max-width: 640px; margin: 0 auto; padding: 80px 24px 100px; text-align: center; }
.eg-order-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); border: 1px solid var(--ok-bd); color: var(--ok); }
.woocommerce-order h2 { font-size: 30px !important; font-weight: 700 !important; letter-spacing: -0.02em !important; color: var(--text) !important; font-family: var(--font) !important; margin-bottom: 12px !important; }
.woocommerce-order p.woocommerce-thankyou-order-received { font-size: 16px !important; color: var(--muted) !important; font-family: var(--font) !important; line-height: 1.6 !important; }
.woocommerce-order ul.woocommerce-order-overview { list-style: none !important; padding: 0 !important; display: flex !important; flex-wrap: wrap !important; gap: 12px !important; justify-content: center !important; margin: 24px 0 40px !important; }
.woocommerce-order ul.woocommerce-order-overview li { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: 14px !important; padding: 12px 20px !important; font-family: var(--font) !important; color: var(--muted) !important; font-size: 13px !important; }
.woocommerce-order ul.woocommerce-order-overview li strong { color: var(--text) !important; display: block !important; font-size: 15px !important; font-weight: 700 !important; }
.woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details { text-align: left !important; }
.woocommerce-order .woocommerce-order-details h2, .woocommerce-order .woocommerce-customer-details h2 { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 16px !important; }

/* Mobile checkout */
@media (max-width: 920px) {
  .eg-checkout-wrap { padding: 32px 20px 80px; }
  .eg-checkout-grid { grid-template-columns: 1fr; }
  .eg-summary { position: static; }
}
@media (max-width: 560px) {
  .eg-field-grid { grid-template-columns: 1fr; }
}

/* Cart page mobile */
@media (max-width: 900px) {
  .eg-cart-wrap { padding: 40px 20px 80px; }
  .woocommerce .cart-collaterals .cart_totals { float: none !important; width: 100% !important; }
}

/* ═══ CART DRAWER ═══ */

body.eg-body-lock { overflow: hidden !important; }

#eg-drawer-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(8,8,12,0.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#eg-drawer-overlay.eg-open { opacity: 1; pointer-events: all; }

#eg-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9999;
  width: 420px; max-width: 92vw;
  background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: -24px 0 60px rgba(0,0,0,0.45);
  transform: translateX(102%); transition: transform 0.36s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column; font-family: var(--font);
}
#eg-cart-drawer.eg-open { transform: translateX(0); }

/* Drawer head */
.eg-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.eg-drawer-head h3, .eg-drawer-head .eg-drawer-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.eg-drawer-cnt { color: var(--muted); font-weight: 400; font-size: 14px; }
#eg-drawer-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text); cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; padding: 0;
  font-family: var(--font);
}
#eg-drawer-close:hover { border-color: var(--gold); color: var(--gold); }

/* Items list */
.eg-drawer-items {
  flex: 1; overflow-y: auto; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 12px;
}

/* Empty state */
.eg-drawer-empty {
  text-align: center; color: var(--muted); padding: 60px 24px;
}
.eg-drawer-empty-ic { margin-bottom: 14px; opacity: 0.5; }
.eg-drawer-empty a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* Cart item */
.eg-drawer-ci {
  display: flex; gap: 14px; padding: 14px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
}
.eg-drawer-ci-img {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface2); overflow: hidden;
  text-align: center;
}
.eg-drawer-ci-body { flex: 1; min-width: 0; }
.eg-drawer-ci-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.eg-drawer-ci-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.eg-drawer-ci-name a { color: var(--text); text-decoration: none; }
.eg-drawer-ci-name a:hover { color: var(--gold); }
.eg-drawer-ci-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eg-drawer-ci-qty { font-size: 12px; color: var(--muted); }
.eg-drawer-ci-price { font-size: 15px; font-weight: 700; text-align: right; }
.eg-drawer-ci-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.eg-drawer-ci-price .woocommerce-Price-amount { font-size: 15px; font-weight: 700; }
.eg-drawer-ci-req { font-size: 12px; color: var(--gold); font-weight: 600; }
.eg-drawer-ci-qty-wrap.eg-sp-qty-wrap { margin: 0; }
.eg-drawer-ci-qty-wrap .eg-sp-qty-btn { width: 28px; height: 28px; font-size: 15px; border-radius: 7px; }
.eg-drawer-ci-qty-wrap .eg-sp-qty-display { font-size: 14px; min-width: 18px; }
.eg-drawer-ci-del {
  display: inline-block; background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 12px; padding: 0; transition: color 0.2s;
  margin-top: 6px; text-decoration: none; font-family: var(--font);
}
.eg-drawer-ci-del:hover { color: #E5484D; }

/* Footer */
.eg-drawer-foot {
  border-top: 1px solid var(--border); padding: 20px 24px 24px; flex-shrink: 0;
  background: var(--surface);
}
.eg-drawer-sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.eg-drawer-sum-lbl { font-size: 14px; color: var(--muted); }
.eg-drawer-sum-amt { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.eg-drawer-sum-amt .woocommerce-Price-amount { font-size: 26px; font-weight: 700; }
.eg-drawer-checkout {
  display: block; width: 100%; text-align: center; padding: 15px;
  border-radius: 100px; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0B0B0F !important; border: none; cursor: pointer; font-family: var(--font);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 26px rgba(255,191,47,0.25);
}
.eg-drawer-checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255,191,47,0.35); color: #0B0B0F !important; }
.eg-drawer-clear {
  display: block; width: 100%; text-align: center; margin-top: 10px;
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 13px; font-family: var(--font);
  padding: 6px; transition: color 0.2s; text-decoration: none;
}
.eg-drawer-clear:hover { color: var(--text); }

/* ─── FOOTER ─── */
.eg-footer { padding: 60px 48px 0; border-top: 1px solid var(--border); background: var(--bg); }
.eg-footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 1200px) { .eg-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 48px; } }
@media (max-width: 1150px) { .eg-nav-links { gap: 20px; } .eg-nav-links a { font-size: 13px; } }
.eg-footer-logo-link { display: inline-block; }
.eg-footer-logo-img { height: 90px; width: auto; display: block; }
.eg-footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 20px; max-width: 320px; }
.eg-footer-logo-text { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eg-footer-col h2, .eg-footer-col .eg-footer-h { margin-top: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eg-footer-col a,
.eg-footer-col span { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.eg-footer-col a:hover { color: var(--text); }
.eg-footer-bottom { max-width: 1400px; margin: 48px auto 0; padding: 24px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.eg-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.eg-social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.eg-footer-social a,
.eg-social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); background: var(--surface); border: 1px solid var(--border); transition: color .2s, border-color .2s, background .2s; text-decoration: none; flex-shrink: 0; }
.eg-footer-social a:hover,
.eg-social-icons a:hover { color: var(--gold); border-color: rgba(255,191,47,0.35); background: rgba(255,191,47,0.06); }

@media (max-width: 900px) {
  .eg-footer { padding: 48px 20px 0; }
  .eg-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .eg-footer-brand p { max-width: 100%; }
  .eg-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .eg-shop-page { padding: 32px 20px 80px; }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr !important; }
}

/* ═══ HOMEPAGE ═══ */

/* ─── HERO ─── */
.eg-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.eg-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(27,79,196,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(255,191,47,0.10) 0%, transparent 60%);
}
.eg-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
}
.eg-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,191,47,0.35); background: rgba(255,191,47,0.08);
  color: var(--gold-light); margin-bottom: 32px; position: relative; z-index: 1;
}
.eg-hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: eg-pulse 2s infinite; }
@keyframes eg-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.eg-hero-title {
  font-size: clamp(52px,7vw,110px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0;
  position: relative; z-index: 1; margin: 0 0 8px;
}
.eg-gold { background: linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 50%,var(--gold-deep) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eg-blue { background: linear-gradient(135deg,var(--blue) 0%,var(--blue-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eg-hero-tagline {
  font-size: clamp(14px,2vw,18px); font-weight: 400; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 32px; position: relative; z-index: 1;
}
.eg-hero-desc {
  font-size: clamp(16px,2vw,20px); font-weight: 300; color: var(--muted);
  max-width: 560px; line-height: 1.65; margin: 0 auto 48px; position: relative; z-index: 1;
}
.eg-hero-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }
/* Геометрія. Колір, тінь, ховер, натиск і фокус — assets/css/buttons.css. */
.eg-btn-primary {
  padding: 16px 36px; border-radius: 100px; font-size: 15px; font-weight: 600;
  color: var(--btn-ink, #09090D) !important; cursor: pointer; font-family: var(--font);
  text-decoration: none; display: inline-block;
}
.eg-btn-secondary {
  padding: 16px 36px; border-radius: 100px; font-size: 15px; font-weight: 500;
  color: var(--text) !important;
  cursor: pointer; font-family: var(--font); text-decoration: none; display: inline-block;
}
.eg-hero-logo-visual { margin-top: 64px; position: relative; z-index: 1; display: flex; justify-content: center; }
.eg-hero-logo-visual img {
  width: min(280px,50vw);
  filter: drop-shadow(0 0 60px rgba(27,79,196,0.5)) drop-shadow(0 0 30px rgba(255,191,47,0.3));
  animation: eg-float 5s ease-in-out infinite;
}
@keyframes eg-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ─── SECTION COMMONS ─── */
.eg-section { padding: 120px 48px; }
.eg-section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.eg-section-title { font-size: clamp(32px,4vw,56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px; }
.eg-section-sub { font-size: 18px; color: var(--muted); font-weight: 300; max-width: 520px; line-height: 1.6; }

/* ─── FEATURES ─── */
.eg-features-header { max-width: 1200px; margin: 0 auto 80px; }
.eg-features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; max-width: 1200px; margin: 0 auto;
  background: var(--border); border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
}
.eg-feature-card { background: var(--surface); padding: 48px 40px; transition: background 0.3s; position: relative; overflow: hidden; }
.eg-feature-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,191,47,0.05),transparent); opacity: 0; transition: opacity 0.4s; }
.eg-feature-card:hover { background: var(--bg2); }
.eg-feature-card:hover::before { opacity: 1; }
.eg-feature-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg,rgba(255,191,47,0.15),rgba(27,79,196,0.15)); border: 1px solid rgba(255,191,47,0.2); }
.eg-feature-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.eg-feature-desc { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ─── CATALOG PREVIEW (home page) ─── */
.eg-catalog-section {
  position: relative; overflow: hidden;
  padding: 100px 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(27,79,196,0.10) 0%, transparent 60%), var(--bg);
}
.eg-catalog-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.eg-catalog-section .eg-catalog-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
  padding: 0; border-bottom: none; background: none; text-align: left;
}

/* ─── Homepage category grid ─── */
.eg-cat-grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.eg-cat-card {
  position: relative; flex: 1 1 290px; max-width: 340px; perspective: 900px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px 24px 26px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.eg-cat-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,191,47,0.12) 0%, transparent 60%);
}
.eg-cat-card:hover { transform: translateY(-7px); border-color: rgba(255,191,47,0.30); box-shadow: 0 28px 64px rgba(0,0,0,0.55); }
.eg-cat-card:hover::before { opacity: 1; }

.eg-cat-model {
  height: 150px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.eg-cat-card:hover .eg-cat-model { transform: translateY(-3px) rotateX(7deg) rotateY(-13deg); }
.eg-cat-model svg { height: 140px; width: auto; overflow: visible; animation: egcFloat 5.5s ease-in-out infinite; }
@keyframes egcFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.eg-cat-grid .eg-cat-card:nth-child(2) .eg-cat-model svg { animation-delay: .7s; }
.eg-cat-grid .eg-cat-card:nth-child(3) .eg-cat-model svg { animation-delay: 1.4s; }
.eg-cat-grid .eg-cat-card:nth-child(4) .eg-cat-model svg { animation-delay: .4s; }
.eg-cat-grid .eg-cat-card:nth-child(5) .eg-cat-model svg { animation-delay: 1.1s; }

.eg-cat-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.eg-cat-count { font-size: 13px; color: var(--muted); margin-top: 5px; }
.eg-cat-info { display: flex; flex-direction: column; }
.eg-cat-arrow {
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: rgba(255,191,47,0.10); border: 1px solid rgba(255,191,47,0.22);
  transition: transform .3s, background .3s, color .3s;
}
.eg-cat-card:hover .eg-cat-arrow {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #09090D; transform: translateX(3px);
}

/* SVG model shared classes */
.egc-f { fill: url(#egcF); } .egc-t { fill: url(#egcT); } .egc-s { fill: url(#egcS); }
.egc-edge { fill: none; stroke: rgba(255,191,47,0.16); stroke-width: 1; }
.egc-scr { fill: #0a0a10; stroke: rgba(255,191,47,0.22); }
.egc-bar { fill: var(--gold); }
.egc-led { fill: var(--gold); filter: drop-shadow(0 0 3px rgba(255,191,47,.7)); }
.egc-led-b { fill: var(--blue-light); filter: drop-shadow(0 0 3px rgba(74,144,232,.7)); }
.egc-led-dim { fill: rgba(255,191,47,0.22); }
.egc-blink { animation: egcBlink 1.7s ease-in-out infinite; }
@keyframes egcBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.egc-sine {
  fill: none; stroke: var(--blue-light); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 5 7; filter: drop-shadow(0 0 3px rgba(74,144,232,.7));
  animation: egcDash 0.9s linear infinite;
}
@keyframes egcDash { to { stroke-dashoffset: -12; } }
.egc-charge { fill: url(#egcCharge); }
.egc-cap { fill: #ffe0a0; filter: drop-shadow(0 0 5px rgba(255,191,47,.8)); }
.egc-gear { transform-box: fill-box; transform-origin: center; }
.egc-panelg { fill: #14253f; stroke: var(--blue-light); stroke-width: 1; }
.egc-pline { stroke: var(--blue-light); stroke-width: .9; opacity: .55; }
.egc-sun { fill: url(#egcSun); }
.egc-ray { stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.egc-conn { fill: #1a2740; stroke: var(--blue-light); stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .eg-cat-model svg, .egc-sine, .egc-blink { animation: none; } }

/* Legacy preview card (used elsewhere) */
.eg-catalog-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.eg-preview-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  text-decoration: none; display: block; color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.eg-preview-card:hover { transform: translateY(-6px); border-color: rgba(255,191,47,0.35); box-shadow: var(--card-shadow),0 0 0 1px rgba(255,191,47,0.18); }
.eg-preview-title { font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--text); line-height: 1.35; }

/* ─── WHY ─── */
.eg-why-section { background: var(--bg); }
.eg-why-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eg-why-visual {
  aspect-ratio: 1; border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.eg-why-visual-inner {
  width: 65%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle,rgba(27,79,196,0.25) 0%,rgba(255,191,47,0.12) 60%,transparent 100%);
  display: flex; align-items: center; justify-content: center;
  animation: eg-rotatePulse 8s linear infinite;
}
@keyframes eg-rotatePulse {
  0%{box-shadow:0 0 60px rgba(27,79,196,0.3),0 0 20px rgba(255,191,47,0.2)}
  50%{box-shadow:0 0 80px rgba(255,191,47,0.3),0 0 30px rgba(27,79,196,0.2)}
  100%{box-shadow:0 0 60px rgba(27,79,196,0.3),0 0 20px rgba(255,191,47,0.2)}
}
.eg-why-visual-inner img { width: 52%; filter: drop-shadow(0 0 40px rgba(74,144,232,0.4)); }
.eg-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); animation: eg-spin linear infinite; }
.eg-orbit-1 { width: 78%; aspect-ratio:1; top:11%; left:11%; animation-duration: 20s; }
.eg-orbit-2 { width: 90%; aspect-ratio:1; top:5%; left:5%; animation-duration: 35s; animation-direction: reverse; }
@keyframes eg-spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.eg-orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); top: -4px; left: calc(50% - 4px); box-shadow: 0 0 12px var(--gold); }
.eg-orbit-dot-blue { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); bottom: -3px; right: calc(50% - 3px); box-shadow: 0 0 10px var(--blue-light); }
.eg-why-list { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.eg-why-item { display: flex; gap: 20px; }
.eg-why-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,rgba(255,191,47,0.12),rgba(27,79,196,0.12)); border: 1px solid rgba(255,191,47,0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.eg-why-item-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.eg-why-item-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── CTA BAND ─── */
.eg-cta-band {
  background: linear-gradient(135deg,rgba(27,79,196,0.15) 0%,rgba(255,191,47,0.10) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 48px; text-align: center;
}
.eg-cta-band h2 { font-size: clamp(32px,4vw,60px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 20px; line-height: 1.15; }
.eg-cta-band p { font-size: 18px; color: var(--muted); margin-bottom: 40px; font-weight: 300; }
.eg-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .eg-hero { padding: 100px 20px 60px; }
  .eg-section { padding: 80px 24px; }
  .eg-catalog-section { padding: 70px 16px; }
  .eg-catalog-inner { padding: 0 20px; }
  .eg-features-grid { grid-template-columns: 1fr; }
  .eg-catalog-preview-grid { grid-template-columns: 1fr 1fr; }
  .eg-why-inner { grid-template-columns: 1fr; }
  .eg-why-content { order: -1; }
  .eg-why-visual { order: 0; }
  .eg-cta-band { padding: 80px 24px; }
  .eg-cta-band h2 { font-size: clamp(26px, 7.4vw, 32px); overflow-wrap: anywhere; hyphens: auto; } /* «енергонезалежними?» не вміщувалось на 390px */
}
@media (max-width: 600px) {
  .eg-cat-card { flex-basis: 100%; max-width: 100%; }
  .eg-catalog-preview-grid { grid-template-columns: 1fr; }
  .eg-catalog-section .eg-catalog-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
}

/* ─── Shop page catalog variant ─── */
.eg-shop-page--catalog { padding: 0 !important; max-width: none !important; }

/* ═══ CATALOG SIDEBAR ═══ */

/* Page header band */
.eg-catalog-header {
  padding: 64px 48px 52px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(27,79,196,0.10) 0%, transparent 70%);
  text-align: center;
}
.eg-catalog-header-inner { max-width: 1400px; margin: 0 auto; }
.eg-catalog-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.eg-catalog-title {
  font-size: clamp(28px,4vw,52px); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 10px; line-height: 1.15;
  color: var(--text);
}
.eg-catalog-sub {
  font-size: 16px; color: var(--muted); font-weight: 300;
}

/* Two-column layout wrapper */
.eg-catalog-layout {
  max-width: 1400px; margin: 0 auto;
  padding: 0 48px 100px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* SIDEBAR */
.eg-sidebar {
  position: sticky;
  top: 88px;
  padding-top: 36px;
}
.eg-sidebar-section { margin-bottom: 36px; }
.eg-sidebar-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}

/* Category items */
.eg-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent; background: transparent;
  color: var(--muted); text-decoration: none;
  transition: all 0.2s; margin-bottom: 4px;
}
.eg-cat-item:hover { color: var(--text); background: var(--hover-bg); }
.eg-cat-item.eg-active {
  color: var(--gold);
  background: rgba(255,191,47,0.08);
  border-color: rgba(255,191,47,0.2);
}
.eg-cat-item-name { flex: 1; }
.eg-cat-count {
  font-size: 11px; color: var(--muted);
  background: var(--surface); padding: 2px 7px;
  border-radius: 100px; margin-left: 8px; flex-shrink: 0;
}
.eg-cat-item.eg-active .eg-cat-count {
  background: rgba(255,191,47,0.15); color: var(--gold);
}

/* Brand chips */
.eg-brand-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eg-brand-chip {
  display: inline-flex; padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); text-decoration: none;
  transition: all 0.2s;
}
.eg-brand-chip:hover { color: var(--text); border-color: var(--muted); }
.eg-brand-chip.eg-active {
  color: var(--blue-light);
  border-color: rgba(74,144,232,0.5);
  background: rgba(74,144,232,0.1);
}

/* Category icon */
.eg-cat-item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 20px; flex-shrink: 0; margin-right: 6px; color: var(--muted);
  transition: color 0.2s;
}
.eg-cat-item.eg-active .eg-cat-item-icon { color: var(--gold); }
.eg-cat-item:hover .eg-cat-item-icon { color: var(--text); }

/* Reset filters button */
.eg-sidebar-reset { margin-bottom: 20px !important; }
.eg-reset-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 100px;
  transition: all 0.2s;
}
.eg-reset-btn:hover { color: var(--text); border-color: var(--muted); }

/* Price filter */
.eg-price-form { margin-top: 4px; }
.eg-price-inputs {
  display: flex; align-items: center; gap: 6px;
}
.eg-price-field {
  flex: 1; display: flex; align-items: center;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 0 8px; gap: 5px;
  transition: border-color 0.2s;
}
.eg-price-field:focus-within { border-color: rgba(255,191,47,0.35); }
.eg-price-label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.eg-price-input {
  flex: 1; min-width: 0; border: none; background: transparent;
  color: var(--text); font-size: 13px; font-family: var(--font);
  outline: none; padding: 8px 0;
}
.eg-price-input::placeholder { color: var(--muted); }
.eg-price-input::-webkit-inner-spin-button,
.eg-price-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.eg-price-sep { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.eg-price-btn {
  padding: 8px 12px; background: var(--surface2);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  color: var(--muted); font-size: 13px; cursor: pointer;
  transition: all 0.2s; flex-shrink: 0; line-height: 1;
}
.eg-price-btn:hover { color: var(--gold); border-color: rgba(255,191,47,0.3); }

/* Attribute filter chips (phases, kW ranges, kWh, Wp, panel type) */
.eg-attr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eg-attr-chip {
  display: inline-block; padding: 5px 10px;
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; color: var(--muted); font-size: 12px;
  text-decoration: none; white-space: nowrap; transition: all 0.2s;
}
.eg-attr-chip:hover { color: var(--text); border-color: var(--muted); }
.eg-attr-chip.eg-active {
  background: rgba(255,191,47,0.12); border-color: rgba(255,191,47,0.5);
  color: var(--gold);
}

/* Availability toggle */
.eg-avail-toggle {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-top: 8px;
}
.eg-toggle-track {
  width: 36px; height: 20px; border-radius: 100px;
  background: var(--surface2); border: 1px solid var(--border);
  position: relative; transition: background 0.2s; flex-shrink: 0;
}
.eg-toggle-track.eg-on {
  background: rgba(255,191,47,0.3);
  border-color: rgba(255,191,47,0.4);
}
.eg-toggle-thumb {
  position: absolute; width: 14px; height: 14px;
  border-radius: 50%; background: var(--muted);
  top: 2px; left: 2px; transition: all 0.2s;
}
.eg-toggle-track.eg-on .eg-toggle-thumb {
  left: 18px; background: var(--gold);
}
.eg-toggle-label { font-size: 13px; color: var(--muted); }

/* Main column */
.eg-catalog-main { padding-top: 36px; min-width: 0; }

/* Toolbar */
.eg-toolbar {
  display: flex; gap: 12px; margin-bottom: 28px; align-items: center;
}
.eg-search-wrap {
  position: relative; flex: 1; display: flex; align-items: center;
}
.eg-search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: var(--muted);
  pointer-events: none; z-index: 1;
  display: flex; align-items: center;
}
.eg-search-input {
  width: 100%; padding: 11px 16px 11px 46px;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 999px; color: var(--text); font-size: 14px;
  font-family: var(--font); outline: none; transition: border-color 0.2s;
}
.eg-search-input:focus { border-color: rgba(255,191,47,0.35); }
.eg-search-input::placeholder { color: var(--muted); }
.eg-ordering-wrap .woocommerce-ordering { margin: 0 !important; }
.eg-ordering-wrap select,
.eg-ordering-wrap .woocommerce-ordering select {
  padding: 11px 20px !important; background: var(--surface) !important;
  border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 999px !important;
  color: var(--text) !important; font-size: 14px !important;
  font-family: var(--font) !important; outline: none !important;
  cursor: pointer !important; white-space: nowrap; appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
}

/* Result count muted */
.woocommerce-result-count {
  font-size: 13px !important; color: var(--muted) !important;
  margin-bottom: 16px !important; display: block;
}

/* Mobile: sidebar stacks above grid */
@media (max-width: 900px) {
  .eg-catalog-header { padding: 36px 20px 28px; }
  .eg-catalog-layout {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
    gap: 24px;
  }
  .eg-sidebar {
    position: static;
    padding-top: 24px;
  }
  .eg-catalog-main { padding-top: 0; }
  .eg-toolbar { flex-wrap: wrap; }
}

/* ─── SINGLE PRODUCT ─── */

.eg-sp-bg {
  min-height: 100vh;
  background: var(--bg);
  padding: 0 0 80px;
}

.eg-sp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Breadcrumb ── */
.eg-sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 28px 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.eg-sp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.eg-sp-breadcrumb a:hover { color: var(--text); }
.eg-sp-bc-sep { color: var(--muted); opacity: 0.5; margin: 0 2px; }
.eg-sp-bc-current { color: var(--text); }

/* ── Main 2-col grid ── */
.eg-sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── LEFT: Image card ── */
.eg-sp-image-col { display: flex; flex-direction: column; gap: 20px; }

.eg-sp-image-card {
  background: var(--surface2);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eg-sp-stock-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34,197,94,0.15);
  color: var(--ok);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}
.eg-sp-stock-badge--warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: var(--warn-bd);
}

.eg-sp-img-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.eg-sp-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.eg-sp-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 40px;
}
.eg-sp-placeholder-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── Attributes table ── */
.eg-sp-attrs-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.eg-sp-attrs-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 16px 16px 12px;
}
.eg-sp-attrs-table { display: flex; flex-direction: column; }
.eg-sp-attr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
}
.eg-sp-attr-row--even { background: var(--surface2); }
.eg-sp-attr-name { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.eg-sp-attr-value { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; }

/* ── RIGHT: Info column ── */
.eg-sp-info-col { display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }

.eg-sp-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,191,47,0.4);
  background: rgba(255,191,47,0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 10px;
  width: fit-content;
}

.eg-sp-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.eg-sp-stock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ok);
}
.eg-sp-stock-dot { color: var(--ok); flex-shrink: 0; }
.eg-sp-stock-dot--warn { color: var(--warn); }
.eg-sp-stock-row:has(.eg-sp-stock-dot--warn) { color: var(--warn); }

/* ── Spec chips ── */
.eg-sp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.eg-sp-chip {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text);
}
.eg-sp-chip--labeled {
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 10px;
}
.eg-sp-chip-label {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
}
.eg-sp-chip-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* ── Price card ── */
.eg-sp-price-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 20px 24px;
}
.eg-sp-price-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.eg-sp-price-side { display: flex; flex-direction: column; gap: 6px; }
.eg-sp-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.eg-sp-price-main {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.eg-sp-price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.eg-sp-price-request {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

/* ── Buttons ── */
.eg-sp-buttons {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.eg-sp-cart-form { flex: 1; min-width: 0; }

/* ── Qty ± group ── */
.eg-sp-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.eg-sp-qty-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid rgba(255,191,47,0.35);
  border-radius: 10px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  font-family: var(--font);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.eg-sp-qty-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(255,191,47,0.10);
  box-shadow: 0 0 0 1px rgba(255,191,47,0.15);
}
.eg-sp-qty-btn:active:not(:disabled) { background: rgba(255,191,47,0.18); }
.eg-sp-qty-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.eg-sp-qty-btn:disabled { opacity: .3; cursor: default; border-color: var(--border); color: var(--muted); }
.eg-sp-qty-display {
  min-width: 36px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font);
  user-select: none;
}


.eg-sp-btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  padding: 14px 14px 14px 20px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  white-space: nowrap;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.eg-sp-btn-cart:hover { background: #4A90E8; color: #fff; }
.eg-sp-btn-cart:active { transform: scale(0.98); }
.eg-sp-btn-cart:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.eg-sp-btn-buynow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.1s;
  white-space: nowrap;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.eg-sp-btn-buynow:hover {
  border-color: rgba(255,191,47,0.4);
  background: rgba(255,191,47,0.06);
}
.eg-sp-btn-buynow:active { transform: scale(0.98); }
.eg-sp-btn-buynow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Trust badges ── */
.eg-sp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.eg-sp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.eg-sp-trust-icon {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  flex-shrink: 0;
}
.eg-sp-trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.eg-sp-trust-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

/* ── Sections below grid ── */
.eg-sp-section { margin-top: 48px; }

.eg-sp-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

/* Description */
.eg-sp-desc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.eg-sp-desc-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.eg-sp-desc-body p { margin: 0 0 12px; }
.eg-sp-desc-body p:last-child { margin-bottom: 0; }
.eg-sp-desc-body ul,
.eg-sp-desc-body ol {
  padding-left: 0;
  margin: 0 0 12px;
  list-style: none;
}
.eg-sp-desc-body ul li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}
.eg-sp-desc-body a { color: var(--gold-light); }

/* Related products */
.eg-sp-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.eg-sp-related-all {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.eg-sp-related-all:hover { color: var(--gold-light); }

.eg-sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1100px) {
  .eg-sp-related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .eg-sp-wrap { padding: 0 20px; }
  .eg-sp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .eg-sp-image-card { aspect-ratio: 16/9; }
  .eg-sp-chips { flex-wrap: wrap; }
  .eg-sp-buttons {
    flex-wrap: wrap;
  }
  .eg-sp-btn-buynow {
    flex: 1 0 100%;
    justify-content: center;
  }
  .eg-sp-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .eg-sp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .eg-sp-title { font-size: 22px; }
  .eg-sp-price-main { font-size: 26px; }
  .eg-sp-related-grid { grid-template-columns: 1fr; }
}

/* ═══ CONTACTS PAGE ═══ */

.eg-contacts-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 100px;
}
/* Шапка «Контактів»: фото на фоні під затемненням, яке внизу переходить у
   колір сторінки. Клас .eg-catalog-header спільний з каталогом, тому всі
   правила — тільки під .eg-contacts-wrap / .eg-contacts-hero. */
.eg-contacts-wrap .eg-catalog-header {
  position: relative; overflow: hidden;
  margin-bottom: 0; border-bottom: 0;
  padding: 96px 48px 84px;
  border-radius: 0 0 28px 28px;
}
.eg-contacts-hero__bg { position: absolute; inset: 0; z-index: 0; }
.eg-contacts-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.03);
}
.eg-contacts-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,13,.46) 0%, rgba(9,9,13,.74) 52%, var(--bg) 100%);
}
html[data-theme="light"] .eg-contacts-hero__bg::after {
  background: linear-gradient(180deg, rgba(245,246,250,.5) 0%, rgba(245,246,250,.82) 52%, var(--bg) 100%);
}
.eg-contacts-wrap .eg-catalog-header-inner { position: relative; z-index: 1; }
.eg-contacts-wrap .eg-catalog-title { text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.eg-contacts-wrap .eg-catalog-sub { color: rgba(244,244,246,.82); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
html[data-theme="light"] .eg-contacts-wrap .eg-catalog-title { text-shadow: none; }
html[data-theme="light"] .eg-contacts-wrap .eg-catalog-sub { color: var(--muted); text-shadow: none; }
@media (max-width: 860px) {
  .eg-contacts-wrap .eg-catalog-header { padding: 64px 20px 56px; border-radius: 0 0 20px 20px; }
}
.eg-contacts-grid {
  padding: 48px 48px 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.eg-contacts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.eg-contacts-card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 28px;
  color: var(--text);
}

/* Form */
.eg-contact-form { display: flex; flex-direction: column; gap: 18px; }
.eg-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eg-cf-field { display: flex; flex-direction: column; gap: 7px; }
.eg-cf-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.eg-cf-field input,
.eg-cf-field textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  resize: none;
  width: 100%;
}
.eg-cf-field input:focus,
.eg-cf-field textarea:focus {
  border-color: var(--gold);
}
.eg-cf-field input::placeholder,
.eg-cf-field textarea::placeholder { color: var(--muted); }

/* Honeypot — invisible to humans, visible to bots */
.eg-hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.eg-cf-submit {
  margin-top: 6px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.eg-contacts-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: #f87171;
  font-size: 14px;
}

/* Success state */
.eg-contacts-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0;
}
.eg-contacts-success-icon {
  width: 64px; height: 64px;
  background: rgba(74,222,128,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.eg-contacts-success h3 { font-size: 22px; font-weight: 700; margin: 0; }
.eg-contacts-success p  { color: var(--muted); margin: 0; }

/* Info sidebar */
.eg-contacts-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eg-ci-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.eg-ci-block:last-child { border-bottom: none; padding-bottom: 0; }
.eg-ci-block:first-child { padding-top: 0; }

.eg-ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,191,47,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.eg-ci-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.eg-ci-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
a.eg-ci-val:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 860px) {
  .eg-contacts-grid { grid-template-columns: 1fr; padding: 28px 20px 0; }
  .eg-contacts-wrap { padding: 0 0 60px; }
}
@media (max-width: 540px) {
  .eg-cf-row { grid-template-columns: 1fr; }
  .eg-contacts-card { padding: 24px; }
}


/* ═══ NOVA POSHTA FIELDS ═══ */
.eg-np-row { position: relative; }
.eg-np-label {
  display: block; font-size: 13px; color: var(--muted);
  margin-bottom: 6px; font-weight: 500;
}
.eg-np-ac-wrap { position: relative; }
.eg-np-input {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); border-radius: 12px; font-family: var(--font);
  padding: 13px 16px; font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.eg-np-input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,191,47,0.12);
}
.eg-np-drop {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface); border: 1px solid rgba(255,191,47,0.2);
  border-radius: 12px; max-height: 230px; overflow-y: auto;
  z-index: 9000; box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.eg-np-drop-item {
  padding: 10px 16px; cursor: pointer; font-size: 14px; color: var(--text);
  transition: background 0.12s;
}
.eg-np-drop-item:first-child { border-radius: 12px 12px 0 0; }
.eg-np-drop-item:last-child  { border-radius: 0 0 12px 12px; }
.eg-np-drop-item:hover { background: rgba(255,191,47,0.08); color: var(--gold); }
.eg-np-select {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); border-radius: 12px; font-family: var(--font);
  padding: 13px 40px 13px 16px; font-size: 14px; outline: none;
  cursor: pointer; appearance: none; box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 4.5L11 1' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.eg-np-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,191,47,0.12);
}
.eg-np-select option { background: var(--surface); color: var(--text); }

/* ═══ HAS-IMAGE OVERRIDES ═══ */

/* Card: white bg + soft green badge */
.eg-card--has-img .eg-card-thumb {
  background: #fff;
}
.eg-card--has-img .eg-card-thumb img {
  object-fit: contain;
  padding: 12px;
}
.eg-card--has-img .eg-card-badge--ok {
  background: rgba(34,197,94,0.15);
  color: #008b33;
  border: 1px solid rgba(2,147,56,0.25);
}

/* Single product: white image card + soft green badges */
.eg-sp-wrap--has-img .eg-sp-image-card {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
}
.eg-sp-wrap--has-img .eg-sp-img-wrap img {
  object-fit: contain;
  padding: 24px;
}
.eg-sp-wrap--has-img .eg-sp-stock-badge {
  background: rgba(34,197,94,0.15) !important;
  color: #008b33 !important;
  border-color: rgba(2,147,56,0.25) !important;
}
.eg-sp-wrap--has-img .eg-sp-stock-row { color: #008b33; }
.eg-sp-wrap--has-img .eg-sp-stock-dot { color: #008b33; }

/* ── Process section ──────────────────────────────────────────────────── */
.eg-proc-section {
  position: relative; padding: 120px 24px 110px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(27,79,196,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 70%, rgba(255,191,47,0.07) 0%, transparent 65%),
    var(--bg);
}
.eg-proc-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.eg-section-head { text-align: center; margin-bottom: 72px; }
/* Підзаголовок має max-width, тож без auto-відступів притискається вліво
   всередині центрованого заголовка (так було з відгуками) */
.eg-section-head .eg-section-sub { margin-left: auto; margin-right: auto; }
.eg-proc-section .eg-section-sub { margin-left: auto; margin-right: auto; }
.eg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }

.eg-proc-flow { display: grid; grid-template-columns: repeat(5,1fr); column-gap: 0; }
.eg-proc-step {
  position: relative; padding: 0 18px; text-align: center;
  opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease;
}
.eg-proc-flow.eg-in .eg-proc-step { opacity: 1; transform: none; }
.eg-proc-flow.eg-in .eg-proc-step:nth-child(2) { transition-delay: .12s; }
.eg-proc-flow.eg-in .eg-proc-step:nth-child(3) { transition-delay: .24s; }
.eg-proc-flow.eg-in .eg-proc-step:nth-child(4) { transition-delay: .36s; }
.eg-proc-flow.eg-in .eg-proc-step:nth-child(5) { transition-delay: .48s; }

.eg-proc-node {
  position: relative; z-index: 2; width: 72px; height: 72px; margin: 0 auto 24px;
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: rgba(255,191,47,0.09);
  border: 1px solid rgba(255,191,47,0.30);
  box-shadow: 0 0 0 6px rgba(255,191,47,0.04), 0 18px 40px rgba(0,0,0,0.45);
}
.eg-proc-node svg { width: 30px; height: 30px; }
.eg-proc-num {
  position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  color: #09090D; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 4px 14px rgba(255,191,47,0.4);
}
.eg-proc-step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; top: 36px; left: calc(50% + 48px);
  width: calc(100% - 96px); height: 3px; transform: translateY(-50%); border-radius: 3px;
  background-color: rgba(255,255,255,0.07);
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 7px, rgba(255,191,47,0) 7px 20px);
  background-size: 20px 100%; background-repeat: repeat-x;
  box-shadow: 0 0 9px rgba(255,191,47,0.35);
  animation: egFlow .7s linear infinite;
}
@keyframes egFlow { to { background-position: 20px 0; } }
.eg-proc-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.eg-proc-desc { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.65; margin: 0; max-width: 240px; margin-inline: auto; }

.eg-proc-supply {
  position: relative; overflow: hidden; margin-top: 84px; border-radius: 24px;
  padding: 40px 44px; display: flex; align-items: center; gap: 36px;
  background: linear-gradient(120deg, var(--surface2) 0%, var(--surface) 100%);
  border: 1px solid rgba(255,191,47,0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.eg-proc-supply::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 120% at 100% 50%, rgba(255,191,47,0.12) 0%, transparent 60%);
}
.eg-proc-supply-ico {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: rgba(255,191,47,0.10); border: 1px solid rgba(255,191,47,0.28);
}
.eg-proc-supply-ico svg { width: 32px; height: 32px; }
.eg-proc-supply-text { flex: 1; position: relative; z-index: 1; min-width: 0; }
.eg-proc-supply-kick { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.eg-proc-supply-title { font-size: clamp(20px,2.2vw,26px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.25; }
.eg-proc-supply-desc { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.eg-proc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-chip { padding: 5px 12px; border-radius: 7px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid var(--bd2); color: var(--muted); }
.eg-proc-supply-cta { flex-shrink: 0; position: relative; z-index: 1; }

@media (max-width: 1040px) {
  .eg-proc-inner { padding: 0 22px; }
  .eg-proc-section { padding: 80px 16px; }
  .eg-proc-flow { grid-template-columns: 1fr; row-gap: 0; }
  .eg-proc-step { display: flex; text-align: left; gap: 20px; padding: 0 0 34px 0; }
  .eg-proc-node { margin: 0; flex-shrink: 0; }
  .eg-proc-body { padding-top: 8px; }
  .eg-proc-desc { max-width: none; margin-inline: 0; }
  .eg-proc-step:not(:last-child)::after {
    top: 86px; left: 36px; width: 3px; height: calc(100% - 86px); transform: translateX(-50%);
    background-image: repeating-linear-gradient(180deg, var(--gold) 0 7px, rgba(255,191,47,0) 7px 20px);
    background-size: 100% 20px; background-repeat: repeat-y;
    animation: egFlowV .7s linear infinite;
  }
  @keyframes egFlowV { to { background-position: 0 20px; } }
}
@media (max-width: 760px) {
  .eg-proc-supply { flex-direction: column; align-items: flex-start; text-align: left; padding: 30px 24px; gap: 22px; }
  .eg-proc-supply-cta { width: 100%; }
  .eg-proc-supply-cta .eg-btn-primary { display: block; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .eg-proc-step:not(:last-child)::after { animation: none; }
}

/* ── Geo map section ──────────────────────────────────────────────────── */
.eg-geo-section {
  position: relative; padding: 120px 24px 110px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 35%, rgba(27,79,196,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 50% 65%, rgba(255,191,47,0.08) 0%, transparent 65%),
    var(--bg);
}
.eg-geo-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.eg-geo-section .eg-section-sub { margin-left: auto; margin-right: auto; }
.eg-geo-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.eg-geo-map-wrap { position: relative; }
.eg-geo-map { width: 100%; height: auto; display: block; overflow: visible; }
.eg-geo-rg {
  fill: var(--rf); stroke: rgba(255,255,255,0.10); stroke-width: 0.8; cursor: pointer;
  transition: fill .22s ease, stroke .22s ease, filter .22s ease;
}
.eg-geo-rg:hover {
  fill: url(#egGold); stroke: var(--gold-light); stroke-width: 1.4;
  filter: drop-shadow(0 11px 13px rgba(0,0,0,0.6)) drop-shadow(0 0 16px rgba(255,191,47,0.55));
}
.eg-geo-rg.eg-active {
  fill: url(#egGold); stroke: var(--gold-light); stroke-width: 1.6;
  animation: egActiveFloat 2.6s ease-in-out infinite;
}
@keyframes egActiveFloat {
  0%,100% { filter: drop-shadow(0 8px 10px rgba(0,0,0,0.55)) drop-shadow(0 0 11px rgba(255,191,47,0.45)); }
  50%      { filter: drop-shadow(0 15px 18px rgba(0,0,0,0.7)) drop-shadow(0 0 24px rgba(255,191,47,0.85)); }
}
.eg-geo-dot { fill: var(--gold); pointer-events: none; }
.eg-geo-kyiv { fill: var(--gold); pointer-events: none; }
.eg-geo-kyiv-glow {
  fill: var(--gold); opacity: .25; pointer-events: none;
  transform-box: fill-box; transform-origin: center;
  animation: egPulse 2.4s ease-in-out infinite;
}
.eg-dot-pulse { transform-box: fill-box; transform-origin: center; animation: egPulse 2.6s ease-in-out infinite; }
@keyframes egPulse {
  0%,100% { opacity: .22; transform: scale(.85); }
  50%     { opacity: .55; transform: scale(1.35); }
}
.eg-geo-lbl {
  font-family: var(--font); font-weight: 600; fill: rgba(244,244,246,0.72);
  text-anchor: middle; pointer-events: none; letter-spacing: -0.01em;
  paint-order: stroke; stroke: var(--bg); stroke-width: 3.4px; stroke-linejoin: round;
  transition: fill .2s ease;
}
.eg-geo-lbl.eg-lbl-on { fill: var(--gold-light); }
.eg-geo-tip {
  position: absolute; pointer-events: none; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55); opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease; white-space: nowrap; z-index: 5;
}
.eg-geo-tip.eg-show { opacity: 1; transform: translateY(0); }
.eg-geo-tip b { color: var(--gold-light); }

.eg-geo-panel {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 20px;
  padding: 34px 32px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); min-height: 300px;
  display: flex; flex-direction: column; justify-content: center;
}
.eg-panel-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.eg-panel-name { font-size: clamp(26px,3vw,34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px; min-height: 1.1em; }
.eg-panel-num {
  font-size: clamp(44px,6vw,64px); font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eg-panel-numlabel { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }
.eg-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.eg-panel-hint { margin-top: 24px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.eg-panel-hint svg { color: var(--gold); flex-shrink: 0; }

.eg-geo-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 64px;
  padding-top: 48px; border-top: 1px solid var(--border);
}
.eg-stat { text-align: center; }
.eg-stat-num { font-size: clamp(34px,5vw,56px); font-weight: 700; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.eg-stat-num .eg-plus { color: var(--gold-deep); }
.eg-stat-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px; }

@media (max-width: 900px) {
  .eg-geo-grid { grid-template-columns: 1fr; gap: 28px; }
  .eg-geo-inner { padding: 0 22px; }
  .eg-geo-section { padding: 80px 16px; }
}
@media (max-width: 700px) {
  .eg-geo-stats { grid-template-columns: repeat(2,1fr); gap: 32px 24px; margin-top: 44px; }
}

/* ── Storage section ─────────────────────────────────────────────────── */
.eg-stor-section {
  position: relative; overflow: hidden; padding: 120px 24px;
  background:
    radial-gradient(ellipse 50% 50% at 78% 45%, rgba(255,191,47,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(27,79,196,0.10) 0%, transparent 60%),
    var(--bg2);
}
.eg-stor-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.eg-stor-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eg-stor-title { font-size: clamp(30px,3.6vw,46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 18px; }
.eg-stor-desc { font-size: 17px; font-weight: 300; color: var(--muted); line-height: 1.65; margin: 0 0 30px; max-width: 520px; }
.eg-stor-feats { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.eg-feat { display: flex; gap: 14px; align-items: flex-start; }
.eg-feat-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: rgba(255,191,47,0.10); border: 1px solid rgba(255,191,47,0.20);
}
.eg-feat-ico svg { width: 22px; height: 22px; }
.eg-feat h3 { margin: 0 0 3px; font-size: 16px; font-weight: 600; }
.eg-feat p { margin: 0; font-size: 14.5px; font-weight: 300; color: var(--muted); line-height: 1.55; }
.eg-stor-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.eg-stor-visual { display: flex; justify-content: center; }
.eg-stor-visual svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }

.egs-front { fill: url(#egsFront); stroke: rgba(255,191,47,0.16); stroke-width: 1; }
.egs-side  { fill: url(#egsSide);  stroke: rgba(255,191,47,0.10); stroke-width: 1; }
.egs-top   { fill: url(#egsTop);   stroke: rgba(255,191,47,0.18); stroke-width: 1; }
.egs-charge { fill: url(#egsCharge); }
.egs-cap { fill: #ffe0a0; filter: drop-shadow(0 0 6px rgba(255,191,47,0.8)); }
.egs-bar { fill: var(--gold); }
.egs-led { fill: var(--gold); filter: drop-shadow(0 0 3px rgba(255,191,47,0.7)); }
.egs-led-dim { fill: rgba(255,191,47,0.22); }
.egs-status { fill: var(--gold); filter: drop-shadow(0 0 4px rgba(255,191,47,0.8)); animation: egsBlink 1.8s ease-in-out infinite; }
@keyframes egsBlink { 0%,100%{opacity:1} 50%{opacity:.25} }
.egs-cable-base { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 3; stroke-linecap: round; }
.egs-flow { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 16; filter: drop-shadow(0 0 4px rgba(255,191,47,0.6)); animation: egsFlow 1s linear infinite; }
@keyframes egsFlow { to { stroke-dashoffset: -25; } }
.egs-dot { fill: var(--gold-light); filter: drop-shadow(0 0 6px rgba(255,191,47,0.95)); }
.egs-badge-t { fill: var(--gold-light); font-family: var(--font); font-size: 14px; font-weight: 700; }
.egstor-unit { animation: egsFloat 5s ease-in-out infinite; }
@keyframes egsFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.egs-glow { animation: egsGlowO 5s ease-in-out infinite; }
@keyframes egsGlowO { 0%,100%{opacity:.55} 50%{opacity:.3} }

@media (max-width: 880px) {
  .eg-stor-section { padding: 80px 16px; }
  .eg-stor-inner { padding: 0 22px; }
  .eg-stor-grid { grid-template-columns: 1fr; gap: 40px; }
  .eg-stor-visual { order: -1; }
  .eg-stor-visual svg { max-width: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  .egstor-unit, .egs-glow, .egs-status, .egs-flow, .egs-bar, .egs-charge, .egs-cap { animation: none; }
}

/* ── Acum / energy-flow section ──────────────────────────────────────── */
.eg-acum-section {
  position: relative; overflow: hidden; text-align: center;
  padding: 100px 24px 80px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(27,79,196,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 50% 62%, rgba(255,191,47,0.10) 0%, transparent 62%),
    var(--bg);
}
.eg-acum-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line,rgba(255,255,255,0.025)) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line,rgba(255,255,255,0.025)) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
}
.eg-acum-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; width: 100%; }
.eg-acum-title { font-size: clamp(34px,5.5vw,62px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 16px; }
.eg-acum-sub { font-size: clamp(16px,1.5vw,19px); font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 560px; margin: 0 auto; }
.eg-acum-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.eg-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,191,47,0.35); background: rgba(255,191,47,0.08); color: var(--gold-light); margin-bottom: 22px;
}
.eg-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: egDot 2s infinite; }
@keyframes egDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.eg-flow { margin: 26px auto 14px; max-width: 880px; width: 100%; }
.eg-flow svg { width: 100%; height: auto; display: block; overflow: visible; }

.egf-cable-base { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 3; stroke-linecap: round; transition: opacity .25s ease; }
.egf-cable-flow {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 9 17;
  filter: drop-shadow(0 0 4px rgba(255,191,47,0.6));
  animation: egfDash 1.1s linear infinite; transition: opacity .25s ease, stroke-width .25s ease;
}
@keyframes egfDash { to { stroke-dashoffset: -26; } }
.egf-dot { fill: var(--gold-light); filter: drop-shadow(0 0 7px rgba(255,191,47,0.95)); transition: opacity .25s ease; }
.egf-card { fill: var(--surface2); stroke: rgba(255,191,47,0.22); stroke-width: 1.5; transition: stroke .25s ease, stroke-width .25s ease; }
.egf-card-hub { fill: url(#egfGold); }
.egf-ic { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.egf-ic-hub { stroke: #09090D; }
.egf-lbl { fill: var(--text); font-family: var(--font); font-size: 17px; font-weight: 600; text-anchor: middle; }
.egf-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .12; animation: egfPulse 2.2s ease-in-out infinite; }
@keyframes egfPulse { 0%,100%{opacity:.10} 50%{opacity:.55} }
.egf-sun-core { fill: url(#egfSun); }
.egf-ray { stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }

.egf-clabel { pointer-events: none; transition: opacity .25s ease; }
.egf-clabel rect { fill: #0E0E16; stroke: var(--border); }
.egf-clabel text { fill: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 600; text-anchor: middle; }
.egf-clabel.egf-hot rect { stroke: rgba(255,191,47,0.55); }
.egf-clabel.egf-hot text { fill: var(--gold-light); }

.egf-node { cursor: pointer; }
.egf-node, .egf-cable-flow, .egf-cable-base { transition: opacity .25s ease, stroke-width .25s ease; }
.egf-hit { pointer-events: all; fill: transparent; }
.egf-node * { transition: opacity .25s ease; }
.egf-focused .egf-node { opacity: .32; }
.egf-focused .egf-node.egf-active { opacity: 1; }
.egf-focused .egf-cable-flow { opacity: .10; }
.egf-focused .egf-cable-flow.egf-hot { opacity: 1; stroke-width: 4.5; filter: drop-shadow(0 0 9px rgba(255,191,47,0.9)); }
.egf-focused .egf-cable-base { opacity: .35; }
.egf-focused .egf-dot { opacity: 0; }
.egf-focused .egf-clabel { opacity: .18; }
.egf-focused .egf-clabel.egf-hot { opacity: 1; }
.egf-node.egf-active .egf-card { stroke: var(--gold-light); stroke-width: 2.5; }

.eg-flow-caption {
  max-width: 560px; margin: 0 auto 26px; min-height: 46px;
  font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.55; transition: color .2s;
}
.eg-flow-caption b { color: var(--gold-light); font-weight: 600; }

@media (max-width: 600px) {
  .egf-lbl { font-size: 21px; }
  .egf-clabel text { font-size: 15px; }
  .eg-flow { margin: 14px auto; }
  .eg-acum-section { padding: 70px 16px 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .egf-cable-flow, .egf-ring, .egf-ray-g { animation: none; }
  .egf-dot { display: none; }
}

/* ── FAQ section ──────────────────────────────────────────────────────── */
.eg-faq-section {
  position: relative; padding: 120px 24px 120px; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(27,79,196,0.10) 0%, transparent 60%),
    var(--bg2);
}
.eg-faq-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eg-faq-section .eg-section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.eg-faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.eg-faq-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.eg-faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: border-color .25s ease, background .25s ease;
}
.eg-faq-item:hover { border-color: rgba(255,191,47,0.22); }
.eg-faq-item.eg-open { border-color: rgba(255,191,47,0.32); background: var(--surface2); }
.eg-faq-q {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left;
  padding: 22px 26px; background: none; border: none; cursor: pointer; color: var(--text);
  font-family: var(--font); font-size: clamp(16px,1.2vw,18px); font-weight: 600; line-height: 1.4;
  transition: color .2s ease; white-space: normal;
}
.eg-faq-q:hover { color: var(--gold-light); background: none; }
.eg-faq-q:focus { outline: none; background: none; box-shadow: none; }
.eg-faq-q:focus-visible { outline: 2px solid rgba(255,191,47,0.5); outline-offset: -2px; }
.eg-faq-item.eg-open .eg-faq-q { color: var(--gold-light); }
.eg-faq-qtext { flex: 1; min-width: 0; overflow-wrap: break-word; }
.eg-faq-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,191,47,0.10); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .3s ease;
}
.eg-faq-item.eg-open .eg-faq-ico {
  background: linear-gradient(135deg,var(--gold) 0%,var(--gold-deep) 100%);
  color: #09090D; transform: rotate(180deg);
}
.eg-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.7,.2,1), opacity .3s ease; opacity: 0; }
.eg-faq-item.eg-open .eg-faq-a { opacity: 1; }
.eg-faq-a-inner {
  padding: 0 26px 24px; font-size: clamp(15px,1.5vw,16px); font-weight: 300;
  color: var(--muted); line-height: 1.7; max-width: 96%;
}
.eg-faq-a-inner b { color: var(--text); font-weight: 500; }
.eg-faq-a-inner .eg-note { color: var(--gold-light); font-weight: 400; }
.eg-faq-foot { margin-top: 44px; text-align: center; font-size: 16px; color: var(--muted); }
.eg-faq-foot a { color: var(--gold); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,191,47,0.35); padding-bottom: 1px; transition: border-color .2s; }
.eg-faq-foot a:hover { border-color: var(--gold); }
@media (max-width: 860px) { .eg-faq-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .eg-faq-section { padding: 80px 14px; }
  .eg-faq-inner { padding: 0 4px; }
  .eg-faq-q { padding: 18px; gap: 12px; }
  .eg-faq-a-inner { padding: 0 18px 20px; }
}

/* ── Blackout section ────────────────────────────────────────────────── */
.eg-blk {
  position: relative; overflow: hidden; padding: 120px 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(27,79,196,0.10) 0%, transparent 65%), var(--bg);
}
.eg-blk-inner { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.eg-blk-head { text-align: center; margin-bottom: 34px; }
.eg-blk-title { font-size: clamp(30px,3.8vw,48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.07; margin: 0 0 14px; }
.eg-blk-sub { font-size: clamp(15px,1.4vw,18px); font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 520px; margin: 0 auto; }

.eg-blk-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 44px; font-size: 14px; font-weight: 600; }
.eg-blk-toggle .t-lab { color: var(--muted); transition: color .3s; }
.eg-blk.is-out .t-lab .s-on, .eg-blk:not(.is-out) .t-lab .s-out { display: none; }
.eg-blk.is-out .t-lab { color: var(--gold-light); }
.eg-switch {
  width: 64px; height: 34px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--surface2); position: relative; cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.eg-knob {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--muted); transition: left .35s cubic-bezier(.2,.7,.2,1), background .3s;
}
.eg-blk.is-out .eg-switch { background: rgba(255,191,47,0.16); border-color: rgba(255,191,47,0.5); }
.eg-blk.is-out .eg-knob { left: 35px; background: linear-gradient(135deg,var(--gold),var(--gold-deep)); box-shadow: 0 0 12px rgba(255,191,47,.6); }
.eg-switch:focus { outline: none; box-shadow: none; }
.eg-switch:focus-visible { outline: 2px solid rgba(255,191,47,0.5); outline-offset: 2px; }

.eg-blk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eg-blk-card {
  border-radius: 20px; border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(180deg,#15151f 0%,#0c0c13 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); padding: 26px 24px 22px; text-align: center; transition: border-color .4s;
}
.eg-blk-card.on-card { border-color: rgba(255,191,47,0.22); }
.eg-blk.is-out .on-card { border-color: rgba(255,191,47,0.45); box-shadow: 0 24px 70px rgba(255,191,47,0.12), 0 24px 60px rgba(0,0,0,0.5); }
.eg-blk-cardname { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.eg-blk-card svg { width: 100%; max-width: 300px; height: auto; display: block; margin: 4px auto 8px; }

.eg-body  { fill: #1a1a26; stroke: rgba(255,255,255,0.06); }
.eg-roof  { fill: #12121c; stroke: rgba(255,255,255,0.05); }
.eg-door  { fill: #0d0d15; }
.eg-win   { fill: var(--winOn,#ffd27a); filter: drop-shadow(0 0 8px rgba(255,200,90,0.6)); transition: fill .55s ease, filter .55s ease; }
.eg-pane  { stroke: rgba(0,0,0,0.35); stroke-width: 1.4; }
.eg-h-off { transition: opacity .5s ease, filter .5s ease; }
.eg-blk.is-out .eg-h-off .eg-win { fill: #1f1f2b; filter: none; }
.eg-blk.is-out .eg-h-off { filter: brightness(.72) saturate(.7); }
.eg-panel { fill: #14253f; stroke: var(--blue-light); stroke-width: 1; }
.eg-panel-line { stroke: var(--blue-light); stroke-width: .8; opacity: .6; }
.eg-batt { fill: #181824; stroke: rgba(255,191,47,0.4); }
.eg-batt-led { fill: var(--gold); transition: opacity .4s; }
.eg-batt-glow { fill: var(--gold); opacity: 0; transition: opacity .5s ease; }
.eg-blk.is-out .eg-batt-glow { opacity: .35; }
.eg-bflow {
  stroke: var(--gold); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 6 10;
  opacity: 0; filter: drop-shadow(0 0 4px rgba(255,191,47,.7));
  transition: opacity .4s; animation: egbFlow .7s linear infinite;
}
.eg-blk.is-out .eg-bflow { opacity: 1; }
@keyframes egbFlow { to { stroke-dashoffset: -16; } }

.eg-blk-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 100px; font-size: 13px; font-weight: 600; margin-top: 4px;
  border: 1px solid var(--border); transition: all .4s;
}
.eg-blk-status svg { width: 15px; height: 15px; }
.eg-blk-status .s-out { display: none; }
.eg-blk.is-out .eg-blk-status .s-on { display: none; }
.eg-blk.is-out .eg-blk-status .s-out { display: inline; }
.off-card .eg-blk-status { color: var(--muted); }
.eg-blk.is-out .off-card .eg-blk-status { color: rgba(244,244,246,0.5); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.on-card .eg-blk-status { color: var(--gold-light); border-color: rgba(255,191,47,0.3); background: rgba(255,191,47,0.07); }
.eg-blk.is-out .on-card .eg-blk-status { background: rgba(255,191,47,0.14); border-color: rgba(255,191,47,0.5); }

.eg-blk-cta { margin-top: 40px; text-align: center; }
.eg-blk-cta-text { font-size: clamp(17px,1.8vw,21px); font-weight: 300; color: var(--muted); line-height: 1.5; margin: 0 auto 22px; max-width: 620px; }
.eg-blk-cta-text b { color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .eg-blk { padding: 80px 16px; }
  .eg-blk-inner { padding: 0 18px; }
  .eg-blk-cards { grid-template-columns: 1fr; gap: 16px; }
  .eg-blk-card svg { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .eg-bflow { animation: none; } }

/* ── Partners section ────────────────────────────────────────────────── */
.pt {
  position: relative; padding: 96px 0; background: var(--bg); overflow: hidden;
}
.pt__orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(72px);
}
.pt__orb--a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,191,47,.07) 0%, transparent 70%);
  top: -100px; left: -120px; animation: ptOrbA 22s ease-in-out infinite;
}
.pt__orb--b {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(74,144,232,.06) 0%, transparent 70%);
  bottom: -80px; right: -80px; animation: ptOrbB 28s ease-in-out infinite;
}
@keyframes ptOrbA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(32px,40px)} }
@keyframes ptOrbB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-28px,-24px)} }
.pt__wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.pt__head { text-align: center; margin-bottom: 64px; }
.pt__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.pt__label::before, .pt__label::after {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold); opacity: .5;
}
.pt__title { font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
.pt__sub { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0 auto; }

.pt__marquee-wrap { display: flex; flex-direction: column; gap: 14px; }
.pt__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pt__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.pt__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.pt__marquee--fwd .pt__track { animation: ptMqFwd 30s linear infinite; }
.pt__marquee--rev .pt__track { animation: ptMqRev 36s linear infinite; }
.pt__marquee:hover .pt__track { animation-play-state: paused; }
@keyframes ptMqFwd { from{transform:translateX(0)} to{transform:translateX(-33.333%)} }
@keyframes ptMqRev { from{transform:translateX(-33.333%)} to{transform:translateX(0)} }

.pt__card {
  display: flex; align-items: center; justify-content: center;
  height: 68px; padding: 0 36px;
  background: var(--surface2); border: 1px solid var(--bd2); border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: .05em; color: var(--muted);
  white-space: nowrap; cursor: default; user-select: none;
  transition: border-color .22s, color .22s, background .22s, box-shadow .22s;
}
.pt__card:hover {
  border-color: rgba(255,191,47,.3); color: var(--text);
  background: #1f1f30; box-shadow: 0 0 32px rgba(255,191,47,.07);
}

/* логотипи брендів у картках (той самий набір і тони, що й плашка на головній) */
#partners.pt { overflow-x: clip; } /* декоративні плями не розширюють сторінку на телефоні */
.pt__card { width: 200px; padding: 0 30px; text-decoration: none; cursor: pointer; }
.pt__logo { max-width: 100%; max-height: 32px; width: auto; height: auto; object-fit: contain; transform: scale(var(--pt-s,1)); opacity: .9; transition: opacity .2s, transform .2s; }
.pt__card:hover .pt__logo { opacity: 1; transform: scale(var(--pt-s,1)) translateY(-1px); }
.pt__logo.is-auto { filter: grayscale(1) brightness(0) invert(1); }
html[data-theme="light"] .pt__logo.is-auto { filter: grayscale(1) brightness(0); }
html[data-theme="light"] .pt__logo.is-light { filter: invert(1) brightness(.25) contrast(1.2); }
.pt__logo.is-dark { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] .pt__logo.is-dark { filter: none; }
.pt__logo.for-light { display: none; }
html[data-theme="light"] .pt__logo.for-light { display: block; }
html[data-theme="light"] .pt__logo.for-dark { display: none; }
.pt__name { font-size: 15px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 600px) { .pt__card { width: 150px; height: 60px; padding: 0 22px; } .pt__logo { max-height: 26px; } }

[data-r] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-r="0"] { transition-delay: .0s; }
[data-r="1"] { transition-delay: .08s; }
[data-r="2"] { transition-delay: .16s; }
[data-r].is-vis { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-r] { opacity: 1; transform: none; transition: none; }
  .pt__track { animation: none; }
  .pt__orb { animation: none; }
}

/* ═══ ВІДГУКИ З GOOGLE ═══════════════════════════════════════════════════ */
.egr { padding: 120px 48px; position: relative; }
.egr-inner { max-width: 1240px; margin: 0 auto; }

.egr-summary {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin: -40px 0 44px;
}
.egr-g { display: flex; align-items: center; }
.egr-score { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.egr-stars { display: inline-flex; gap: 2px; }
.egr-star { color: rgba(255,255,255,0.16); display: inline-flex; }
.egr-star.is-on { color: var(--gold); }
.egr-count { font-size: 14px; color: var(--muted); }

/* слайдер */
.egr-slider { position: relative; display: flex; align-items: center; gap: 12px; }
.egr-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding: 4px; margin: -4px;
}
.egr-track::-webkit-scrollbar { display: none; }
.egr-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 16px; }
.egr-track > .egr-card { scroll-snap-align: start; }
.egr-nav {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, opacity .2s;
}
.egr-nav:hover:not(:disabled) { color: var(--gold); border-color: rgba(255,191,47,0.45); background: rgba(255,191,47,0.06); }
.egr-nav:disabled { opacity: .3; cursor: default; }
.egr-slider.is-static .egr-nav { display: none; }
.egr-dots { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.egr-dot {
  width: 7px; height: 7px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.18); border: none; transition: background .2s, width .2s;
}
.egr-dot.is-on { background: var(--gold); width: 20px; border-radius: 4px; }
.egr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.22s, transform 0.22s;
}
.egr-card:hover { border-color: rgba(255,191,47,0.24); transform: translateY(-2px); }

.egr-head { display: flex; align-items: center; gap: 12px; }
.egr-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  border: 1px solid var(--border); background: var(--surface2);
}
.egr-ava--txt {
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--gold);
  background: rgba(255,191,47,0.1); border-color: rgba(255,191,47,0.2);
}
.egr-name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.egr-when { font-size: 12px; color: var(--muted); margin-top: 2px; }
.egr-rating { display: flex; gap: 2px; }
.egr-text { font-size: 14px; line-height: 1.65; color: rgba(244,244,246,0.72); margin: 0; }

.egr-foot { text-align: center; margin-top: 32px; }
.egr-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 100px; text-decoration: none;
  border: 1px solid var(--border); color: var(--muted);
  font-size: 14px; font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.egr-link:hover { border-color: rgba(255,191,47,0.45); color: var(--gold); background: rgba(255,191,47,0.05); }

@media (max-width: 1024px) { .egr-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 900px)  { .egr { padding: 80px 20px; } .egr-summary { margin-top: -20px; } }
@media (max-width: 620px)  { .egr-track { grid-auto-columns: 100%; } .egr-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .egr-card:hover { transform: none; } }
.egr-demo {
  max-width: 760px; margin: 0 auto 36px; padding: 10px 18px; border-radius: 10px;
  background: rgba(255,191,47,0.08); border: 1px dashed rgba(255,191,47,0.4);
  color: var(--gold); font-size: 13px; font-weight: 600; text-align: center;
}

/* Області без обʼєктів — сірі в спокої; наведення й клік працюють як у решти */
.eg-geo-rg.is-off:not(:hover):not(.eg-active) {
  fill: rgba(255,255,255,0.045); stroke: rgba(255,255,255,0.08); stroke-width: 0.8;
}
.eg-geo-lbl.is-off { fill: rgba(244,244,246,0.26); }

/* ── Telegram — відділ продажів ── */
.eg-tg-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface2);
  color: var(--text); text-decoration: none; transition: all 0.2s;
}
.eg-tg-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.eg-tg-btn svg { margin-left: -2px; }
.eg-mob-tg { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; align-self: flex-start; color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.eg-mob-tg svg { color: var(--gold); flex-shrink: 0; }
.eg-footer-col a.eg-footer-tg { display: flex; align-items: center; gap: 8px; }
.eg-footer-tg svg { flex-shrink: 0; }
@media (max-width: 900px) { .eg-footer-col a.eg-footer-tg { justify-content: center; } }

/* ── Viber / WhatsApp ── */
.eg-mob-tg + .eg-mob-tg { margin-top: 10px; }
@media (max-width: 600px) { .eg-msg-btn { display: none; } }

/* ═══ ШАПКА ВНУТРІШНЬОЇ СТОРІНКИ ════════════════════════════════════════ */
.eg-page-hero { padding: 72px 48px 56px; border-bottom: 1px solid var(--border); text-align: center; }
.eg-page-hero__in { max-width: 900px; margin: 0 auto; }
.eg-page-hero__h1 {
  font-size: clamp(32px,5vw,56px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 16px;
}
.eg-page-hero__sub { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 680px; margin: 0 auto; }
@media (max-width: 900px) { .eg-page-hero { padding: 52px 20px 40px; } }


/* ═══ МЕНЮ: 8 пунктів ════════════════════════════════════════════════════
   Каталог, Накопичення, Кейси, Прорахувати станцію, Питання, Блог, Про нас,
   Контакти. На ноутбуках підтискаємо відступи, бургер — з 1300px, інакше
   посилання налазять на кнопки праворуч. */
@media (max-width: 1460px) and (min-width: 1301px) {
  .eg-nav { padding: 0 28px; }
  .eg-nav-links { gap: 20px; }
  .eg-nav-links a { font-size: 13.5px; }
}
@media (max-width: 1300px) {
  .eg-nav { padding: 0 24px; }
  .eg-nav-links { display: none; }
  .eg-nav-cta { display: none; }
  .eg-nav .eg-nav-burger { display: flex; }
}
@media (max-width: 900px) { .eg-nav { padding: 0 20px; } }

/* ═══ ФУТЕР: 5 блоків ════════════════════════════════════════════════════ */
.eg-footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 48px; }
.eg-footer-cta {
  display: inline-flex; align-items: center; margin-top: 22px; padding: 11px 22px;
  border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--btn-ink, #09090D) !important; background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transition: transform .2s, box-shadow .2s;
}
.eg-footer-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255,191,47,.3); }
.eg-footer-col a.eg-footer-more { color: var(--gold); font-weight: 600; margin-top: 6px; }
.eg-footer-col a.eg-footer-more:hover { color: var(--gold-light); }
.eg-footer-col a.eg-footer-phone { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.eg-footer-col a.eg-footer-phone:hover { color: var(--gold); }
/* сніпет «Global Css» (custom-css-js) центрує .eg-footer-social — у колонці бренду це зсуває іконки */
.eg-footer-brand .eg-footer-social { justify-content: flex-start; }
@media (max-width: 1200px) {
  .eg-footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
  .eg-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .eg-footer-inner { grid-template-columns: 1fr; }
  .eg-footer-social, .eg-footer-brand .eg-footer-social { justify-content: center; }
}

/* Кнопка «Зв'язатись» у мобільному меню: правило, що ховає .eg-nav-cta у шапці,
   ховало й її (вона має той самий клас) */
.eg-mob-menu .eg-nav-cta.eg-mob-cta { display: inline-flex; }

/* ═══ ENERGARD у цифрах (template-parts/numbers.php) ═══════════════════ */
.eg-nums{padding:clamp(28px,4vw,48px) clamp(20px,4vw,40px);border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg2, #0E0E16)}
.eg-nums__in{max-width:1240px;margin:0 auto}
.eg-nums__h{margin:0 0 22px;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.eg-nums__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px;margin:0;padding:0;list-style:none}
.eg-nums__item{padding:4px 0 4px 18px;border-left:2px solid rgba(255,191,47,.35)}
.eg-nums__item a,.eg-nums__link{display:block;color:inherit;text-decoration:none}
.eg-nums__v{display:block;font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.1;letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums}
.eg-nums__star{color:var(--gold)}
.eg-nums__l{display:block;margin-top:6px;font-size:14px;line-height:1.4;color:var(--muted)}
.eg-nums__link:hover .eg-nums__l{color:var(--text)}

/* ═══ ENERGY STORAGE (page-energy-storage.php) ═══════════════════════════ */
.eg-es-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
/* 4 рівні — 4 колонки (було 3: четверта картка висіла сама в другому ряду) */
.eg-es-grid{list-style:none;margin:0 auto;padding:0;max-width:1240px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.eg-es-tier{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface, rgba(255,255,255,.02));transition:border-color .2s,transform .2s}
.eg-es-tier:hover{border-color:rgba(255,191,47,.4);transform:translateY(-2px)}
.eg-es-tier__cap{display:flex;align-items:baseline;gap:6px;color:var(--text)}
.eg-es-tier__n{font-size:clamp(34px,3.4vw,46px);font-weight:700;letter-spacing:-.03em;line-height:1}
.eg-es-tier__u{font-size:14px;font-weight:600;color:var(--gold)}
.eg-es-tier__bar{height:6px;border-radius:6px;background:var(--border);overflow:hidden}
.eg-es-tier__bar span{display:block;height:100%;width:calc(var(--lvl) / var(--lvln,6) * 100%);border-radius:inherit;background:linear-gradient(90deg,var(--gold),var(--gold-deep,#f0b800))}
.eg-es-tier__h{margin:6px 0 0;font-size:18px;font-weight:700;color:var(--text)}
.eg-es-tier__p{margin:0;flex:1;font-size:14px;line-height:1.6;color:var(--muted)}
.eg-es-tier__a{align-self:flex-start;margin-top:6px;font-size:14px;font-weight:600;color:var(--gold);text-decoration:none}
.eg-es-tier__a:hover{text-decoration:underline}
.eg-es-prods{list-style:none;margin:0 auto;padding:0;max-width:1240px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.eg-es-prod a{display:flex;flex-direction:column;gap:6px;height:100%;padding:16px;border:1px solid var(--border);border-radius:16px;text-decoration:none;color:var(--text);transition:border-color .2s}
.eg-es-prod a:hover{border-color:rgba(255,191,47,.4)}
.eg-es-prod__img{display:block;aspect-ratio:1;border-radius:12px;background:#fff;overflow:hidden}
.eg-es-prod__img img{width:100%;height:100%;object-fit:contain;display:block}
.eg-es-prod__br{margin-top:6px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.eg-es-prod__t{font-size:15px;font-weight:600;line-height:1.35}
.eg-es-prod__chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.eg-es-prod__chips span{font-size:12px;font-weight:600;padding:3px 9px;border-radius:100px;border:1px solid rgba(255,191,47,.35);color:var(--text)}
.eg-es-cat__all{text-align:center;margin:28px 0 0}
@media(max-width:1180px){.eg-es-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.eg-es-grid{grid-template-columns:1fr}}

/* ── Галерея на сторінці товару (woocommerce/single-product.php) ── */
/* колонка з фото не має розтягуватись під стрічку мініатюр — стрічка гортається */
.eg-sp-image-col { min-width: 0; }
.eg-sp-thumbs-wrap { position: relative; margin: 12px 0 4px; min-width: 0; }
.eg-sp-thumbs { max-width: 100%; display: flex; gap: 8px; overflow-x: auto; padding: 3px 2px;
  scroll-snap-type: x proximity; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.eg-sp-thumbs::-webkit-scrollbar { display: none; }
.eg-sp-thumb { scroll-snap-align: start; }
/* мʼякі затухання по краях, коли є що гортати */
.eg-sp-thumbs-wrap.has-r .eg-sp-thumbs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.eg-sp-thumbs-wrap.has-l .eg-sp-thumbs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.eg-sp-thumbs-wrap.has-l.has-r .eg-sp-thumbs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.eg-sp-tnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; padding: 0 !important;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); cursor: pointer;
  background: var(--surface, #13131f); color: var(--text); font-size: 22px; line-height: 1; box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: background .2s, color .2s, border-color .2s; }
.eg-sp-tnav[hidden] { display: none; }
.eg-sp-tnav:hover { color: var(--gold-ink, var(--gold)); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.eg-sp-tnav--prev { left: -6px; } .eg-sp-tnav--next { right: -6px; }
@media (hover: none) { .eg-sp-tnav { display: none; } }
.eg-sp-thumb { flex: 0 0 72px; height: 72px; padding: 0 !important; border-radius: 12px; border: 2px solid var(--border); background: #fff; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; }
.eg-sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eg-sp-thumb:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.eg-sp-thumb.is-on { border-color: var(--gold); }
:where(html[data-theme="light"]) .eg-sp-thumb.is-on { border-color: var(--gold-ink, #0066cc); }
.eg-sp-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) { .eg-sp-thumb { flex-basis: 60px; height: 60px; } }

/* ── Фото на сторінці товару: збільшення й перегляд на весь екран ── */
.eg-sp-main-image.is-zoomable { cursor: zoom-in; }
.eg-lb { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center;
  background: rgba(5,6,9,.94); -webkit-tap-highlight-color: transparent; }
.eg-lb.is-open { display: flex; animation: egLbIn .2s ease; }
@keyframes egLbIn { from { opacity: 0; } to { opacity: 1; } }
.eg-lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); object-fit: contain; border-radius: 8px; user-select: none; }
.eg-lb__x, .eg-lb__nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 0 !important;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; line-height: 1; transition: background .2s; }
.eg-lb__x:hover, .eg-lb__nav:hover { background: rgba(255,255,255,.24); }
.eg-lb__x { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 30px; }
.eg-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; }
.eg-lb__nav--prev { left: 16px; } .eg-lb__nav--next { right: 16px; }
.eg-lb__cnt { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 14px; font-variant-numeric: tabular-nums; }
.eg-lb__x:focus-visible, .eg-lb__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.eg-lb-lock, html.eg-lb-lock body { overflow: hidden; }
@media (max-width: 700px) {
  .eg-lb__img { max-width: 100vw; max-height: calc(100dvh - 140px); border-radius: 0; }
  .eg-lb__nav { top: auto; bottom: 22px; transform: none; width: 48px; height: 48px; }
  .eg-lb__nav--prev { left: calc(50% - 64px); } .eg-lb__nav--next { right: calc(50% - 64px); }
}
/* на телефоні фото на всю ширину картки: без подвійного відступу й вузької 16:9 */
@media (max-width: 900px) {
  .eg-sp-image-card { aspect-ratio: 4 / 3; }
  .eg-sp-img-wrap { padding: 10px; }
  .eg-sp-wrap--has-img .eg-sp-img-wrap img { padding: 0; }
  .eg-sp-main-image { width: 100%; height: 100%; }
}

/* ── Назва товару: тип дрібно над моделлю, характеристики окремим рядком ── */
.eg-sp-title__type { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink, var(--gold)); }
.eg-sp-subtitle { margin: -4px 0 16px; font-size: 16px; line-height: 1.5; color: var(--muted); font-weight: 500; }
.woocommerce ul.products li.product .woocommerce-loop-product__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Велике фото товару: рендер — цілком і великим, фото в інтерʼєрі — на всю картку ── */
.eg-sp-wrap--has-img .eg-sp-img-wrap { padding: 0; }
.eg-sp-wrap--has-img .eg-sp-img-wrap img.eg-sp-main-image { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; }
.eg-sp-wrap--has-img .eg-sp-img-wrap img.eg-sp-main-image.is-cutout { object-fit: contain; padding: 6% 8%; }
.eg-sp-wrap--has-img .eg-sp-img-wrap img.eg-sp-main-image.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
@media (max-width: 900px) { .eg-sp-wrap--has-img .eg-sp-img-wrap img.eg-sp-main-image.is-cutout { padding: 15% 8% 5%; } }

/* eg-banner-home */
:root{
  --gold:#ffbf2f;--gl:#ffd060;--gd:#f0b800;
  --blue:#1B4FC4;--bl:#4A90E8;
  --bg:#09090D;--bg2:#0E0E16;
  --sf:#13131F;--sf2:#1C1C2E;
  --bd:rgba(255,255,255,.07);--bd2:rgba(255,255,255,.11);
  --tx:#F4F4F6;--mt:rgba(244,244,246,.62);
  --gl-line:rgba(255,255,255,.024);
  --f:'DM Sans',sans-serif;
}

/* ── Energy canvas ───────────────────────────────────────────────────── */
#h-canvas{
  position:absolute;inset:0;
  width:100%;height:100%;
  z-index:0;pointer-events:none;
  opacity:1;
  -webkit-mask-image:radial-gradient(ellipse 115% 105% at 50% 50%,#000 55%,transparent 100%);
  mask-image:radial-gradient(ellipse 115% 105% at 50% 50%,#000 55%,transparent 100%);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.h{
  position:relative;
  min-height:93svh;
  display:flex;flex-direction:column;
  background:var(--bg);overflow:hidden;isolation:isolate;
}
@media(max-width:900px){.h{overflow:visible}}

/* ── Short viewports: scale down logo section ─────────────────────────── */
@media(max-height:680px){
  .h__shield{height:clamp(80px,12vh,130px)}
  .h__brand {height:clamp(50px, 8vh, 90px)}
  .h__head  {gap:8px}
  .h__brand-wrap{gap:6px}
  .h__desc  {font-size:12px}
  .h__phone {padding:9px 22px 9px 12px;gap:11px}
  .h__phone-ico{width:38px;height:38px}
  .h__phone-num{font-size:27px}
}
@media(max-height:520px){
  .h__shield{height:80px}
  .h__brand {height:50px}
  .h__head  {gap:6px;padding:0}
  .h__desc  {display:none}
  .h__badge {padding:4px 10px;font-size:10px}
  .h__phone {padding:7px 18px 7px 9px;gap:9px}
  .h__phone-ico{width:32px;height:32px}
  .h__phone-ico svg{width:15px;height:15px}
  .h__phone-num{font-size:22px}
}

.h__grid{
  position:absolute;inset:0;z-index:0;
  background-image:linear-gradient(var(--gl-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--gl-line) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 90% 80% at 50% 50%,black 10%,transparent 70%);
  mask-image:radial-gradient(ellipse 90% 80% at 50% 50%,black 10%,transparent 70%);
}
.h__orb{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none;z-index:0}
.h__orb--a{width:600px;height:500px;top:-100px;left:-60px;
  background:radial-gradient(ellipse,rgba(27,79,196,.2) 0%,transparent 70%);
  animation:oa 22s ease-in-out infinite}
.h__orb--b{width:500px;height:420px;bottom:-60px;right:8%;
  background:radial-gradient(ellipse,rgba(255,191,47,.09) 0%,transparent 70%);
  animation:ob 28s ease-in-out infinite}
@keyframes oa{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,40px)}}
@keyframes ob{0%,100%{transform:translate(0,0)}50%{transform:translate(-28px,-32px)}}

/* ── Boxed wrap ──────────────────────────────────────────────────────── */
.h__wrap{
  position:relative;z-index:1;
  flex:1;min-height:0;
  display:flex;flex-direction:column;
  max-width:1240px;width:100%;margin:0 auto;padding:0 40px;
  justify-content:center;gap:20px;
}
@media(max-width:640px){.h__wrap{padding:0 20px}}

/* ── Body ────────────────────────────────────────────────────────────── */
.h__body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch;
  padding:0;
}
@media(max-width:900px){
  .h__body{grid-template-columns:1fr;align-items:start;gap:20px}
}

/* ── Left column ─────────────────────────────────────────────────────── */
.h__left{display:flex;flex-direction:column;gap:16px}
@media(max-width:900px){.h__left{order:2}}

/* Savings ticker */
.h__ticker{
  background:var(--sf);border:1px solid var(--bd2);border-radius:16px;
  padding:20px 22px;position:relative;
}
.h__ticker::before{
  content:'';position:absolute;inset:0;border-radius:16px;
  background:linear-gradient(135deg,rgba(255,191,47,.06) 0%,transparent 60%);
  pointer-events:none;
}
.h__tlbl{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mt);margin-bottom:10px}
.h__trow{display:flex;align-items:baseline;gap:8px}
.h__num{
  font-size:clamp(40px,4.8vw,66px);font-weight:800;letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;line-height:1;
  background:linear-gradient(135deg,var(--gl) 0%,var(--gold) 55%,var(--gd) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  filter:drop-shadow(0 0 20px rgba(255,191,47,.25));transition:filter .22s;
}
.h__num.pop{filter:drop-shadow(0 0 44px rgba(255,191,47,.6))}
.h__tunit{font-size:15px;font-weight:500;color:var(--mt)}
.h__tsub{
  display:inline-flex;align-items:center;gap:6px;margin-top:12px;
  padding:4px 10px;border-radius:100px;
  font-size:12px;font-weight:600;
  background:rgba(74,144,232,.1);border:1px solid rgba(74,144,232,.2);color:var(--bl);
}
.h__tsub-dot{width:5px;height:5px;border-radius:50%;background:#36c26b;animation:dot 1.6s ease-in-out infinite}
.h.is-night .h__tsub-dot{background:var(--mt);animation:none}
@keyframes dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.6)}}

/* Controls */
.h__ctrl{
  background:var(--sf);border:1px solid var(--bd);border-radius:16px;
  padding:16px 18px;display:flex;flex-direction:column;gap:14px;
}
.h__row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:420px){.h__row{grid-template-columns:1fr}}
.h__fset{border:0;min-width:0}
.h__lbl{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mt);display:block;margin-bottom:6px}

.h__seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px}
.h__si{position:relative;display:block;cursor:pointer}
.h__si input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}
.h__sb{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:8px 4px;background:var(--sf2);
  border:1px solid var(--bd);border-radius:10px;
  font-size:11px;font-weight:600;color:var(--mt);
  transition:border-color .15s,background .15s,color .15s;
}
.h__sb svg{width:16px;height:16px}
.h__si:hover .h__sb{border-color:var(--bd2);color:var(--tx)}
.h__si input:checked+.h__sb{
  background:rgba(255,191,47,.08);border-color:rgba(255,191,47,.42);
  color:var(--gl);box-shadow:0 0 14px rgba(255,191,47,.08);
}

.h__shead{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.h__sval{font-size:14px;font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums}
.h__range{
  -webkit-appearance:none;appearance:none;width:100%;height:3px;border-radius:999px;
  background:var(--sf2);
  background-image:linear-gradient(var(--gold),var(--gold));
  background-size:var(--fill,3%) 100%;background-repeat:no-repeat;cursor:pointer;
}
.h__range::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  background:var(--bg);border:2.5px solid var(--gold);
  box-shadow:0 0 12px rgba(255,191,47,.5);cursor:pointer;
}
.h__range::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;
  background:var(--bg);border:2.5px solid var(--gold);
  box-shadow:0 0 12px rgba(255,191,47,.5);cursor:pointer;
}
.h__rsc{display:flex;justify-content:space-between;margin-top:4px;font-size:10px;color:var(--mt)}

.h__tgl{display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none}
.h__tgl input{position:absolute;opacity:0;width:0;height:0}
.h__track{
  flex:0 0 auto;width:38px;height:22px;border-radius:999px;
  background:var(--sf2);border:1px solid var(--bd2);position:relative;
  transition:background .18s,border-color .18s;
}
.h__thumb{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--mt);transition:transform .18s,background .18s}
.h__tgl input:checked+.h__track{background:rgba(255,191,47,.12);border-color:rgba(255,191,47,.38)}
.h__tgl input:checked+.h__track .h__thumb{transform:translateX(16px);background:var(--gold)}
.h__ttx{font-size:13px;font-weight:500;color:var(--tx)}

/* CTA */
.h__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;padding:16px 0}
/* Лише геометрія. Колір, тінь, ховер, натиск і фокус — спільні для всіх
   кнопок сайту в assets/css/buttons.css (працюють в обох темах). */
.btn-p{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 28px;border-radius:100px;
  font-size:14px;font-weight:600;font-family:var(--f);
  cursor:pointer;text-decoration:none;
}
.btn-s{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 22px;border-radius:100px;
  font-size:14px;font-weight:500;font-family:var(--f);
  cursor:pointer;text-decoration:none;
}

/* Телефони — один під одним, однакової ширини; до Київстару приліплені месенджери */
.h__phones{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:fit-content;max-width:100%;margin:2px auto 0}
.h__phones .h__phone{margin-top:0;justify-content:center}
.h__phone{
  display:inline-flex;align-items:center;gap:14px;
  margin-top:2px;padding:12px 30px 12px 16px;border-radius:100px;
  border:1px solid rgba(255,191,47,.3);background:rgba(255,191,47,.07);
  text-decoration:none;font-family:var(--f);
  transition:transform .2s,border-color .2s,background .2s,box-shadow .2s;
}
.h__phone:hover{
  transform:translateY(-2px);border-color:rgba(255,191,47,.6);
  background:rgba(255,191,47,.12);box-shadow:0 10px 34px rgba(255,191,47,.14);
}
.h__phone-ico{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:46px;height:46px;border-radius:50%;
  background:rgba(255,191,47,.15);color:var(--gold);
}
.h__phone-ico svg{width:20px;height:20px}
.h__phone-txt{display:flex;flex-direction:column;gap:3px;line-height:1;text-align:left}
.h__phone-op{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mt)}
.h__phone-call{display:inline-flex;align-items:center;gap:inherit;color:inherit;text-decoration:none}
.h__phone.h__phone--msgs{padding-right:10px}
.h__phone-msgs{display:flex;align-items:center;gap:6px;padding-left:14px;border-left:1px solid rgba(255,191,47,.22)}
.h__phone-msg{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;border:1px solid var(--bd2);background:rgba(255,255,255,.04);text-decoration:none;transition:transform .2s,background .2s,border-color .2s}
.h__phone-msg svg{width:19px;height:19px}
.h__phone-msg--viber{color:#8f7cf5}
.h__phone-msg--telegram{color:#2AABEE}
.h__phone-msg--whatsapp{color:#25D366}
.h__phone-msg:hover{transform:translateY(-2px);border-color:currentColor;background:rgba(255,255,255,.08)}
.h__phone-msg:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:640px){
  .h__phone.h__phone--msgs{flex-wrap:wrap;row-gap:10px;border-radius:28px;padding:12px 16px}
  .h__phone-msgs{flex-basis:100%;justify-content:center;gap:10px;padding:10px 0 0;border-left:0;border-top:1px solid rgba(255,191,47,.18)}
}
@media(max-height:520px){.h__phone-msg{width:32px;height:32px}.h__phone-msg svg{width:15px;height:15px}}
.h__phone-num{
  font-size:clamp(25px,3.2vw,38px);font-weight:800;letter-spacing:-.02em;
  color:var(--gold);font-variant-numeric:tabular-nums;white-space:nowrap;
  text-shadow:0 0 26px rgba(255,191,47,.28);
}
@media(max-width:560px){
  .h__phone{gap:11px;padding:10px 20px 10px 11px}
  .h__phone-ico{width:38px;height:38px}
  .h__phone-ico svg{width:17px;height:17px}
  .h__phone-num{font-size:25px}
  .h__phone-op{font-size:9px}
}

/* ── Right: SVG scene ────────────────────────────────────────────────── */
.h__scene{
  border-radius:20px;overflow:hidden;
  border:1px solid var(--bd2);background:#050d1c;
  position:relative;
}
@media(max-width:900px){.h__scene{order:1;aspect-ratio:16/9}}

.h__svg{display:block;width:100%;height:100%;position:absolute;inset:0}

.h__fcard{
  position:absolute;bottom:16px;right:16px;z-index:2;
  background:rgba(5,10,22,.84);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--bd2);border-radius:12px;
  padding:10px 14px;display:flex;align-items:center;gap:10px;
  opacity:0;animation:fci .5s ease .9s forwards;
}
@keyframes fci{to{opacity:1}}
.h__ficon{width:32px;height:32px;border-radius:8px;flex-shrink:0;background:rgba(255,191,47,.1);display:flex;align-items:center;justify-content:center}
.h__flbl{font-size:10px;color:var(--mt);font-weight:500;margin-bottom:2px}
.h__fval{font-size:13px;font-weight:700;color:var(--tx)}

/* ── Entrance ────────────────────────────────────────────────────────── */
.h__head,.h__ticker,.h__ctrl,.h__actions{
  opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease;
}
.h__scene{opacity:0;transform:scale(.98);transition:opacity .65s ease .15s,transform .65s ease .15s}
.h.is-ready .h__head   {opacity:1;transform:none;transition-delay:.06s}
.h.is-ready .h__ticker {opacity:1;transform:none;transition-delay:.18s}
.h.is-ready .h__ctrl   {opacity:1;transform:none;transition-delay:.28s}
.h.is-ready .h__actions{opacity:1;transform:none;transition-delay:.38s}
.h.is-ready .h__scene  {opacity:1;transform:none}

/* ── SVG scene modes ─────────────────────────────────────────────────── */
.s-sky{opacity:0;transition:opacity .7s ease}
.h.is-sun   .s-sky-d{opacity:1}
.h.is-rain  .s-sky-r{opacity:1}
.h.is-night .s-sky-n{opacity:1}

.s-sun{opacity:0;transition:opacity .5s ease}
.h.is-sun .s-sun{opacity:1}
.s-rays{transform-origin:496px 90px;animation:spin 55s linear infinite}
.s-sglow{transform-origin:496px 90px;animation:sglow 4s ease-in-out infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes sglow{0%,100%{opacity:.22}50%{opacity:.48}}

.s-moon{opacity:0;transition:opacity .6s ease}
.h.is-night .s-moon{opacity:1}

.s-stars{opacity:0;transition:opacity .9s ease}
.h.is-night .s-stars{opacity:1}
.s-star{animation:twink 3s ease-in-out infinite;animation-delay:calc(var(--d)*1s)}
@keyframes twink{0%,100%{opacity:.1}50%{opacity:1}}

.s-cloud{animation:drift 20s ease-in-out infinite;opacity:.4}
.s-cloud-2{animation-duration:26s;animation-delay:-11s}
.h.is-night .s-cloud{opacity:.07}
.h.is-rain  .s-cloud{opacity:.9}
@keyframes drift{0%,100%{transform:translateX(-8px)}50%{transform:translateX(12px)}}

.s-rain{opacity:0;transition:opacity .35s ease}
.h.is-rain .s-rain{opacity:1}
.s-drop{animation:rfall .7s linear infinite;animation-delay:calc(var(--d)*.1s)}
@keyframes rfall{0%{transform:translateY(-6px);opacity:0}20%{opacity:.8}100%{transform:translateY(30px);opacity:0}}

.s-shimmer{opacity:0}
.h.is-sun .s-shimmer{animation:shim 3.8s ease-in-out infinite}
.h.is-sun .s-shimmer-2{animation-delay:1.4s}
@keyframes shim{0%{opacity:0;transform:translateX(-16px)}35%{opacity:.45}80%{opacity:0;transform:translateX(80px)}100%{opacity:0}}
.h.is-night .s-panel{filter:brightness(.4) saturate(.5)}
.h.is-rain  .s-panel{filter:brightness(.65) saturate(.75)}

.s-flow{stroke-dasharray:7 14;animation:flow 1.1s linear infinite;opacity:0;transition:opacity .35s}
.h.is-sun  .s-flow{opacity:1}
.h.is-rain .s-flow{opacity:.4;animation-duration:2.8s}
@keyframes flow{to{stroke-dashoffset:-42}}

.s-bf{
  transform-box:fill-box;transform-origin:center bottom;transform:scaleY(0);
  animation:bfill 2.4s ease-in-out infinite;animation-delay:calc(var(--d)*.5s);
}
.h.is-night .s-bf{animation:none;transform:scaleY(1)}
.h.is-rain  .s-bf{animation-duration:4.5s}
@keyframes bfill{0%{transform:scaleY(0)}65%,100%{transform:scaleY(1)}}

.s-led{animation:blink 1.8s steps(1) infinite}
.h.is-rain  .s-led{animation-duration:3s}
.h.is-night .s-led{fill:#f0a830;animation:none}
@keyframes blink{0%,60%{opacity:1}61%,100%{opacity:.12}}

.s-win{fill:#0a1220;transition:fill .6s}
.h.is-sun   .s-win{fill:#fff8c8}
.h.is-rain  .s-win{fill:#d0e4ff}
.h.is-night .s-win{fill:#ffe060}
.s-hglow{opacity:0;transition:opacity .7s}
.h.is-sun   .s-hglow{opacity:.45}
.h.is-rain  .s-hglow{opacity:.15}
.h.is-night .s-hglow{opacity:.4}

.s-home{display:none}
.h.is-home .s-home{display:block}
.h.is-home .s-biz{display:none}

@media(prefers-reduced-motion:reduce){
  .s-rays,.s-sglow,.s-star,.s-cloud,.s-drop,.s-shimmer,
  .s-flow,.s-bf,.s-led,.h__orb,.h__tsub-dot{animation:none!important}
  .s-bf{transform:scaleY(1)!important}
  .h__head,.h__ticker,.h__ctrl,.h__actions,.h__scene{opacity:1!important;transform:none!important;transition:none!important}
}

/* ── Hero header ─────────────────────────────────────────────────────── */
.h__head{
  display:flex;flex-direction:column;align-items:center;
  gap:14px;padding:28px 36px;
  position:relative;z-index:2;flex-shrink:0;
}
.h__badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 18px;border-radius:100px;
  font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  background:rgba(255,191,47,.08);border:1px solid rgba(255,191,47,.28);color:var(--gold);
}
.h__badge-dot{
  width:6px;height:6px;border-radius:50%;background:var(--gold);flex-shrink:0;
  animation:dot 2s ease-in-out infinite;
}
.h__logos{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;justify-content:center}
.h__brand-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.h__shield{
  height:clamp(160px,18vw,200px);width:auto;object-fit:contain;
  filter:drop-shadow(0 0 36px rgba(255,191,47,.35));
}
.h__brand{height:clamp(90px,11vw,105px);width:auto;object-fit:contain}
.h__desc{
  font-size:14px;color:var(--mt);text-align:center;
  max-width:500px;line-height:1.6;margin:0;
}

/* CTA — pinned directly under .h__body via wrap gap */
.h__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;padding:0}

@media(max-width:640px){
  .h__head{padding:0;gap:12px}
  .h__logos{gap:18px}
}

/* ── Головна: сама шапка, без інтерактивної сцени ─────────────────────
   Сцена переїхала на «Прорахувати станцію», тож тут немає [data-h] і
   banner-home.js не поставить .is-ready. Базове .h__head{opacity:0}
   лишило б лого й телефони невидимими — відкриваємо їх напряму.       */
.h--bare{min-height:0;display:block}
.h--bare .h__head{opacity:1;transform:none;transition:none;padding:0;align-items:stretch}
/* базове .h__head центрує дітей і стискає їх до вмісту — через це переваги
   й контакти «пливли»; у двоколонковій шапці вони займають усю ширину */

/* Дві колонки: текст ліворуч у межах 1240px, фото праворуч витікає до краю
   екрана. Тому не використовуємо .h__wrap — він обмежений max-width. */
.h__hero{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46%);
  align-items:center;gap:0;min-height:clamp(380px,46vw,520px);
}
.h__hero-main{
  padding:34px clamp(20px,3vw,40px) 34px max(clamp(20px,3vw,40px),calc((100vw - 1240px)/2));
  /* знизу запас під плашку брендів, що наполовину заходить у шапку (catalog-visual.css) */
  padding-bottom:78px;
  min-width:0;
}
.h--bare .h__logos{justify-content:flex-start;align-items:center;gap:clamp(14px,2vw,26px)}
/* Плагін custom-css-js-pro віддає інлайном .h__brand-wrap{align-items:center}
   — це лишилось від старої центрованої шапки. Перебиваємо специфічністю,
   щоб не лізти в чужі сніпети. */
.h--bare .h__brand-wrap{align-items:flex-start}
.h--bare .h__shield{height:clamp(96px,10vw,150px)}
/* у тегах є width/height (проти зсувів макета) — ширину рахує браузер */
.h__shield,.h__brand{width:auto}
.h--bare .h__brand{height:clamp(52px,6.2vw,84px)}

.h__kicker{
  font-size:clamp(11px,1.15vw,14px);font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--gold);line-height:1.55;margin:0 0 6px;max-width:30ch;
}
.h__tagline{
  display:block;margin-top:6px;
  font-size:clamp(12px,1.5vw,20px);font-weight:500;letter-spacing:.34em;
  text-transform:uppercase;color:var(--tx);opacity:.92;
}

/* Заголовок, підзаголовок і дві дії (бриф 2026-09-18) */
.h__title{
  margin:26px 0 0;max-width:16ch;
  font-family:var(--f);font-size:clamp(30px,3.5vw,50px);font-weight:700;
  line-height:1.08;letter-spacing:-.02em;color:var(--tx);
}
.h__lead{margin:14px 0 0;max-width:52ch;font-size:clamp(15px,1.2vw,17px);line-height:1.6;color:var(--tx);opacity:.74}
.h__ctas{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 0}
.h__cta{text-transform:uppercase;letter-spacing:.06em;font-size:13px;padding-top:15px;padding-bottom:15px}
.h__cta svg{width:16px;height:16px}

/* Переваги — у рядок, розділені тонкими лініями, як у макеті */
.h__usp{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin:30px 0 0;padding:0;list-style:none;max-width:700px;
}
.h__usp-item{
  display:flex;align-items:center;gap:10px;min-width:0;
  padding:2px 14px;border-left:1px solid rgba(255,191,47,.2);
}
.h__usp-item:first-child{border-left:0;padding-left:0}
.h__usp-ico{
  flex-shrink:0;width:40px;height:40px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);background:rgba(255,191,47,.09);border:1px solid rgba(255,191,47,.28);
}
.h__usp-ico svg{width:20px;height:20px}
.h__usp-tx{font-size:13px;font-weight:600;line-height:1.3;color:var(--tx);min-width:0}
/* Вузький десктоп: чотири колонки вже тісні — 2×2 */
@media(max-width:1180px) and (min-width:981px){
  .h__usp{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px;max-width:460px}
  .h__usp-item:nth-child(odd){border-left:0;padding-left:0}
}

/* Прихований H1: видимий лише пошуковикам і скрінрідерам */
.h__sr{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Контакти: золота пілюля, темна пілюля, окремо кружечки месенджерів */
.h__contacts{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:32px 0 0}
.h__call{
  display:inline-flex;align-items:center;gap:12px;height:60px;
  padding:0 18px 0 8px;border-radius:100px;text-decoration:none;font-family:var(--f);
  transition:transform .2s,box-shadow .2s,border-color .2s,background .2s;
}
.h__call-ico{
  flex-shrink:0;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.h__call-ico svg{width:19px;height:19px}
.h__call-num{
  font-size:clamp(17px,1.45vw,21px);font-weight:700;letter-spacing:-.01em;
  white-space:nowrap;font-variant-numeric:tabular-nums;
}
.h__call-arr{display:flex;margin-left:4px;opacity:.65;transition:transform .2s,opacity .2s}
.h__call-arr svg{width:17px;height:17px}
.h__call:hover{transform:translateY(-2px)}
.h__call:hover .h__call-arr{transform:translateX(3px);opacity:1}
.h__call--main{
  background:linear-gradient(135deg,var(--gl) 0%,var(--gold) 55%,var(--gd) 100%);
  color:#09090D;box-shadow:0 10px 30px rgba(255,191,47,.24);
}
.h__call--main .h__call-ico{background:#09090D;color:var(--gold)}
.h__call--main:hover{color:#09090D;box-shadow:0 14px 38px rgba(255,191,47,.38)}
.h__call--alt{background:rgba(255,255,255,.03);border:1px solid var(--bd2);color:var(--tx)}
.h__call--alt .h__call-ico{background:rgba(255,191,47,.1);color:var(--gold)}
.h__call--alt:hover{color:var(--tx);border-color:rgba(255,191,47,.45);background:rgba(255,191,47,.06)}
.h__call-group{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.h__msgs{display:flex;gap:8px}
.h__msg{
  width:48px;height:48px;border-radius:50%;border:1px solid;
  display:flex;align-items:center;justify-content:center;text-decoration:none;
  transition:transform .2s,box-shadow .2s;
}
.h__msg svg{width:20px;height:20px;flex-shrink:0}
/* Підпис месенджера видно лише на телефоні, де кружечки стають кнопками */
.h__msg-l{display:none}
.h__msg--telegram{color:#fff;background:#1679AE;border-color:#1679AE} /* темніший за фірмовий #229ED9 — білий підпис читається (AA) */
.h__msg--viber{color:#a393ff;background:rgba(115,96,242,.16);border-color:rgba(115,96,242,.45)}
.h__msg--whatsapp{color:#25D366;background:rgba(37,211,102,.12);border-color:rgba(37,211,102,.4)}
.h__msg:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.35)}
.h__msg--telegram:hover{color:#fff}.h__msg--viber:hover{color:#a393ff}.h__msg--whatsapp:hover{color:#25D366}
.h__call:focus-visible,.h__msg:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* «Тихі розряди» зліва — під текстом (z-index 0), гаснуть до фото */
.h--bare #h-canvas{
  z-index:0;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 38%,transparent 54%);
  mask-image:linear-gradient(90deg,#000 0%,#000 38%,transparent 54%);
}

/* Фото зі зрізом-шевроном; золота грань — це батько, що визирає з-під
   трохи вужчого клипа дитини. */
.h__media{
  position:relative;align-self:stretch;min-height:100%;
  background:linear-gradient(160deg,var(--gold) 0%,var(--gold-deep,#f0b800) 55%,rgba(255,191,47,.5) 100%);
  clip-path:polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
}
.h__media-in{
  position:absolute;inset:0;
  clip-path:polygon(12.6% 0, 100% 0, 100% 100%, 12.6% 100%, 0.7% 50%);
  background:var(--bg);
}
.h__media-in img{width:100%;height:100%;object-fit:cover;display:block}
.h__media-scrim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(9,9,13,.92) 0%,rgba(9,9,13,.45) 26%,rgba(9,9,13,0) 60%);
  clip-path:polygon(12.6% 0, 100% 0, 100% 100%, 12.6% 100%, 0.7% 50%);
}

/* Планшет: фото нижче тексту, зріз перетворюється на горизонтальний шеврон */
@media(max-width:980px){
  .h__hero{grid-template-columns:1fr;min-height:0}
  .h__hero-main{padding:26px clamp(20px,5vw,40px) 4px;order:1}
  .h__media{order:2;min-height:clamp(220px,48vw,340px);
    clip-path:polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%)}
  .h__media-in,.h__media-scrim{
    clip-path:polygon(0 12.8%, 50% 0.8%, 100% 12.8%, 100% 100%, 0 100%)}
  .h__media-scrim{background:linear-gradient(0deg,rgba(9,9,13,.55) 0%,rgba(9,9,13,0) 45%)}
  .h--bare .h__logos{justify-content:center}
  .h--bare .h__brand-wrap{align-items:center}
  .h__kicker{max-width:none}
  .h__title{margin-left:auto;margin-right:auto;text-align:center;max-width:20ch}
  .h__lead{margin-left:auto;margin-right:auto;text-align:center}
  .h__ctas{justify-content:center}
  .h__usp{margin:24px auto 0;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px;max-width:460px}
  .h__usp-item:nth-child(odd){border-left:0;padding-left:0}
  .h__contacts{justify-content:center}
  .h--bare #h-canvas{display:none}
}
@media(max-width:640px){
  .h__hero-main{padding-top:18px}
  .h__usp-item{padding:2px 10px;border-left:0}
  .h__usp-ico{width:36px;height:36px}
  .h__usp-tx{font-size:12px}
  .h__ctas{flex-direction:column}
  .h__cta{justify-content:center}
  .h__contacts{gap:10px}
  .h__call-group{width:100%;gap:8px}
  .h__call-group + .h__call-group{margin-top:6px}
  .h__call{width:100%;height:56px}
  .h__call-arr{margin-left:auto}
  /* Месенджери під Київстаром: рівні кнопки з підписом замість голих кружечків */
  .h__msgs{width:100%;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
  .h__msg{width:auto;height:46px;border-radius:14px;gap:7px;padding:0 8px}
  .h__msg svg{width:18px;height:18px}
  .h__msg-l{display:inline;font-family:var(--f);font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .h__msg:hover{transform:none}
}

/* Сторінка розрахунку: сцена без 93svh на весь екран */
.h--anim{min-height:0}
.h--anim .h__wrap{padding-top:32px;padding-bottom:32px}

/* eg-home-extra */
/* Головна: «Часті запитання», «Корисні статті», «Про ENERGARD»
   (template-parts/home-faq.php, home-blog.php, home-seo.php).
   Той самий стиль, що в каталозі й кейсах: сітка й сяйво (.eg-cat-hero__deco),
   токени --ch-* (темна/світла тема), скло, золото/синій акцент. */

.eg-hx{
  --ch-tx:#F4F4F6; --ch-mt:rgba(244,244,246,.62); --ch-mt2:rgba(244,244,246,.58);
  --ch-gold:#ffbf2f; --ch-line:rgba(255,255,255,.08); --ch-grid:var(--gl-line,rgba(255,255,255,.024));
  --ch-card:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); --ch-card-bd:rgba(255,255,255,.08);
  --ch-card-h:linear-gradient(135deg,rgba(255,191,47,.08),rgba(255,191,47,.02)); --ch-shadow:none; --ch-shadow-h:0 22px 50px rgba(0,0,0,.4);
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px,8vw,110px) clamp(20px,4vw,40px);
  background: var(--bg,#09090D); color: var(--ch-tx);
}
html[data-theme="light"] .eg-hx{
  --ch-tx:#14151C; --ch-mt:rgba(20,21,28,.66); --ch-mt2:rgba(20,21,28,.5);
  --ch-gold:#0066CC; --ch-line:rgba(15,23,42,.10);
  --ch-card:#FFFFFF; --ch-card-bd:rgba(15,23,42,.09);
  --ch-card-h:linear-gradient(135deg,#FFFFFF,#F0F7FF); --ch-shadow:0 8px 24px rgba(15,23,42,.06); --ch-shadow-h:0 22px 50px rgba(15,23,42,.14);
}
.eg-hx + .eg-hx{ border-top: 1px solid var(--ch-line); }
.eg-hx__in{ position: relative; max-width: 1240px; margin: 0 auto; }
.eg-hx__kicker{ display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ch-gold); }
.eg-hx__kicker::before{ content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eg-hx__h{ margin: 14px 0 0; font-size: clamp(30px,3.4vw,46px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: var(--ch-tx); }
.eg-hx__sub{ margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--ch-mt); max-width: 46ch; }
.eg-hx__ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.eg-hx__link{ font-size: 15px; font-weight: 600; color: var(--ch-gold); text-decoration: none; }
.eg-hx__link:hover{ color: var(--ch-gold); text-decoration: underline; }
.eg-hx__head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.eg-hx__pill{ flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 100px;
  border: 1px solid var(--ch-card-bd); background: var(--ch-card); color: var(--ch-tx); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .25s, background .25s, color .25s; }
.eg-hx__pill span{ color: var(--ch-gold); transition: transform .25s; }
.eg-hx__pill:hover{ border-color: color-mix(in srgb, var(--ch-gold) 55%, transparent); color: var(--ch-tx); }
.eg-hx__pill:hover span{ transform: translateX(3px); }

/* ═══ FAQ ═══════════════════════════════════════════════════════════════ */
.eg-hfaq__grid{ display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,6vw,90px); align-items: start; }
.eg-hfaq__intro{ position: sticky; top: 110px; }
.eg-hfaq__intro::before{
  content: "FAQ"; position: absolute; z-index: -1; left: -6px; top: -54px; pointer-events: none; user-select: none;
  font-size: clamp(110px,13vw,200px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ch-gold) 22%, transparent);
}
.eg-hfaq__list{ display: flex; flex-direction: column; gap: 12px; }
.eg-hfaq__item{ position: relative; border-radius: 20px; border: 1px solid var(--ch-card-bd); background: var(--ch-card); box-shadow: var(--ch-shadow);
  transition: border-color .3s, background .3s, box-shadow .3s; }
.eg-hfaq__item::before{ content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg,#ffd060,#ffbf2f,#f0b800); opacity: 0; transition: opacity .3s; }
html[data-theme="light"] .eg-hfaq__item::before{ background: linear-gradient(180deg,#2997FF,#0071E3,#0058B0); }
.eg-hfaq__item:hover{ border-color: color-mix(in srgb, var(--ch-gold) 35%, var(--ch-card-bd)); }
.eg-hfaq__item[open]{ background: var(--ch-card-h); border-color: color-mix(in srgb, var(--ch-gold) 45%, var(--ch-card-bd)); box-shadow: var(--ch-shadow-h); }
.eg-hfaq__item[open]::before{ opacity: 1; }
.eg-hfaq__item summary{ list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; }
.eg-hfaq__item summary::-webkit-details-marker{ display: none; }
.eg-hfaq__item summary:focus-visible{ outline: 2px solid var(--ch-gold); outline-offset: 3px; border-radius: 20px; }
.eg-hfaq__n{ font-size: 13px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--ch-mt2); transition: color .3s; }
.eg-hfaq__item[open] .eg-hfaq__n{ color: var(--ch-gold); }
.eg-hfaq__q{ font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--ch-tx); }
.eg-hfaq__item summary i{ position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ch-card-bd); transition: background .3s, border-color .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.eg-hfaq__item summary i::before, .eg-hfaq__item summary i::after{ content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ch-gold); transition: background .3s; }
.eg-hfaq__item summary i::after{ transform: rotate(90deg); }
.eg-hfaq__item[open] summary i{ transform: rotate(45deg); background: var(--ch-gold); border-color: transparent; }
.eg-hfaq__item[open] summary i::before, .eg-hfaq__item[open] summary i::after{ background: var(--bg,#09090D); }
html[data-theme="light"] .eg-hfaq__item[open] summary i::before, html[data-theme="light"] .eg-hfaq__item[open] summary i::after{ background: #fff; }
.eg-hfaq__a{ padding: 0 22px 22px calc(22px + 18px + 2ch); font-size: 15.5px; line-height: 1.7; color: var(--ch-mt); animation: egHfaqIn .35s ease; }
@keyframes egHfaqIn{ from{ opacity: 0; transform: translateY(-4px); } to{ opacity: 1; transform: none; } }
.eg-hfaq__a p{ margin: 0 0 10px; } .eg-hfaq__a p:last-child{ margin-bottom: 0; }
.eg-hfaq__a a{ color: var(--ch-gold); }

/* ═══ Блог: журнальна сітка — велика стаття + дві поруч ════════════════ */
.eg-hblog__grid{ display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); grid-template-rows: 1fr 1fr; gap: 20px; }
.eg-hblog__card{ position: relative; min-height: 250px; border-radius: 24px; overflow: hidden; border: 1px solid var(--ch-card-bd);
  box-shadow: var(--ch-shadow); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s; }
.eg-hblog__card.is-big{ grid-row: 1 / span 2; min-height: 520px; }
.eg-hblog__card:hover{ transform: translateY(-4px); box-shadow: var(--ch-shadow-h); border-color: color-mix(in srgb, var(--ch-gold) 45%, transparent); }
.eg-hblog__link{ position: absolute; inset: 0; display: block; color: #F4F4F6; text-decoration: none; }
.eg-hblog__link:hover{ color: #F4F4F6; }
.eg-hblog__link:focus-visible{ outline: 3px solid var(--ch-gold); outline-offset: -3px; border-radius: 24px; }
.eg-hblog__img{ position: absolute; inset: 0; background: #13131F; }
.eg-hblog__img img{ width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.eg-hblog__card:hover .eg-hblog__img img{ transform: scale(1.07); }
.eg-hblog__shade{ position: absolute; inset: 0; background: linear-gradient(180deg,rgba(9,9,13,0) 25%,rgba(9,9,13,.55) 55%,rgba(9,9,13,.94) 100%); }
.eg-hblog__body{ position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.eg-hblog__card.is-big .eg-hblog__body{ padding: 30px 32px 32px; gap: 12px; }
.eg-hblog__meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12px; font-weight: 600; color: rgba(244,244,246,.75); }
.eg-hblog__cat{ padding: 5px 11px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #ffbf2f; background: rgba(9,9,13,.5); border: 1px solid rgba(255,191,47,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[data-theme="light"] .eg-hblog__cat{ color: #7cc0ff; border-color: rgba(41,151,255,.5); }
.eg-hblog__t{ margin: 0; font-size: 19px; line-height: 1.28; letter-spacing: -.015em; font-weight: 700; color: #F4F4F6; }
.eg-hblog__card.is-big .eg-hblog__t{ font-size: clamp(24px,2.4vw,32px); line-height: 1.15; max-width: 22ch; }
.eg-hblog__x{ font-size: 15px; line-height: 1.6; color: rgba(244,244,246,.78); max-width: 52ch; }
.eg-hblog__go{ align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 700; color: #ffbf2f; }
html[data-theme="light"] .eg-hblog__go{ color: #7cc0ff; }
.eg-hblog__go span{ display: inline-block; transition: transform .25s; }
.eg-hblog__card:hover .eg-hblog__go span{ transform: translateX(4px); }

/* ═══ Про ENERGARD: текст + картки розділів ═════════════════════════════ */
.eg-hseo__grid{ display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(32px,6vw,90px); align-items: center; }
.eg-hseo__text{ margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--ch-mt); }
.eg-hseo__text p{ margin: 0 0 14px; } .eg-hseo__text p:last-child{ margin-bottom: 0; }
.eg-hseo__text strong{ color: var(--ch-tx); }
.eg-hseo__cards{ display: flex; flex-direction: column; gap: 12px; }
.eg-hseo__card{ display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 16px 18px 16px 16px;
  border-radius: 18px; border: 1px solid var(--ch-card-bd); background: var(--ch-card); box-shadow: var(--ch-shadow);
  color: var(--ch-tx); text-decoration: none; transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s, box-shadow .3s; }
.eg-hseo__card:hover{ transform: translateX(-4px); border-color: color-mix(in srgb, var(--ch-gold) 50%, transparent); background: var(--ch-card-h); box-shadow: var(--ch-shadow-h); color: var(--ch-tx); }
.eg-hseo__ico{ width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--ch-gold);
  background: color-mix(in srgb, var(--ch-gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ch-gold) 30%, transparent); }
.eg-hseo__ico svg{ width: 22px; height: 22px; }
.eg-hseo__ct{ display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eg-hseo__ct b{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.eg-hseo__ct span{ font-size: 13px; color: var(--ch-mt2); }
.eg-hseo__go{ width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ch-card-bd); color: var(--ch-gold); font-weight: 700;
  transition: background .25s, color .25s, border-color .25s; }
.eg-hseo__card:hover .eg-hseo__go{ background: var(--ch-gold); color: var(--bg,#09090D); border-color: transparent; }
html[data-theme="light"] .eg-hseo__card:hover .eg-hseo__go{ color: #fff; }

/* ═══ Фото у «Частих запитаннях» і «Про ENERGARD» ════════════════════════ */
.eg-hfaq__photo{ position: relative; margin: 34px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.4;
  border: 1px solid color-mix(in srgb, var(--ch-gold) 35%, transparent); box-shadow: var(--ch-shadow-h); }
.eg-hfaq__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.eg-hfaq__photo:hover img{ transform: scale(1.04); }
.eg-hfaq__photo figcaption{ position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(9,9,13,.6); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; color: #F4F4F6; line-height: 1.4; }
.eg-hfaq__photo figcaption span{ display: block; margin-bottom: 3px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffbf2f; }
html[data-theme="light"] .eg-hfaq__photo figcaption span{ color: #7cc0ff; }

.eg-hseo__side{ display: flex; flex-direction: column; gap: 22px; }
.eg-hseo__photos{ position: relative; height: 250px; }
.eg-hseo__photos img{ position: absolute; object-fit: cover; border-radius: 20px; border: 1px solid var(--ch-card-bd); box-shadow: var(--ch-shadow-h); }
.eg-hseo__ph1{ left: 0; top: 0; width: 72%; height: 86%; }
.eg-hseo__ph2{ right: 0; bottom: 0; width: 50%; height: 62%; border: 3px solid var(--bg,#09090D) !important; outline: 1px solid color-mix(in srgb, var(--ch-gold) 45%, transparent); }

/* ═══ «Як ми працюємо» ═══════════════════════════════════════════════════ */
.eg-proc-section.eg-hx-deco{ --ch-grid: var(--gl-line, rgba(255,255,255,.024)); isolation: isolate; border-top: 1px solid var(--border); background: var(--bg); }
.eg-proc-section .eg-cat-hero__deco{ opacity: .9; }
.eg-proc-section .eg-eyebrow{ display: inline-flex; align-items: center; gap: 10px; }
.eg-proc-section .eg-eyebrow::before, .eg-proc-section .eg-eyebrow::after{ content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eg-proc-section .eg-proc-flow{ column-gap: 14px; }
.eg-proc-section .eg-proc-step{ padding: 30px 18px 26px; border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s; }
.eg-proc-section .eg-proc-step:hover{ border-color: color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
html[data-theme="light"] .eg-proc-section .eg-proc-step{ background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.eg-proc-section .eg-proc-step:not(:last-child)::after{ top: 66px; left: calc(50% + 44px); width: calc(100% - 88px + 14px); }
.eg-proc-section .eg-proc-title{ font-size: 18px; font-weight: 700; }
.eg-proc-section .eg-proc-desc{ font-size: 14px; font-weight: 400; }

.eg-proc-section .eg-proc-supply{ padding: 0; gap: 0; align-items: stretch; min-height: 260px; }
.eg-proc-supply-img{ position: relative; flex: 0 0 38%; min-height: 260px; clip-path: polygon(0 0,100% 0,86% 100%,0 100%); }
.eg-proc-supply-img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eg-proc-supply-img::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(9,9,13,.35)); }
.eg-proc-section .eg-proc-supply-ico{ display: none; }
.eg-proc-section .eg-proc-supply-text{ padding: 36px 20px 36px 28px; align-self: center; }
.eg-proc-section .eg-proc-supply-cta{ align-self: center; padding-right: 40px; }

/* ═══ Відгуки ════════════════════════════════════════════════════════════ */
.egr.eg-hx-deco{ --ch-grid: var(--gl-line, rgba(255,255,255,.024)); isolation: isolate; overflow: hidden; border-top: 1px solid var(--border); background: var(--bg); }
.egr .eg-eyebrow{ display: inline-flex; align-items: center; gap: 10px; }
.egr .eg-eyebrow::before, .egr .eg-eyebrow::after{ content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.egr .egr-summary{ width: fit-content; margin: -36px auto 44px; padding: 12px 22px; border-radius: 100px;
  border: 1px solid var(--border); background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); gap: 12px; }
html[data-theme="light"] .egr .egr-summary{ background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.egr .egr-score{ font-size: 28px; }
.egr .egr-card{ position: relative; border-radius: 22px; padding: 26px 24px 26px; gap: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); }
html[data-theme="light"] .egr .egr-card{ background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.egr .egr-card::before{ content: "“"; position: absolute; right: 20px; top: 6px; font-size: 76px; line-height: 1; font-weight: 800;
  font-family: Georgia, serif; color: var(--gold); opacity: .18; pointer-events: none; }
.egr .egr-card:hover{ border-color: color-mix(in srgb, var(--gold) 45%, transparent); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
html[data-theme="light"] .egr .egr-card:hover{ box-shadow: 0 20px 44px rgba(15,23,42,.12); }
.egr .egr-ava{ box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 55%, transparent); }
.egr .egr-text{ font-size: 15px; color: var(--muted); }

/* ═══ Фінальний заклик — на фото реального обʼєкта ═══════════════════════ */
.eg-cta--photo{ position: relative; isolation: isolate; overflow: hidden; min-height: 520px; display: grid; place-items: center;
  padding: 110px 24px !important; background: #09090D !important; border: 0 !important; }
.eg-cta-bg{ position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.eg-cta-shade{ position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 50%, rgba(9,9,13,.55), rgba(9,9,13,.88)), linear-gradient(0deg, rgba(9,9,13,.9), rgba(9,9,13,0) 45%); }
.eg-cta-in{ max-width: 760px; text-align: center; }
.eg-cta-kicker{ display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #ffbf2f; border: 1px solid rgba(255,191,47,.45); background: rgba(9,9,13,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eg-cta--photo h2{ color: #F4F4F6 !important; }
.eg-cta--photo p{ color: rgba(244,244,246,.78) !important; font-weight: 400 !important; }
.eg-cta--photo .eg-btn-secondary{ color: #F4F4F6 !important; border-color: rgba(255,255,255,.35) !important; background: rgba(9,9,13,.35) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eg-cta--photo .eg-btn-secondary:hover{ border-color: #ffbf2f !important; }
html[data-theme="light"] .eg-cta-kicker{ color: #7cc0ff; border-color: rgba(41,151,255,.5); }

/* ═══ Адаптив ═══════════════════════════════════════════════════════════ */
/* «Процес» на планшеті/телефоні — вертикальна стрічка з style.css: без карток,
   лінія між вузлами як була (наші десктопні зсуви лінії скасовуємо) */
@media (max-width: 1040px){
  .eg-proc-section .eg-proc-step{ padding: 0 0 34px; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; }
  .eg-proc-section .eg-proc-step:not(:last-child)::after{ top: 86px; left: 36px; width: 3px; height: calc(100% - 86px); }
}
@media (max-width: 980px){
  .eg-hfaq__grid, .eg-hseo__grid{ grid-template-columns: 1fr; }
  .eg-hfaq__photo{ aspect-ratio: 16/10; }
  .eg-proc-section .eg-proc-supply{ flex-direction: column; }
  .eg-proc-supply-img{ flex-basis: auto; height: 220px; min-height: 0; clip-path: polygon(0 0,100% 0,100% 86%,0 100%); }
  .eg-proc-section .eg-proc-supply-text{ padding: 20px 24px 8px; }
  .eg-proc-section .eg-proc-supply-cta{ padding: 0 24px 28px; align-self: flex-start; }
  .eg-hfaq__intro{ position: static; }
  .eg-hblog__grid{ grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .eg-hblog__card.is-big{ grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .eg-hblog__card{ min-height: 260px; }
}
@media (max-width: 600px){
  .eg-hx__head{ flex-direction: column; align-items: flex-start; }
  .eg-hblog__grid{ grid-template-columns: 1fr; }
  .eg-hblog__card.is-big{ min-height: 340px; }
  .eg-hblog__card.is-big .eg-hblog__body{ padding: 22px; }
  .eg-hblog__x{ display: none; }
  .eg-hfaq__item summary{ gap: 12px; padding: 16px; }
  .eg-hfaq__q{ font-size: 15.5px; }
  .eg-hfaq__a{ padding: 0 16px 16px; }
  .eg-hfaq__intro::before{ top: -30px; }
  .eg-hseo__photos{ height: 200px; }
  .eg-cta--photo{ min-height: 440px; padding: 80px 20px !important; }
  .egr .egr-summary{ margin-top: -30px; }
}
@media (prefers-reduced-motion: reduce){
  .eg-hblog__card, .eg-hblog__img img, .eg-hseo__card, .eg-hfaq__item, .eg-hfaq__item summary i, .eg-hfaq__photo img{ transition: none; }
  .eg-hfaq__a{ animation: none; }
}

/* eg-energy-live */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — демо-панель моніторингу (.el-*) і блок «Система в реальному
   часі» (.eg-elive-*) навколо неї.

   Винесено з projects.css 2026-09-30: панель стоїть уже в трьох місцях —
   на сторінці «Кейси», першою карткою в стосі на головній і на сторінці
   «Прорахувати станцію», — і тягнути заради неї весь projects.css скрізь
   немає сенсу. Розмітка — template-parts/energy-live-app.php.
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══ «Система в реальному часі» — демо-панель моніторингу ═══════════════
   template-parts/energy-live.php на сторінці «Кейси». Макет повторює
   застосунок моніторингу зі скріна власника: статус-бар, шапка, вкладки,
   нічна сцена з виносками, «Дані за день», нижнє меню. Темний острів —
   у світлій темі лишається темним (gen_light.py пропускає: SKIP eg-elive). */
.eg-elive{ position:relative; padding:clamp(40px,6vw,78px) 20px; }
.eg-elive__in{
  max-width:1240px; margin:0 auto; display:grid; gap:clamp(28px,4vw,56px);
  grid-template-columns:minmax(0,1fr) minmax(320px,560px); align-items:center;
}
.eg-elive__h{ margin:14px 0 0; font-size:clamp(28px,3.4vw,44px); line-height:1.08; letter-spacing:-.03em; font-weight:700; color:var(--text); }
.eg-elive .eg-elive__sub{ margin:16px 0 0; font-size:16px; line-height:1.7; color:var(--muted); max-width:56ch; }
.eg-elive__list{ list-style:none; margin:26px 0 0; padding:0; display:grid; gap:10px; }
.eg-elive__list li{ display:grid; gap:3px; padding:14px 18px; border-radius:16px; border:1px solid var(--border); background:var(--surface); }
.eg-elive__list b{ font-size:15px; font-weight:650; color:var(--text); }
.eg-elive__list span{ font-size:13.5px; line-height:1.55; color:var(--muted); }
.eg-elive__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }

/* ── картка моніторингу: інтерфейс застосунку (2026-10-06) ──────────────
   Як на скріні застосунку власника: статус-бар, шапка з назвою й погодою,
   адреса, вкладки, «Час оновлення», сцена з підписами по кутах, «Дані за
   день», нижнє меню. Розкладка залежить від ширини самої картки
   (container queries): вузька — вертикальний екран, широка (слайдер на
   головній) — «планшет»: сцена ліворуч, дані праворуч.
   Завжди темна, як застосунок (і в світлій темі сайту). */
.eg-elive__app{ margin:0 auto; display:grid; gap:14px; width:100%; max-width:410px; }
.el-card{
  container-type:inline-size; width:100%; border-radius:30px; overflow:hidden;
  background:#111215; color:#f4f4f6; border:1px solid rgba(255,255,255,.08);
  box-shadow:0 26px 60px rgba(0,0,0,.35);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"DM Sans",sans-serif;
  --el-mut:rgba(235,235,245,.6); --el-tile:#26272b; --el-pill:#2b2c31; --el-acc:#ff8a1f;
}
html[data-theme="light"] .el-card{ box-shadow:0 26px 60px rgba(15,23,42,.18); }
.el-app{ display:grid; grid-template-columns:minmax(0,1fr); height:100%;
  grid-template-areas:"sbar" "head" "addr" "tabs" "upd" "equip" "stage" "day" "nav"; }
.el-sbar{ grid-area:sbar; display:flex; justify-content:space-between; align-items:center; padding:12px 26px 2px; font-size:15px; font-weight:600; }
.el-sbar__t{ font-variant-numeric:tabular-nums; }
.el-sbar__ic{ display:inline-flex; align-items:center; gap:6px; }
.el-sbar__ic svg{ height:11px; width:auto; }
.el-sbar__bat{ padding:0 5px; border-radius:4px; background:#ffd60a; color:#111; font-size:11px; font-weight:800; line-height:15px; }
.el-head{ grid-area:head; display:flex; justify-content:space-between; align-items:center; padding:12px 18px 4px; }
.el-head__name{ display:inline-flex; align-items:center; gap:7px; font-size:19px; font-weight:700; letter-spacing:.01em; }
.el-head__name > i{ width:11px; height:11px; border-radius:50%; background:#30D158; box-shadow:0 0 0 0 rgba(48,209,88,.6); animation:elPulse 2.4s infinite; }
@keyframes elPulse{ 70%{ box-shadow:0 0 0 7px rgba(48,209,88,0) } 100%{ box-shadow:0 0 0 0 rgba(48,209,88,0) } }
.el-head__name svg{ width:16px; height:16px; margin-left:-3px; }
.el-demo{ margin-left:4px; padding:2px 8px; border-radius:100px; font-size:9.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:#ffbf2f; border:1px solid rgba(255,191,47,.45); background:rgba(255,191,47,.12); }
.el-head__wx{ display:inline-flex; align-items:center; gap:7px; font-size:18px; font-weight:500; }
.el-head__wx svg{ width:21px; height:21px; }
.el-head__wx svg:last-child{ margin-left:10px; }
.el-addr{ grid-area:addr; display:flex; justify-content:space-between; gap:10px; padding:4px 18px 0; font-size:12.5px; color:var(--el-mut); }
.el-addr span{ display:inline-flex; align-items:center; gap:6px; min-width:0; }
.el-addr svg{ width:15px; height:15px; flex:none; }
.el-tabs{ grid-area:tabs; display:flex; gap:8px; padding:12px 14px 0; overflow:hidden; }
.el-tabs > *{ flex:1 1 auto; padding:8px 10px; border-radius:100px; background:var(--el-pill); text-align:center; font-size:13px; font-weight:500; white-space:nowrap; color:#e9e9ee; }
.el-tabs b{ background:#4a4b51; font-weight:600; }
.el-upd{ grid-area:upd; padding:10px 14px 0; text-align:center; font-size:11.5px; color:var(--el-mut); font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.el-equip{ grid-area:equip; padding:12px 0 0; text-align:center; font-size:15px; font-weight:500; }
.el-equip svg{ width:9px; height:6px; margin-left:6px; vertical-align:middle; }

/* сцена */
/* небо — CSS (у рендері воно прозоре): майже чорне, графітове, світліше до обрію — як у застосунку */
.el-stage{ grid-area:stage; position:relative; aspect-ratio:1 / .96; overflow:hidden;
  background:linear-gradient(180deg, var(--sky-a, #0c0d10) 0%, var(--sky-b, #1c1e24) 64%, #121318 100%); }
/* денна картинка поверх нічної; прозорість — за часом симуляції (JS: --day, --dim) */
.el-photo--day{ opacity:var(--day, 0); filter:brightness(var(--dim, 1)); transition:opacity .9s linear, filter .9s linear; }
.el-stage::after{ content:""; position:absolute; inset:auto 0 0 0; height:22%; pointer-events:none; background:linear-gradient(transparent,#111215); }
.el-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.el-ov, .el-leads{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.el-leads{ z-index:1; opacity:0; transition:opacity .3s; }
.el-card.is-ready .el-leads{ opacity:1; }
/* світні лінії по кабелях рендера */
.el-c{ fill:none; stroke:none; }
.el-f{ fill:none; stroke:#3ee08a; stroke-width:7; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:6 22; opacity:0; transition:opacity .5s ease; filter:drop-shadow(0 0 8px rgba(62,224,138,.95)); }
.el-f.is-on{ opacity:1; animation:elRun 1.2s linear infinite; }
.el-f.is-on.is-rev{ animation-direction:reverse; }
.el-f[data-flow="grid"]{ stroke:#7eb2ff; filter:drop-shadow(0 0 8px rgba(126,178,255,.9)); }
.el-f[data-flow="pv"]{ stroke:#ffc531; filter:drop-shadow(0 0 8px rgba(255,197,49,.9)); }
@keyframes elRun{ to{ stroke-dashoffset:-56 } }
/* зорі на небі — легкий CSS-шар, гасне донизу */
.el-stars{ position:absolute; inset:0 0 40% 0; pointer-events:none; opacity:calc((1 - var(--day, 0)) * .9); transition:opacity .9s linear;
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 19% 34%, #dfe6ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 27% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 22%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 6%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 52% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 9%, #dfe6ff 50%, transparent 51%), radial-gradient(1px 1px at 69% 27%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 77% 5%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 17%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 31%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 14% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 57% 31%, #dfe6ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 3% 40%, #fff 50%, transparent 51%);
  -webkit-mask-image:linear-gradient(#000 40%, transparent); mask-image:linear-gradient(#000 40%, transparent); }
.el-leads path{ fill:none; stroke:rgba(255,140,60,.85); stroke-width:1.4; stroke-dasharray:2 4; }
.el-lbl{ position:absolute; z-index:2; display:grid; gap:1px; text-shadow:0 2px 10px rgba(0,0,0,.65); }
.el-lbl--tl{ left:16px; top:10px; } .el-lbl--tr{ right:16px; top:10px; text-align:right; }
.el-lbl--bl{ left:16px; bottom:12px; } .el-lbl--br{ right:16px; bottom:12px; text-align:right; }
.el-lbl__t{ font-size:13px; color:rgba(235,235,245,.72); }
.el-lbl__v{ font-size:13px; color:rgba(255,255,255,.9); font-variant-numeric:tabular-nums; }
.el-lbl__v b{ font-size:23px; font-weight:700; color:#fff; margin-right:2px; }
.el-card.is-out [data-lbl="grid"] b{ color:#ff7b70; }
.el-soc{ position:absolute; z-index:2; left:22%; top:58%; transform:translate(-50%,-50%); font-size:17px; font-weight:800; color:#3ee08a;
  text-shadow:0 0 10px rgba(62,224,138,.7); font-variant-numeric:tabular-nums; pointer-events:none; }
.el-alarm{
  position:absolute; z-index:3; left:50%; top:52px; transform:translateX(-50%); white-space:nowrap;
  padding:5px 12px; border-radius:100px; font-size:11px; font-weight:700; letter-spacing:.04em;
  color:#fff; background:rgba(255,69,58,.92); box-shadow:0 6px 18px rgba(255,69,58,.35);
  animation:elAlarm 1.8s ease-in-out infinite;
}
@keyframes elAlarm{ 50%{ opacity:.55 } }

/* дані за день */
.el-day{ grid-area:day; padding:6px 16px 16px; }
.el-day__h{ margin:0 0 12px; font-size:18px; font-weight:700; color:#fff; }
.el-day__grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.el-tile{ padding:16px 10px 14px; border-radius:16px; background:var(--el-tile); display:grid; justify-items:center; gap:6px; text-align:center; }
.el-tile--mode{ grid-column:1 / -1; grid-template-columns:auto 1fr; justify-items:start; align-items:center; text-align:left; column-gap:12px; padding:12px 14px; }
.el-tile--mode .el-tile__ic{ grid-row:span 2; }
.el-tile__ic{ width:44px; height:44px; border-radius:50%; background:#3a3b41; display:grid; place-items:center; color:#fff; }
.el-tile__ic svg{ width:22px; height:22px; }
.el-tile__l{ font-size:13.5px; color:var(--el-mut); }
.el-tile__v{ font-size:13px; color:rgba(255,255,255,.85); }
.el-tile__v b{ font-size:21px; font-weight:700; color:#fff; font-variant-numeric:tabular-nums; }
.el-tile__v b.el-mode{ font-size:15px; }

/* нижнє меню */
.el-nav{ grid-area:nav; display:grid; grid-template-columns:repeat(3,1fr); padding:10px 8px 14px; background:#1b1c20; border-top:1px solid rgba(255,255,255,.05); }
.el-nav span{ display:grid; justify-items:center; gap:4px; font-size:12.5px; color:rgba(235,235,245,.62); }
.el-nav svg{ width:24px; height:24px; }
.el-nav .is-on{ color:var(--el-acc); }

/* ── широка картка (слайдер на головній): «планшетна» розкладка ── */
@container (min-width: 560px){
  .el-app{ grid-template-columns:minmax(0,1fr) 31%; grid-template-rows:auto auto auto minmax(0,1fr) auto;
    grid-template-areas:"sbar sbar" "head head" "tabs upd" "stage day" "nav nav"; }
  .el-addr, .el-equip{ display:none; }
  .el-sbar{ padding:8px 18px 0; font-size:12.5px; }
  .el-head{ padding:6px 16px 0; } .el-head__name{ font-size:16px; } .el-head__wx{ font-size:14px; }
  .el-head__wx svg{ width:17px; height:17px; }
  .el-tabs{ padding:8px 0 6px 14px; gap:6px; } .el-tabs > *{ padding:5px 10px; font-size:11.5px; }
  .el-upd{ padding:8px 14px 6px 8px; align-self:center; text-align:right; font-size:10.5px; }
  .el-stage{ aspect-ratio:auto; min-height:240px; margin:0 0 0 12px; border-radius:16px; }
  .el-stage::after{ display:none; }
  .el-day{ padding:0 12px 10px 10px; display:flex; flex-direction:column; min-height:0; }
  .el-day__h{ font-size:14px; margin-bottom:8px; }
  .el-day__grid{ grid-template-columns:1fr; gap:8px; flex:1; }
  .el-tile{ grid-template-columns:auto 1fr; justify-items:start; align-items:center; text-align:left; column-gap:10px; padding:8px 10px; }
  .el-tile .el-tile__ic{ grid-row:span 2; width:34px; height:34px; } .el-tile__ic svg{ width:17px; height:17px; }
  .el-tile__l{ font-size:11.5px; } .el-tile__v{ font-size:11px; } .el-tile__v b{ font-size:16px; } .el-tile__v b.el-mode{ font-size:12.5px; }
  .el-tile--mode{ grid-column:auto; }
  .el-nav{ padding:6px 8px 8px; margin-top:10px; } .el-nav svg{ width:19px; height:19px; } .el-nav span{ font-size:10.5px; gap:2px; }
  .el-lbl__t{ font-size:12px; } .el-lbl__v b{ font-size:19px; }
}

.eg-elive__cap{ max-width:620px; font-size:12.5px; line-height:1.5; color:var(--muted); text-align:center; }

@media (max-width:1000px){
  .eg-elive__in{ grid-template-columns:1fr; justify-items:center; }
  .eg-elive__txt{ text-align:center; }
  .eg-elive .eg-elive__sub{ margin-left:auto; margin-right:auto; }
  .eg-elive__list{ text-align:left; }
  .eg-elive__cta{ justify-content:center; }
  .eg-elive__app{ order:-1; }
}
@media (prefers-reduced-motion:reduce){
  .el-head__name > i,.el-alarm,.el-f.is-on{ animation:none; }
}

/* eg-catalog-visual */
/* ═══ Каталог обладнання — «бенто» (template-parts/catalog-categories.php) ═══ */
.eg-visual-catalog{max-width:1240px;margin:0 auto;padding:72px 0;color:var(--text)}
.eg-visual-catalog__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.eg-visual-catalog__heading h2{font-size:clamp(28px,3.2vw,42px);line-height:1.12;letter-spacing:-.02em;margin:10px 0 0;color:var(--text)}
.eg-visual-catalog__sub{margin:12px 0 0;max-width:56ch;font-size:16px;line-height:1.6;color:var(--muted)}
.eg-visual-catalog__heading .eg-btn-secondary{flex-shrink:0}

.eg-visual-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}

/* ═══ Головна: секція каталогу на всю ширину ═══════════════════════════
   Продовження шапки: той самий фон var(--bg) і та сама сітка 64px, що в
   .h__grid, без межі між секціями. Фото шапки — праворуч, тут — ліворуч,
   шеврон дивиться вправо (дзеркально до .h__media). Зверху золота «жила»:
   імпульс біжить справа наліво — від фото шапки до фото каталогу.
   Кольори — через --ch-*, світла тема перевизначає лише їх. */
.eg-cat-hero{
  --ch-tx:#F4F4F6; --ch-mt:rgba(244,244,246,.62); --ch-mt2:rgba(244,244,246,.58);
  --ch-gold:#ffbf2f; --ch-fade:9,9,13; --ch-line:rgba(255,255,255,.08);
  --ch-card:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); --ch-card-bd:rgba(255,255,255,.08);
  --ch-card-h:linear-gradient(135deg,rgba(255,191,47,.10),rgba(255,191,47,.02)); --ch-shadow:none; --ch-shadow-h:0 18px 40px rgba(0,0,0,.35);
  --ch-grid:var(--gl-line,rgba(255,255,255,.024));
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);
  min-height:600px;--ch-glass:rgba(19,19,31,.78);--ch-glass-sh:0 18px 50px rgba(0,0,0,.5);background:var(--bg,#09090D);color:var(--ch-tx)}
.eg-cat-hero__deco{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(38% 55% at 88% 0%,rgba(255,191,47,.10),transparent 70%),
             radial-gradient(45% 60% at 100% 100%,rgba(27,79,196,.12),transparent 70%),
             linear-gradient(var(--ch-grid) 1px,transparent 1px) 0 0/64px 64px,
             linear-gradient(90deg,var(--ch-grid) 1px,transparent 1px) 0 0/64px 64px}
/* Плашка на стику з шапкою: скло із золотою рамкою, наполовину заходить
   у шапку (translateY(-50%)). Шапка має запас знизу під неї — див.
   .h--bare .h__hero-main у banner-home.css. */
.eg-cat-bridge{position:absolute;top:0;left:50%;z-index:5;transform:translate(-50%,-50%);
  display:flex;align-items:center;gap:16px;width:min(1160px,calc(100% - 32px));padding:10px 22px 10px 10px;border-radius:100px;
  background:var(--ch-glass);border:1px solid rgba(255,191,47,.38);
  box-shadow:var(--ch-glass-sh),inset 0 1px 0 rgba(255,255,255,.06);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.eg-cat-bridge::before{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;padding:1px;
  background:linear-gradient(90deg,rgba(255,191,47,0) 0%,rgba(255,208,96,.9) 50%,rgba(255,191,47,0) 100%) 0 0/200% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:egBridge 6s linear infinite}
@keyframes egBridge{0%{background-position:200% 0}100%{background-position:-200% 0}}
.eg-cat-bridge__ico{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#ffd060,#ffbf2f 55%,#f0b800);color:#09090D;box-shadow:0 0 22px rgba(255,191,47,.35)}
.eg-cat-bridge__ico svg{width:20px;height:20px}
.eg-cat-bridge__l{flex-shrink:0;font-size:10px;font-weight:700;letter-spacing:.16em;line-height:1.5;text-transform:uppercase;color:var(--ch-mt2);
  padding-right:18px;border-right:1px solid var(--ch-line)}
/* ── бігучий рядок логотипів ── */
/* невеликі поля зверху/знизу — щоб логотип із масштабом >1 не обрізався */
.eg-cat-bridge__marquee{position:relative;flex:1 1 320px;min-width:0;overflow:hidden;padding:7px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.eg-cat-bridge__track{display:flex;width:max-content;animation:egBrandRun var(--eg-mq,30s) linear infinite}
.eg-cat-bridge:hover .eg-cat-bridge__track,.eg-cat-bridge__track:focus-within{animation-play-state:paused}
@keyframes egBrandRun{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.eg-cat-bridge__list{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none}
.eg-cat-bridge__list li{flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  width:var(--eg-logo-w,118px);height:var(--eg-logo-h,30px);margin:0 14px}
.eg-cat-bridge__list a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;text-decoration:none;color:inherit}
.eg-cat-bridge__list a:focus-visible{outline:2px solid #ffbf2f;outline-offset:6px;border-radius:8px}
/* усі логотипи в однаковій рамці */
.eg-cat-bridge__logo{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transition:opacity .2s,filter .2s,transform .2s}
/* монохром (типово): білі в темній темі, чорні у світлій */
.eg-cat-bridge__logo.is-auto{filter:grayscale(1) brightness(0) invert(1);opacity:.88}
html[data-theme="light"] .eg-cat-bridge__logo.is-auto{filter:grayscale(1) brightness(0);opacity:.78}
.eg-cat-bridge__logo.is-color{opacity:.95}
/* пара файлів під тему: кольори лишаються фірмовими, а темний текст у
   логотипі підмінений на білий у варіанті for-dark (готує скрипт, посилання
   в метаполі _eg_logo_dark оригіналу) */
.eg-cat-bridge__logo.for-light{display:none}
.eg-cat-bridge__logo.for-dark{display:block}
html[data-theme="light"] .eg-cat-bridge__logo.for-light{display:block}
html[data-theme="light"] .eg-cat-bridge__logo.for-dark{display:none}
/* оптичне вирівняння окремих логотипів (поле «Масштаб» у налаштуваннях) */
.eg-cat-bridge__list li{--eg-logo-s:1}
.eg-cat-bridge__logo{transform:scale(var(--eg-logo-s,1))}
.eg-cat-bridge__list a:hover .eg-cat-bridge__logo{transform:scale(var(--eg-logo-s,1)) translateY(-1px)}
.eg-cat-bridge__list a:hover .eg-cat-bridge__logo{opacity:1}
.eg-cat-bridge__logo.is-light{filter:none}
html[data-theme="light"] .eg-cat-bridge__logo.is-light{filter:invert(1) brightness(.25) contrast(1.2)}
/* «темний логотип»: invert перевертає яскравість, а hue-rotate(180) повертає
   відтінок — чорний текст стає білим, а фірмовий колір лишається собою
   (просто invert робив із червоного блакитний) */
.eg-cat-bridge__logo.is-dark{filter:invert(1) hue-rotate(180deg)}
html[data-theme="light"] .eg-cat-bridge__logo.is-dark{filter:none}
.eg-cat-bridge__name{font-size:15px;font-weight:700;letter-spacing:.02em;color:var(--ch-tx);white-space:nowrap}
.eg-cat-bridge__list a:hover .eg-cat-bridge__name{color:var(--ch-gold)}

.eg-cat-hero__media{position:relative;min-height:100%;
  background:linear-gradient(200deg,#ffbf2f 0%,#f0b800 55%,rgba(255,191,47,.5) 100%);
  clip-path:polygon(0 0,86% 0,100% 50%,86% 100%,0 100%)}
.eg-cat-hero__media-in,.eg-cat-hero__scrim{position:absolute;inset:0;clip-path:polygon(0 0,85.1% 0,99.1% 50%,85.1% 100%,0 100%)}
.eg-cat-hero__media-in{background:var(--bg,#09090D)}
.eg-cat-hero__media-in img{width:100%;height:100%;object-fit:cover;object-position:30% 50%;display:block;transform:scale(1.02);transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.eg-cat-hero:hover .eg-cat-hero__media-in img{transform:scale(1.05)}
.eg-cat-hero__scrim{pointer-events:none;background:linear-gradient(270deg,rgba(var(--ch-fade),.7) 0%,rgba(var(--ch-fade),.1) 30%,rgba(var(--ch-fade),0) 55%),linear-gradient(0deg,rgba(9,9,13,.45) 0%,transparent 35%)}
.eg-cat-hero__badge{position:absolute;left:max(24px,calc((100vw - 1240px)/2));bottom:28px;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:#ffbf2f;padding:7px 13px;border-radius:100px;border:1px solid rgba(255,191,47,.45);background:rgba(9,9,13,.55);backdrop-filter:blur(8px)}

.eg-cat-hero__main{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-start;gap:14px;
  padding:80px max(clamp(20px,3vw,40px),calc((100vw - 1240px)/2)) 72px clamp(28px,4vw,64px)}
.eg-cat-hero__kicker{position:relative;display:inline-flex;align-items:center;gap:12px;align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--ch-gold)}
.eg-cat-hero__h{margin:0;font-size:clamp(30px,3.4vw,46px);line-height:1.08;letter-spacing:-.025em;font-weight:700;color:var(--ch-tx)}
.eg-cat-hero__p{margin:0 0 8px;font-size:16px;line-height:1.65;color:var(--ch-mt);max-width:56ch}

/* Три категорії без карток: товар «стоїть» на золотому подіумі просто на
   тлі секції, за ним великий контурний номер, під ним назва й кількість. */
.eg-cat-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:14px}
.eg-cat-row{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 14px 6px;
  text-decoration:none;color:var(--ch-tx)}
.eg-cat-row+.eg-cat-row::before{content:"";position:absolute;left:0;top:12%;bottom:6%;width:1px;
  background:linear-gradient(180deg,transparent,var(--ch-line) 30%,var(--ch-line) 70%,transparent)}
.eg-cat-row:hover{color:var(--ch-tx)}
.eg-cat-row:focus-visible{outline:2px solid #ffbf2f;outline-offset:4px;border-radius:16px}
.eg-cat-row__img{position:relative;width:100%;height:240px;display:flex;align-items:flex-end;justify-content:center;padding:18px 10% 34px}
/* подіум: світлий еліпс-підлога + тонке золоте кільце */
.eg-cat-row__img::before{content:"";position:absolute;left:12%;right:12%;bottom:12px;height:44px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,191,47,.28),rgba(255,191,47,.06) 70%,transparent);
  box-shadow:inset 0 0 0 1px rgba(255,191,47,.22);transition:background .35s,box-shadow .35s}
.eg-cat-row__img::after{content:"";position:absolute;left:50%;bottom:30px;width:70%;height:70%;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,191,47,.14),transparent);opacity:.6;transition:opacity .35s;pointer-events:none}
.eg-cat-row__img img{position:relative;z-index:1;display:block;width:auto;height:var(--cat-img-h,170px);max-width:100%;object-fit:contain;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.55));transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.eg-cat-row:hover .eg-cat-row__img img{transform:translateY(-10px)}
.eg-cat-row:hover .eg-cat-row__img::before{background:radial-gradient(closest-side,rgba(255,191,47,.45),rgba(255,191,47,.1) 70%,transparent);box-shadow:inset 0 0 0 1px rgba(255,191,47,.5)}
.eg-cat-row:hover .eg-cat-row__img::after{opacity:1}
.eg-cat-row__no{position:absolute;left:8%;top:0;z-index:0;font-size:72px;font-weight:800;line-height:1;letter-spacing:-.04em;
  color:transparent;-webkit-text-stroke:1px rgba(255,191,47,.28);font-variant-numeric:tabular-nums;transition:-webkit-text-stroke-color .3s}
.eg-cat-row:hover .eg-cat-row__no{-webkit-text-stroke-color:rgba(255,191,47,.6)}
.eg-cat-row__name{display:inline-flex;align-items:center;gap:10px;margin-top:4px;font-size:19px;font-weight:700;line-height:1.25;letter-spacing:-.015em}
.eg-cat-row__go{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,191,47,.5);color:var(--ch-gold);
  transition:transform .25s,background .25s,color .25s}
.eg-cat-row__go svg{width:13px;height:13px}
.eg-cat-row:hover .eg-cat-row__go{background:#ffbf2f;color:#09090D;transform:rotate(45deg)}
.eg-cat-row__meta{font-size:12.5px;color:var(--ch-mt2)}
.eg-cat-row__meta b{color:var(--ch-gold);font-weight:700}
.eg-cat-mini{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;padding:12px 16px;border-radius:14px;border:1px dashed var(--ch-card-bd);
  font-size:13px;color:var(--ch-mt2);text-decoration:none;transition:border-color .2s}
.eg-cat-mini b{color:var(--ch-tx)}
.eg-cat-mini span{margin-left:auto;font-weight:700;color:var(--ch-gold)}
.eg-cat-mini:hover{border-color:rgba(255,191,47,.5);color:var(--ch-mt)}
.eg-cat-hero__ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:10px}
.eg-cat-hero__link{font-size:14px;font-weight:600;color:var(--ch-gold);text-decoration:none}
.eg-cat-hero__link:hover{color:var(--ch-gold);text-decoration:underline}
.eg-cat-hero__brands{margin-top:8px;padding-top:16px;border-top:1px solid var(--ch-line);font-size:13px;font-weight:600;letter-spacing:.05em;color:var(--ch-mt)}
.eg-cat-hero__brands span{display:block;margin-bottom:4px;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--ch-mt2)}

/* Світла тема: ті самі змінні, що й у шапки (--bg #F5F6FA, --gl-line) */
html[data-theme="light"] .eg-cat-hero,html[data-theme="light"] .eg-prj{
  --ch-tx:#14151C; --ch-mt:rgba(20,21,28,.66); --ch-mt2:rgba(20,21,28,.5);
  --ch-gold:#0066CC; --ch-fade:245,246,250; --ch-line:rgba(15,23,42,.10);
  --ch-card:#FFFFFF; --ch-card-bd:rgba(15,23,42,.09);
  --ch-card-h:linear-gradient(135deg,#FFFFFF,#F0F7FF); --ch-shadow:0 8px 24px rgba(15,23,42,.06); --ch-shadow-h:0 18px 40px rgba(15,23,42,.12);
  --ch-glass:rgba(255,255,255,.88); --ch-glass-sh:0 18px 44px rgba(15,23,42,.14);
}
html[data-theme="light"] .eg-cat-hero__deco{opacity:.9}
html[data-theme="light"] .eg-prj__scrim{background:linear-gradient(90deg,rgba(245,246,250,.85) 0%,rgba(245,246,250,.2) 26%,rgba(245,246,250,0) 50%)}
html[data-theme="light"] .eg-cat-hero__scrim{background:linear-gradient(270deg,rgba(245,246,250,.85) 0%,rgba(245,246,250,.2) 26%,rgba(245,246,250,0) 50%)}
html[data-theme="light"] .eg-cat-row__img img{filter:drop-shadow(0 16px 18px rgba(15,23,42,.22))}
html[data-theme="light"] .eg-cat-row__img::before{background:radial-gradient(closest-side,rgba(0,113,227,.22),rgba(0,113,227,.06) 70%,transparent);box-shadow:inset 0 0 0 1px rgba(0,102,204,.22)}
html[data-theme="light"] .eg-cat-row__no{-webkit-text-stroke-color:rgba(0,102,204,.3)}

@media(max-width:1180px){.eg-cat-hero{grid-template-columns:minmax(0,36%) minmax(0,1fr)}.eg-cat-row__img{height:210px;--cat-img-h:145px}.eg-cat-row__no{font-size:56px}.eg-cat-row__meta span{display:none}}
@media(max-width:900px){
  .eg-cat-hero{grid-template-columns:1fr;min-height:0}
  .eg-cat-hero__media{min-height:clamp(220px,52vw,340px);clip-path:polygon(0 0,100% 0,100% 86%,50% 100%,0 86%)}
  .eg-cat-hero__media-in,.eg-cat-hero__scrim{clip-path:polygon(0 0,100% 0,100% 85.2%,50% 99.2%,0 85.2%)}
  .eg-cat-hero__scrim,html[data-theme="light"] .eg-cat-hero__scrim{background:linear-gradient(0deg,rgba(9,9,13,.4) 0%,transparent 40%)}
  .eg-cat-hero__badge{left:20px;bottom:auto;top:18px}
  .eg-cat-bridge{left:12px;right:12px;width:auto;max-width:none;transform:translateY(-50%);border-radius:100px;padding:8px 14px 8px 8px;gap:10px}
  .eg-cat-bridge__l{display:none}
  .eg-cat-bridge__ico{width:36px;height:36px}
  .eg-cat-bridge__ico svg{width:17px;height:17px}
  .eg-cat-bridge__list li{--eg-logo-w:86px;--eg-logo-h:22px;margin:0 9px}
  .eg-cat-hero__main{padding:28px clamp(20px,5vw,40px) 52px}
  .eg-cat-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .eg-cat-row{padding:0 6px 4px}
  .eg-cat-row__img{height:140px;padding:10px 6% 24px;--cat-img-h:88px}
  .eg-cat-row__img::before{bottom:8px;height:28px}
  .eg-cat-row__no{font-size:40px;left:2%}
  .eg-cat-row__name{flex-direction:column;gap:6px;font-size:14px}
  .eg-cat-row__go{display:none}
  .eg-cat-row__meta{font-size:11.5px}
  .eg-cat-hero__ctas .btn-p,.eg-cat-hero__ctas .btn-s{flex:1 1 100%;justify-content:center}
  .eg-cat-hero__ctas{justify-content:center}
}
@media(prefers-reduced-motion:reduce){.eg-cat-bridge::before,.eg-cat-bridge__track{animation:none}.eg-cat-bridge__marquee{overflow-x:auto}.eg-cat-hero__media-in img,.eg-cat-row,.eg-cat-row__go,.eg-cat-row__img img{transition:none}}

/* Картка категорії: «студійна» світла підкладка під товар + темне тіло */
.eg-visual-cat{position:relative;display:flex;flex-direction:column;border:1px solid var(--border);background:var(--surface);border-radius:20px;overflow:hidden;
  text-decoration:none;color:var(--text);min-width:0;transition:border-color .25s,transform .25s,box-shadow .25s}
.eg-visual-cat::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,191,47,.5),transparent 40%,transparent 70%,rgba(255,191,47,.25));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:1px;opacity:0;transition:opacity .25s}
.eg-visual-cat:hover{transform:translateY(-4px);border-color:transparent;box-shadow:0 22px 50px rgba(0,0,0,.35)}
.eg-visual-cat:hover::after{opacity:1}
.eg-visual-cat:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.eg-visual-cat__image{position:relative;height:200px;overflow:hidden;padding:22px;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(90% 80% at 50% 38%,#ffffff 0%,#f1f2f5 55%,#dfe2e8 100%)}
.eg-visual-cat__image::after{content:"";position:absolute;left:22%;right:22%;bottom:14px;height:14px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(15,23,42,.28),transparent);filter:blur(2px)}
.eg-visual-cat__image img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.eg-visual-cat:hover .eg-visual-cat__image img{transform:translateY(-6px) scale(1.04)}
.eg-visual-cat[data-category="akumuliatory"] .eg-visual-cat__image img,.eg-visual-cat[data-category="merezhhevi-invertory"] .eg-visual-cat__image img{transform:scale(1.5)}
.eg-visual-cat[data-category="akumuliatory"]:hover .eg-visual-cat__image img,.eg-visual-cat[data-category="merezhhevi-invertory"]:hover .eg-visual-cat__image img{transform:translateY(-6px) scale(1.56)}
.eg-visual-cat__no{position:absolute;left:16px;top:14px;z-index:2;font-size:12px;font-weight:700;letter-spacing:.12em;color:rgba(20,21,28,.4);font-variant-numeric:tabular-nums}
.eg-visual-cat__go{position:absolute;right:14px;top:14px;z-index:2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:#14151C;color:#ffbf2f;transition:transform .25s,background .25s,color .25s}
.eg-visual-cat__go svg{width:16px;height:16px}
.eg-visual-cat:hover .eg-visual-cat__go{background:#ffbf2f;color:#09090D;transform:rotate(45deg)}
.eg-visual-cat__body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.eg-visual-cat__body h3{font-size:18px;line-height:1.3;letter-spacing:-.01em;color:var(--text);margin:0 0 8px}
.eg-visual-cat__body p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.eg-visual-cat__meta{margin-top:auto;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px}
.eg-visual-cat__count{font-size:12px;font-weight:700;color:var(--gold)}
.eg-visual-cat__brands{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* Порожня категорія — вузька смуга «під замовлення» на всю ширину */
.eg-visual-strip{grid-column:1/-1;display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;padding:18px 24px;border:1px dashed var(--border);border-radius:16px;
  text-decoration:none;color:var(--text);transition:border-color .2s,background .2s}
.eg-visual-strip:hover{border-color:rgba(255,191,47,.5);background:rgba(255,191,47,.04)}
.eg-visual-strip__name{font-size:16px;font-weight:700}
.eg-visual-strip__desc{flex:1;min-width:200px;font-size:14px;color:var(--muted)}
.eg-visual-strip__tag{font-size:13px;font-weight:700;color:var(--gold)}

.eg-visual-catalog--shop{padding:0 0 36px;max-width:none}
.eg-visual-catalog--shop .eg-visual-cats{grid-template-columns:repeat(3,minmax(0,1fr))}
.eg-category-focus{display:flex;align-items:center;gap:28px;margin:0 0 32px;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.eg-category-focus>img{width:150px;height:160px;object-fit:contain;background:#f3f4f5;border-radius:10px;padding:10px}
.eg-category-focus span{font-size:12px;color:var(--muted)}
.eg-category-focus h2{color:var(--text);font-size:26px;margin:10px 0 16px}
.eg-category-focus a{color:var(--gold)}
.eg-catalog-empty{padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface);margin:0 0 36px}
.eg-catalog-empty h2{font-size:22px;color:var(--text);margin:0 0 12px}
.eg-catalog-empty p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 22px;max-width:620px}
@media(max-width:1320px){.eg-visual-catalog:not(.eg-visual-catalog--shop){margin:0 40px}}
@media(max-width:1100px){
  .eg-visual-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eg-visual-catalog--shop .eg-visual-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){.eg-visual-catalog__heading{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){
  .eg-visual-catalog:not(.eg-visual-catalog--shop){margin:0 16px;padding:44px 0}
  .eg-visual-cats{gap:12px}
  .eg-visual-cat__image{height:150px;padding:14px}
  .eg-visual-cat__body{padding:14px 13px 16px}
  .eg-visual-cat__body h3{font-size:15px}
  .eg-visual-cat__body p{display:none}
  .eg-visual-cat__go{width:28px;height:28px;right:10px;top:10px}
  .eg-visual-cat__no{left:12px;top:11px}
  .eg-visual-cat__brands{display:none}
  .eg-visual-strip{padding:16px 18px}
  .eg-category-focus{gap:16px;padding:18px}.eg-category-focus>img{width:100px;height:130px}.eg-category-focus h2{font-size:21px}
}
@media(max-width:360px){.eg-visual-cats,.eg-visual-catalog--shop .eg-visual-cats{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.eg-visual-cat,.eg-visual-cat__image img,.eg-visual-cat__go{transition:none}.eg-visual-cat:hover{transform:none}}

/* ═══ Реалізовані обʼєкти на головній (template-parts/projects-slider.php) ═══
   Той самий стиль, що й каталог; фото праворуч, шеврон дивиться вліво. */
.eg-prj{
  --ch-tx:#F4F4F6; --ch-mt:rgba(244,244,246,.62); --ch-mt2:rgba(244,244,246,.58);
  --ch-gold:#ffbf2f; --ch-fade:9,9,13; --ch-line:rgba(255,255,255,.08);
  --ch-card:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); --ch-card-bd:rgba(255,255,255,.08);
  --ch-card-h:linear-gradient(135deg,rgba(255,191,47,.10),rgba(255,191,47,.02)); --ch-shadow:none; --ch-shadow-h:0 18px 40px rgba(0,0,0,.35);
  --ch-grid:var(--gl-line,rgba(255,255,255,.024));
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);
  min-height:600px;background:var(--bg,#09090D);color:var(--ch-tx)}
.eg-prj .eg-cat-hero__h{font-size:clamp(26px,2.8vw,38px)}
.eg-prj__main::before{font-size:clamp(80px,9vw,140px)!important}
.eg-prj__main{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:12px;
  padding:64px clamp(20px,2.4vw,40px) 64px max(clamp(20px,3vw,40px),calc((100vw - 1240px)/2))}
/* вкладки — сегментований перемикач */
.eg-prj__tabs{display:inline-flex;flex-wrap:wrap;align-self:flex-start;gap:4px;margin:8px 0 6px;padding:5px;border-radius:100px;
  background:var(--ch-card);border:1px solid var(--ch-card-bd);box-shadow:var(--ch-shadow)}
.eg-prj__tab{display:inline-flex;align-items:center;gap:7px;padding:8px 14px!important;border-radius:100px;border:0;
  background:transparent;color:var(--ch-mt);font:600 12.5px/1 var(--font,'DM Sans',sans-serif);cursor:pointer;transition:color .2s,background .25s,box-shadow .25s}
.eg-prj__tab span{font-size:11px;font-weight:700;min-width:20px;padding:3px 6px;border-radius:100px;background:var(--ch-card-bd);color:var(--ch-mt2);text-align:center}
.eg-prj__tab:hover{color:var(--ch-tx);background:transparent}
.eg-prj__tab.is-on{color:#09090D;background:linear-gradient(135deg,#ffd060,#ffbf2f 55%,#f0b800);box-shadow:0 6px 18px rgba(255,191,47,.3)}
.eg-prj__tab.is-on span{background:rgba(9,9,13,.16);color:#09090D}
.eg-prj__tab:focus-visible{outline:2px solid #ffbf2f;outline-offset:2px}

/* список-таймлайн: мініатюра з номером, тонка лінія між ними, активний розгортається */
.eg-prj__list{position:relative;list-style:none;margin:4px 0 2px;padding:0;display:flex;flex-direction:column;gap:2px}
.eg-prj__list::before{content:"";position:absolute;left:33px;top:24px;bottom:24px;width:1px;
  background:linear-gradient(180deg,rgba(255,191,47,.45),var(--ch-line) 40%,var(--ch-line) 70%,transparent)}
.eg-prj__item[hidden]{display:none}
.eg-prj__row{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:start;gap:14px;padding:9px 12px 9px 8px;
  border-radius:16px;border:1px solid transparent;text-decoration:none;color:var(--ch-tx);transition:background .3s,border-color .3s,box-shadow .3s}
.eg-prj__row:hover{background:rgba(255,191,47,.04);color:var(--ch-tx)}
.eg-prj__row.is-on{background:var(--ch-card);border-color:var(--ch-card-bd);box-shadow:var(--ch-shadow)}
.eg-prj__row:focus-visible{outline:2px solid #ffbf2f;outline-offset:2px}
.eg-prj__thumb{position:relative;z-index:1;width:52px;height:52px;border-radius:13px;background:var(--bg,#09090D);
  box-shadow:0 0 0 1px var(--ch-line);transition:box-shadow .3s}
.eg-prj__thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;filter:saturate(.8) brightness(.9);transition:filter .3s}
.eg-prj__row:hover .eg-prj__thumb img,.eg-prj__row.is-on .eg-prj__thumb img{filter:none}
.eg-prj__row.is-on .eg-prj__thumb{box-shadow:0 0 0 2px #ffbf2f,0 6px 16px rgba(255,191,47,.28)}
.eg-prj__idx{position:absolute;right:-7px;bottom:-6px;min-width:22px;height:20px;padding:0 5px;border-radius:100px;display:grid;place-items:center;
  font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--ch-mt);background:var(--bg,#09090D);box-shadow:0 0 0 1px var(--ch-line);
  transition:color .3s,background .3s,box-shadow .3s}
.eg-prj__row.is-on .eg-prj__idx{color:#09090D;background:linear-gradient(135deg,#ffd060,#ffbf2f 55%,#f0b800);box-shadow:0 2px 8px rgba(255,191,47,.4)}
.eg-prj__tx{display:flex;flex-direction:column;gap:2px;min-width:0;padding-top:1px}
.eg-prj__case{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--ch-gold);font-variant-numeric:tabular-nums}
.eg-prj__name{font-size:15px;font-weight:700;line-height:1.3;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.eg-prj__row.is-on .eg-prj__name{font-size:16px;-webkit-line-clamp:2}
.eg-prj__meta{font-size:12px;color:var(--ch-mt2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eg-prj__more{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-height:0;opacity:0;overflow:hidden;
  transition:max-height .45s cubic-bezier(.2,.7,.2,1),opacity .35s,margin .35s}
.eg-prj__row.is-on .eg-prj__more{max-height:80px;opacity:1;margin-top:6px}
.eg-prj__chip{font-size:11.5px;padding:3px 9px;border-radius:100px;background:var(--ch-card-bd);color:var(--ch-mt)}
.eg-prj__chip b{font-weight:700;color:var(--ch-gold)}
.eg-prj__link{font-size:12px;font-weight:700;color:var(--ch-gold);margin-left:2px}
.eg-prj__go{align-self:center;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,191,47,.4);color:var(--ch-gold);
  opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s,background .25s,color .25s}
.eg-prj__go svg{width:13px;height:13px}
.eg-prj__row.is-on .eg-prj__go,.eg-prj__row:hover .eg-prj__go{opacity:1;transform:none}
.eg-prj__row:hover .eg-prj__go{background:#ffbf2f;color:#09090D}
/* таймер автозміни в активному рядку */
.eg-prj__bar{position:absolute;left:74px;right:14px;bottom:6px;height:2px;border-radius:2px;background:var(--ch-card-bd);overflow:hidden;opacity:0;transition:opacity .25s}
.eg-prj__bar::after{content:"";position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#f0b800,#ffd060)}
.eg-prj__row.is-on .eg-prj__bar{opacity:1}
.eg-prj__row.is-on .eg-prj__bar::after{animation:egPrjBar 5.5s linear forwards}
.eg-prj.is-paused .eg-prj__row.is-on .eg-prj__bar::after{animation-play-state:paused}
@keyframes egPrjBar{to{transform:scaleX(1)}}
.eg-prj__row.is-on /* великий контурний напис за списком — у тон номерам каталогу */
.eg-prj__main::before{content:"CASES";position:absolute;z-index:-1;top:34px;left:max(clamp(20px,3vw,40px),calc((100vw - 1240px)/2));
  font-size:clamp(90px,11vw,170px);font-weight:800;line-height:1;letter-spacing:-.03em;color:transparent;
  -webkit-text-stroke:1px rgba(255,191,47,.12);pointer-events:none;user-select:none}
html[data-theme="light"] .eg-prj__main::before{-webkit-text-stroke-color:rgba(0,102,204,.14)}
/* лічильник і стрілки на фото */
.eg-prj__nav{position:absolute;z-index:4;top:26px;right:max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;gap:6px;padding:6px;border-radius:100px;
  background:rgba(9,9,13,.55);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.eg-prj__btn{width:36px;height:36px;padding:0!important;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#F4F4F6;cursor:pointer;transition:background .2s,color .2s}
.eg-prj__btn svg{width:17px;height:17px}
.eg-prj__btn:hover{background:#ffbf2f;color:#09090D}
.eg-prj__btn:focus-visible{outline:2px solid #ffbf2f;outline-offset:2px}
.eg-prj__count{display:flex;align-items:baseline;gap:4px;padding:0 6px;font-variant-numeric:tabular-nums;color:rgba(244,244,246,.55);font-size:13px}
.eg-prj__count b{font-size:18px;font-weight:800;color:#F4F4F6}
.eg-prj__count i{font-style:normal}
.eg-prj.is-empty .eg-prj__nav{display:none}
.eg-prj__empty{margin:0;padding:18px 20px;border-radius:16px;border:1px dashed var(--ch-card-bd);font-size:14px;color:var(--ch-mt)}

/* фото: батько — золота грань, дитина вужча; шеврон вліво, як у шапці */
.eg-prj__media{position:relative;min-height:100%;
  background:linear-gradient(160deg,#ffbf2f 0%,#f0b800 55%,rgba(255,191,47,.5) 100%);
  clip-path:polygon(14% 0,100% 0,100% 100%,14% 100%,0 50%)}
.eg-prj__media-in,.eg-prj__scrim{position:absolute;inset:0;clip-path:polygon(14.9% 0,100% 0,100% 100%,14.9% 100%,.9% 50%)}
.eg-prj__media-in{background:var(--bg,#09090D)}
.eg-prj__slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .8s ease}
.eg-prj__slide.is-on{opacity:1;z-index:1}
.eg-prj__slide img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.06);transition:transform 6s ease-out}
.eg-prj__slide.is-on img{transform:scale(1)}
.eg-prj__scrim{z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(var(--ch-fade),.75) 0%,rgba(var(--ch-fade),.1) 28%,rgba(var(--ch-fade),0) 50%)}
.eg-prj__cap{position:absolute;z-index:3;left:20%;right:max(24px,calc((100vw - 1240px)/2));bottom:28px;display:flex;flex-direction:column;gap:8px;
  padding:18px 20px;border-radius:18px;background:rgba(9,9,13,.62);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#F4F4F6;
  transform:translateY(10px);opacity:0;transition:opacity .5s .15s,transform .5s .15s}
.eg-prj__slide.is-on .eg-prj__cap{opacity:1;transform:none}
.eg-prj__cap-case{font-size:10px;font-weight:700;letter-spacing:.18em;color:#ffbf2f}
.eg-prj__cap-t{font-size:17px;font-weight:700;line-height:1.3;color:#F4F4F6;text-decoration:none}
.eg-prj__cap-t:hover{color:#ffd060}
.eg-prj__chips{display:flex;flex-wrap:wrap;gap:6px}
.eg-prj__chips span{font-size:12px;padding:4px 10px;border-radius:100px;background:rgba(255,255,255,.08);color:rgba(244,244,246,.85)}
.eg-prj__chips b{font-weight:700;color:#ffbf2f}

@media(max-width:1180px){.eg-prj{grid-template-columns:minmax(0,46%) minmax(0,1fr)}.eg-prj__cap{left:18%}}
@media(max-width:900px){
  .eg-prj{grid-template-columns:1fr;min-height:0}
  .eg-prj__media{order:-1;min-height:clamp(260px,62vw,420px);clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%)}
  .eg-prj__media-in,.eg-prj__scrim{clip-path:polygon(0 0,100% 0,100% 87.2%,50% 99.2%,0 87.2%)}
  .eg-prj__scrim,html[data-theme="light"] .eg-prj__scrim{background:linear-gradient(0deg,rgba(9,9,13,.45) 0%,transparent 45%)}
  .eg-prj__cap{left:16px;right:16px;bottom:44px;padding:14px 16px}
  .eg-prj__main{padding:28px clamp(20px,5vw,40px) 52px}
  .eg-prj__main::before{top:14px;left:clamp(20px,5vw,40px)}
  .eg-prj__nav{top:16px;right:16px}
}
@media(max-width:600px){
  .eg-prj__cap-t{font-size:15px}
  .eg-prj__chips{display:none}
  .eg-prj__row{grid-template-columns:52px minmax(0,1fr) auto;gap:12px}
    .eg-prj__name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}
@media(prefers-reduced-motion:reduce){.eg-prj__row.is-on .eg-prj__bar::after{animation:none}.eg-prj__bar{display:none}.eg-prj__slide,.eg-prj__slide img,.eg-prj__cap,.eg-prj__row,.eg-prj__go,.eg-prj__more,.eg-prj__idx,.eg-prj__thumb,.eg-prj__thumb img{transition:none}.eg-prj__slide img{transform:none}}

/* ═══ Варіант «deck»: стос фотокарток ═════════════════════════════════════ */
.eg-prj--deck .eg-prj__media{background:none;clip-path:none;display:flex;align-items:center;justify-content:center;
  padding:70px max(32px,calc((100vw - 1240px)/2)) 70px 24px}
.eg-prj--deck .eg-prj__scrim{display:none}
.eg-prj--deck .eg-prj__media-in{position:relative;inset:auto;clip-path:none;background:none;width:100%;max-width:700px;aspect-ratio:4/3.1}
.eg-prj--deck .eg-prj__slide{border-radius:24px;overflow:hidden;opacity:0;pointer-events:none;
  border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 60px rgba(0,0,0,.45);
  transition:transform .8s cubic-bezier(.2,.75,.2,1),opacity .6s ease,filter .6s ease}
.eg-prj--deck .eg-prj__slide img{transform:none;transition:transform 6s ease-out}
.eg-prj--deck .eg-prj__slide[data-pos="0"]{opacity:1;z-index:3;pointer-events:auto;transform:none;border-color:rgba(255,191,47,.5)}
.eg-prj--deck .eg-prj__slide[data-pos="0"] img{transform:scale(1.04)}
.eg-prj--deck .eg-prj__slide[data-pos="1"]{opacity:1;z-index:2;transform:translate(26px,-18px) rotate(4deg) scale(.95);filter:brightness(.55) saturate(.8)}
.eg-prj--deck .eg-prj__slide[data-pos="2"]{opacity:.9;z-index:1;transform:translate(-22px,-30px) rotate(-5deg) scale(.9);filter:brightness(.4) saturate(.7)}
.eg-prj--deck .eg-prj__slide[data-pos="out"]{opacity:0;z-index:4;transform:translate(-70%,30px) rotate(-14deg) scale(.96)}
.eg-prj--deck .eg-prj__cap{left:14px;right:14px;bottom:14px}
.eg-prj--deck .eg-prj__nav{top:auto;bottom:22px;right:50%;transform:translateX(50%)}
.eg-prj--deck .eg-prj__media::before{content:"";position:absolute;left:12%;right:10%;bottom:40px;height:60%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,191,47,.18),transparent);filter:blur(20px)}
html[data-theme="light"] .eg-prj--deck .eg-prj__slide{border-color:rgba(15,23,42,.1);box-shadow:0 28px 56px rgba(15,23,42,.2)}
html[data-theme="light"] .eg-prj--deck .eg-prj__slide[data-pos="1"],html[data-theme="light"] .eg-prj--deck .eg-prj__slide[data-pos="2"]{filter:brightness(.85) saturate(.7)}
@media(max-width:900px){
  .eg-prj--deck .eg-prj__media{min-height:0;clip-path:none;padding:40px 36px 70px}
  .eg-prj--deck .eg-prj__media-in{max-width:520px}
  .eg-prj--deck .eg-prj__cap{left:10px;right:10px;bottom:10px}
  .eg-prj--deck .eg-prj__nav{bottom:18px}
}

/* Плашка партнерів на вужчих екранах */
@media(max-width:1100px){
  .eg-cat-bridge{gap:12px;padding:9px 18px 9px 9px}
  .eg-cat-bridge__list li{--eg-logo-w:104px;--eg-logo-h:26px;margin:0 12px}
}

/* ── «Ваш обʼєкт може стати наступним» під списком кейсів на головній ── */
.eg-prj__next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:10px;
  padding:12px 16px 12px 10px;border-radius:16px;border:1px dashed var(--ch-card-bd);text-decoration:none;color:var(--ch-tx);
  transition:border-color .25s,background .25s,transform .25s}
.eg-prj__next:hover{border-color:color-mix(in srgb,var(--ch-gold) 55%,transparent);background:rgba(255,191,47,.05);color:var(--ch-tx);transform:translateY(-2px)}
html[data-theme="light"] .eg-prj__next:hover{background:rgba(0,113,227,.05)}
.eg-prj__next-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px;font-weight:700;line-height:1;
  color:var(--ch-gold);background:color-mix(in srgb,var(--ch-gold) 12%,transparent);border:1px solid color-mix(in srgb,var(--ch-gold) 30%,transparent)}
.eg-prj__next-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.eg-prj__next-tx b{font-size:15px;font-weight:700;line-height:1.3}
.eg-prj__next-tx span{font-size:12.5px;color:var(--ch-mt2)}
.eg-prj__next-go{color:var(--ch-gold);font-weight:700;transition:transform .25s}
.eg-prj__next:hover .eg-prj__next-go{transform:translateX(4px)}

/* ═══ Картка «Ваш обʼєкт — наступний» у стосі кейсів ═════════════════
   Третій слайд — не фото, а демо-панель моніторингу
   (template-parts/energy-live-app.php, стилі .el-* у projects.css).
   Опублікованих обʼєктів поки два, і стос із двох виглядав напівпорожнім.
   Тут лише підгонка під картку 4:3 — сама панель не змінюється. */
.eg-prj__slide--cta{ background:var(--surface); }
.eg-prj__slide--cta .el-card{ height:100%; border:0; border-radius:0; box-shadow:none; }
/* У стосі на телефоні картка ~320×250: увесь інтерфейс застосунку не влазить —
   лишаємо шапку й велику сцену з цифрами (container query за висотою картки). */
.eg-prj__slide--cta .el-card{ container-type:size; }
@container (max-height: 440px){
  .el-sbar, .el-addr, .el-tabs, .el-upd, .el-equip, .el-day, .el-nav{ display:none; }
  .el-app{ grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); grid-template-areas:"head" "stage"; }
  .el-head{ padding:8px 12px 6px; }
  .el-head__name{ font-size:14px; gap:6px; } .el-head__name > i{ width:8px; height:8px; } .el-demo{ font-size:8.5px; padding:1px 6px; }
  .el-head__wx{ font-size:12.5px; gap:5px; } .el-head__wx svg{ width:15px; height:15px; }
  .el-stage{ aspect-ratio:auto; margin:0; border-radius:0; min-height:0; }
  .el-stage::after{ display:none; }
  .el-lbl--tl, .el-lbl--tr{ top:6px; } .el-lbl--bl, .el-lbl--br{ bottom:8px; }
  .el-lbl--tl, .el-lbl--bl{ left:10px; } .el-lbl--tr, .el-lbl--br{ right:10px; }
  .el-lbl__t{ font-size:10.5px; } .el-lbl__v{ font-size:10.5px; } .el-lbl__v b{ font-size:15px; }
  .el-soc{ font-size:12px; }
  .el-alarm{ top:34px; font-size:9.5px; padding:3px 8px; }
}
/* підпис слайда сховали — панель сама себе пояснює, а текст його перекривав */
.eg-prj__slide--cta .eg-prj__cap{ display:none; }
/* рядок-CTA у списку */
.eg-prj__row--cta .eg-prj__thumb{ display:grid; place-items:center; background:linear-gradient(160deg,rgba(255,191,47,.18),rgba(74,144,232,.14)); }
.eg-prj__row--cta .eg-prj__thumb svg{ width:26px; height:26px; color:var(--ch-gold,#ffbf2f); }
.eg-prj__row--cta .eg-prj__name{ color:var(--ch-gold,#ffbf2f); }
/* лічильник ховаємо, поки зверху панель, а не реальний кейс */
.eg-prj.is-cta .eg-prj__count{ opacity:0; pointer-events:none; }
.eg-prj__count{ transition:opacity .3s; }

/* eg-live-chat */
/* Live-chat «Консультація» + липка панель на телефоні (inc/live-chat.php).
   Кольори — від теми: акцент var(--gold) (золото в темній, синій у світлій). */

.eg-chat{
  --c-bg: rgba(22,22,26,.92); --c-bd: rgba(255,255,255,.1); --c-tx: #F5F5F7; --c-mt: rgba(235,235,245,.6);
  --c-in: var(--gold,#ffbf2f); --c-in-tx: #09090D; --c-out: rgba(118,118,128,.28); --c-out-tx: #F5F5F7;
  --c-field: rgba(118,118,128,.24); --c-shadow: 0 24px 70px rgba(0,0,0,.55);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font,'DM Sans'), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] .eg-chat{
  --c-bg: rgba(255,255,255,.94); --c-bd: rgba(0,0,0,.08); --c-tx: #1D1D1F; --c-mt: #6E6E73;
  --c-in-tx: #FFFFFF; --c-out: #E9E9EB; --c-out-tx: #1D1D1F;
  --c-field: rgba(0,0,0,.05); --c-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.eg-chat [hidden]{ display: none !important; }

/* ── кругла кнопка справа знизу ── */
.eg-chat__fab{
  position: fixed; right: 24px; bottom: 24px; z-index: 99980;
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px !important;
  border: 0; border-radius: 100px; cursor: pointer;
  background: var(--c-in); color: var(--c-in-tx);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.01em;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--c-in) 40%, transparent), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, opacity .25s;
}
.eg-chat__fab:hover{ transform: translateY(-2px); background: var(--c-in); color: var(--c-in-tx); }
.eg-chat__fab:focus-visible{ outline: 3px solid color-mix(in srgb, var(--c-in) 55%, transparent); outline-offset: 3px; }
.eg-chat__fab svg{ width: 22px; height: 22px; flex-shrink: 0; }
.eg-chat__fab::before{
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-in) 50%, transparent); animation: egChatPulse 2.8s ease-out 3s 3;
}
@keyframes egChatPulse{ 0%{ box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-in) 50%, transparent); } 100%{ box-shadow: 0 0 0 16px transparent; } }
.eg-chat__badge{
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: grid; place-items: center; background: #FF3B30; color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: 0 0 0 3px var(--bg,#09090D);
}
.eg-chat.is-open .eg-chat__fab{ opacity: 0; pointer-events: none; transform: scale(.9); }

/* ── месенджери стовпчиком над кнопкою (комп'ютер) ── */
.eg-chat__dock{
  position: fixed; right: 29px; bottom: 96px; z-index: 99980;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 12px;
  transition: opacity .25s, transform .3s cubic-bezier(.16,1,.3,1);
}
.eg-chat__dock .eg-chat__msg{
  position: relative; width: 48px; height: 48px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 3px color-mix(in srgb, var(--bg,#09090D) 70%, transparent);
  animation: egDockIn .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(1.2s + var(--i) * .09s);
}
.eg-chat__dock .eg-chat__msg svg{ width: 22px; height: 22px; }
@keyframes egDockIn{ from{ opacity: 0; transform: translateY(12px) scale(.8); } to{ opacity: 1; transform: none; } }
.eg-chat__tip{
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px,-50%); white-space: nowrap; pointer-events: none;
  padding: 6px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; line-height: 1;
  background: var(--c-bg); color: var(--c-tx); border: 1px solid var(--c-bd); box-shadow: 0 6px 18px rgba(0,0,0,.3);
  opacity: 0; transition: opacity .2s, transform .2s;
}
.eg-chat__dock .eg-chat__msg:hover .eg-chat__tip, .eg-chat__dock .eg-chat__msg:focus-visible .eg-chat__tip{ opacity: 1; transform: translate(0,-50%); }
.eg-chat.is-open .eg-chat__dock{ opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ── панель ── */
.eg-chat__panel{
  position: fixed; right: 24px; bottom: 24px; z-index: 99990;
  width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; background: var(--c-bg); border: 1px solid var(--c-bd); box-shadow: var(--c-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  color: var(--c-tx);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.eg-chat.is-open .eg-chat__panel{ opacity: 1; transform: none; }

.eg-chat__head{ display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--c-bd); }
.eg-chat__ava{ width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #09090D; display: grid; place-items: center; overflow: hidden; }
.eg-chat__ava img{ width: 28px; height: auto; }
.eg-chat__who{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eg-chat__who b{ font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.eg-chat__who span{ font-size: 12.5px; color: var(--c-mt); display: flex; align-items: center; gap: 6px; }
.eg-chat__who span::before{ content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #30D158; }
.eg-chat.is-off .eg-chat__who span::before{ background: #8E8E93; }
.eg-chat__x{ width: 32px; height: 32px; padding: 0 !important; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--c-field); color: var(--c-mt); transition: background .2s, color .2s; }
.eg-chat__x:hover{ background: var(--c-out); color: var(--c-tx); }
.eg-chat__x svg{ width: 14px; height: 14px; }

.eg-chat__log{ flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; scroll-behavior: smooth; }
.eg-chat__m{ max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere;
  animation: egChatIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes egChatIn{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }
.eg-chat__m--out{ align-self: flex-start; background: var(--c-out); color: var(--c-out-tx); border-bottom-left-radius: 6px; }
.eg-chat__m--in{ align-self: flex-end; background: var(--c-in); color: var(--c-in-tx); border-bottom-right-radius: 6px; }
.eg-chat__m--sys{ align-self: center; max-width: 92%; background: none; color: var(--c-mt); font-size: 12.5px; text-align: center; padding: 4px 8px; }
.eg-chat__m small{ display: block; margin-top: 3px; font-size: 11px; opacity: .6; }
.eg-chat__m.is-pending{ opacity: .6; }
.eg-chat__m.is-failed{ outline: 1px solid #FF3B30; }

.eg-chat__quick{ display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.eg-chat__chip{ padding: 7px 12px !important; border-radius: 100px; border: 1px solid color-mix(in srgb, var(--c-in) 45%, transparent);
  background: transparent; color: var(--c-tx); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s; }
.eg-chat__chip:hover{ background: color-mix(in srgb, var(--c-in) 14%, transparent); color: var(--c-tx); }

/* імʼя й телефон (обовʼязкові) над полем повідомлення */
.eg-chat__intro{ margin: 0 14px 10px; padding: 12px; border-radius: 16px; background: var(--c-field); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eg-chat__intro[hidden]{ display: none; }
.eg-chat__intro p{ grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--c-mt); }
.eg-chat__intro input{ min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-bd); background: var(--c-bg); color: var(--c-tx); font: inherit; font-size: 16px; }
@media (max-width: 380px){ .eg-chat__intro{ grid-template-columns: 1fr; } }
.eg-chat__phone{ margin: 0 14px 10px; padding: 12px; border-radius: 16px; background: var(--c-field); display: flex; flex-wrap: wrap; gap: 8px; }
.eg-chat__phone p{ flex-basis: 100%; margin: 0; font-size: 13px; color: var(--c-mt); }
.eg-chat__phone input{ flex: 1 1 150px; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-bd); background: var(--c-bg); color: var(--c-tx); font: inherit; font-size: 16px; }
.eg-chat__phone button{ height: 40px; padding: 0 14px !important; border: 0; border-radius: 10px; background: var(--c-in); color: var(--c-in-tx); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

.eg-chat__form{ display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--c-bd); }
.eg-chat__form textarea{
  flex: 1; min-width: 0; max-height: 120px; min-height: 40px; padding: 9px 14px; resize: none;
  border-radius: 20px; border: 1px solid var(--c-bd); background: var(--c-field); color: var(--c-tx);
  font: inherit; font-size: 16px; line-height: 1.35;
}
.eg-chat__form textarea:focus, .eg-chat__phone input:focus, .eg-chat__intro input:focus{ outline: none; border-color: var(--c-in); }
.eg-chat__send{ width: 40px; height: 40px; flex-shrink: 0; padding: 0 !important; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--c-in); color: var(--c-in-tx); transition: transform .2s, opacity .2s; }
.eg-chat__send:disabled{ opacity: .4; cursor: default; }
.eg-chat__send svg{ width: 18px; height: 18px; }
.eg-chat__hp{ position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.eg-chat__err{ margin: 0 14px 8px; font-size: 12.5px; color: #FF453A; }

/* месенджери — фірмові кружечки */
.eg-chat__alt{ display: flex; align-items: center; justify-content: center; gap: 12px; padding: 2px 14px 14px; font-size: 12.5px; color: var(--c-mt); }
.eg-chat__msgs{ display: flex; gap: 8px; }
.eg-chat__msg{ width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: #fff;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, filter .2s; }
.eg-chat__msg svg{ width: 19px; height: 19px; }
.eg-chat__msg--telegram{ background: #1679AE; }
.eg-chat__msg--viber{ background: #7360F2; }
.eg-chat__msg--whatsapp{ background: #1DA851; }
.eg-chat__msg:hover{ color: #fff; transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 16px rgba(0,0,0,.28); filter: brightness(1.08); }
.eg-chat__msg:focus-visible{ outline: 3px solid color-mix(in srgb, var(--c-in) 55%, transparent); outline-offset: 2px; }

/* ── липка панель на телефоні ── */
.eg-mbar{ display: none; }
@media (max-width: 900px){
  .eg-chat__fab, .eg-chat__dock{ display: none; }
  body{ padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .eg-mbar{
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99970;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--nav-bg, rgba(9,9,13,.88)); border-top: 1px solid var(--border, rgba(255,255,255,.08));
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
  }
  .eg-mbar.is-hidden{ transform: translateY(110%); }
  .eg-mbar a, .eg-mbar button{
    position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 12px !important;
    border-radius: 14px; border: 0; font: 600 15px/1 var(--font,'DM Sans'), system-ui, sans-serif; text-decoration: none; cursor: pointer;
  }
  .eg-mbar svg{ width: 19px; height: 19px; flex-shrink: 0; }
  .eg-mbar__call{ background: var(--gold,#ffbf2f); color: #09090D; }
  html[data-theme="light"] .eg-mbar__call{ color: #fff; }
  .eg-mbar__chat{ background: var(--surface2, rgba(255,255,255,.08)); color: var(--text,#F4F4F6); border: 1px solid var(--border, rgba(255,255,255,.1)) !important; }
  .eg-mbar__chat .eg-chat__badge{ top: 6px; right: 10px; box-shadow: none; }
  .eg-mbar__call:hover{ color: #09090D; } html[data-theme="light"] .eg-mbar__call:hover{ color: #fff; }

  .eg-chat__panel{ inset: 0; right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0;
    padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(24px); }
  .eg-chat__m{ max-width: 86%; }
  html.eg-chat-lock, html.eg-chat-lock body{ overflow: hidden; }
}

@media (prefers-reduced-motion: reduce){
  .eg-chat__fab::before, .eg-chat__dock .eg-chat__msg{ animation: none; }
  .eg-chat__panel, .eg-chat__m, .eg-mbar{ transition: none; animation: none; }
}

/* eg-theme-light */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — світла тема.

   Темна лишається типовою; світлу вмикає перемикач у шапці, вибір живе в
   localStorage('eg-theme'), а атрибут data-theme="light" на <html> ставить
   скрипт у <head> ще до першого малювання (functions.php) — без блимання.

   Будова файлу:
   1. Кнопка-перемикач (працює в обох темах).
   2. Палітра: підміна CSS-змінних усіх файлів теми.
   3. «Темні острови» (.eg-island) — ілюстрації лишаються темними картками.
   4. Ручні правки: логотипи, золотий текст, шапка головної тощо.
   5. Згенерована частина — світлі пари для жорстко прописаних кольорів
      (python3 /home/energard.com.ua/lib/tools/gen_light.py — перезапустіть,
      якщо в CSS теми зʼявились нові жорстко прописані кольори).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Перемикач ─────────────────────────────────────────────────────── */
.eg-nav .eg-theme-btn,
.eg-mob-theme {
  cursor: pointer; font-family: var(--font); padding: 0;
  background: var(--surface2) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important; box-shadow: none !important;
}
.eg-nav .eg-theme-btn:hover,
.eg-mob-theme:hover { border-color: var(--gold) !important; color: var(--gold) !important; }
.eg-nav .eg-theme-btn svg { margin: 0; }
/* Підміна іконок сонце ⇄ місяць і анімація переходу — assets/css/theme-switch.css. */
.eg-mob-theme {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; align-self: flex-start;
  padding: 10px 18px; border-radius: 100px; font-size: 15px; font-weight: 600;
}

/* ── 2. Палітра ───────────────────────────────────────────────────────── */
html[data-theme="light"] {
  color-scheme: light;
  --bg:            #F5F6FA;
  --bg2:           #ECEEF4;
  --surface:       #FFFFFF;
  --surface2:      #F2F4F8;
  --border:        rgba(15,23,42,0.10);
  --text:          #14151C;
  --muted:         rgba(20,21,28,0.62);
  --nav-bg:        rgba(255,255,255,0.88);
  --grid-line:     transparent;   /* клітинка-сітка лишається лише в темній темі */
  --hover-bg:      rgba(15,23,42,0.045);
  --card-shadow:   0 18px 44px rgba(15,23,42,0.10);
  --badge-neutral: rgba(15,23,42,0.06);
  --ok:            #15803D;
  --ok-bg:         rgba(34,197,94,0.14);
  --ok-bd:         rgba(34,197,94,0.35);
  --warn:          #A16207;
  --warn-bg:       rgba(234,179,8,0.16);
  --warn-bd:       rgba(234,179,8,0.4);
  /* Головний акцент світлої теми — синій, як у Apple (власник 2026-09-19:
     «жовтий на білому болотний»). --gold* лишили назви, щоб не чіпати
     сотні правил; у темних островах нижче вони знову золоті. */
  --gold:          #0071E3;
  --gold-light:    #2997FF;
  --gold-deep:     #0058B0;
  --gl:            #2997FF;
  --gd:            #0058B0;
  --gold-ink:      #0066CC;
  /* посилання без власного класу (hello-base.css) */
  --eg-link:       #0066CC;
  --eg-link-hover: #004A99;
  /* змінні banner-home.css */
  --bg2: #ECEEF4; --sf: #FFFFFF; --sf2: #F2F4F8;
  --bd: rgba(15,23,42,0.10); --bd2: rgba(15,23,42,0.15);
  --tx: #14151C; --mt: rgba(20,21,28,0.62);
  --gl-line: transparent;
}
html[data-theme="light"] .egp  { --p-bd2: rgba(15,23,42,.15); --p-mt2: rgba(20,21,28,.4); --p-line: rgba(15,23,42,.05); }
html[data-theme="light"] .egcalc {
  --ec-s2: #FFFFFF; --ec-s3: #F4F6FA; --ec-green: #16A34A;
  --ec-muted: rgba(20,21,28,.68); --ec-dim: rgba(20,21,28,.48); --ec-card: rgba(15,23,42,.03);
}
html[data-theme="light"] .egb  { --b-dim: rgba(20,21,28,.48); --b-card: #FFFFFF; }

/* ── 3. Темні острови ─────────────────────────────────────────────────── */
html[data-theme="light"] .eg-island {
  color-scheme: dark;
  --bg: #09090D; --bg2: #0E0E16; --surface: #13131F; --surface2: #1C1C2E;
  --border: rgba(255,255,255,0.07); --text: #F4F4F6; --muted: rgba(244,244,246,0.62);
  --grid-line: rgba(255,255,255,0.025); --hover-bg: rgba(255,255,255,0.04);
  --card-shadow: 0 24px 60px rgba(0,0,0,0.5); --badge-neutral: rgba(255,255,255,0.08);
  --ok: #4ADE80; --warn: #FDE047; --gold: #ffbf2f; --gold-light: #ffd060; --gold-deep: #f0b800; --gl: #ffd060; --gd: #f0b800; --gold-ink: #ffbf2f; --eg-link: #ffbf2f; --eg-link-hover: #ffd060;
  --sf: #13131F; --sf2: #1C1C2E; --bd: rgba(255,255,255,.07); --bd2: rgba(255,255,255,.11);
  --tx: #F4F4F6; --mt: rgba(244,244,246,.62); --gl-line: rgba(255,255,255,.024);
  --p-bd2: rgba(255,255,255,.12); --p-mt2: rgba(244,244,246,.22); --p-line: rgba(255,255,255,.024);
  color: var(--text);
}
/* секції-ілюстрації — заокруглені темні картки на світлому тлі */
html[data-theme="light"] section.eg-island {
  background-color: var(--bg);
  margin: 28px clamp(10px, 2vw, 28px); border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,23,42,.18);
}
@media (max-width: 640px) { html[data-theme="light"] section.eg-island { border-radius: 20px; margin: 18px 8px; } }

/* ── 4. Ручні правки ──────────────────────────────────────────────────── */
html[data-theme="light"] body { background: var(--bg) !important; color: var(--text) !important; }

/* Логотипи (золоте ENER + синє GARD з темним контуром) добре читаються на
   білому як є. Інверсія світлості робила золото болотним — лише м'яка тінь. */
html[data-theme="light"] .eg-nav-logo img,
html[data-theme="light"] .h--bare .h__brand,
html[data-theme="light"] .eg-footer-logo-img { filter: drop-shadow(0 2px 6px rgba(15,23,42,.12)); }

/* Золотий текст на світлому — темніше золото */
html[data-theme="light"] .eg-section-label:not(.eg-island *),
html[data-theme="light"] .eg-eyebrow:not(.eg-island *),
html[data-theme="light"] .eg-proc-supply-kick,
html[data-theme="light"] .egp-badge,
html[data-theme="light"] .ec-eyebrow,
html[data-theme="light"] .eg-footer-col a.eg-footer-more { color: var(--gold-ink) !important; }
html[data-theme="light"] .eg-gold:not(.eg-island *) {
  background: linear-gradient(135deg, #2997FF 0%, #0071E3 55%, #0058B0 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* Шапка головної: фото без темної вуалі, світлий фон */
html[data-theme="light"] .h--bare .h__media-scrim {
  background: linear-gradient(90deg, rgba(245,246,250,.85) 0%, rgba(245,246,250,.25) 24%, rgba(245,246,250,0) 50%);
}
html[data-theme="light"] .h--bare .h__orb { opacity: .5; }
html[data-theme="light"] .h--bare .h__tagline { color: var(--tx); opacity: .8; }
html[data-theme="light"] .h__call--alt { background: #FFFFFF; box-shadow: 0 6px 18px rgba(15,23,42,.06); }
html[data-theme="light"] .h__msg--viber    { color: #6D5AE6; }
html[data-theme="light"] .h__msg--whatsapp { color: #128C4A; }
html[data-theme="light"] .h__msg--viber:hover    { color: #6D5AE6; }
html[data-theme="light"] .h__msg--whatsapp:hover { color: #128C4A; }

/* Картки та тіні — легші */
html[data-theme="light"] .egp-card,
html[data-theme="light"] .egr-card,
html[data-theme="light"] .eg-visual-cat { box-shadow: 0 8px 24px rgba(15,23,42,.06); }

/* Кошик-шухляда схована за правим краєм, але її тінь визирала смугою */
html[data-theme="light"] #eg-cart-drawer { box-shadow: none; }
html[data-theme="light"] #eg-cart-drawer.eg-open { box-shadow: -24px 0 60px rgba(15,23,42,.14); }
html[data-theme="light"] #eg-drawer-overlay { background: rgba(15,23,42,.35); }

/* Плашки поверх фото лишаються темними — текст на них світлий */
html[data-theme="light"] .egp-card__cat  { color: rgba(244,244,246,.85); }
html[data-theme="light"] .egp-chip:not(.egp-chip--gold):not(.egp-chip--blue) { color: #F4F4F6; }

/* Золоті цифри й лічильники */
html[data-theme="light"] .eg-visual-cat__count,
html[data-theme="light"] .egp-card__kw:not(.eg-island *) { color: var(--gold-ink); }
html[data-theme="light"] .egr-star.is-on { color: #E5A400; }

/* Градієнтний золотий текст — глибший градієнт (поза островами) */
html[data-theme="light"] .egp-h1 em,
html[data-theme="light"] .egp-stat__v,
html[data-theme="light"] .egp-res__v,
html[data-theme="light"] .egp-sres__v,
html[data-theme="light"] .egcalc .ec-title span,
html[data-theme="light"] .egb-h1 span,
html[data-theme="light"] .egp-cta__h em {
  background: linear-gradient(135deg, #2997FF 0%, #0071E3 55%, #0058B0 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* Вікно «Дізнатись ціну» */
html[data-theme="light"] .eg-pr__dialog { background: #FFFFFF; }
html[data-theme="light"] .eg-pr__x { color: var(--text) !important; background: rgba(15,23,42,.06) !important; }
html[data-theme="light"] .eg-pr__x:hover { background: rgba(15,23,42,.12) !important; }

/* Попап заявки: стилі інлайном у template-parts/lead-popup.php, тож генератор
   їх не бачить — золоті відтінки міняємо на синій тут */
html[data-theme="light"] .egpop__glow { background: radial-gradient(ellipse, rgba(0,113,227,.12) 0%, transparent 70%); }
html[data-theme="light"] .egpop__badge { background: rgba(0,113,227,.08); border-color: rgba(0,113,227,.24); }
html[data-theme="light"] .egpop__phone { border-color: rgba(0,113,227,.3); background: rgba(0,113,227,.06); }
html[data-theme="light"] .egpop__phone:hover { border-color: rgba(0,113,227,.6); background: rgba(0,113,227,.1); }
html[data-theme="light"] .egpop__phone-ico { background: rgba(0,113,227,.12); }
html[data-theme="light"] .egpop__btn-g,
html[data-theme="light"] .egpop__btn-g:hover { color: #fff; box-shadow: 0 6px 24px rgba(0,113,227,.28); }
html[data-theme="light"] .egpop__btn-o:hover { border-color: rgba(0,113,227,.5); }

/* ── 5. Згенеровано ─────────────────────────────────────────────────── */

/* ── згенеровано з style.css: 159 правил ── */
:where(html[data-theme="light"]) .eg-cart-btn:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-cart-count:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .eg-nav-cta:not(:where(.eg-island,.eg-island *)){color:#fff !important}
:where(html[data-theme="light"]) .eg-nav .eg-nav-burger:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .eg-mob-menu:not(:where(.eg-island,.eg-island *)){background:rgba(255,255,255,0.97)}
:where(html[data-theme="light"]) .eg-mob-links a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .btn-primary:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 40px rgba(0,113,227,0.3);color:#fff}
:where(html[data-theme="light"]) .btn-primary:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 50px rgba(0,113,227,0.4)}
:where(html[data-theme="light"]) .eg-cat-btn:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-cat-btn.active:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.08)}
:where(html[data-theme="light"]) .woocommerce ul.products li.product:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce-page ul.products li.product:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.35) !important;box-shadow:0 24px 60px rgba(15,23,42,0.11),0 0 0 1px rgba(0,113,227,0.18) !important}
:where(html[data-theme="light"]) .woocommerce ul.products li.product.eg-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-card-brand-wm:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.32)}
:where(html[data-theme="light"]) .eg-card-cat:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .woocommerce ul.products li.product .woocommerce-loop-product__title a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .eg-price-request:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-card-cart-btn:hover:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .eg-card-detail-btn:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .woocommerce nav.woocommerce-pagination ul li span.current:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce nav.woocommerce-pagination ul li a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important;background:rgba(0,113,227,0.08) !important}
:where(html[data-theme="light"]) .woocommerce div.product p.price:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce div.product span.price:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .woocommerce #respond input#submit:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce a.button.alt:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce button.button.alt:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce div.product form.cart .button:not(:where(.eg-island,.eg-island *)){color:#fff !important}
:where(html[data-theme="light"]) .woocommerce-message:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce-info:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.118) !important;box-shadow:0 16px 48px rgba(15,23,42,0.121) !important}
:where(html[data-theme="light"]) .eg-atc-icon:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.12)}
:where(html[data-theme="light"]) .eg-atc-label:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .woocommerce-error:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 32px rgba(15,23,42,0.11) !important}
:where(html[data-theme="light"]) .woocommerce table.shop_table a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .woocommerce button[name="apply_coupon"]:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce button[name="update_cart"]:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .woocommerce a.checkout-button:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .woocommerce .wc-proceed-to-checkout a.checkout-button:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 28px rgba(0,113,227,0.28) !important;color:#fff !important}
:where(html[data-theme="light"]) .woocommerce a.checkout-button:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 12px 36px rgba(0,113,227,0.38) !important}
:where(html[data-theme="light"]) .eg-checkout-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-checkout-wrap .form-row label .required:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important}
:where(html[data-theme="light"]) .eg-checkout-wrap .form-row input.input-text:focus:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-checkout-wrap .form-row textarea:focus:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 0 3px rgba(0,113,227,0.12) !important}
:where(html[data-theme="light"]) .eg-opt.eg-sel:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,0.06)}
:where(html[data-theme="light"]) .eg-sum-items:not(:where(.eg-island,.eg-island *))::-webkit-scrollbar-thumb{background:rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-sum-items:not(:where(.eg-island,.eg-island *))::-webkit-scrollbar-thumb:hover{background:rgba(0,113,227,0.65)}
:where(html[data-theme="light"]) .eg-si-price.eg-si-req:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink) !important;border:1px solid rgba(0,113,227,0.35) !important}
:where(html[data-theme="light"]) .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus:hover:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,0.10) !important}
:where(html[data-theme="light"]) .eg-sum-place-order #place_order:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 28px rgba(0,113,227,0.28) !important;color:#fff !important}
:where(html[data-theme="light"]) .eg-sum-place-order #place_order:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 12px 36px rgba(0,113,227,0.38) !important}
:where(html[data-theme="light"]) .eg-checkout-trust svg:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) #eg-cart-drawer:not(:where(.eg-island,.eg-island *)){box-shadow:-24px 0 60px rgba(15,23,42,0.099)}
:where(html[data-theme="light"]) #eg-drawer-close:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-drawer-empty a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-drawer-ci-cat:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-drawer-ci-name a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-drawer-ci-req:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-drawer-checkout:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 26px rgba(0,113,227,0.25)}
:where(html[data-theme="light"]) .eg-drawer-checkout:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 12px 34px rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-footer-social a:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-social-icons a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,0.35);background:rgba(0,113,227,0.06)}
:where(html[data-theme="light"]) .eg-hero-bg:not(:where(.eg-island,.eg-island *)){background:radial-gradient(ellipse 70% 60% at 50% 40%, rgba(27,79,196,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(0,113,227,0.10) 0%, transparent 60%)}
:where(html[data-theme="light"]) .eg-hero-badge:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border:1px solid rgba(0,113,227,0.35);background:rgba(0,113,227,0.08)}
:where(html[data-theme="light"]) .eg-btn-primary:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 40px rgba(0,113,227,0.3);color:#fff !important}
:where(html[data-theme="light"]) .eg-btn-primary:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 50px rgba(0,113,227,0.4)}
:where(html[data-theme="light"]) .eg-section-label:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-feature-card:not(:where(.eg-island,.eg-island *))::before{background:linear-gradient(135deg,rgba(0,113,227,0.05),transparent)}
:where(html[data-theme="light"]) .eg-feature-icon:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(0,113,227,0.15),rgba(27,79,196,0.15));border:1px solid rgba(0,113,227,0.2)}
:where(html[data-theme="light"]) .eg-cat-card:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,113,227,0.12) 0%, transparent 60%)}
:where(html[data-theme="light"]) .eg-cat-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.30);box-shadow:0 28px 64px rgba(15,23,42,0.121)}
:where(html[data-theme="light"]) .eg-cat-arrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.10);border:1px solid rgba(0,113,227,0.22)}
:where(html[data-theme="light"]) .eg-cat-card:hover .eg-cat-arrow:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egc-edge:not(:where(.eg-island,.eg-island *)){stroke:rgba(0,113,227,0.16)}
:where(html[data-theme="light"]) .egc-scr:not(:where(.eg-island,.eg-island *)){stroke:rgba(0,113,227,0.22)}
:where(html[data-theme="light"]) .egc-led-dim:not(:where(.eg-island,.eg-island *)){fill:rgba(0,113,227,0.22)}
:where(html[data-theme="light"]) .eg-preview-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.35);box-shadow:var(--card-shadow),0 0 0 1px rgba(0,113,227,0.18)}
:where(html[data-theme="light"]) .eg-why-visual-inner:not(:where(.eg-island,.eg-island *)){background:radial-gradient(circle,rgba(27,79,196,0.25) 0%,rgba(0,113,227,0.12) 60%,transparent 100%)}
:where(html[data-theme="light"]) .eg-orbit:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.091)}
:where(html[data-theme="light"]) .eg-why-icon:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(0,113,227,0.12),rgba(27,79,196,0.12));border:1px solid rgba(0,113,227,0.2)}
:where(html[data-theme="light"]) .eg-cta-band:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(27,79,196,0.15) 0%,rgba(0,113,227,0.10) 100%)}
:where(html[data-theme="light"]) .eg-catalog-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-cat-item.eg-active:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.08);border-color:rgba(0,113,227,0.2)}
:where(html[data-theme="light"]) .eg-cat-item.eg-active .eg-cat-count:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.15)}
:where(html[data-theme="light"]) .eg-cat-item.eg-active .eg-cat-item-icon:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-price-field:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.091)}
:where(html[data-theme="light"]) .eg-price-field:focus-within:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-price-btn:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.118)}
:where(html[data-theme="light"]) .eg-price-btn:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,0.3)}
:where(html[data-theme="light"]) .eg-attr-chip:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.118)}
:where(html[data-theme="light"]) .eg-attr-chip.eg-active:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.12);border-color:rgba(0,113,227,0.5)}
:where(html[data-theme="light"]) .eg-toggle-track.eg-on:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,0.3);border-color:rgba(0,113,227,0.4)}
:where(html[data-theme="light"]) .eg-search-input:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .eg-search-input:focus:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-ordering-wrap select:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-ordering-wrap .woocommerce-ordering select:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.077) !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(15,23,42,0.55)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important}
:where(html[data-theme="light"]) .eg-sp-cat-label:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border:1px solid rgba(0,113,227,0.4);background:rgba(0,113,227,0.08)}
:where(html[data-theme="light"]) .eg-sp-price-request:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-sp-qty-btn:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border:1px solid rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-sp-qty-btn:hover:not(:disabled):not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,0.10);box-shadow:0 0 0 1px rgba(0,113,227,0.15)}
:where(html[data-theme="light"]) .eg-sp-qty-btn:active:not(:disabled):not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,0.18)}
:where(html[data-theme="light"]) .eg-sp-btn-cart:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .eg-sp-btn-buynow:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.4);background:rgba(0,113,227,0.06)}
:where(html[data-theme="light"]) .eg-sp-desc-body ul li:not(:where(.eg-island,.eg-island *))::before{color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-sp-desc-body a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-sp-related-all:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-sp-related-all:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-contacts-hero__bg:not(:where(.eg-island,.eg-island *))::after{background:linear-gradient(180deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.74) 52%, var(--bg) 100%)}
:where(html[data-theme="light"]) .eg-contacts-wrap .eg-catalog-title:not(:where(.eg-island,.eg-island *)){text-shadow:0 2px 20px rgba(15,23,42,0.099)}
:where(html[data-theme="light"]) .eg-contacts-wrap .eg-catalog-sub:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,1);text-shadow:0 1px 12px rgba(15,23,42,0.088)}
:where(html[data-theme="light"]) .eg-ci-icon:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.1)}
:where(html[data-theme="light"]) a.eg-ci-val:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-np-input:focus:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 0 3px rgba(0,113,227,0.12)}
:where(html[data-theme="light"]) .eg-np-drop:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,0.2);box-shadow:0 12px 32px rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .eg-np-drop-item:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.08)}
:where(html[data-theme="light"]) .eg-np-select:focus:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 0 3px rgba(0,113,227,0.12)}
:where(html[data-theme="light"]) .eg-proc-section:not(:where(.eg-island,.eg-island *)){background:radial-gradient(ellipse 60% 50% at 50% 30%, rgba(27,79,196,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 70%, rgba(0,113,227,0.07) 0%, transparent 65%),
    var(--bg)}
:where(html[data-theme="light"]) .eg-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-proc-node:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.09);border:1px solid rgba(0,113,227,0.30);box-shadow:0 0 0 6px rgba(0,113,227,0.04), 0 18px 40px rgba(15,23,42,0.099)}
:where(html[data-theme="light"]) .eg-proc-num:not(:where(.eg-island,.eg-island *)){box-shadow:0 4px 14px rgba(0,113,227,0.4);color:#fff}
:where(html[data-theme="light"]) .eg-proc-step:not(:last-child):not(:where(.eg-island,.eg-island *))::after{background-color:rgba(15,23,42,0.105);background-image:repeating-linear-gradient(90deg, var(--gold) 0 7px, rgba(0,113,227,0) 7px 20px);box-shadow:0 0 9px rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-proc-supply:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,0.22);box-shadow:0 30px 70px rgba(15,23,42,0.11)}
:where(html[data-theme="light"]) .eg-proc-supply:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(ellipse 50% 120% at 100% 50%, rgba(0,113,227,0.12) 0%, transparent 60%)}
:where(html[data-theme="light"]) .eg-proc-supply-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.10);border:1px solid rgba(0,113,227,0.28)}
:where(html[data-theme="light"]) .eg-proc-supply-kick:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-chip:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.091)}
@media (max-width: 1040px){:where(html[data-theme="light"]) .eg-proc-step:not(:last-child):not(:where(.eg-island,.eg-island *))::after{background-image:repeating-linear-gradient(180deg, var(--gold) 0 7px, rgba(0,113,227,0) 7px 20px)}}
:where(html[data-theme="light"]) .eg-panel-hint svg:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-stat-num:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-feat-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.10);border:1px solid rgba(0,113,227,0.20)}
:where(html[data-theme="light"]) .eg-badge:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border:1px solid rgba(0,113,227,0.35);background:rgba(0,113,227,0.08)}
:where(html[data-theme="light"]) .eg-flow-caption b:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-faq-item:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.22)}
:where(html[data-theme="light"]) .eg-faq-item.eg-open:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.32)}
:where(html[data-theme="light"]) .eg-faq-q:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-faq-q:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid rgba(0,113,227,0.5)}
:where(html[data-theme="light"]) .eg-faq-item.eg-open .eg-faq-q:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-faq-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.10)}
:where(html[data-theme="light"]) .eg-faq-item.eg-open .eg-faq-ico:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .eg-faq-a-inner .eg-note:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-faq-foot a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-bottom:1px solid rgba(0,113,227,0.35)}
:where(html[data-theme="light"]) .eg-switch:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid rgba(0,113,227,0.5)}
:where(html[data-theme="light"]) .eg-body:not(:where(.eg-island,.eg-island *)){stroke:rgba(15,23,42,0.091)}
:where(html[data-theme="light"]) .eg-roof:not(:where(.eg-island,.eg-island *)){stroke:rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .eg-batt:not(:where(.eg-island,.eg-island *)){stroke:rgba(0,113,227,0.4)}
:where(html[data-theme="light"]) .on-card .eg-blk-status:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,0.3);background:rgba(0,113,227,0.07)}
:where(html[data-theme="light"]) .egr-star:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.34)}
:where(html[data-theme="light"]) .egr-star.is-on:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egr-nav:hover:not(:disabled):not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,0.45);background:rgba(0,113,227,0.06)}
:where(html[data-theme="light"]) .egr-dot:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.253)}
:where(html[data-theme="light"]) .egr-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,0.24)}
:where(html[data-theme="light"]) .egr-ava--txt:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.1);border-color:rgba(0,113,227,0.2)}
:where(html[data-theme="light"]) .egr-text:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.92)}
:where(html[data-theme="light"]) .egr-link:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,0.45);background:rgba(0,113,227,0.05)}
:where(html[data-theme="light"]) .egr-demo:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,0.08);border:1px dashed rgba(0,113,227,0.4)}
:where(html[data-theme="light"]) .eg-tg-btn:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-mob-tg svg:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-footer-cta:not(:where(.eg-island,.eg-island *)){color:#fff !important}
:where(html[data-theme="light"]) .eg-footer-cta:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 26px rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .eg-footer-col a.eg-footer-more:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-footer-col a.eg-footer-more:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-footer-col a.eg-footer-phone:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-nums:not(:where(.eg-island,.eg-island *)){background:var(--bg2, #EEF0F6)}
:where(html[data-theme="light"]) .eg-nums__h:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-nums__item:not(:where(.eg-island,.eg-island *)){border-left:2px solid rgba(0,113,227,.35)}
:where(html[data-theme="light"]) .eg-nums__star:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-es-tier:not(:where(.eg-island,.eg-island *)){background:var(--surface, rgba(15,23,42,0.037))}
:where(html[data-theme="light"]) .eg-es-tier:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .eg-es-tier__u:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-es-tier__bar span:not(:where(.eg-island,.eg-island *)){background:linear-gradient(90deg,var(--gold),var(--gold-deep,#0058B0))}
:where(html[data-theme="light"]) .eg-es-tier__a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-es-prod a:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .eg-es-prod__chips span:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.35)}

/* ── згенеровано з assets/css/banner-home.css: 32 правил ── */
:where(html[data-theme="light"]) .h__orb--b:not(:where(.eg-island,.eg-island *)){background:radial-gradient(ellipse,rgba(0,113,227,.09) 0%,transparent 70%)}
:where(html[data-theme="light"]) .h__ticker:not(:where(.eg-island,.eg-island *))::before{background:linear-gradient(135deg,rgba(0,113,227,.06) 0%,transparent 60%)}
:where(html[data-theme="light"]) .h__si input:checked+.h__sb:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.08);border-color:rgba(0,113,227,.42);box-shadow:0 0 14px rgba(0,113,227,.08)}
:where(html[data-theme="light"]) .h__sval:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .h__range:not(:where(.eg-island,.eg-island *))::-webkit-slider-thumb{box-shadow:0 0 12px rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .h__range::-moz-range-thumb:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 12px rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .h__tgl input:checked+.h__track:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.12);border-color:rgba(0,113,227,.38)}
:where(html[data-theme="light"]) .btn-p:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 28px rgba(0,113,227,.22);color:#fff}
:where(html[data-theme="light"]) .btn-p:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 6px 36px rgba(0,113,227,.38)}
:where(html[data-theme="light"]) .btn-s:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(18,19,26,0.65);background:rgba(15,23,42,0.064)}
:where(html[data-theme="light"]) .h__phone:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.3);background:rgba(0,113,227,.07)}
:where(html[data-theme="light"]) .h__phone:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.6);background:rgba(0,113,227,.12);box-shadow:0 10px 34px rgba(0,113,227,.14)}
:where(html[data-theme="light"]) .h__phone-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.15)}
:where(html[data-theme="light"]) .h__phone-msgs:not(:where(.eg-island,.eg-island *)){border-left:1px solid rgba(0,113,227,.22)}
:where(html[data-theme="light"]) .h__phone-msg:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.064)}
:where(html[data-theme="light"]) .h__phone-msg:hover:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.118)}
@media(max-width:640px){:where(html[data-theme="light"]) .h__phone-msgs:not(:where(.eg-island,.eg-island *)){border-top:1px solid rgba(0,113,227,.18)}}
:where(html[data-theme="light"]) .h__phone-num:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);text-shadow:0 0 26px rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .h__scene:not(:where(.eg-island,.eg-island *)){background:#EEF0F6}
:where(html[data-theme="light"]) .h__ficon:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.1)}
:where(html[data-theme="light"]) .h__badge:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.08);border:1px solid rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .h__kicker:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .h__usp-item:not(:where(.eg-island,.eg-island *)){border-left:1px solid rgba(0,113,227,.2)}
:where(html[data-theme="light"]) .h__usp-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.09);border:1px solid rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .h__call--main:not(:where(.eg-island,.eg-island *)){box-shadow:0 10px 30px rgba(0,113,227,.24);color:#fff}
:where(html[data-theme="light"]) .h__call--main .h__call-ico:not(:where(.eg-island,.eg-island *)){background:#F6F7FB}
:where(html[data-theme="light"]) .h__call--main:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 14px 38px rgba(0,113,227,.38)}
:where(html[data-theme="light"]) .h__call--alt:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.051)}
:where(html[data-theme="light"]) .h__call--alt .h__call-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.1)}
:where(html[data-theme="light"]) .h__call--alt:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.45);background:rgba(0,113,227,.06)}
:where(html[data-theme="light"]) .h__msg:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 8px 22px rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .h__media:not(:where(.eg-island,.eg-island *)){background:linear-gradient(160deg,var(--gold) 0%,var(--gold-deep,#0058B0) 55%,rgba(0,113,227,.5) 100%)}

/* ── згенеровано з assets/css/projects.css: 47 правил ── */
:where(html[data-theme="light"]) .egp-orb--b:not(:where(.eg-island,.eg-island *)){background:radial-gradient(ellipse,rgba(0,113,227,.1) 0%,transparent 70%)}
:where(html[data-theme="light"]) .egp-badge:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.08);border:1px solid rgba(0,113,227,.2)}
:where(html[data-theme="light"]) .egp-tab:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-tab.is-on:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egp-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.28);box-shadow:0 16px 48px rgba(15,23,42,0.066)}
:where(html[data-theme="light"]) .egp-card__pat:not(:where(.eg-island,.eg-island *)){background-image:linear-gradient(rgba(15,23,42,0.048) 1px,transparent 1px),
    linear-gradient(90deg,rgba(15,23,42,0.048) 1px,transparent 1px)}
:where(html[data-theme="light"]) .egp-card__beam:not(:where(.eg-island,.eg-island *)){background:linear-gradient(105deg,transparent 40%,rgba(0,113,227,.06) 50%,transparent 60%)}
:where(html[data-theme="light"]) .egp-chip--gold:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.15);border-color:rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .egp-card__year:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.2)}
:where(html[data-theme="light"]) .egp-card__name a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-card__kw:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-card__link:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-btn-g:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egp-btn-g:hover:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egp-btn-o:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-cta:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(27,79,196,.1) 0%,rgba(0,113,227,.06) 100%);border:1px solid rgba(0,113,227,.14)}
:where(html[data-theme="light"]) .egp-phero__pat:not(:where(.eg-island,.eg-island *)){background-image:linear-gradient(rgba(15,23,42,0.044) 1px,transparent 1px),
    linear-gradient(90deg,rgba(15,23,42,0.044) 1px,transparent 1px)}
:where(html[data-theme="light"]) .egp-phero__grad:not(:where(.eg-island,.eg-island *)){background:linear-gradient(to top,rgba(255,255,255,.96) 0%,rgba(255,255,255,.55) 45%,transparent 100%)}
:where(html[data-theme="light"]) .egp-phero__panel:not(:where(.eg-island,.eg-island *))::after{background:linear-gradient(180deg,transparent 40%,rgba(0,113,227,.08) 100%)}
:where(html[data-theme="light"]) .egp-bc a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-phero__cat:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.1);border:1px solid rgba(0,113,227,.25)}
:where(html[data-theme="light"]) .egp-desc a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-gal__i:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .egp-specs td.egp-gold:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-tl__dot:not(:where(.eg-island,.eg-island *)){border:2px solid rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .egp-tl__n:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-quote:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(0,113,227,.05) 0%,rgba(27,79,196,.04) 100%);border:1px solid rgba(0,113,227,.14)}
:where(html[data-theme="light"]) .egp-quote:not(:where(.eg-island,.eg-island *))::before{color:rgba(0,113,227,.12)}
:where(html[data-theme="light"]) .egp-quote__ava:not(:where(.eg-island,.eg-island *)){color:#12131A;border:2px solid rgba(0,113,227,.25)}
:where(html[data-theme="light"]) .egp-srow__r.egp-gold:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-scta:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egp-scta:hover:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egp-scta--o:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-mgr__ava:not(:where(.eg-island,.eg-island *)){border:2px solid rgba(0,113,227,.2)}
:where(html[data-theme="light"]) .egp-ring__lbl:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-ring-info__v:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-rc:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.25)}
:where(html[data-theme="light"]) .egp-rc__pat:not(:where(.eg-island,.eg-island *)){background-image:linear-gradient(rgba(15,23,42,0.042) 1px,transparent 1px),
    linear-gradient(90deg,rgba(15,23,42,0.042) 1px,transparent 1px)}
:where(html[data-theme="light"]) .egp-rc__kw:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-section-nav a:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egp-share:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-faq details[open]:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .egp-faq summary:not(:where(.eg-island,.eg-island *))::after{color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-card__case:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-passport:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.28);background:linear-gradient(160deg,rgba(0,113,227,.07),rgba(0,113,227,0) 60%)}
:where(html[data-theme="light"]) .egp-passport__h:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-phero__case:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egp-next:hover:not(:where(.eg-island,.eg-island *)){background:var(--hover-bg,rgba(15,23,42,0.051))}

/* ── згенеровано з assets/css/calculator.css: 50 правил ── */
:where(html[data-theme="light"]) .egcalc .ec-hero:not(:where(.eg-island,.eg-island *)){background:radial-gradient(ellipse 80% 60% at 50% -10%,rgba(0,113,227,.09) 0%,transparent 70%)}
:where(html[data-theme="light"]) .egcalc .ec-hero:not(:where(.eg-island,.eg-island *))::after{background:linear-gradient(90deg,transparent,rgba(0,113,227,.2),transparent)}
:where(html[data-theme="light"]) .egcalc .ec-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-eyebrow:not(:where(.eg-island,.eg-island *))::before,
:where(html[data-theme="light"]) .egcalc .ec-eyebrow:not(:where(.eg-island,.eg-island *))::after{background:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .egcalc .ec-city-inp:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .egcalc .ec-city-inp:focus:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egcalc .ec-city-inp.is-open:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.5);background:rgba(0,113,227,.04)}
:where(html[data-theme="light"]) .egcalc .ec-city-ico:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-city-drop:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.25);box-shadow:0 16px 48px rgba(15,23,42,0.132)}
:where(html[data-theme="light"]) .egcalc .ec-city-search:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.064)}
:where(html[data-theme="light"]) .egcalc .ec-city-list:not(:where(.eg-island,.eg-island *))::-webkit-scrollbar-thumb{background:rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .egcalc .ec-city-opt:not(:where(.eg-island,.eg-island *)){border-bottom:1px solid rgba(15,23,42,0.064)}
:where(html[data-theme="light"]) .egcalc .ec-city-opt:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egcalc .ec-city-opt:focus-visible:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.08)}
:where(html[data-theme="light"]) .egcalc .ec-city-opt.is-sel:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-city-yield:not(:where(.eg-island,.eg-island *)){color:rgba(0,113,227,.7)}
:where(html[data-theme="light"]) .egcalc .ec-res-track:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.145)}
:where(html[data-theme="light"]) .egcalc .ec-res-val:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-slider:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.145)}
:where(html[data-theme="light"]) .egcalc .ec-slider:not(:where(.eg-island,.eg-island *))::-webkit-slider-thumb{box-shadow:0 0 0 3px rgba(0,113,227,.2),0 2px 8px rgba(15,23,42,0.088)}
:where(html[data-theme="light"]) .egcalc .ec-pp:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egcalc .ec-pp.is-on:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.12);border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .egcalc .ec-sf input[type=number]:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egcalc .ec-sf input[type=text]:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .egcalc .ec-sf input:focus:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .egcalc .ec-sfb:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egcalc .ec-sfb.is-on:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.12);border-color:rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .egcalc .ec-tgl-lbl:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.9)}
:where(html[data-theme="light"]) .egcalc .ec-tgl-track:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.145)}
:where(html[data-theme="light"]) .egcalc .ec-tgl input:checked + .ec-tgl-track:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .egcalc .ec-tbl thead th:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.051)}
:where(html[data-theme="light"]) .egcalc .ec-tbl tbody td:not(:where(.eg-island,.eg-island *)){border-bottom:1px solid rgba(15,23,42,0.064);color:rgba(18,19,26,0.95)}
:where(html[data-theme="light"]) .egcalc .ec-tbl tbody tr:hover td:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.037)}
:where(html[data-theme="light"]) .egcalc .ec-tbl td.ec-hi-gold:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-tbl tfoot td:not(:where(.eg-island,.eg-island *)){border-top:1px solid rgba(15,23,42,0.172);background:rgba(15,23,42,0.051)}
:where(html[data-theme="light"]) .egcalc .leaflet-bar a:not(:where(.eg-island,.eg-island *)){border-color:rgba(15,23,42,0.172)!important}
:where(html[data-theme="light"]) .egcalc .leaflet-bar a:hover:not(:where(.eg-island,.eg-island *)){background:#EEF0F6!important}
:where(html[data-theme="light"]) .egcalc .leaflet-popup-content-wrapper:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.2)!important;box-shadow:0 8px 32px rgba(15,23,42,0.132)!important}
:where(html[data-theme="light"]) .egcalc .ec-pop b:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-pop-yield:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-pop-calc:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.6)}
:where(html[data-theme="light"]) .egcalc .ec-pop-btn:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.15);border:1px solid rgba(0,113,227,.35)}
:where(html[data-theme="light"]) .egcalc .ec-pop-btn:hover:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .egcalc .ec-an:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.037)}
:where(html[data-theme="light"]) .egcalc .ec-an:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(15,23,42,0.199)}
:where(html[data-theme="light"]) .egcalc .ec-an-sub:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.52)}
:where(html[data-theme="light"]) .egcalc .ec-cmp-box:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.172)}
:where(html[data-theme="light"]) .egcalc .ec-cmp-box--on:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.2);background:rgba(0,113,227,.04)}
:where(html[data-theme="light"]) .egcalc .ec-cmp-box--on .ec-cmp-h:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-cmp-box--on .ec-cmp-row span:first-child:not(:where(.eg-island,.eg-island *)){color:rgba(0,113,227,.7)}
:where(html[data-theme="light"]) .egcalc .ec-cmp-box--on .ec-cmp-row span:last-child:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-cta:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.2);background:linear-gradient(120deg,rgba(0,113,227,.07) 0%,rgba(74,144,232,.05) 100%)}
:where(html[data-theme="light"]) .egcalc .ec-cta:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(ellipse 60% 80% at 50% 0%,rgba(0,113,227,.08) 0%,transparent 70%)}
:where(html[data-theme="light"]) .egcalc .ec-cta-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egcalc .ec-cta-btn:not(:where(.eg-island,.eg-island *)){color:#fff}

/* ── згенеровано з assets/css/blog.css: 32 правил ── */
:where(html[data-theme="light"]) .egb-eyebrow:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-eyebrow:not(:where(.eg-island,.eg-island *))::before,
:where(html[data-theme="light"]) .egb-eyebrow:not(:where(.eg-island,.eg-island *))::after{background:rgba(0,113,227,.35)}
:where(html[data-theme="light"]) .egb-stat__n:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-tab:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(15,23,42,0.28)}
:where(html[data-theme="light"]) .egb-tab.is-on:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.13);border-color:rgba(0,113,227,.45)}
:where(html[data-theme="light"]) .egb-cat--faq:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.12)}
:where(html[data-theme="light"]) .egb-feat:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .egb-feat__title a:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egb-card__title a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-author__av:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egb-author__name:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,1)}
:where(html[data-theme="light"]) .egb-read:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-read:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-card:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .egb-pages a.page-numbers:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-color:rgba(0,113,227,.45)}
:where(html[data-theme="light"]) .egb-pages .current:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.13);border-color:rgba(0,113,227,.45)}
:where(html[data-theme="light"]) .egb-cta:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.18);background:linear-gradient(120deg,rgba(0,113,227,.07) 0%,rgba(74,144,232,.06) 100%)}
:where(html[data-theme="light"]) .egb-cta:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(ellipse 70% 70% at 50% 0%,rgba(0,113,227,.08) 0%,transparent 70%)}
:where(html[data-theme="light"]) .egb-btn-gold:not(:where(.eg-island,.eg-island *)){color:#fff}
:where(html[data-theme="light"]) .egb-bc a:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-article:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,1)}
:where(html[data-theme="light"]) .egb-article a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);border-bottom:1px solid rgba(0,113,227,.3)}
:where(html[data-theme="light"]) .egb-note:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.2);background:rgba(0,113,227,.06)}
:where(html[data-theme="light"]) .egb-note .egb-note__title:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-tbl th:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.064)}
:where(html[data-theme="light"]) .egb-tbl td:not(:where(.eg-island,.eg-island *)){border-bottom:1px solid rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .egb-tbl td strong:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .egb-steps>li:not(:where(.eg-island,.eg-island *))::before{color:var(--gold-ink);background:rgba(0,113,227,.12);border:1px solid rgba(0,113,227,.25)}
:where(html[data-theme="light"]) .egb-art-cta:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,rgba(0,113,227,.08) 0%,rgba(74,144,232,.06) 100%);border:1px solid rgba(0,113,227,.18)}
:where(html[data-theme="light"]) .egb-toc a:not(:where(.eg-island,.eg-island *))::before{color:rgba(0,113,227,.45)}
:where(html[data-theme="light"]) .egb-toc a:hover:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .egb-toc li.is-on a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);background:rgba(0,113,227,.05)}
:where(html[data-theme="light"]) .egb-widget--cta:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.2);background:rgba(0,113,227,.06)}
:where(html[data-theme="light"]) .egb-widget__kick:not(:where(.eg-island,.eg-island *)){color:rgba(0,113,227,.7)}

/* ── згенеровано з assets/css/price-request.css: 21 правил ── */
:where(html[data-theme="light"]) .eg-pr-btn:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg, var(--gold, #0071E3) 0%, var(--gold-deep, #0058B0) 100%);color:#fff}
:where(html[data-theme="light"]) .eg-pr-btn:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 6px 24px rgba(0,113,227, .28)}
:where(html[data-theme="light"]) .eg-pr-btn:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid var(--gold-light, #2997FF)}
:where(html[data-theme="light"]) .eg-sp-btn-call:hover:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-pr__dialog:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.118);background:var(--bg2, #EEF0F6);box-shadow:0 30px 80px rgba(15,23,42,0.121)}
:where(html[data-theme="light"]) .eg-pr__x:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.077);color:var(--muted, rgba(18,19,26,0.65))}
:where(html[data-theme="light"]) .eg-pr__x:hover:not(:where(.eg-island,.eg-island *)){background:rgba(15,23,42,0.145)}
:where(html[data-theme="light"]) .eg-pr__badge:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);color:var(--gold, #0071E3);background:rgba(0,113,227, .08);border:1px solid rgba(0,113,227, .24)}
:where(html[data-theme="light"]) .eg-pr__badge:not(:where(.eg-island,.eg-island *))::before{background:var(--gold, #0071E3)}
:where(html[data-theme="light"]) .eg-pr__product:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);color:var(--gold-light, #2997FF)}
:where(html[data-theme="light"]) .eg-pr__sub:not(:where(.eg-island,.eg-island *)){color:var(--muted, rgba(18,19,26,0.65))}
:where(html[data-theme="light"]) .eg-pr__field > span:not(:where(.eg-island,.eg-island *)){color:rgba(18,19,26,0.9)}
:where(html[data-theme="light"]) .eg-pr__field b:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);color:var(--gold, #0071E3)}
:where(html[data-theme="light"]) .eg-pr__field input:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-pr__field textarea:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(15,23,42,0.145);background:var(--surface, #FFFFFF)}
:where(html[data-theme="light"]) .eg-pr__field input:not(:where(.eg-island,.eg-island *))::placeholder,
:where(html[data-theme="light"]) .eg-pr__field textarea:not(:where(.eg-island,.eg-island *))::placeholder{color:rgba(18,19,26,0.5)}
:where(html[data-theme="light"]) .eg-pr__field input:focus:not(:where(.eg-island,.eg-island *)),
:where(html[data-theme="light"]) .eg-pr__field textarea:focus:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227, .6);box-shadow:0 0 0 3px rgba(0,113,227, .12)}
:where(html[data-theme="light"]) .eg-pr__submit:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg, var(--gold, #0071E3) 0%, var(--gold-deep, #0058B0) 100%);color:#fff}
:where(html[data-theme="light"]) .eg-pr__submit:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 6px 28px rgba(0,113,227, .32)}
:where(html[data-theme="light"]) .eg-pr__alt:not(:where(.eg-island,.eg-island *)){color:var(--muted, rgba(18,19,26,0.65))}
:where(html[data-theme="light"]) .eg-pr__alt a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink);color:var(--gold, #0071E3)}
:where(html[data-theme="light"]) .eg-sp-specs-h:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}

/* ── згенеровано з assets/css/catalog-visual.css: 41 правил ── */
:where(html[data-theme="light"]) .eg-cat-hero__deco:not(:where(.eg-island,.eg-island *)){background:radial-gradient(38% 55% at 88% 0%,rgba(0,113,227,.10),transparent 70%),
             radial-gradient(45% 60% at 100% 100%,rgba(27,79,196,.12),transparent 70%),
             linear-gradient(var(--ch-grid) 1px,transparent 1px) 0 0/64px 64px,
             linear-gradient(90deg,var(--ch-grid) 1px,transparent 1px) 0 0/64px 64px}
:where(html[data-theme="light"]) .eg-cat-bridge:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.38)}
:where(html[data-theme="light"]) .eg-cat-bridge:not(:where(.eg-island,.eg-island *))::before{background:linear-gradient(90deg,rgba(0,113,227,0) 0%,rgba(41,151,255,.9) 50%,rgba(0,113,227,0) 100%) 0 0/200% 100%}
:where(html[data-theme="light"]) .eg-cat-bridge__ico:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,#2997FF,#0071E3 55%,#0058B0);box-shadow:0 0 22px rgba(0,113,227,.35);color:#fff}
:where(html[data-theme="light"]) .eg-cat-bridge__list a:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid #0071E3}
:where(html[data-theme="light"]) .eg-cat-hero__media:not(:where(.eg-island,.eg-island *)){background:linear-gradient(200deg,#0071E3 0%,#0058B0 55%,rgba(0,113,227,.5) 100%)}
:where(html[data-theme="light"]) .eg-cat-hero__badge:not(:where(.eg-island,.eg-island *)){color:#0071E3;border:1px solid rgba(0,113,227,.45)}
:where(html[data-theme="light"]) .eg-cat-row:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid #0071E3}
:where(html[data-theme="light"]) .eg-cat-row__img:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(closest-side,rgba(0,113,227,.28),rgba(0,113,227,.06) 70%,transparent);box-shadow:inset 0 0 0 1px rgba(0,113,227,.22)}
:where(html[data-theme="light"]) .eg-cat-row__img:not(:where(.eg-island,.eg-island *))::after{background:radial-gradient(closest-side,rgba(0,113,227,.14),transparent)}
:where(html[data-theme="light"]) .eg-cat-row:hover .eg-cat-row__img:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(closest-side,rgba(0,113,227,.45),rgba(0,113,227,.1) 70%,transparent);box-shadow:inset 0 0 0 1px rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .eg-cat-row__go:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .eg-cat-row:hover .eg-cat-row__go:not(:where(.eg-island,.eg-island *)){background:#0071E3;color:#fff}
:where(html[data-theme="light"]) .eg-cat-mini:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .eg-visual-cat:not(:where(.eg-island,.eg-island *))::after{background:linear-gradient(135deg,rgba(0,113,227,.5),transparent 40%,transparent 70%,rgba(0,113,227,.25))}
:where(html[data-theme="light"]) .eg-visual-cat:hover:not(:where(.eg-island,.eg-island *)){box-shadow:0 22px 50px rgba(15,23,42,0.077)}
:where(html[data-theme="light"]) .eg-visual-cat__go:not(:where(.eg-island,.eg-island *)){color:#0071E3}
:where(html[data-theme="light"]) .eg-visual-cat:hover .eg-visual-cat__go:not(:where(.eg-island,.eg-island *)){background:#0071E3;color:#fff}
:where(html[data-theme="light"]) .eg-visual-cat__count:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-visual-strip:hover:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.5);background:rgba(0,113,227,.04)}
:where(html[data-theme="light"]) .eg-visual-strip__tag:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-category-focus a:not(:where(.eg-island,.eg-island *)){color:var(--gold-ink)}
:where(html[data-theme="light"]) .eg-prj__tab.is-on:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,#2997FF,#0071E3 55%,#0058B0);box-shadow:0 6px 18px rgba(0,113,227,.3);color:#fff}
:where(html[data-theme="light"]) .eg-prj__tab:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid #0071E3}
:where(html[data-theme="light"]) .eg-prj__list:not(:where(.eg-island,.eg-island *))::before{background:linear-gradient(180deg,rgba(0,113,227,.45),var(--ch-line) 40%,var(--ch-line) 70%,transparent)}
:where(html[data-theme="light"]) .eg-prj__row:hover:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.04)}
:where(html[data-theme="light"]) .eg-prj__row:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid #0071E3}
:where(html[data-theme="light"]) .eg-prj__row.is-on .eg-prj__thumb:not(:where(.eg-island,.eg-island *)){box-shadow:0 0 0 2px #0071E3,0 6px 16px rgba(0,113,227,.28)}
:where(html[data-theme="light"]) .eg-prj__row.is-on .eg-prj__idx:not(:where(.eg-island,.eg-island *)){background:linear-gradient(135deg,#2997FF,#0071E3 55%,#0058B0);box-shadow:0 2px 8px rgba(0,113,227,.4);color:#fff}
:where(html[data-theme="light"]) .eg-prj__go:not(:where(.eg-island,.eg-island *)){border:1px solid rgba(0,113,227,.4)}
:where(html[data-theme="light"]) .eg-prj__row:hover .eg-prj__go:not(:where(.eg-island,.eg-island *)){background:#0071E3;color:#fff}
:where(html[data-theme="light"]) .eg-prj__bar:not(:where(.eg-island,.eg-island *))::after{background:linear-gradient(90deg,#0058B0,#2997FF)}
:where(html[data-theme="light"]) .eg-prj__btn:hover:not(:where(.eg-island,.eg-island *)){background:#0071E3;color:#fff}
:where(html[data-theme="light"]) .eg-prj__btn:focus-visible:not(:where(.eg-island,.eg-island *)){outline:2px solid #0071E3}
:where(html[data-theme="light"]) .eg-prj__media:not(:where(.eg-island,.eg-island *)){background:linear-gradient(160deg,#0071E3 0%,#0058B0 55%,rgba(0,113,227,.5) 100%)}
:where(html[data-theme="light"]) .eg-prj__cap-case:not(:where(.eg-island,.eg-island *)){color:#0071E3}
:where(html[data-theme="light"]) .eg-prj__cap-t:hover:not(:where(.eg-island,.eg-island *)){color:#2997FF}
:where(html[data-theme="light"]) .eg-prj__chips b:not(:where(.eg-island,.eg-island *)){color:#0071E3}
:where(html[data-theme="light"]) .eg-prj--deck .eg-prj__slide[data-pos="0"]:not(:where(.eg-island,.eg-island *)){border-color:rgba(0,113,227,.5)}
:where(html[data-theme="light"]) .eg-prj--deck .eg-prj__media:not(:where(.eg-island,.eg-island *))::before{background:radial-gradient(closest-side,rgba(0,113,227,.18),transparent)}
:where(html[data-theme="light"]) .eg-prj__next:hover:not(:where(.eg-island,.eg-island *)){background:rgba(0,113,227,.05)}

/* eg-theme-switch */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — анімація перемикання теми.

   Три частини:
   1. Іконка в кнопці: сонце ⇄ місяць перетікають одне в одне (обертання +
      масштаб). Обидві іконки лежать одна на одній у .eg-ico-wrap (18×18) —
      розмітка в header.php.
   2. Спалах біля кнопки: сонце «стріляє» промінням (світла тема) або
      розходиться прохолодне сяйво (темна). Тільки навколо кнопки,
      напівпрозоре — контент читається.
   3. Перехід теми: коло розкривається від кнопки через View Transitions
      (assets/js/theme-switch.js). Під ним — жива сторінка в новій темі,
      тому контент нічим не перекривається. Де API немає (старі Firefox) —
      плавне перефарбування класом .eg-theme-anim.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Іконка кнопки ─────────────────────────────────────────────────── */
.eg-theme-btn .eg-ico-wrap,
.eg-mob-theme .eg-ico-wrap {
  position: relative; display: block; width: 18px; height: 18px; flex: 0 0 18px;
}
.eg-ico-wrap .eg-ico-sun,
.eg-ico-wrap .eg-ico-moon {
  position: absolute; inset: 0; display: block !important; margin: 0 !important;
  transition: opacity .22s ease, transform .45s cubic-bezier(.34,1.4,.64,1);
}
/* темна тема (типова): показуємо сонце — «увімкнути світле» */
.eg-ico-wrap .eg-ico-sun  { opacity: 1; transform: rotate(0)       scale(1);   }
.eg-ico-wrap .eg-ico-moon { opacity: 0; transform: rotate(-110deg) scale(.35); }
html[data-theme="light"] .eg-ico-wrap .eg-ico-sun  { opacity: 0; transform: rotate(110deg) scale(.35); }
html[data-theme="light"] .eg-ico-wrap .eg-ico-moon { opacity: 1; transform: rotate(0)      scale(1);   }
/* промені сонця на ховері трохи розходяться */
.eg-theme-btn:hover .eg-ico-sun,
.eg-mob-theme:hover .eg-ico-sun { transform: rotate(35deg) scale(1.08); }
html[data-theme="light"] .eg-theme-btn:hover .eg-ico-moon,
html[data-theme="light"] .eg-mob-theme:hover .eg-ico-moon { transform: rotate(-18deg) scale(1.08); }
/* підпис у мобільному меню */
.eg-mob-theme .eg-t-dark { display: none; }
html[data-theme="light"] .eg-mob-theme .eg-t-light { display: none; }
html[data-theme="light"] .eg-mob-theme .eg-t-dark  { display: inline; }

/* ── 2. Спалах біля кнопки ────────────────────────────────────────────── */
/* Клас eg-flare скрипт вішає на натиснуту кнопку на 0.72 с. Обидва
   псевдоелементи не перехоплюють кліки й нічого не зсувають. */
[data-eg-theme-toggle] { position: relative; }
[data-eg-theme-toggle].eg-flare::before,
[data-eg-theme-toggle].eg-flare::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  opacity: 0; will-change: transform, opacity;
}
/* проміння: сектори conic-градієнта, м'яко згашені до центру й до краю */
[data-eg-theme-toggle].eg-flare::before {
  background: repeating-conic-gradient(from 0deg,
    rgba(255,201,63,.85) 0deg 3.5deg, transparent 3.5deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 13%, #000 30%, transparent 62%);
          mask: radial-gradient(circle, transparent 13%, #000 30%, transparent 62%);
  animation: eg-flare-rays .72s cubic-bezier(.2,.75,.25,1) forwards;
}
/* тепле кільце-сяйво */
[data-eg-theme-toggle].eg-flare::after {
  background: radial-gradient(circle,
    rgba(255,223,138,.5) 0%, rgba(255,201,63,.28) 34%,
    rgba(255,201,63,.1) 52%, transparent 68%);
  animation: eg-flare-glow .72s cubic-bezier(.2,.75,.25,1) forwards;
}
/* у світлій темі перемикач веде в темну — сяйво прохолодне, без проміння */
html[data-theme="light"] [data-eg-theme-toggle].eg-flare::before {
  background: repeating-conic-gradient(from 0deg,
    rgba(143,166,255,.5) 0deg 2.5deg, transparent 2.5deg 45deg);
}
html[data-theme="light"] [data-eg-theme-toggle].eg-flare::after {
  background: radial-gradient(circle,
    rgba(232,236,255,.55) 0%, rgba(143,166,255,.3) 34%,
    rgba(90,110,200,.12) 52%, transparent 68%);
}
@keyframes eg-flare-rays {
  0%   { opacity: 0;   transform: rotate(-28deg) scale(.18); }
  22%  { opacity: .95; }
  100% { opacity: 0;   transform: rotate(26deg)  scale(1.12); }
}
@keyframes eg-flare-glow {
  0%   { opacity: 0;  transform: scale(.14); }
  26%  { opacity: 1;  }
  100% { opacity: 0;  transform: scale(1.3); }
}

/* ── 3. Перехід теми (View Transitions) ───────────────────────────────── */
/* Типовий кросфейд вимикаємо: нову тему відкриває clip-path зі скрипта,
   стара лежить під нею незмінна, тому сторінка не блимає й не гасне. */
html.eg-vt-theme::view-transition-old(root),
html.eg-vt-theme::view-transition-new(root) {
  animation: none; mix-blend-mode: normal;
}
html.eg-vt-theme::view-transition-old(root) { z-index: 0; }
html.eg-vt-theme::view-transition-new(root) { z-index: 1; }

/* ── 4. Запас для браузерів без View Transitions ──────────────────────── */
/* Тему міняємо одразу, але кольори переходять плавно. Клас живе ~0.45 с. */
html.eg-theme-anim, html.eg-theme-anim *,
html.eg-theme-anim *::before, html.eg-theme-anim *::after {
  transition: background-color .38s ease, border-color .38s ease,
              color .38s ease, fill .38s ease, stroke .38s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  .eg-ico-wrap .eg-ico-sun, .eg-ico-wrap .eg-ico-moon { transition: none; }
  [data-eg-theme-toggle].eg-flare::before,
  [data-eg-theme-toggle].eg-flare::after { display: none; }
  html.eg-theme-anim, html.eg-theme-anim *,
  html.eg-theme-anim *::before, html.eg-theme-anim *::after { transition: none !important; }
}

/* eg-site-menu */
/* ═══ МЕНЮ З ВИПАДНИМИ ПАНЕЛЯМИ (inc/site-menu.php), 2026-10-14 ═══════════
   Каталог ▾ · Рішення ▾ · Кейси · Корисне ▾ · Про нас ▾.
   Без іконок (власник): назва + підпис, підзаголовки груп, стрілка на ховері;
   у Каталозі праворуч — картка «Підбір комплекту».
   Лише токени теми — світла тема підхоплює їх сама (файл не в gen_light.py).
   Підключається після theme-light.css, тож перекриває старі правила .eg-nav-links. */

.eg-nav-links { gap: 6px; align-items: center; }
.eg-nav-links > li { position: relative; }

.eg-nav-links .eg-nav-top {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 100px;
  background: transparent; border: 0; box-shadow: none;
  color: var(--muted); font: 500 14px/1 var(--font); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.eg-nav-links .eg-nav-top:hover,
.eg-nav-links .eg-has-dd.is-open > .eg-nav-top { color: var(--text); background: var(--hover-bg); }
.eg-nav-links .eg-nav-top.is-active { color: var(--text); }
/* стара золота риска під активним пунктом — тепер точка під текстом */
.eg-nav-links a.is-active::after { display: none; }
.eg-nav-links .eg-nav-top.is-active::before {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold-ink, var(--gold));
}
.eg-nav-chev { opacity: .6; transition: transform .2s; }
.eg-has-dd.is-open .eg-nav-chev { transform: rotate(180deg); }

/* ── Панель ── */
.eg-dd {
  position: absolute; top: 100%; left: 50%; z-index: 10000;
  padding-top: 14px; /* «місток» між кнопкою й панеллю, щоб ховер не обривався */
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s cubic-bezier(.2,.7,.2,1), visibility 0s linear .2s;
}
.eg-has-dd.is-open > .eg-dd {
  transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .2s ease, transform .2s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.eg-dd__in {
  display: flex; gap: 8px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.15);
}
.eg-dd__main { width: 320px; display: flex; flex-direction: column; gap: 6px; }
.eg-dd--cols .eg-dd__main { width: 560px; flex-direction: row; }
.eg-dd--cols .eg-dd__grp { flex: 1; min-width: 0; }
.eg-dd--wide .eg-dd__main { width: 500px; }
.eg-dd--wide .eg-dd__list { grid-template-columns: 1fr 1fr; }
.eg-dd__grp + .eg-dd__grp { border-top: 1px solid var(--border); padding-top: 6px; }
.eg-dd--cols .eg-dd__grp + .eg-dd__grp { border-top: 0; padding-top: 0; border-left: 1px solid var(--border); padding-left: 8px; }

.eg-nav-links .eg-dd__h {
  margin: 0; padding: 10px 14px 6px;
  font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); opacity: .8;
}
.eg-dd__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.eg-nav-links .eg-dd__item {
  display: flex; flex-direction: column; gap: 4px; padding: 11px 14px; border-radius: 12px;
  color: var(--text); text-decoration: none; letter-spacing: 0; font-size: 14px;
  transition: background-color .15s;
}
.eg-nav-links .eg-dd__item:hover,
.eg-nav-links .eg-dd__item:focus-visible { background: var(--hover-bg); color: var(--text); }
.eg-dd__t { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: color .15s; }
.eg-dd__arr { opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; color: var(--gold-ink, var(--gold)); }
.eg-dd__item:hover .eg-dd__t, .eg-dd__item:focus-visible .eg-dd__t { color: var(--gold-ink, var(--gold)); }
.eg-dd__item:hover .eg-dd__arr, .eg-dd__item:focus-visible .eg-dd__arr { opacity: 1; transform: none; }
.eg-dd__d { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
/* відкрита зараз сторінка: золота риска ліворуч */
.eg-nav-links .eg-dd__item.is-active { box-shadow: inset 2px 0 0 var(--gold-ink, var(--gold)); border-radius: 2px 12px 12px 2px; }
.eg-dd__item.is-active .eg-dd__t { color: var(--gold-ink, var(--gold)); }

.eg-nav-links .eg-dd__more {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin: 4px 0 4px; padding: 8px 14px; border-radius: 100px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-decoration: none;
  color: var(--gold-ink, var(--gold)); transition: background-color .15s;
}
.eg-nav-links .eg-dd__more:hover { background: var(--hover-bg); color: var(--gold-ink, var(--gold)); }

/* ── Картка-підказка в Каталозі ── */
.eg-nav-links .eg-dd__promo {
  width: 250px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; border-radius: 14px; text-decoration: none; letter-spacing: 0;
  color: var(--text); border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,191,47,.18), transparent 60%),
    linear-gradient(180deg, var(--surface2), var(--bg2));
  transition: border-color .2s;
}
.eg-nav-links .eg-dd__promo:hover { border-color: var(--gold-ink, var(--gold)); color: var(--text); }
.eg-dd__promo-k { font: 600 13px/1.3 var(--font); color: var(--gold-ink, var(--gold)); }
.eg-dd__promo-t { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.eg-dd__promo-p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.eg-dd__promo-b {
  margin-top: auto; align-self: flex-start; display: inline-flex; flex: 0 0 auto; width: auto; gap: 6px; padding: 10px 18px; border-radius: 100px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--btn-ink, #09090D);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transition: transform .15s;
}
.eg-dd__promo:hover .eg-dd__promo-b { transform: translateX(2px); }

/* Ширина: 5 пунктів вміщаються до 1100px, далі — бургер.
   (Старі правила style.css ховали меню вже з 1300px.) */
@media (max-width: 1460px) and (min-width: 1101px) {
  .eg-nav-links { gap: 2px; }
  .eg-nav-links .eg-nav-top { font-size: 14px; padding: 0 12px; }
}
@media (max-width: 1300px) and (min-width: 1101px) {
  .eg-nav-links { display: flex; }
  .eg-nav-cta { display: inline-flex; }
  .eg-nav .eg-nav-burger { display: none; }
  .eg-dd--wide .eg-dd__main { width: 440px; }
}
@media (max-width: 1100px) {
  .eg-nav-links { display: none; }
  .eg-nav-cta { display: none; }
  .eg-nav .eg-nav-burger { display: flex; }
}

/* ── Мобільне меню: акордеон ── */
.eg-mob-menu { max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.eg-mob-grp__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 4px; background: none !important; border: 0; box-shadow: none !important; border-radius: 0;
  color: var(--text) !important; font: 500 16px/1.3 var(--font); text-align: left; cursor: pointer;
}
.eg-mob-grp__btn.is-active { color: var(--gold-ink, var(--gold)) !important; }
.eg-mob-grp__btn svg { opacity: .6; transition: transform .2s; flex-shrink: 0; }
.eg-mob-grp.is-open .eg-mob-grp__btn svg { transform: rotate(180deg); }
.eg-mob-sub { list-style: none; margin: 0 0 14px 4px; padding: 0 0 0 14px; display: none; border-left: 1px solid var(--border); }
.eg-mob-grp.is-open .eg-mob-sub { display: block; }
.eg-mob-links .eg-mob-sub li { border: 0; }
.eg-mob-links .eg-mob-sub a { display: block; padding: 9px 0; font-size: 15px; color: var(--muted); }
.eg-mob-links .eg-mob-sub a:hover { color: var(--text); }
.eg-mob-links .eg-mob-sub a.is-active { color: var(--gold-ink, var(--gold)); box-shadow: inset 2px 0 0 var(--gold-ink, var(--gold)); margin-left: -15px; padding-left: 15px; }
.eg-mob-links .eg-mob-sub a.eg-mob-sub__more { color: var(--gold-ink, var(--gold)); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .eg-dd, .eg-has-dd.is-open > .eg-dd, .eg-nav-chev, .eg-mob-grp__btn svg, .eg-dd__arr { transition: none; }
}

html[data-theme="light"] .eg-dd__in { box-shadow: 0 24px 60px rgba(15,23,42,.14), 0 2px 6px rgba(15,23,42,.06); }
html[data-theme="light"] .eg-nav-links .eg-dd__promo {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0,113,227,.12), transparent 60%),
    linear-gradient(180deg, var(--surface2), var(--surface));
}

/* eg-buttons */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — єдина поведінка кнопок.

   Власник 2026-10-06: «пройдись по всьому, щоб усюди був однаковий гарний
   ховер в обох темах». До цього кнопки описували три файли й по-різному:
   .btn-p/.btn-s — у banner-home.css (жорстко прописане золото, світлої теми
   не знали) і ще раз у pages-pro.css (на токенах); .btn-primary та
   .eg-btn-primary — у style.css, теж із жорстким rgba(255,191,47) у тіні.
   Через це на головній і на внутрішніх сторінках однакові на вигляд кнопки
   поводились по-різному, а в світлій темі синя кнопка світилась жовтим.

   Тут — спільний шар поверх усіх трьох родин: колір, тінь, ховер, натиск
   і фокус. Геометрію (padding, radius, розмір шрифту) лишаємо на місці —
   вона в кожної кнопки своя й від неї залежать розкладки.

   Файл підключається останнім (functions.php, пріоритет 102), тому виграє
   в каскаді без !important. Акцент береться з --gold, а він у світлій темі
   уже синій — звідси «однаково в обох темах».
   ═══════════════════════════════════════════════════════════════════════ */

:root{ --btn-ink:#09090D; }                 /* текст на залитій кнопці */
html[data-theme="light"]{ --btn-ink:#FFFFFF; }
/* у «темних островах» світлої теми заливка лишається золотою — текст теж темний */
html[data-theme="light"] .eg-island{ --btn-ink:#09090D; }

/* ── Первинна (залита) ────────────────────────────────────────────────── */
.btn-p, .btn-primary, .eg-btn-primary{
  background:linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color:var(--btn-ink);
  border:0;
  box-shadow:0 2px 12px color-mix(in srgb, var(--gold) 22%, transparent);
  transition:transform .22s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, filter .2s ease;
}
.btn-p:hover, .btn-primary:hover, .eg-btn-primary:hover,
.btn-p:focus-visible, .btn-primary:focus-visible, .eg-btn-primary:focus-visible{
  color:var(--btn-ink);
  transform:translateY(-2px);
  filter:brightness(1.07);
  box-shadow:0 10px 30px color-mix(in srgb, var(--gold) 42%, transparent);
}
.btn-p:active, .btn-primary:active, .eg-btn-primary:active{
  transform:translateY(0) scale(.985);
  filter:none;
  box-shadow:0 2px 10px color-mix(in srgb, var(--gold) 26%, transparent);
}

/* ── Вторинна (контурна) ──────────────────────────────────────────────── */
.btn-s, .btn-secondary, .eg-btn-secondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:none;
  transition:transform .22s cubic-bezier(.16,1,.3,1), border-color .2s ease,
             background-color .2s ease, color .2s ease;
}
.btn-s:hover, .btn-secondary:hover, .eg-btn-secondary:hover,
.btn-s:focus-visible, .btn-secondary:focus-visible, .eg-btn-secondary:focus-visible{
  color:var(--text);
  transform:translateY(-2px);
  border-color:color-mix(in srgb, var(--gold) 60%, transparent);
  background-color:var(--hover-bg);
}
.btn-s:active, .btn-secondary:active, .eg-btn-secondary:active{
  transform:translateY(0) scale(.985);
}

/* ── Фокус із клавіатури — однаковий у всіх ───────────────────────────── */
.btn-p:focus-visible, .btn-primary:focus-visible, .eg-btn-primary:focus-visible,
.btn-s:focus-visible, .btn-secondary:focus-visible, .eg-btn-secondary:focus-visible{
  outline:3px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  .btn-p, .btn-primary, .eg-btn-primary,
  .btn-s, .btn-secondary, .eg-btn-secondary{ transition:box-shadow .2s ease, border-color .2s ease; }
  .btn-p:hover, .btn-primary:hover, .eg-btn-primary:hover,
  .btn-s:hover, .btn-secondary:hover, .eg-btn-secondary:hover,
  .btn-p:active, .btn-primary:active, .eg-btn-primary:active,
  .btn-s:active, .btn-secondary:active, .eg-btn-secondary:active{ transform:none; }
}

/* eg-vote-banner */
/* ═══════════════════════════════════════════════════════════════════════
   ENERGARD — банер «Народний бренд» (template-parts/vote-banner.php).

   Картка на токенах теми (у світлій темі акцент синій, як усюди), а золото
   лишається лише там, де воно від нагороди: обідок, промені, сяйво й сама
   статуетка. Статуетка вирізана з офіційного зображення top20.ua і виходить
   за нижній край картки — щоб блок читався як сцена, а не як фото в рамці.
   ═══════════════════════════════════════════════════════════════════════ */

.eg-vote{ padding:clamp(32px,5vw,72px) 20px; }

.eg-vote__card{
  position:relative; isolation:isolate;
  max-width:1120px; margin:0 auto;
  display:grid; grid-template-columns:minmax(0,1fr) clamp(240px,30%,360px);
  gap:clamp(20px,3vw,44px); align-items:center;
  padding:clamp(28px,3.6vw,48px) clamp(24px,3.6vw,52px);
  border-radius:30px;
  background:
    radial-gradient(ellipse 70% 120% at 88% 60%, color-mix(in srgb, var(--gold) 13%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 6%, var(--surface)) 0%, var(--surface) 55%);
  border:1px solid color-mix(in srgb, var(--gold) 30%, var(--border));
  box-shadow:var(--card-shadow, 0 24px 60px rgba(0,0,0,.4));
}
/* тонкий відблиск по верхньому краю — картка виглядає обʼємною.
   Без mix-blend-mode: у світлій темі screen вибілював би верх картки. */
.eg-vote__card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, color-mix(in srgb, var(--gold) 9%, transparent) 0%, transparent 38%);
}

/* ── Текст ────────────────────────────────────────────────────────────── */
.eg-vote__txt{ position:relative; z-index:2; min-width:0; }
/* лого ENERGARD поруч із плашкою конкурсу: «ми берем участь у цьому» */
.eg-vote__lockup{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.eg-vote__logo{
  width:auto; height:42px; display:block; flex:0 0 auto;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
html[data-theme="light"] .eg-vote__logo{ filter:drop-shadow(0 4px 10px rgba(15,23,42,.18)); }
.eg-vote__sep{
  width:1px; height:26px; flex:0 0 auto;
  background:linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.eg-vote__badge{
  display:inline-flex; align-items:center; gap:9px;
  padding:7px 14px 7px 11px; border-radius:100px;
  font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold);
  background:color-mix(in srgb, var(--gold) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--gold) 34%, transparent);
}
.eg-vote__dot{
  width:7px; height:7px; border-radius:50%; background:var(--gold); flex:0 0 auto;
  box-shadow:0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent);
  animation:egVoteDot 2.4s ease-out infinite;
}
@keyframes egVoteDot{ 70%{ box-shadow:0 0 0 7px transparent } 100%{ box-shadow:0 0 0 0 transparent } }

.eg-vote__h{
  margin:16px 0 0; font-size:clamp(30px,3.8vw,50px); font-weight:800;
  letter-spacing:-.045em; line-height:1.03; color:var(--text);
}
.eg-vote__h span{
  background:linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.eg-vote__nom{
  display:inline-flex; align-items:center; gap:9px;
  margin:16px 0 0; padding:9px 16px; border-radius:14px;
  font-size:15.5px; font-weight:650; color:var(--text);
  background:var(--hover-bg, rgba(255,255,255,.04));
  border:1px solid var(--border);
}
.eg-vote__nom svg{ width:18px; height:18px; flex:0 0 auto; color:var(--gold); }
.eg-vote__sub{ margin:16px 0 0; max-width:46ch; font-size:16px; line-height:1.6; color:var(--muted); }

/* ── Кнопка ───────────────────────────────────────────────────────────── */
.eg-vote__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:26px; }
.eg-vote__cta{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 34px; border-radius:100px;
  font-size:16px; font-weight:700; letter-spacing:-.01em; text-decoration:none; white-space:nowrap;
  background:linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color:var(--btn-ink, #09090D); border:0; cursor:pointer;
  box-shadow:0 2px 14px color-mix(in srgb, var(--gold) 28%, transparent);
  transition:transform .22s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, filter .2s ease;
}
.eg-vote__cta svg{ width:16px; height:16px; }
.eg-vote__cta:hover, .eg-vote__cta:focus-visible{
  color:var(--btn-ink, #09090D);
  transform:translateY(-2px); filter:brightness(1.07);
  box-shadow:0 12px 34px color-mix(in srgb, var(--gold) 45%, transparent);
}
.eg-vote__cta:active{ transform:translateY(0) scale(.985); filter:none; }
.eg-vote__cta:focus-visible{ outline:3px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset:3px; }
.eg-vote__free{ font-size:13.5px; color:var(--muted); }

.eg-vote__note{
  display:flex; align-items:flex-start; gap:9px;
  margin:20px 0 0; max-width:54ch; font-size:13px; line-height:1.5; color:var(--muted);
}
.eg-vote__note svg{ width:15px; height:15px; flex:0 0 auto; margin-top:2px; color:var(--gold); }
.eg-vote__note strong{ color:var(--text); font-weight:650; }

/* ── Сцена зі статуеткою ──────────────────────────────────────────────── */
.eg-vote__art{
  position:relative; z-index:1; align-self:stretch;
  display:flex; align-items:flex-end; justify-content:center;
  min-height:clamp(230px,26vw,320px);
}
/* промені за статуеткою */
.eg-vote__rays{
  position:absolute; left:50%; top:46%; transform:translate(-50%,-50%);
  width:min(520px,135%); aspect-ratio:1; border-radius:50%; pointer-events:none;
  background:repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--gold) 26%, transparent) 0deg 5deg, transparent 5deg 22deg);
  -webkit-mask:radial-gradient(circle, #000 18%, transparent 68%);
          mask:radial-gradient(circle, #000 18%, transparent 68%);
  opacity:.42; animation:egVoteRays 48s linear infinite;
}
@keyframes egVoteRays{ to{ transform:translate(-50%,-50%) rotate(360deg) } }
/* тепле сяйво */
.eg-vote__halo{
  position:absolute; left:50%; top:44%; transform:translate(-50%,-50%);
  width:min(400px,110%); aspect-ratio:1; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent) 0%, transparent 65%);
  filter:blur(10px);
}
.eg-vote__statue{
  position:relative; display:block; width:auto;
  height:clamp(260px,30vw,400px);
  margin-bottom:clamp(-52px,-4vw,-28px);      /* виходить за нижній край картки */
  filter:drop-shadow(0 18px 26px rgba(0,0,0,.45));
  animation:egVoteFloat 7s ease-in-out infinite;
}
html[data-theme="light"] .eg-vote__statue{ filter:drop-shadow(0 18px 26px rgba(15,23,42,.28)); }
@keyframes egVoteFloat{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-9px) } }
/* калюжка-тінь під статуеткою */
.eg-vote__pool{
  position:absolute; left:50%; bottom:clamp(-54px,-4vw,-30px); transform:translateX(-50%);
  width:62%; height:22px; border-radius:50%; pointer-events:none;
  background:radial-gradient(ellipse, color-mix(in srgb, var(--gold) 26%, transparent) 0%, transparent 70%);
  filter:blur(6px);
}

/* наш щит печаткою в нижньому правому куті — трохи під кутом, ніби
   наліпка «номінант». Кріпиться до картки, а не до сцени зі статуеткою. */
.eg-vote__seal{
  position:absolute; z-index:4;
  right:clamp(-20px,-1.4vw,-12px); bottom:clamp(-20px,-1.4vw,-12px);
  width:clamp(78px,9vw,112px); aspect-ratio:1;
  display:grid; place-items:center; border-radius:50%;
  transform:rotate(-12deg);
  background:radial-gradient(circle at 34% 28%,
    color-mix(in srgb, var(--gold) 24%, var(--surface)) 0%, var(--surface) 74%);
  border:2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow:0 14px 32px rgba(0,0,0,.5),
             inset 0 1px 0 color-mix(in srgb, var(--gold) 40%, transparent);
}
/* друге, тонше кільце всередині — щоб читалось саме як печатка */
.eg-vote__seal::before{
  content:''; position:absolute; inset:6px; border-radius:50%;
  border:1px dashed color-mix(in srgb, var(--gold) 38%, transparent);
  pointer-events:none;
}
html[data-theme="light"] .eg-vote__seal{ box-shadow:0 12px 28px rgba(15,23,42,.2), inset 0 1px 0 color-mix(in srgb, var(--gold) 36%, transparent); }
.eg-vote__seal img{ display:block; width:66%; height:auto; }

/* ── Вузькі екрани ────────────────────────────────────────────────────
   Власник 2026-10-07: на телефоні статуетка окремим блоком зверху зʼїдала
   третину екрана. Тепер вона декором у правому нижньому куті — під кутом,
   частково за межами картки, під текстом. Текст іде зліва на всю ширину,
   блок став коротшим. Наш щит повертається в шапку, бо кут тепер зайнятий
   статуеткою. */
@media (max-width:900px){
  .eg-vote__card{
    position:relative; overflow:hidden;
    grid-template-columns:1fr; text-align:left; gap:0;
    border-radius:26px;
    padding:clamp(22px,5vw,30px) clamp(18px,5vw,26px) clamp(96px,26vw,130px);
  }
  .eg-vote__txt{ position:relative; z-index:2; }

  /* сцена — у кут, під текстом. Висотою керуємо статуеткою (картинка вузька
     й висока: задавати ширину — значить отримати величезну висоту). */
  .eg-vote__art{
    position:absolute; z-index:0; right:3%; bottom:-22px;
    width:clamp(120px,32vw,150px); min-height:0; margin:0;
    display:flex; align-items:flex-end; justify-content:center;
    transform:rotate(10deg); transform-origin:100% 100%;
    pointer-events:none;
  }
  .eg-vote__statue{
    width:auto; height:clamp(160px,42vw,205px); margin:0;
    animation:none;                       /* у куті гойдання зайве */
    filter:drop-shadow(0 12px 20px rgba(0,0,0,.5));
  }
  .eg-vote__rays{ width:210%; top:44%; opacity:.26; }
  .eg-vote__halo{ width:175%; top:42%; }
  .eg-vote__pool{ display:none; }

  /* щит знову в шапці — кут віддали статуетці. Роздільник ховаємо: плашка
     не вміщається в один рядок із щитом і переноситься, а риска лишалась би
     висіти сама. */
  .eg-vote__logo{ display:block; height:38px; }
  .eg-vote__sep{ display:none; }
  .eg-vote__seal{ display:none; }

  .eg-vote__lockup{ justify-content:flex-start; gap:12px; }
  .eg-vote__h{ margin-top:16px; font-size:clamp(27px,7.6vw,38px); }
  /* у плашці номінації текст у два рядки — іконку тримаємо на першому */
  .eg-vote__nom{ font-size:14.5px; padding:9px 14px; align-items:flex-start; text-align:left; }
  .eg-vote__nom svg{ margin-top:1px; }
  .eg-vote__sub{ margin-top:12px; font-size:15px; max-width:32ch; }
  .eg-vote__actions{ justify-content:flex-start; gap:10px; margin-top:20px; }
  .eg-vote__note{ text-align:left; margin-top:16px; max-width:30ch; }
}
@media (max-width:460px){
  .eg-vote__cta{ width:100%; padding:15px 24px; }
  .eg-vote__free{ width:100%; text-align:center; }
  .eg-vote__badge{ font-size:10.5px; letter-spacing:.08em; padding:6px 12px 6px 10px; }
  .eg-vote__art{ right:1%; width:clamp(112px,32vw,136px); }
}

@media (prefers-reduced-motion: reduce){
  .eg-vote__rays, .eg-vote__statue, .eg-vote__dot{ animation:none; }
  .eg-vote__cta{ transition:box-shadow .2s ease; }
  .eg-vote__cta:hover, .eg-vote__cta:active{ transform:none; }
}

