/**
 * Elektrik Haus — main styles (EH PDF design)
 */
:root {
  --eh-teal: #00b2b2;
  --eh-teal-dark: #009999;
  --eh-teal-light: #ebf4f6;
  --eh-text: #333333;
  --eh-text-muted: #666666;
  --eh-white: #ffffff;
  --eh-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --eh-radius: 12px;
  --eh-font: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --eh-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.eh-theme {
  margin: 0;
  font-family: var(--eh-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-text);
  background: var(--eh-white);
}

.eh-container {
  width: min(100% - 32px, var(--eh-container));
  margin-inline: auto;
}

a {
  color: var(--eh-teal);
  text-decoration: none;
}

a:hover {
  color: var(--eh-teal-dark);
}

/* Header */
.eh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--eh-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.eh-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.eh-header__inner .eh-nav {
  margin-left: auto;
}

.eh-logo {
  display: flex;
  flex-direction: column;
  color: var(--eh-text);
  text-decoration: none;
}

.eh-logo--image .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.eh-logo--image .custom-logo,
.eh-logo--image img {
  display: block;
  width: auto;
  max-width: min(280px, 42vw);
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.eh-logo__name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.eh-logo__accent {
  color: var(--eh-teal);
}

.eh-logo__tagline {
  font-size: 0.65rem;
  color: var(--eh-text-muted);
  letter-spacing: 0.02em;
}

.eh-nav {
  flex: 1;
}

.eh-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-nav__list a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--eh-teal);
  text-transform: capitalize;
}

.eh-nav__caret {
  font-size: 0.65rem;
}

.eh-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eh-header__login {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--eh-teal);
  white-space: nowrap;
}

.eh-header__icon {
  position: relative;
  color: var(--eh-teal);
  display: flex;
  align-items: center;
}

.eh-header__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: var(--eh-white);
  background: var(--eh-teal);
  border-radius: 50%;
}

.eh-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.eh-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--eh-teal);
}

/* Homepage hero — full-width image banner */
.eh-hero-banner {
  display: block;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: var(--eh-teal-light);
}

.eh-hero-banner__link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.eh-hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  border: 0;
  vertical-align: middle;
}

/* Sections */
.eh-section {
  padding: 56px 0;
}

.eh-section__title {
  margin: 0 0 32px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--eh-teal);
  text-align: center;
  letter-spacing: 0.04em;
}

.eh-section--new-launch {
  background: var(--eh-teal-light);
}

.eh-section__more {
  text-align: center;
  margin: 28px 0 0;
}

.eh-section__more a {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Product cards (homepage + shop) */
.eh-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-product-card {
  background: var(--eh-white);
  border-radius: var(--eh-radius);
  box-shadow: var(--eh-shadow);
  padding: 24px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eh-product-card__image {
  display: block;
  margin-bottom: 16px;
}

.eh-product-card__image img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.eh-product-card__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.eh-product-card__title a {
  color: var(--eh-text);
}

.eh-product-card__price {
  margin-bottom: 16px;
  font-weight: 700;
}

.eh-product-card__price .amount,
.eh-product-card__price ins {
  color: var(--eh-teal);
  text-decoration: none;
}

.eh-product-card__price del {
  color: var(--eh-text-muted);
  font-size: 0.85em;
  margin-left: 6px;
}

.eh-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--eh-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.eh-btn--primary {
  background: var(--eh-teal);
  color: var(--eh-white) !important;
}

.eh-btn--primary:hover {
  background: var(--eh-teal-dark);
  color: var(--eh-white) !important;
}

/* Warranty */
.eh-section--warranty {
  background: var(--eh-white);
}

.eh-warranty__text {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--eh-text-muted);
}

.eh-features {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.eh-feature {
  text-align: center;
}

.eh-feature__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border: 3px solid var(--eh-teal);
  border-radius: 50%;
  background: center/32px no-repeat transparent;
}

.eh-feature__icon--delivery {
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300b2b2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10m0 0h14m-14 0a2 2 0 100 4m14-4a2 2 0 110 4M7 20h2m8 0h2'/%3E%3C/svg%3E");
}

.eh-feature__label {
  font-weight: 600;
  color: var(--eh-teal);
}

/* Community gallery */
.eh-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-gallery__figure {
  margin: 0;
}

.eh-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: var(--eh-teal-light);
}

.eh-gallery__caption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--eh-teal);
  text-align: center;
}

/* Social bar */
.eh-social-bar {
  padding: 28px 0;
  background: var(--eh-white);
}

.eh-social-bar__inner {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.eh-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--eh-white);
  background: var(--eh-teal);
  border-radius: 50%;
}

.eh-social:hover {
  background: var(--eh-teal-dark);
  color: var(--eh-white);
}

/* Footer */
.eh-footer {
  background: var(--eh-teal);
  color: var(--eh-white);
  padding-top: 48px;
}

.eh-footer--minimal {
  padding-top: 0;
}

.eh-footer--minimal .eh-footer__bottom {
  border-top: none;
  padding: 20px 0;
}

.eh-footer a {
  color: var(--eh-white);
}

.eh-footer a:hover {
  opacity: 0.85;
}

.eh-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}

.eh-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-footer__links li {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.eh-footer__heading {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
}

.eh-newsletter {
  display: flex;
  gap: 0;
  max-width: 320px;
}

.eh-newsletter input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--eh-font);
}

.eh-newsletter button {
  padding: 12px 18px;
  font-family: var(--eh-font);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--eh-white);
  background: #444;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.eh-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 16px 0 24px;
}

.eh-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.eh-footer__copy {
  margin: 0;
  font-size: 0.8rem;
}

.eh-footer__payments {
  display: flex;
  gap: 10px;
}

.eh-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  padding: 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
  background: var(--eh-white);
  border-radius: 4px;
}

/* Page banner */
.eh-page-banner {
  background: var(--eh-teal);
  color: var(--eh-white);
  padding: 20px 0;
  text-align: center;
}

.eh-page-banner h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* About Us */
.eh-about {
  padding: 48px 0 64px;
}

.eh-about__intro {
  max-width: 820px;
  text-align: center;
  margin-bottom: 40px;
}

.eh-about__eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-teal);
}

.eh-about__intro h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--eh-text);
  line-height: 1.3;
}

.eh-about__intro p {
  margin: 0;
  color: var(--eh-text-muted);
  font-size: 1rem;
}

.eh-about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.eh-about__card {
  background: var(--eh-teal-light);
  border-radius: var(--eh-radius);
  padding: 28px 24px;
}

.eh-about__card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--eh-teal);
}

.eh-about__card p {
  margin: 0;
  color: var(--eh-text-muted);
  font-size: 0.95rem;
}

.eh-about__promise {
  max-width: 820px;
  text-align: center;
  margin-bottom: 40px;
}

.eh-about__promise h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eh-teal);
}

.eh-about__promise > p {
  margin: 0 0 24px;
  color: var(--eh-text-muted);
}

.eh-about__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}

.eh-about__points li {
  position: relative;
  padding-left: 28px;
  color: var(--eh-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.eh-about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--eh-teal);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--eh-teal);
}

.eh-about__cta {
  text-align: center;
}

.eh-about__cta p {
  margin: 0 0 16px;
  color: var(--eh-text-muted);
}

@media (max-width: 992px) {
  .eh-about__grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.eh-contact {
  padding: 48px 0 64px;
}

.eh-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.eh-contact__info h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eh-teal);
  line-height: 1.3;
  text-transform: uppercase;
}

.eh-contact__lead {
  color: var(--eh-text-muted);
  margin-bottom: 28px;
}

.eh-contact__details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.eh-contact__text p {
  margin: 0 0 16px;
  font-size: 0.9rem;
}

.eh-contact__form .wpcf7 input,
.eh-contact__form .wpcf7 textarea,
.eh-form-fallback input,
.eh-form-fallback textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--eh-font);
}

.eh-contact__form .wpcf7 p,
.eh-form-fallback p {
  margin-bottom: 16px;
}

.eh-contact__form .wpcf7-submit,
.eh-form-fallback button {
  margin-top: 8px;
}

.eh-contact__form .wpcf7 label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--eh-text);
}

.eh-contact__form .wpcf7-submit {
  background: var(--eh-teal);
  color: var(--eh-white);
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  font-weight: 700;
  cursor: pointer;
}

/* WooCommerce shop grid */
.eh-woo-wrap--grid {
  background: var(--eh-teal-light);
  padding: 40px 0 64px;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: var(--eh-white);
  border-radius: var(--eh-radius);
  box-shadow: var(--eh-shadow);
  padding: 24px 20px 28px !important;
  text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem !important;
  font-weight: 600;
  color: var(--eh-text);
  padding: 0 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--eh-teal) !important;
  font-weight: 700;
}

.woocommerce ul.products li.product .price del {
  color: var(--eh-text-muted) !important;
}

.woocommerce ul.products li.product .button {
  background: var(--eh-teal) !important;
  color: var(--eh-white) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  border-radius: 4px !important;
  padding: 12px 24px !important;
  margin-top: 8px;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--eh-teal-dark) !important;
}

.woocommerce ul.products li.product img {
  max-height: 180px;
  width: auto !important;
  margin: 0 auto 12px;
  object-fit: contain;
}

/* Cart page (PDF style) */
.eh-woocommerce .woocommerce-cart .woocommerce {
  padding: 40px 0 48px;
}

.woocommerce table.shop_table {
  border: none !important;
  border-collapse: collapse;
}

.woocommerce table.shop_table thead th {
  background: transparent !important;
  color: var(--eh-teal) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #eee !important;
  padding: 12px 16px !important;
}

.woocommerce table.shop_table td {
  border-top: 1px solid #eee !important;
  padding: 20px 16px !important;
  vertical-align: middle !important;
}

.woocommerce-cart .cart_totals {
  float: right;
  width: 100%;
  max-width: 360px;
  margin-top: 24px;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart-subtotal th {
  display: none;
}

.woocommerce-cart .cart-subtotal td,
.woocommerce-cart .order-total td {
  text-align: right;
  font-size: 1.1rem;
  font-weight: 800;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: var(--eh-teal) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  width: auto !important;
  float: right;
}

.woocommerce .quantity .qty {
  width: 48px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Elementor full width */
.eh-page--elementor .eh-page__elementor {
  width: 100%;
  max-width: none;
  padding: 0;
}

.eh-page__content {
  padding: 40px 0 64px;
}

/* Responsive */
@media (max-width: 992px) {
  .eh-products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .eh-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .eh-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .eh-contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .eh-nav-toggle {
    display: flex;
  }

  .eh-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--eh-white);
    box-shadow: var(--eh-shadow);
    padding: 16px;
  }

  .eh-nav.is-open {
    display: block;
  }

  .eh-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .eh-products,
  .woocommerce ul.products,
  .eh-gallery {
    grid-template-columns: 1fr !important;
  }

  .eh-footer__grid {
    grid-template-columns: 1fr;
  }

  .eh-contact__details {
    grid-template-columns: 1fr;
  }
}
