html {
  scrollbar-gutter: stable;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f8f2de;
  font-family: "PPFrama", sans-serif;
  position: relative;
  z-index: -2;
  overflow-x: hidden;
}

@font-face {
  font-family: "PPFrama";
  font-style: normal;
  font-weight: 700;
  src: url(/assets/fonts/PPFrama/PPFrama-Semibold.otf) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PPFrama";
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/PPFrama/PPFrama-Medium.otf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "PPFrama";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/PPFrama/PPFrama-Light.otf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "PPFrama";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/fonts/PPFrama/PPFrama-Extralight.otf) format("truetype");
  font-display: swap;
}

.cart-overlay [hidden],
.cart-trigger__badge[hidden] {
  display: none !important;
}

html {
  scrollbar-gutter: stable;
}

/* Header Cart Trigger */

.cart-trigger {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.cart-trigger__badge {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #b0ce88;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  pointer-events: none;
}

body.cart-is-open {
  overflow: hidden;
  padding-right: 0;
}

body.cart-is-open .header-desktop {
  z-index: 1200;
  transform: translateY(0);
  opacity: 1;
  padding-right: 3rem;
}

@supports not (scrollbar-gutter: stable) {
  body.cart-is-open {
    padding-right: var(--scrollbar-compensation, 0px);
  }

  body.cart-is-open .header-desktop {
    padding-right: calc(3rem + var(--scrollbar-compensation, 0px));
  }
}

/* Overlay */

.cart-overlay,
.cart-overlay * {
  box-sizing: border-box;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: scroll;
  scrollbar-width: auto;
  scrollbar-gutter: stable;
  background: #f8f2de;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: circle(0px at 100% 0);
  scrollbar-width: none;
}

.cart-overlay.is-open {
  pointer-events: auto;
}

.cart-overlay__shell {
  position: relative;
  min-height: 100%;
}

.cart-overlay__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 30vw);
  column-gap: clamp(3rem, 6vw, 6rem);
  row-gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(8rem, 9vw, 10rem) clamp(3rem, 6vw, 7rem) 4.5rem;
}

.cart-overlay--empty .cart-main {
  grid-column: 1 / -1;
  max-width: 760px;
}

/* Toolbar */

.cart-overlay__toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.cart-close {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 100;
}

.cart-close:hover {
  opacity: 0.7;
}

.cart-close:focus {
  outline: none;
}

.cart-close__icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.cart-close__icon::before,
.cart-close__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

.cart-close__icon::before {
  transform: rotate(45deg);
}

.cart-close__icon::after {
  transform: rotate(-45deg);
}

/* Main */

.cart-main {
  min-width: 0;
}

.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.cart-heading h2 {
  font-weight: 700;
  color: #252525;
  font-size: 3.25rem;
  line-height: 3.5rem;
  letter-spacing: 0;
  margin: 0;
}

.cart-heading p {
  margin: 0 0 0.35rem;
  color: rgba(37, 37, 37, 0.56);
  font-size: 0.98rem;
  white-space: nowrap;
}

/* Product */

.cart-product {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(1.8rem, 3vw, 3.5rem);
  padding: 2rem 0;
  border-top: 1px solid rgba(37, 37, 37, 0.16);
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

.cart-product__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(37, 37, 37, 0.05);
}

.cart-product__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cart-product__media.is-fallback::before {
  content: attr(data-fallback-title);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: rgba(37, 37, 37, 0.5);
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
}

.cart-product__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  row-gap: 1.25rem;
  align-content: start;
}

.cart-product__headline {
  grid-column: 1 / -1;
}

.cart-product__headline p {
  margin: 0 0 0.3rem;
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.95rem;
  font-weight: 100;
}

.cart-product__headline h2 {
  margin: 0;
  color: #252525;
  font-size: 2.1rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.cart-product__price {
  grid-column: 1;
}

.cart-product__price p {
  margin: 0;
  color: #252525;
  font-size: 1.6rem;
  line-height: 1;
}

.cart-product__price span,
.cart-product__price small {
  display: block;
  margin-top: 0.42rem;
  color: rgba(37, 37, 37, 0.62);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 100;
}

.cart-product__delivery {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(37, 37, 37, 0.78);
  font-size: 1rem;
  font-weight: 100;
}

.cart-product__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.cart-quantity {
  display: inline-grid;
  grid-template-columns: 42px 52px 42px;
  height: 40px;
  border: 1px solid rgba(37, 37, 37, 0.18);
}

.cart-quantity button,
.cart-quantity output {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  font-size: 1rem;
  font-weight: 100;
}

.cart-quantity button {
  cursor: pointer;
}

.cart-quantity button:hover {
  background: rgba(37, 37, 37, 0.05);
}

.cart-quantity output {
  border-left: 1px solid rgba(37, 37, 37, 0.12);
  border-right: 1px solid rgba(37, 37, 37, 0.12);
}

.cart-remove {
  padding: 0 0 0.14rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: rgba(37, 37, 37, 0.68);
  font-family: "PPFrama", sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  font-weight: 100;
}

.cart-remove:hover {
  color: #252525;
}

/* Empty State */

.cart-empty {
  padding: 2rem 0;
  border-top: 1px solid rgba(37, 37, 37, 0.16);
  border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

.cart-empty h2 {
  margin: 0 0 0.6rem;
  color: #252525;
  font-size: 2.35rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.cart-empty p {
  max-width: 620px;
  margin: 0 0 1.6rem;
  color: rgba(37, 37, 37, 0.64);
  font-size: 0.98rem;
  line-height: 1.45;
}

.cart-empty__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cart-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(37, 37, 37, 0.2);
  background: transparent;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.cart-empty__button:hover {
  background: #252525;
  color: #f8f2de;
}

.cart-empty__link {
  padding: 0 0 0.15rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: rgba(37, 37, 37, 0.72);
  font-family: "PPFrama", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
}

.cart-empty__link:hover {
  color: #252525;
}

/* Summary */

.cart-summary {
  align-self: start;
  position: sticky;
  top: 8rem;
  padding-left: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid rgba(37, 37, 37, 0.14);
}

.cart-summary__inner {
  width: 100%;
  max-width: 450px;
  margin-left: auto;
}

.cart-summary h2 {
  margin: 0 0 1.6rem;
  color: #252525;
  font-size: 2.1rem;
  line-height: 1.05;
  font-weight: 700;
}

.cart-summary__rows {
  border-top: 1px solid rgba(37, 37, 37, 0.14);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(37, 37, 37, 0.1);
  color: rgba(37, 37, 37, 0.65);
  font-size: 1rem;
  font-weight: 100;
}

.cart-summary__row strong {
  color: #252525;
  font-weight: 200;
}

.cart-summary__row--total {
  margin-top: 0.5rem;
  padding-top: 1.2rem;
  border-bottom: 0;
  color: #252525;
  font-weight: 200;
}

.cart-summary__row--total span {
  font-size: 1.05rem;
}

.cart-summary__row--total strong {
  color: #252525;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.cart-stripe-note {
  max-width: 390px;
  margin: 1.35rem 0 1.6rem;
  color: rgba(37, 37, 37, 0.64);
  font-size: 0.94rem;
  line-height: 1.42;
  font-weight: 100;
}

.cart-checkout {
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  background: #b0ce88;
  color: #252525;
  font-family: "PPFrama", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    opacity 0.25s ease;
}

.cart-checkout:hover {
  background: #bed99a;
}

.cart-checkout:disabled {
  background: rgba(176, 206, 136, 0.36);
  color: rgba(37, 37, 37, 0.45);
  cursor: not-allowed;
}

.cart-continue {
  display: block;
  margin: 1rem auto 0;
  padding: 0 0 0.14rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: rgba(37, 37, 37, 0.8);
  font-family: "PPFrama", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 100;
}

.cart-continue:hover {
  color: #252525;
}

.cart-legal {
  max-width: 420px;
  margin: 1.8rem 0 0;
  color: rgba(37, 37, 37, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 100;
}

.cart-legal a {
  color: rgba(37, 37, 37, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-legal a:hover {
  color: #252525;
}

/* Focus */

.cart-trigger:focus-visible,
.cart-quantity button:focus-visible,
.cart-remove:focus-visible,
.cart-empty__button:focus-visible,
.cart-empty__link:focus-visible,
.cart-checkout:focus-visible,
.cart-continue:focus-visible,
.cart-legal a:focus-visible,
.cart-close:focus-visible {
  outline: 1px solid rgba(37, 37, 37, 0.65);
  outline-offset: 4px;
}

/* Responsive */

@media (max-width: 1180px) {
  .cart-overlay__content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
    padding-left: 0;
    padding-top: 2.5rem;
    border-left: 0;
    border-top: 1px solid rgba(37, 37, 37, 0.14);
  }

  .cart-summary__inner {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .cart-overlay__content {
    padding: 7.25rem 1.25rem 3rem;
    row-gap: 2.2rem;
  }

  .cart-close {
    gap: 4px;
  }

  .cart-heading {
    display: block;
    margin-bottom: 1.8rem;
  }

  .cart-heading h2 {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .cart-heading p {
    margin-top: 0.5rem;
  }

  .cart-empty h2,
  .cart-summary h2,
  .cart-product__headline h2 {
    font-size: 1.8rem;
    line-height: 1.05;
  }

  .cart-product {
    grid-template-columns: 1fr;
    border-bottom: none;
    padding: 2rem 0 0 0;
  }

  .cart-product__media {
    max-width: 220px;
  }

  .cart-product__content {
    grid-template-columns: 1fr;
  }

  .cart-product__controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-summary__row--total strong {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-overlay {
    clip-path: none;
  }

  .cart-checkout {
    transition: none;
  }
}

.header-desktop {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 3rem;
  background: linear-gradient(
    180deg,
    rgba(48, 47, 47, 0.7),
    rgba(109, 100, 100, 0)
  );
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  will-change: transform, opacity;
}

.header-desktop.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header-desktop nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-desktop img {
  width: 180px;
  height: auto;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.desktop-nav-links a {
  color: #f8f2de;
  font-family: "PPFrama", sans-serif;
  font-weight: 100;
  text-decoration: none;
  font-size: 1.1rem;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.desktop-nav-menu a {
  color: #f8f2de;
  font-family: "PPFrama", sans-serif;
  font-weight: 100;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-line {
  height: 22px;
  width: 1px;
  background-color: #f8f2de;
}

.shopping-cart {
  cursor: pointer;
  width: 22px;
  height: auto;
}

.mobile-header {
  display: none;
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  padding: 1.7rem 1rem;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
}

.mobile-header nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.mobile-nav-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mobile-nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-logo-mobile img {
  width: 135px;
  height: auto;
  display: block;
}

.nav-menu {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.line {
  background-color: #f8f2de;
  width: 25px;
  height: 1px;
  margin-bottom: 5px;
}

.line-small {
  background-color: #f8f2de;
  width: 20px;
  height: 1px;
  margin-bottom: 5px;
}

.mobile-header .cart-trigger {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mobile-header .shopping-cart {
  width: 22px;
  height: auto;
  display: block;
}

.mobile-header .cart-trigger__badge {
  position: absolute;
  top: -0.55rem;
  right: -0.65rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background-color: #bed99a;
  color: #181818;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1rem;
  text-align: center;
}

.menu-mobile {
  display: none;
  background-color: #f8f2de;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  display: flex;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.menu-close {
  height: 20px;
  position: relative;
  width: 20px;
}

.menu-closing {
  position: absolute;
  right: 1rem;
  top: 1.5rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 15%;
  left: 1.4rem;
}

.menu-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.7rem;
  font-weight: 200;
  text-decoration: none;
  padding: 0.4rem 0;
  color: #1a1a1d;
}

.menu-bottom {
  position: absolute;
  bottom: 2rem;
  left: 4%;
}

.vertical-bar {
  color: #1a1a1d;
}

.energy-storage-page {
  --energy-bg: #f8f2de;
  --energy-text: #252525;
  --energy-black: #181818;
  --energy-muted: #7f8487;
  --energy-line: rgba(37, 37, 37, 0.16);
  --energy-card: rgba(37, 37, 37, 0.04);
  --energy-max: 1680px;
  --energy-gutter: clamp(1rem, 5vw, 6rem);
  --energy-top: clamp(9.25rem, 10vh, 12.75rem);
  --energy-bottom: clamp(5rem, 8vw, 8rem);

  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  z-index: 1;
  padding: var(--energy-top) var(--energy-gutter) var(--energy-bottom);
  background-color: var(--energy-bg);
  color: var(--energy-text);
  overflow-x: clip;
}

.energy-storage-page__inner {
  width: 100%;
  max-width: var(--energy-max);
  margin: 0 auto;
}

.energy-storage-intro {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.energy-storage-eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--energy-muted);
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 100;
}

.energy-storage-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.42fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.energy-storage-intro h1 {
  margin: 0;
  color: var(--energy-black);
  font-size: clamp(2.45rem, 4.15vw, 4.7rem);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.energy-storage-intro__text {
  padding-top: 1rem;
  border-top: 3px solid #2c2c2c;
}

.energy-storage-intro__text p {
  max-width: 520px;
  margin: 0;
  color: var(--energy-text);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.38;
  font-weight: 100;
}

.energy-storage-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

.energy-storage-card {
  min-width: 0;
  height: 100%;
}

.energy-storage-card__link {
  height: 100%;
  min-height: 940px;
  display: grid;
  grid-template-rows: clamp(600px, 62vh, 780px) auto;
  color: inherit;
  text-decoration: none;
  background-color: var(--energy-card);
  border-top: 3px solid #2c2c2c;
  overflow: hidden;
}

.energy-storage-card__media {
  width: 100%;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #ffffff;
}

.energy-storage-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  object-fit: contain;
  object-position: var(--energy-image-position, 50% 50%);
  transform: translate3d(var(--energy-image-x, 0), var(--energy-image-y, 0), 0)
    scale(var(--energy-image-scale, 1));
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.energy-storage-card--cabinet .energy-storage-card__media img {
  --energy-image-position: 50% 54%;
  --energy-image-scale: 1.18;
  --energy-image-hover-scale: 1.2;
  --energy-image-x: 0;
  --energy-image-y: 3%;
}

.energy-storage-card--container .energy-storage-card__media img {
  --energy-image-position: 50% 52%;
  --energy-image-scale: 1.08;
  --energy-image-hover-scale: 1.1;
  --energy-image-x: 0;
  --energy-image-y: 2%;
}

.energy-storage-card__content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 1.8vw, 2rem);
}

.energy-storage-card__head span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--energy-muted);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 100;
}

.energy-storage-card__head h2 {
  max-width: 620px;
  margin: 0;
  color: var(--energy-black);
  font-size: clamp(1.75rem, 2.25vw, 2.55rem);
  line-height: 0.97;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.energy-storage-card__head p {
  max-width: 640px;
  margin: 0.85rem 0 0;
  color: var(--energy-muted);
  font-size: clamp(0.96rem, 0.95vw, 1.05rem);
  line-height: 1.35;
  font-weight: 100;
}

.energy-storage-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1vw, 1rem);
  margin: clamp(1.45rem, 2.1vw, 2rem) 0 0;
}

.energy-storage-facts div {
  min-width: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--energy-line);
}

.energy-storage-facts dt {
  margin: 0 0 0.35rem;
  color: var(--energy-muted);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 100;
}

.energy-storage-facts dd {
  margin: 0;
  color: var(--energy-text);
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 500;
}

.energy-storage-card__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-top: auto;
  padding-top: clamp(1.75rem, 2.6vw, 2.6rem);
}

.energy-storage-price strong {
  display: block;
  color: var(--energy-black);
  font-size: clamp(1.65rem, 2.05vw, 2.2rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.energy-storage-price span {
  display: block;
  max-width: 340px;
  margin-top: 0.42rem;
  color: var(--energy-muted);
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 100;
}

.energy-storage-card__cta {
  min-width: 165px;
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 7px;
  background-color: #252525;
  color: #f8f2de;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 100;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.energy-storage-card__link:focus-visible {
  outline: 1px solid rgba(37, 37, 37, 0.7);
  outline-offset: 6px;
}

@media (hover: hover) {
  .energy-storage-card__link:hover .energy-storage-card__media img {
    transform: translate3d(
        var(--energy-image-x, 0),
        var(--energy-image-y, 0),
        0
      )
      scale(var(--energy-image-hover-scale, 1.03));
  }

  .energy-storage-card__link:hover .energy-storage-card__cta {
    opacity: 0.92;
    transform: translateY(-1px);
  }
}

@media (max-width: 1180px) {
  .energy-storage-page {
    --energy-top: 7rem;
  }

  .energy-storage-intro__layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    align-items: start;
  }

  .energy-storage-intro h1 {
    max-width: 680px;
  }

  .energy-storage-intro__text {
    max-width: 620px;
  }

  .energy-storage-products {
    grid-template-columns: 1fr;
  }

  .energy-storage-card__link {
    min-height: auto;
    grid-template-rows: clamp(560px, 62vw, 760px) auto;
  }

  .energy-storage-card--cabinet .energy-storage-card__media img {
    --energy-image-position: 50% 54%;
    --energy-image-scale: 1.14;
    --energy-image-hover-scale: 1.14;
    --energy-image-y: 3%;
  }

  .energy-storage-card--container .energy-storage-card__media img {
    --energy-image-position: 50% 52%;
    --energy-image-scale: 1.06;
    --energy-image-hover-scale: 1.06;
    --energy-image-y: 2%;
  }

  .energy-storage-card__bottom {
    padding-top: 2.1rem;
  }
}

@media (max-width: 768px) {
  .energy-storage-page {
    min-height: 100vh;
    min-height: 100svh;
    padding: 7rem 1rem 4rem;
  }

  .energy-storage-intro {
    margin-bottom: 2rem;
  }

  .energy-storage-intro h1 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
    line-height: 0.94;
  }

  .energy-storage-intro__text p {
    font-size: 1rem;
  }

  .energy-storage-products {
    gap: 3rem;
  }

  .energy-storage-card__link {
    grid-template-rows: 420px auto;
  }

  .energy-storage-card--cabinet .energy-storage-card__media img {
    --energy-image-position: 50% 55%;
    --energy-image-scale: 1.08;
    --energy-image-hover-scale: 1.08;
    --energy-image-y: 2%;
  }

  .energy-storage-card--container .energy-storage-card__media img {
    --energy-image-position: 50% 52%;
    --energy-image-scale: 1.02;
    --energy-image-hover-scale: 1.02;
    --energy-image-y: 1%;
  }

  .energy-storage-card__content {
    padding: 1.25rem 1rem 1rem;
  }

  .energy-storage-card__head h2 {
    font-size: clamp(1.7rem, 7.4vw, 2.25rem);
  }

  .energy-storage-card__head p {
    font-size: 0.96rem;
  }

  .energy-storage-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.45rem;
  }

  .energy-storage-card__bottom {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding-top: 1.9rem;
  }

  .energy-storage-price strong {
    font-size: 1.95rem;
  }

  .energy-storage-card__cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .energy-storage-card__link {
    grid-template-rows: 360px auto;
  }

  .energy-storage-card--cabinet .energy-storage-card__media img {
    --energy-image-position: 50% 56%;
    --energy-image-scale: 1.04;
  }

  .energy-storage-card--container .energy-storage-card__media img {
    --energy-image-position: 50% 53%;
    --energy-image-scale: 1;
  }

  .energy-storage-facts {
    gap: 0.7rem;
  }

  .energy-storage-price strong {
    font-size: 1.75rem;
  }
}

@media (max-width: 380px) {
  .energy-storage-card__link {
    grid-template-rows: 320px auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-storage-card__media img,
  .energy-storage-card__cta {
    transition: none;
  }
}

footer {
  position: sticky;
  bottom: 0;
  z-index: -1;
  padding: 4rem 12rem 0 12rem;
  background-color: #2c3333;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
}

.footer-slogan {
  font-size: 1.5rem;
  line-height: 1.8rem;
  color: #f8f2de;
  width: 25%;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 50%;
  padding-top: 4rem;
}

.footer-links ul {
  padding: 0;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  font-weight: 100;
  color: #f8f2de;
  font-size: 1rem;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
}

.legal-links ul {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0.7rem;
}

.legal-links li {
  list-style: none;
}

.legal-links a {
  font-weight: 100;
  font-size: 1rem;
  color: #f8f2de;
  text-decoration: none;
}

.footer-line {
  height: 20px;
  width: 1px;
  background-color: #f8f2de;
}

.footer-logos {
  display: flex;
  gap: 1rem;
}

.footer-divider {
  width: 100%;
  background-color: #f8f2de;
  height: 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #f8f2de;
  font-weight: 100;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #f8f2de;
  font-weight: 100;
  font-size: 0.9rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-desktop {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .legal-page {
    padding: 8rem 1rem;
  }

  .legal-page h1 {
    font-size: 2.7rem;
  }

  .legal-page h2 {
    font-size: 2.2rem;
  }

  .legal-page h3 {
    font-size: 2rem;
  }

  .legal-page h4 {
    font-size: 1.8rem;
  }

  footer {
    padding: 4rem 1rem 1rem 1rem;
  }

  .footer-slogan {
    width: 100%;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    padding: 0;
    flex-direction: column;
  }

  .footer-links ul {
    margin: 0.6rem 0;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .legal-links ul {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .legal-links a {
    color: #f8f2de !important;
    font-size: 0.8rem;
  }

  .footer-line {
    background-color: #f8f2de;
    height: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-top: 1rem;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
  }

  .footer-bottom a {
    font-size: 0.8rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-desktop {
    display: none;
  }

  .mobile-header {
    display: flex;
    padding: 2rem 3rem;
  }

  .legal-page {
    padding: 8rem 3rem;
  }

  .legal-page h1 {
    font-size: 3.1rem;
  }

  .legal-page h2 {
    font-size: 2.4rem;
  }

  .legal-page h3 {
    font-size: 2.2rem;
  }

  .legal-page h4 {
    font-size: 2rem;
  }

  footer {
    padding: 4rem 3rem 1rem 3rem;
  }

  .footer-slogan {
    width: 100%;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    padding: 0;
    flex-direction: column;
  }

  .footer-links ul {
    margin: 0.6rem 0;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .legal-links ul {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .legal-links a {
    color: #f8f2de !important;
    font-size: 0.8rem;
  }

  .footer-line {
    background-color: #f8f2de;
    height: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-top: 1rem;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
  }

  .footer-bottom a {
    font-size: 0.8rem;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1520px) {
  h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .legal-page {
    padding: 8rem;
  }

  footer {
    padding: 4rem 8rem 0 8rem;
  }
}
