/*
Theme Name: TI Energy Astra
Theme URI: https://ti-group.com.ua/
Description: A visual child theme for Astra and WooCommerce backup power stores.
Author: TI Group
Template: astra
Version: 1.3.7
Text Domain: ti-energy-astra
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --ti-energy-ink: #111820;
  --ti-energy-ink-soft: #202d3b;
  --ti-energy-paper: #f4f6f8;
  --ti-energy-line: #dce3e9;
  --ti-energy-muted: #667386;
  --ti-energy-accent: #ff6a00;
  --ti-energy-accent-dark: #d95500;
  --ti-energy-white: #ffffff;
}

.ti-energy-home {
  color: var(--ti-energy-ink);
  background: var(--ti-energy-white);
  font-family: inherit;
}

.ti-energy-home *,
.ti-energy-home *::before,
.ti-energy-home *::after {
  box-sizing: border-box;
}

.ti-energy-wrap {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}

.ti-energy-hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ti-energy-white);
  background-color: var(--ti-energy-ink);
  background-image: linear-gradient(90deg, rgba(8, 12, 17, 0.94) 0%, rgba(8, 12, 17, 0.72) 40%, rgba(8, 12, 17, 0.08) 76%), var(--ti-energy-hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.ti-energy-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  padding: 86px 0;
}

.ti-energy-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--ti-energy-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ti-energy-hero h1,
.ti-energy-heading h2,
.ti-energy-card h3,
.ti-energy-benefit h3 {
  margin: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.ti-energy-hero h1 {
  max-width: 560px;
  font-size: clamp(34px, 4vw, 58px);
}

.ti-energy-hero-copy {
  max-width: 540px;
  margin: 23px 0 30px;
  font-size: 19px;
  line-height: 1.5;
}

.ti-energy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--ti-energy-accent);
  border-radius: 5px;
  color: var(--ti-energy-white);
  background: var(--ti-energy-accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ti-energy-button:hover,
.ti-energy-button:focus {
  color: var(--ti-energy-white);
  border-color: var(--ti-energy-accent-dark);
  background: var(--ti-energy-accent-dark);
  transform: translateY(-1px);
}

.ti-energy-section {
  padding: 72px 0;
}

.ti-energy-section--soft {
  background: var(--ti-energy-paper);
}

.ti-energy-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.ti-energy-heading h2 {
  max-width: 590px;
  font-size: 32px;
}

.ti-energy-heading p {
  max-width: 490px;
  margin: 0;
  color: var(--ti-energy-muted);
  font-size: 16px;
  line-height: 1.55;
}

.ti-energy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ti-energy-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--ti-energy-line);
  border-radius: 7px;
  color: var(--ti-energy-ink);
  background-color: var(--ti-energy-paper);
  background-image: linear-gradient(90deg, rgba(12, 17, 24, 0.86) 0%, rgba(12, 17, 24, 0.38) 47%, rgba(12, 17, 24, 0) 72%), var(--ti-energy-card-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.ti-energy-card--light {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.76) 49%, rgba(255, 255, 255, 0.04) 75%), var(--ti-energy-card-image);
}

.ti-energy-card-content {
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  max-width: 225px;
  padding: 30px;
}

.ti-energy-card h3 {
  color: inherit;
  font-size: 25px;
}

.ti-energy-card:not(.ti-energy-card--light) h3,
.ti-energy-card:not(.ti-energy-card--light) p {
  color: var(--ti-energy-white);
}

.ti-energy-card p {
  margin: 14px 0 22px;
  color: var(--ti-energy-ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.ti-energy-card .ti-energy-button {
  min-height: 43px;
  margin-top: auto;
  padding: 10px 16px;
  font-size: 13px;
}

.ti-energy-trust {
  color: var(--ti-energy-white);
  background: linear-gradient(90deg, #101921 0%, #182938 100%);
}

.ti-energy-trust .ti-energy-heading h2,
.ti-energy-trust .ti-energy-heading p {
  color: var(--ti-energy-white);
}

.ti-energy-trust .ti-energy-heading p {
  opacity: 0.78;
}

.ti-energy-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ti-energy-benefit {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.ti-energy-benefit-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--ti-energy-accent);
  border-radius: 50%;
  color: var(--ti-energy-accent);
  font-weight: 800;
}

.ti-energy-benefit h3 {
  color: var(--ti-energy-white);
  font-size: 17px;
}

.ti-energy-benefit p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.ti-energy-brands {
  display: grid;
  grid-template-columns: auto repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  padding: 34px 0;
  color: var(--ti-energy-muted);
  font-size: 17px;
  font-weight: 800;
}

.ti-energy-brands-label {
  color: var(--ti-energy-ink);
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .ti-energy-cards { grid-template-columns: 1fr; }
  .ti-energy-card { min-height: 270px; }
  .ti-energy-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ti-energy-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ti-energy-brands-label { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .ti-energy-wrap { width: min(100% - 32px, 1240px); }
  .ti-energy-hero { min-height: 540px; background-image: linear-gradient(90deg, rgba(8, 12, 17, 0.94), rgba(8, 12, 17, 0.55)), var(--ti-energy-hero-image); }
  .ti-energy-hero-content { padding: 68px 0; }
  .ti-energy-hero h1 { font-size: 38px; }
  .ti-energy-hero-copy { font-size: 17px; }
  .ti-energy-section { padding: 52px 0; }
  .ti-energy-heading { display: block; }
  .ti-energy-heading h2 { font-size: 28px; }
  .ti-energy-heading p { margin-top: 12px; }
  .ti-energy-benefits { grid-template-columns: 1fr; }
  .ti-energy-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* Version 1.1: Felicity-only storefront and Astra navigation. */
.ti-energy-info-bar {
  color: #d8dde3;
  background: #111820;
  font-size: 12px;
}

.ti-energy-info-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ti-energy-info-bar nav {
  display: flex;
  gap: 24px;
}

.ti-energy-info-bar a {
  color: #d8dde3;
  text-decoration: none;
}

.ti-energy-info-bar a:hover,
.ti-energy-info-bar a:focus {
  color: var(--ti-energy-accent);
}

.ast-primary-header-bar {
  border-bottom-color: #e1e6ea;
  background: #ffffff;
}

.site-header .site-title a,
.site-header .site-branding a {
  color: var(--ti-energy-ink);
  font-weight: 800;
}

.site-header .main-header-menu > .menu-item > .menu-link {
  min-height: 72px;
  padding-inline: 15px;
  border-bottom: 3px solid transparent;
  color: #202934;
  font-size: 14px;
  font-weight: 700;
}

.site-header .main-header-menu > .menu-item:hover > .menu-link,
.site-header .main-header-menu > .current-menu-item > .menu-link,
.site-header .main-header-menu > .current-menu-ancestor > .menu-link,
.site-header .main-header-menu > .ti-energy-menu-open > .menu-link {
  border-bottom-color: var(--ti-energy-accent);
  color: var(--ti-energy-accent-dark);
}

.ti-energy-cart-count {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--ti-energy-white);
  background: var(--ti-energy-accent);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  vertical-align: middle;
}

.site-header .main-header-menu .sub-menu {
  min-width: 260px;
  padding: 9px;
  border: 1px solid #dfe4e8;
  border-top: 3px solid var(--ti-energy-accent);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 22, 30, 0.16);
}

.site-header .main-header-menu .sub-menu .menu-link {
  padding: 12px 14px;
  border-radius: 4px;
  color: #17202a;
  font-size: 14px;
  font-weight: 700;
}

.site-header .main-header-menu .sub-menu .menu-link:hover,
.site-header .main-header-menu .sub-menu .menu-link:focus {
  color: var(--ti-energy-accent-dark);
  background: #f4f6f8;
}

.site-header .main-header-menu > .ti-energy-menu-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.ti-energy-submenu-toggle {
  display: none;
}

.ti-energy-home .ti-energy-hero {
	min-height: 560px;
	display: block;
	color: var(--ti-energy-ink);
	background-color: #f4f5f5;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 35%, rgba(255, 255, 255, 0.08) 59%), url("assets/images/slider-home-day.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.ti-energy-hero-grid {
	min-height: 560px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.ti-energy-home .ti-energy-hero-content {
	width: min(100%, 610px);
	max-width: 610px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 68px 0;
}

.ti-energy-home .ti-energy-hero h1 {
  max-width: 600px;
  font-size: clamp(39px, 4.6vw, 61px);
  line-height: 1.04;
}

.ti-energy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ti-energy-button--outline {
	border-color: #68737d;
	background: transparent;
}

.ti-energy-home .ti-energy-hero .ti-energy-button--outline {
	color: var(--ti-energy-ink);
	border-color: #76818b;
	background: rgba(255, 255, 255, 0.65);
}

.ti-energy-button--outline:hover,
.ti-energy-button--outline:focus {
	border-color: #ffffff;
	background: transparent;
}

.ti-energy-home .ti-energy-hero .ti-energy-button--outline:hover,
.ti-energy-home .ti-energy-hero .ti-energy-button--outline:focus {
	color: var(--ti-energy-ink);
	border-color: var(--ti-energy-ink);
	background: #ffffff;
}

.ti-energy-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
	color: #596675;
  font-size: 12px;
}

.ti-energy-hero-trust span {
  position: relative;
  padding-left: 15px;
}

.ti-energy-hero-trust span::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ti-energy-accent);
}

.ti-energy-product-stage {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #eef1f3;
}

.ti-energy-product-stage::after,
.ti-energy-consultation-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 23%;
  background: #dfe4e7;
}

.ti-energy-product-stage figcaption,
.ti-energy-consultation-label {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: var(--ti-energy-ink);
}

.ti-energy-product-stage figcaption small,
.ti-energy-consultation-label small {
  color: var(--ti-energy-accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ti-energy-product-stage figcaption strong,
.ti-energy-consultation-label strong {
  margin-top: 4px;
  font-size: 17px;
}

.ti-energy-product-stage__inverter,
.ti-energy-product-stage__battery,
.ti-energy-consultation-inverter,
.ti-energy-consultation-battery {
  position: absolute;
  z-index: 2;
  object-fit: contain;
}

.ti-energy-product-stage__inverter {
  right: 5%;
  bottom: 34px;
  width: 56%;
  max-height: 395px;
}

.ti-energy-product-stage__battery {
  z-index: 1;
  bottom: 33px;
  left: 4%;
  width: 34%;
  max-height: 310px;
  mix-blend-mode: multiply;
}

.ti-energy-home .ti-energy-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ti-energy-home .ti-energy-card {
  min-height: 0;
  display: grid;
  grid-template-rows: 245px 1fr;
  overflow: hidden;
  border: 1px solid var(--ti-energy-line);
  border-radius: 7px;
  color: var(--ti-energy-ink);
  background: #ffffff;
  background-image: none;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ti-energy-home .ti-energy-card:hover,
.ti-energy-home .ti-energy-card:focus {
  border-color: var(--ti-energy-accent);
  color: var(--ti-energy-ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(20, 27, 37, 0.12);
}

.ti-energy-card-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f5f7;
}

.ti-energy-card-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ti-energy-home .ti-energy-card-content {
  height: auto;
  max-width: none;
  display: block;
  padding: 25px;
}

.ti-energy-home .ti-energy-card-content small {
  color: var(--ti-energy-accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ti-energy-home .ti-energy-card h3 {
  margin-top: 7px;
  color: var(--ti-energy-ink);
}

.ti-energy-home .ti-energy-card p {
  min-height: 45px;
  margin: 12px 0 19px;
  color: var(--ti-energy-muted);
}

.ti-energy-home .ti-energy-card-content > span {
  color: var(--ti-energy-ink);
  font-size: 14px;
  font-weight: 800;
}

.ti-energy-service-links {
  border-top: 1px solid var(--ti-energy-line);
  border-bottom: 1px solid var(--ti-energy-line);
  background: #f4f6f8;
}

.ti-energy-service-links .ti-energy-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-energy-service-links a {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 4px 18px;
  padding: 24px 28px;
  border-right: 1px solid var(--ti-energy-line);
  color: var(--ti-energy-ink);
  text-decoration: none;
}

.ti-energy-service-links a:first-child {
  border-left: 1px solid var(--ti-energy-line);
}

.ti-energy-service-links a:hover,
.ti-energy-service-links a:focus {
  color: var(--ti-energy-accent-dark);
  background: #ffffff;
}

.ti-energy-service-links small {
  grid-column: 1;
  color: var(--ti-energy-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ti-energy-service-links strong {
  grid-column: 1;
  font-size: 16px;
}

.ti-energy-service-links a > span {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--ti-energy-accent);
  font-size: 22px;
}

.ti-energy-consultation {
  background: #ffffff;
}

.ti-energy-consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 62px;
  align-items: center;
}

.ti-energy-consultation-stage {
  position: relative;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #eef1f3;
}

.ti-energy-consultation-inverter {
  right: 5%;
  bottom: 26px;
  width: 54%;
  max-height: 335px;
}

.ti-energy-consultation-battery {
  z-index: 1;
  bottom: 25px;
  left: 5%;
  width: 34%;
  max-height: 270px;
  mix-blend-mode: multiply;
}

.ti-energy-consultation-copy h2 {
  margin: 0;
  color: var(--ti-energy-ink);
  font-size: clamp(31px, 3.6vw, 47px);
  line-height: 1.08;
}

.ti-energy-consultation-copy > p {
  margin: 19px 0;
  color: var(--ti-energy-muted);
  font-size: 17px;
  line-height: 1.6;
}

.ti-energy-consultation-copy ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.ti-energy-consultation-copy li {
  position: relative;
  margin-top: 9px;
  padding-left: 21px;
}

.ti-energy-consultation-copy li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ti-energy-accent);
}

.ti-energy-text-link {
  color: var(--ti-energy-ink);
  font-weight: 800;
  text-decoration: none;
}

.ti-energy-text-link:hover,
.ti-energy-text-link:focus {
  color: var(--ti-energy-accent-dark);
}

.ti-energy-felicity-focus {
  padding: 28px 0;
  background: #f3f5f7;
}

.ti-energy-felicity-focus .ti-energy-wrap {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 15px;
}

.ti-energy-felicity-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-size: 23px;
  font-weight: 900;
}

.ti-energy-felicity-focus .ti-energy-wrap > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.ti-energy-felicity-focus small {
  color: var(--ti-energy-accent-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ti-energy-felicity-focus strong {
  margin-top: 3px;
  font-size: 14px;
}

.ti-energy-felicity-focus a {
  color: var(--ti-energy-ink);
  font-weight: 800;
  text-decoration: none;
}

.ti-energy-felicity-focus a:hover,
.ti-energy-felicity-focus a:focus {
  color: var(--ti-energy-accent-dark);
}

#colophon.site-footer {
  display: none;
}

.ti-energy-footer {
  position: relative;
  color: #c6ced6;
  background: #0b1117;
  border-top: 4px solid var(--ti-energy-accent);
  font-size: 14px;
}

.ti-energy-footer *,
.ti-energy-footer *::before,
.ti-energy-footer *::after {
  box-sizing: border-box;
}

.ti-energy-footer-main {
  padding: 64px 0 54px;
}

.ti-energy-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(150px, 0.75fr) minmax(180px, 0.85fr) minmax(230px, 1.1fr);
  gap: 48px;
}

.ti-energy-footer-brand p {
  max-width: 340px;
  margin: 20px 0 26px;
  color: #9ba8b4;
  line-height: 1.65;
}

.ti-energy-footer-logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
}

.ti-energy-footer-logo strong {
  font-size: 24px;
  letter-spacing: 0;
}

.ti-energy-footer-logo:hover,
.ti-energy-footer-logo:focus {
  color: #ffffff;
}

.ti-energy-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--ti-energy-accent);
  border-radius: 5px;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ti-energy-footer-cta:hover,
.ti-energy-footer-cta:focus {
  color: #ffffff;
  border-color: var(--ti-energy-accent-dark);
  background: var(--ti-energy-accent-dark);
}

.ti-energy-footer-column h2 {
  margin: 4px 0 21px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ti-energy-footer-column h2::after {
  content: "";
  width: 34px;
  height: 2px;
  display: block;
  margin-top: 10px;
  background: var(--ti-energy-accent);
}

.ti-energy-footer-menu,
.ti-energy-footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ti-energy-footer-menu li {
  margin: 0 0 12px;
}

.ti-energy-footer-menu a,
.ti-energy-footer-contact a,
.ti-energy-footer-bottom a {
  color: #c6ced6;
  text-decoration: none;
}

.ti-energy-footer-menu a:hover,
.ti-energy-footer-menu a:focus,
.ti-energy-footer-contact a:hover,
.ti-energy-footer-contact a:focus,
.ti-energy-footer-bottom a:hover,
.ti-energy-footer-bottom a:focus {
  color: var(--ti-energy-accent);
}

.ti-energy-footer .ti-energy-cart-count {
  min-width: 21px;
  height: 21px;
  margin-left: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-size: 11px;
  font-weight: 900;
}

.ti-energy-footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.ti-energy-footer-contact small,
.ti-energy-footer-seller small {
  color: #788692;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ti-energy-footer-contact span {
  max-width: 270px;
  color: #c6ced6;
  line-height: 1.5;
}

.ti-energy-footer-seller {
  border-top: 1px solid #26313b;
  border-bottom: 1px solid #26313b;
  background: #111a23;
}

.ti-energy-footer-seller .ti-energy-wrap {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
  align-items: center;
  gap: 34px;
  padding-top: 19px;
  padding-bottom: 19px;
}

.ti-energy-footer-seller-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ti-energy-footer-seller-title strong {
  color: #ffffff;
  font-size: 14px;
}

.ti-energy-footer-seller-details {
  display: flex;
  justify-content: flex-end;
  gap: 16px 30px;
  color: #aeb9c2;
}

.ti-energy-footer-bottom {
  color: #7f8c97;
  background: #080d12;
  font-size: 12px;
}

.ti-energy-footer-bottom .ti-energy-wrap {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ti-energy-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Version 1.3: catalog filters and contact form. */
.woocommerce .ti-energy-catalog-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  clear: both;
}

.ti-energy-catalog-filter {
  position: sticky;
  top: 26px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  border: 1px solid var(--ti-energy-line);
  border-radius: 7px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #c6cfd7 transparent;
}

.ti-energy-catalog-filter form {
  transition: opacity 160ms ease;
}

.ti-energy-catalog-filter form.is-applying {
  opacity: 0.58;
  pointer-events: none;
}

.ti-energy-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ti-energy-line);
}

.ti-energy-filter-heading h2 {
  margin: 0;
  color: var(--ti-energy-ink);
  font-size: 19px;
  line-height: 1.2;
}

.ti-energy-filter-heading span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-size: 11px;
  font-weight: 800;
}

.ti-energy-filter-group {
  margin: 0;
  padding: 14px 18px 12px;
  border: 0;
  border-bottom: 1px solid var(--ti-energy-line);
}

.ti-energy-filter-group h3,
.ti-energy-filter-subgroup h3 {
  margin: 0 0 5px;
  color: var(--ti-energy-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.ti-energy-filter-section {
  margin: 0;
  border-bottom: 1px solid var(--ti-energy-line);
}

.ti-energy-filter-section summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 11px 18px;
  color: var(--ti-energy-ink);
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}

.ti-energy-filter-section summary::-webkit-details-marker {
  display: none;
}

.ti-energy-filter-section summary::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid #6f7b87;
  border-bottom: 2px solid #6f7b87;
  content: "";
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 160ms ease;
}

.ti-energy-filter-section[open] summary {
  background: #f7f9fa;
}

.ti-energy-filter-section[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.ti-energy-filter-section summary:hover,
.ti-energy-filter-section summary:focus-visible {
  color: var(--ti-energy-accent-dark);
  background: #f7f9fa;
}

.ti-energy-filter-section summary:focus {
  outline: 0;
}

.ti-energy-filter-section summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--ti-energy-accent);
}

.ti-energy-filter-summary-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ti-energy-filter-summary-copy strong {
  font-size: 14px;
  line-height: 1.3;
}

.ti-energy-filter-summary-copy small {
  overflow: hidden;
  color: #77828e;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ti-energy-filter-summary-count {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-size: 10px;
  font-weight: 800;
}

.ti-energy-filter-section-body {
  padding: 0 18px 10px;
}

.ti-energy-filter-subgroup {
  padding: 12px 0 7px;
  border-top: 1px solid #edf0f2;
}

.ti-energy-filter-subgroup:first-child {
  border-top: 0;
}

.ti-energy-filter-option {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 31px;
  margin: 0;
  padding: 5px 0;
  color: #3f4b58;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}

.ti-energy-filter-option:last-child {
  margin-bottom: 0;
}

.ti-energy-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ti-energy-accent);
}

.ti-energy-filter-option small {
  color: #8994a0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ti-energy-filter-actions {
  display: grid;
  gap: 9px;
  padding: 14px 18px 16px;
}

.ti-energy-filter-submit,
.ti-energy-filter-reset {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ti-energy-filter-submit {
  border: 1px solid var(--ti-energy-accent);
  color: #ffffff;
  background: var(--ti-energy-accent);
  cursor: pointer;
}

.ti-energy-filter-submit:hover,
.ti-energy-filter-submit:focus {
  color: #ffffff;
  border-color: var(--ti-energy-accent-dark);
  background: var(--ti-energy-accent-dark);
}

.ti-energy-filter-reset {
  border: 1px solid var(--ti-energy-line);
  color: var(--ti-energy-ink);
  background: #ffffff;
}

.ti-energy-filter-reset:hover,
.ti-energy-filter-reset:focus {
  color: var(--ti-energy-accent-dark);
  border-color: var(--ti-energy-accent);
}

.ti-energy-catalog-results {
  min-width: 0;
}

.woocommerce .ti-energy-catalog-results .woocommerce-result-count {
  margin-top: 13px;
}

.woocommerce .ti-energy-catalog-results ul.products {
  clear: both;
}

.woocommerce .ti-energy-catalog-results ul.products.columns-3,
.woocommerce .ti-energy-catalog-results ul.products.columns-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-energy-contact-section {
  margin: 42px 0 12px;
  padding: 38px;
  border: 1px solid var(--ti-energy-line);
  border-radius: 7px;
  background: var(--ti-energy-paper);
}

.ti-energy-contact-intro {
  max-width: 680px;
  margin-bottom: 25px;
}

.ti-energy-contact-intro h2 {
  margin: 0 0 9px;
  color: var(--ti-energy-ink);
  font-size: 30px;
}

.ti-energy-contact-intro p {
  margin: 0;
  color: var(--ti-energy-muted);
}

.ti-energy-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.ti-energy-contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ti-energy-contact-field--wide,
.ti-energy-contact-actions,
.ti-energy-contact-notice {
  grid-column: 1 / -1;
}

.ti-energy-contact-field label {
  color: var(--ti-energy-ink);
  font-size: 13px;
  font-weight: 800;
}

.ti-energy-contact-field input,
.ti-energy-contact-field textarea {
  width: 100%;
  border: 1px solid #cfd7de;
  border-radius: 5px;
  color: var(--ti-energy-ink);
  background: #ffffff;
}

.ti-energy-contact-field input {
  min-height: 48px;
  padding: 10px 13px;
}

.ti-energy-contact-field textarea {
  min-height: 150px;
  padding: 12px 13px;
  resize: vertical;
}

.ti-energy-contact-field input:focus,
.ti-energy-contact-field textarea:focus {
  border-color: var(--ti-energy-accent);
  outline: 2px solid rgba(255, 106, 0, 0.14);
}

.ti-energy-contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ti-energy-contact-actions button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ti-energy-accent);
  border-radius: 5px;
  color: #ffffff;
  background: var(--ti-energy-accent);
  font-weight: 800;
  cursor: pointer;
}

.ti-energy-contact-actions button:hover,
.ti-energy-contact-actions button:focus {
  border-color: var(--ti-energy-accent-dark);
  background: var(--ti-energy-accent-dark);
}

.ti-energy-contact-actions small {
  max-width: 520px;
  color: var(--ti-energy-muted);
  line-height: 1.45;
}

.ti-energy-contact-actions a {
  color: var(--ti-energy-ink);
}

.ti-energy-contact-notice {
  margin: 0 0 2px;
  padding: 13px 15px;
  border-left: 4px solid #248a3d;
  color: #174b24;
  background: #edf8f0;
}

.ti-energy-contact-notice--error {
  border-left-color: #c7352c;
  color: #76231d;
  background: #fff0ef;
}

.ti-energy-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

@media (max-width: 1040px) {
  .ti-energy-home .ti-energy-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

	.ti-energy-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-energy-home .ti-energy-hero {
		background-position: 57% center;
	}

  .ti-energy-consultation-grid {
    gap: 36px;
  }

  .ti-energy-footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 38px;
  }

  .ti-energy-footer-contact {
    grid-column: 1 / -1;
  }

  .ti-energy-footer-contact ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 921px) {
	.woocommerce .ti-energy-catalog-layout {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 24px;
	}

	.woocommerce .ti-energy-catalog-results ul.products.columns-3,
	.woocommerce .ti-energy-catalog-results ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

  .ti-energy-info-bar__inner {
    justify-content: center;
  }

  .ti-energy-info-bar nav {
    display: none;
  }

  .site-header .main-header-menu > .menu-item > .menu-link {
    min-height: 48px;
    border-bottom-width: 1px;
  }

  .site-header .main-header-menu .sub-menu {
    padding: 0 0 0 12px;
    border: 0;
    border-left: 3px solid var(--ti-energy-accent);
    box-shadow: none;
  }

  .site-header .main-header-menu > .menu-item-has-children {
    position: relative;
  }

  .ti-energy-submenu-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .ti-energy-submenu-toggle span {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
  }

  .ti-energy-menu-open > .ti-energy-submenu-toggle span {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .site-header .main-header-menu > .menu-item-has-children > .menu-link {
    padding-right: 52px;
  }

  .ti-energy-hero-grid,
  .ti-energy-consultation-grid {
    grid-template-columns: 1fr;
  }

  .ti-energy-home .ti-energy-hero-content {
    padding: 62px 0 48px;
  }

  .ti-energy-product-stage {
    min-height: 420px;
  }

  .ti-energy-home .ti-energy-cards {
    grid-template-columns: 1fr;
  }

  .ti-energy-home .ti-energy-card {
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
    grid-template-rows: 290px;
  }

  .ti-energy-home .ti-energy-card-content {
    align-self: center;
  }

  .ti-energy-consultation-stage {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
	.woocommerce .ti-energy-catalog-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.woocommerce .ti-energy-catalog-results ul.products.columns-3,
	.woocommerce .ti-energy-catalog-results ul.products.columns-4 {
		grid-template-columns: 1fr;
	}

	.ti-energy-catalog-filter {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.ti-energy-filter-group {
		border-right: 0;
	}

	.ti-energy-contact-section {
		padding: 26px 20px;
	}

	.ti-energy-contact-form {
		grid-template-columns: 1fr;
	}

	.ti-energy-contact-field,
	.ti-energy-contact-actions,
	.ti-energy-contact-notice {
		grid-column: 1;
	}

	.ti-energy-contact-actions {
		align-items: stretch;
		flex-direction: column;
	}

  .ti-energy-info-bar__inner {
    min-height: 30px;
    font-size: 11px;
  }

	.ti-energy-home .ti-energy-hero {
		min-height: 0;
		padding-top: 48%;
		background-color: #ffffff;
		background-image: url("assets/images/slider-home-day.jpg");
		background-position: center top;
		background-size: 101% auto;
	}

	.ti-energy-hero-grid {
		min-height: 0;
	}

	.ti-energy-home .ti-energy-hero-content {
		padding: 34px 0 48px;
	}

  .ti-energy-home .ti-energy-hero h1 {
    font-size: 39px;
  }

  .ti-energy-hero-trust {
    gap: 11px 16px;
  }

  .ti-energy-product-stage {
    min-height: 345px;
  }

  .ti-energy-product-stage__inverter {
    width: 58%;
  }

  .ti-energy-product-stage__battery {
    width: 36%;
  }

  .ti-energy-home .ti-energy-card {
    grid-template-columns: 1fr;
    grid-template-rows: 230px auto;
  }

  .ti-energy-home .ti-energy-card p {
    min-height: 0;
  }

  .ti-energy-service-links .ti-energy-wrap {
    grid-template-columns: 1fr;
  }

  .ti-energy-service-links a,
  .ti-energy-service-links a:first-child {
    min-height: 92px;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: var(--ti-energy-line);
  }

  .ti-energy-consultation-stage {
    min-height: 335px;
  }

  .ti-energy-consultation-copy h2 {
    font-size: 34px;
  }

  .ti-energy-felicity-focus .ti-energy-wrap {
    grid-template-columns: 42px 1fr;
  }

  .ti-energy-felicity-focus a {
    grid-column: 2;
  }

  .ti-energy-footer-main {
    padding: 48px 0 40px;
  }

  .ti-energy-footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ti-energy-footer-contact {
    grid-column: auto;
  }

  .ti-energy-footer-contact ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ti-energy-footer-seller .ti-energy-wrap {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .ti-energy-footer-seller-details {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
  }

  .ti-energy-footer-bottom .ti-energy-wrap {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}


.ti-energy-contact-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ti-energy-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ti-energy-contact-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--ti-energy-accent);
}

.ti-energy-contact-consent a {
  color: var(--ti-energy-ink);
}

@media (max-width: 767px) {
  .ti-energy-contact-consent {
    grid-column: 1;
  }
}
