/* 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}

/* 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-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-pages-pro */
/* Внутрішні сторінки в стилі головної (template-parts/page-hero.php + спільні дрібниці).
   Кольори — токени теми; у світлій темі акцент синій (--gold перевизначено). */

/* Кнопки: тут лише геометрія внутрішніх сторінок. Колір, тінь, ховер,
   натиск і фокус — спільні в assets/css/buttons.css (обидві теми). */
.btn-p{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:100px;
  font-size:14px;font-weight:600;font-family:var(--font,'DM Sans'),sans-serif;
  cursor:pointer;text-decoration:none;
}
.btn-s{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:100px;
  font-size:14px;font-weight:600;font-family:var(--font,'DM Sans'),sans-serif;
  cursor:pointer;text-decoration:none;
}

/* ═══ Шапка сторінки ═══════════════════════════════════════════════════ */
.eg-ph{
  --ph-grid: var(--grid-line, rgba(255,255,255,.025));
  position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);
  background:var(--bg);color:var(--text);border-bottom:1px solid var(--border);
}
.eg-ph--photo{grid-template-columns:minmax(0,1fr) minmax(0,46%);min-height:clamp(420px,42vw,540px)}
.eg-ph__deco{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 60% at 8% 0%,color-mix(in srgb,var(--gold) 12%,transparent),transparent 70%),
             radial-gradient(45% 60% at 60% 100%,rgba(27,79,196,.12),transparent 70%),
             linear-gradient(var(--ph-grid) 1px,transparent 1px) 0 0/64px 64px,
             linear-gradient(90deg,var(--ph-grid) 1px,transparent 1px) 0 0/64px 64px;
  -webkit-mask-image:linear-gradient(180deg,#000 60%,transparent);mask-image:linear-gradient(180deg,#000 60%,transparent)}
.eg-ph__main{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:64px clamp(24px,4vw,64px) 64px max(clamp(20px,3vw,40px),calc((100vw - 1240px)/2))}
.eg-ph:not(.eg-ph--photo) .eg-ph__main{align-items:center;text-align:center;padding:72px 20px 64px}
.eg-ph__crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:22px;font-size:13px;color:var(--muted)}
.eg-ph__crumbs a{color:var(--muted);text-decoration:none}.eg-ph__crumbs a:hover{color:var(--text)}
.eg-ph__crumbs span[aria-hidden]{opacity:.5}
.eg-ph__kicker{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-ink,var(--gold))}
.eg-ph__kicker::before{content:"";width:22px;height:1px;background:currentColor;opacity:.7}
.eg-ph .eg-ph__h{margin:16px 0 0;font-size:clamp(32px,4.2vw,56px);line-height:1.06;letter-spacing:-.03em;font-weight:700;color:var(--text);max-width:18ch}
.eg-ph:not(.eg-ph--photo) .eg-ph__h{max-width:22ch}
.eg-ph .eg-ph__sub{margin:18px 0 0;font-size:17px;line-height:1.65;color:var(--muted);max-width:52ch}
.eg-ph__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.eg-ph__media{position:relative;min-height:100%;
  background:linear-gradient(160deg,var(--gold) 0%,var(--gold-deep,#f0b800) 55%,color-mix(in srgb,var(--gold) 50%,transparent) 100%);
  clip-path:polygon(12% 0,100% 0,100% 100%,12% 100%,0 50%)}
.eg-ph__media-in,.eg-ph__scrim{position:absolute;inset:0;clip-path:polygon(12.7% 0,100% 0,100% 100%,12.7% 100%,.8% 50%)}
.eg-ph__media-in{background:var(--bg)}
.eg-ph__media-in img{width:100%;height:100%;object-fit:cover;display:block;animation:egPhZoom 14s ease-out both}
@keyframes egPhZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
.eg-ph__scrim{pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--bg) 70%,transparent) 0%,transparent 35%)}

/* лічильники у шапці «Кейси» */
.eg-ph .egp-stats{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0;justify-content:flex-start}
.eg-ph .egp-stat{padding:14px 20px;border-radius:16px;border:1px solid var(--border);background:var(--surface);min-width:0;text-align:left}

/* надзаголовки розділів — з рисками, як на головній */
.eg-eyebrow, .eg-section-label{display:inline-flex;align-items:center;gap:10px}
.eg-eyebrow::before, .eg-section-label::before{content:"";width:22px;height:1px;background:currentColor;opacity:.6}

@media (max-width:900px){
  .eg-ph--photo{grid-template-columns:1fr;min-height:0}
  .eg-ph__main{padding:40px clamp(20px,5vw,40px) 28px}
  .eg-ph__media{order:2;min-height:clamp(220px,52vw,340px);clip-path:polygon(0 12%,50% 0,100% 12%,100% 100%,0 100%)}
  .eg-ph__media-in,.eg-ph__scrim{clip-path:polygon(0 12.8%,50% .8%,100% 12.8%,100% 100%,0 100%)}
  .eg-ph__scrim{background:linear-gradient(0deg,rgba(9,9,13,.35),transparent 45%)}
}
@media (max-width:600px){
  .eg-ph__ctas .btn-p,.eg-ph__ctas .btn-s{flex:1 1 100%}
  .eg-ph__sub{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.eg-ph__media-in img{animation:none}}

/* ═══ Картки товарів: «студійна» підкладка, як на головній ═══════════════ */
.woocommerce ul.products li.product.eg-card, .woocommerce-page ul.products li.product.eg-card{ border-radius: 22px !important; }
.eg-card--has-img .eg-card-thumb{ background: radial-gradient(90% 80% at 50% 38%, #ffffff 0%, #f1f2f5 58%, #dfe2e8 100%); }
.eg-card--has-img .eg-card-thumb::after{ content: ""; position: absolute; left: 24%; right: 24%; bottom: 10px; height: 12px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15,23,42,.22), transparent); filter: blur(2px); pointer-events: none; }
.eg-card--has-img .eg-card-thumb img{ position: relative; z-index: 1; mix-blend-mode: multiply; padding: 18px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.woocommerce ul.products li.product.eg-card:hover .eg-card-thumb img{ transform: translateY(-4px) scale(1.03); }
.woocommerce ul.products li.product.eg-card:hover, .woocommerce-page ul.products li.product.eg-card:hover{
  border-color: color-mix(in srgb, var(--gold) 50%, transparent) !important; box-shadow: 0 22px 50px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--gold) 20%, transparent) !important; }
html[data-theme="light"] .woocommerce ul.products li.product.eg-card:hover{ box-shadow: 0 22px 50px rgba(15,23,42,.12) !important; }
.eg-card-chip{ border-radius: 100px !important; }

/* сторінка товару — та сама підкладка під фото */
.eg-sp-wrap--has-img .eg-sp-image-card{ border-radius: 24px; background: radial-gradient(90% 80% at 50% 40%, #ffffff 0%, #f1f2f5 58%, #dfe2e8 100%);
  border-color: color-mix(in srgb, var(--gold) 25%, transparent); }
.eg-sp-wrap--has-img .eg-sp-img-wrap img{ mix-blend-mode: multiply; }
.eg-sp-price-card, .eg-sp-desc-card, .eg-sp-attrs-block{ border-radius: 22px !important; }

/* ═══ «Питання та відповіді»: скляні картки, золота смужка у відкритого ══ */
.eg-faq-item{ position: relative; border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
html[data-theme="light"] .eg-faq-item{ background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.eg-faq-item::before{ content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-light,#ffd060), var(--gold), var(--gold-deep,#f0b800)); opacity: 0; transition: opacity .3s; }
.eg-faq-item.eg-open::before{ opacity: 1; }
.eg-faq-item.eg-open{ background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 9%, transparent), rgba(255,255,255,.02)); border-color: color-mix(in srgb, var(--gold) 40%, transparent);
  box-shadow: 0 20px 44px rgba(0,0,0,.3); }
html[data-theme="light"] .eg-faq-item.eg-open{ background: linear-gradient(135deg, #fff, #F0F7FF); box-shadow: 0 20px 44px rgba(15,23,42,.12); }
.eg-faq-ico{ border-radius: 50%; }

/* ═══ «Чому ENERGARD» на «Про нас»: скляні картки ═════════════════════════ */
.eg-why-item{ padding: 20px 22px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: border-color .25s, transform .25s, box-shadow .25s; }
.eg-why-item:hover{ border-color: color-mix(in srgb, var(--gold) 45%, transparent); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
html[data-theme="light"] .eg-why-item{ background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
html[data-theme="light"] .eg-why-item:hover{ box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.eg-why-list{ gap: 14px !important; }

/* Довідники на сторінці «Питання» (page-faq.php) */
.eg-guides__grid{ max-width:1240px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.eg-guides__card{ display:flex; flex-direction:column; gap:8px; padding:22px; border-radius:20px; background:var(--surface); border:1px solid var(--border); color:var(--text); text-decoration:none; transition:border-color .2s, transform .2s; }
.eg-guides__card:hover{ border-color:color-mix(in srgb, var(--gold) 50%, transparent); transform:translateY(-3px); color:var(--text); }
.eg-guides__ico{ width:44px; height:44px; border-radius:14px; display:grid; place-items:center; font-size:22px; background:color-mix(in srgb, var(--gold) 12%, transparent); }
.eg-guides__card b{ font-size:18px; }
.eg-guides__card span:not(.eg-guides__ico){ font-size:14px; line-height:1.55; color:var(--muted); }
.eg-guides__card i{ margin-top:auto; font-style:normal; font-weight:700; color:var(--gold-ink, var(--gold)); }
/* фото/декор шапки не розширюють сторінку на телефоні (виявлено на /about/, 2026-10-26) */
.eg-ph { overflow-x: clip; }

/* 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; }
}

