/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* =========================================================
   1) Imports / Base Typography
   ========================================================= */

@import url('satoshi.css');
@import url('fonts.css');

* {
  /* font-family: 'Satoshi-Regular', sans-serif; */
  font-family: 'Satoshi-Variable', sans-serif;
  font-size: 1rem;
}

body:lang(de) {
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

div, p, ul, li, a {
  font-family: 'Satoshi-Regular', sans-serif;
}

h1 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 5rem;
  line-height: 6rem;
  color: #fff;
}

h2 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 5rem;
  line-height: 6rem;
  color: #fff;
}

h3 {
  font-family: 'Satoshi-Medium', sans-serif;
  font-size: 2.4rem;
  line-height: 3rem;
}

h4 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 2rem;
  line-height: 2.4rem;
}

h5 {
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: 1.6rem;
  line-height: 2rem;
}

/* =========================================================
   2) Divi / Global Navigation
   ========================================================= */

.et_fixed_nav.et_show_nav #page-container {
  padding-top: 0 !important;
}

#main-header {
  background-color: transparent;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.et_fixed_nav #main-header {
  margin-top: 30px;
}

#et-top-navigation {
  padding-left: 400px !important;
}

#top-menu {
  float: right !important;
}

#top-menu li,
#top-menu a {
  font-family: 'Satoshi-Regular', sans-serif;
  opacity: 1 !important;
}

#top-menu a:hover {
  color: #fff;
  opacity: 1 !important;
}

#top-menu li.current-menu-item > a {
  color: #fff !important;
}

#et-top-navigation nav > ul > li > a::after {
  content: '';
  display: block;
  width: 0;
  margin-top: 15px;
  height: 3px;
  background-color: transparent;
  transition: width .2s linear;
}

#et-top-navigation nav > ul > li > a:hover::after {
  width: 100%;
  background-color: #fff;
  opacity: 1 !important;
}

#et-top-navigation nav > ul > li.current-menu-item > a::after {
  content: '';
  display: block;
  width: 100%;
  margin-top: 15px;
  height: 3px;
  background-color: #fff;
}

#et-top-navigation nav > ul > li.current-menu-item > a:hover::after {
  border-bottom-color: transparent;
}

#main-header.et-fixed-header {
  display: none;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  margin-top: 30px;
}

/* REMOVE CART ICON FROM HEADER */
#et-top-navigation > a {
  display: none !important;
}

/* =========================================================
   3) Divi / Content Elements
   ========================================================= */

.et_pb_testimonial_description::after {
  position: absolute;
  color: #166E3A;
  background-color: RGBA(255,255,255,0);
  font-family: ETmodules !important;
  font-weight: 400 !important;
  content: "\7b" !important;
  font-size: 52px;
  left: 50%;
  bottom: -40px;
  margin-left: -26px;
  -webkit-transform: scale(-1, -1);
  transform: scale(-1, -1);
}

/* Image Carousel - adjust height */
.dtq-image-carousel-item figure {
  height: 480px;
}

.dtq-image-carousel-item figure img {
  height: 460px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.dtq-centered--highlighted .slick-slide.slick-center {
  /* border: 1px solid #17C900; */
  border-radius: 4px;
  box-shadow: 4px 4px 8px rgba(0,0,0,.2);
}

/* =========================================================
   4) Forms / Protected Pages
   ========================================================= */

.search_panel input {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #fff;
  background-color: #2e6e39;
  color: #fff;
  margin-right: 20px;
}

.search_panel button {
  color: #fff;
  background-color: #51c900;
  font-size: 20px;
  line-height: 1.7em !important;
  border: 2px solid;
  padding: 10px 15px;
}

/* Password Protected Pages */
.et_password_protected_form {
  background-color: #166e3a;
  padding: 250px 50px;
}

.et_password_protected_form h1 {
  font-size: 3rem;
}

.et_password_protected_form p {
  color: #fff;
}

/* =========================================================
   5) WooCommerce / Layout Overrides (Header hide etc.)
   ========================================================= */

body.woocommerce #main-header,
body.woocommerce-page #main-header,
body.shop-layout #main-header {
  display: none !important;
}

body.woocommerce .container,
body.shop-layout .container {
  max-width: 1000px;
}

body.woocommerce #main-content,
body.woocommerce-account #main-content {
  margin-bottom: 250px;
}

/* =========================================================
   6) Shop Home / Typography + Generic Helpers
   ========================================================= */

.shop-home,
.shop-home *,
.shop-categories *,
.shop-hero *,
.woocommerce-products-header__title,
.related.products h2,
h1.entry-title.main_title {
  font-family: 'Source Sans 3' !important;
  font-weight: 350;
}

.shop-home p {
  font-weight: 200;
  font-size: 24px;
  line-height: 34px;
}

.woocommerce .shop-home h2,
#main-content h1.page-title {
  font-weight: 240;
  font-size: 55px;
}

.woocommerce h2 {
  font-size: 25px;
}

.shop-home .shop-hero__title {
  font-weight: 220;
}

.shop-hero .et_pb_button {
  border: 0 !important;
}

#hero-planning .request__text {
  padding-bottom: 15px;
}

/* SECTIONS */
.shop-home section {
  margin-top: 100px !important;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  text-align: center;
  margin: 18px 0 14px;
  font-size: 22px;
}

.linklike {
  text-decoration: underline;
}

/* Secondary menu (shop layout) */
body.shop-layout .shop-secondary-menu {
  border: 0;
  max-width: 1200px;
  margin: 0 auto;
}

body.shop-layout .shop-secondary-menu ul.sub-menu {
  margin: -4px 0 0 0;
}


body.shop-layout .shop-secondary-menu ul.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  /* justify-content: center; */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.shop-layout .shop-secondary-menu ul.menu > li > a {
  /* font-size: 18px !important;
     font-family: 'Source Sans 3';
     font-weight: 350 !important; */
  color: #666666;
}


/* =========================================================
   7) Shop Hero (Version A - background via .shop-hero__bg)
   ========================================================= */

.shop-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #e9eef5;
  margin-top: 45px;
  margin-bottom: 45px;
  border-top: 2px #166E3A solid;
}

.shop-hero__bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/01/solar-14.png') center/cover no-repeat;
  transform: scale(1.02);
}

.shop-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.shop-hero__inner {
  position: relative;
  z-index: 1;
}

.shop-hero__inner span {
  font-weight: 340;
}

.shop-hero__content {
  max-width: 1000px;
  color: #fff;
  padding: 28px 16px;
  margin: auto;
}

.shop-hero__title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
}

.shop-hero__subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  opacity: .95;
}

/* ===== Fix: Hero Overlay Layering (nur #hero-main) ===== */
#hero-main.shop-hero {
  position: relative;
  overflow: hidden;
}

/* Der Media-Container ist die "Bühne" */
#hero-main .shop-hero__media {
  position: relative;
  height: 420px;          /* wie vorher */
}

/* Bild wird absolut "gespannt", damit Overlay sicher passt */
#hero-main .shop-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Overlay MUSS über dem Bild liegen */
#hero-main .shop-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Inhalt (Headline + Search) kommt über Overlay */
#hero-main .shop-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* WICHTIG: entferne/neutralisiere deinen alten Hack */
#hero-main .shop-hero__image {
  margin-top: 0 !important;   /* <- du hattest -500px, das macht oft komische Effekte */
}


/* SEARCH BAR */
.shop-search {
  display: flex;
  gap: 0;
  max-width: 680px;
  margin: auto;
  margin-top: 70px;
}

.shop-search input[type="search"] {
  flex: 1;
  padding: 12px 12px;
  border: 1px solid #dfe7f2;
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
}

.shop-search__btn {
  padding: 0 16px;
  border: 1px solid #17c900;
  background: #17c900;
  color: #fff;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

/* =========================================================
   8) Shop Sections (teaser / categories / promo / request ...)
   ========================================================= */

.shop-teaser,
.shop-categories,
.shop-promo,
.shop-request,
.shop-info,
.shop-testimonials,
.shop-quicklinks,
.shop-footer-links {
  padding: 22px 0;
}

.shop-categories .grid {
  gap: 35px !important;
}

/* TEASER */
.teaser-card {
  text-align: center;
  padding: 18px 14px;
}

.teaser-card__logo {
  height: 140px;
  margin: 8px auto 14px;
  max-width: 520px;
  background: #f2f5fa;
  border-radius: 10px;
}

/* GRID */
.grid {
  display: grid;
  gap: 16px;
}

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

/* CATEGORY TILES */
.cat-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 0px solid #edf1f7;
  border-radius: 0px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.cat-tile__img {
  height: 140px;
  background: #e9eef5;
}

.cat-tile__label {
  padding: 11px 0px 35px 13px;
  font-size: 20px;
  color: #1f5aa6;
  margin-top: 35px;
}

.cat-tile .sep { opacity: .5; }

/* PROMO */
.promo {
  display: grid;
  grid-template-columns: 0px 1fr 360px;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  padding-top: 40px;
  padding-bottom: 70px;
}

.promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 70px;
  border-radius: 6px;
  background: #1f5aa6;
  color: #fff;
  font-weight: 700;
}

.promo__media {
  height: 140px;
  background: #f2f5fa;
  border-radius: 10px;
}

p.promo__text {
  margin-bottom: 25px;
  font-size: 24px;
}

/* REQUEST */
.request {
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
  /* border-top: 1px solid #b6b6b6;
     border-bottom: 1px solid #b6b6b6; */
}

.request__title { margin: 0 0 8px; }
.request__text  { max-width: 820px; margin: 0 auto 14px; opacity: .9; }

/* =========================================================
   9) Shop Info Cards
   ========================================================= */

.shop-info {
  margin: 60px 0;
}

.shop-info .grid {
  display: grid;
  gap: 28px;
}

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

/* Card base */
.info-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Image area */
.info-card__media {
  width: 100%;
  background: #f7f9fb;
}

.info-card__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Content */
.info-card__body {
  padding: 22px 22px 26px;
}

.info-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.shop-home .info-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #4a4a4a;
}

/* Hover accents */
.info-card:hover .info-card__title {
  color: #166E3A;
}

/* =========================================================
   10) Reviews
   ========================================================= */

.review {
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 12px;
  background: #fff;
}

.review__stars { margin-bottom: 8px; }
.review__text  { margin: 0 0 10px; opacity: .9; }
.review__author{ margin: 0; opacity: .7; }

/* =========================================================
   11) Info Links (Quicklinks)
   ========================================================= */

.info-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 2rem 0;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  /* border-radius: 14px; */
  background: white;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.09);
}

.info-link__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.info-link__text {
  font-size: 1rem;
}

.info-link::after {
  content: "→";
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.info-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Hover */
.info-link:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

@media (hover: none) {
  .info-link::after {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   12) WooCommerce - Cart (Blocks)
   ========================================================= */

/* --- WooCommerce Blocks Cart: cleaner table layout --- */

#main-content .wc-block-cart-item__image img {
  border: 0;
  border-radius: 0px;
}

/* Base table */
.wc-block-cart-items {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

/* Header */
.wc-block-cart-items thead th {
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  letter-spacing: .2px;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.75);
  vertical-align: middle;
}

.wc-block-cart-items__header-image { width: 110px; }
.wc-block-cart-items__header-total { width: 170px; text-align: right; }

/* Rows */
.wc-block-cart-items tbody tr {
  border: 0;
}

.wc-block-cart-items__row td {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

/* Image cell */
.wc-block-cart-item__image a {
  display: inline-block;
}

#main-content td.wc-block-cart-item__image {
  padding: 0px;
}

.wc-block-cart-item__image img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
}

/* Product column */
.wc-block-components-product-name {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(0,0,0,.85);
  text-decoration: none;
}

.wc-block-components-product-name:hover {
  text-decoration: underline;
}

.wc-block-cart-item__prices {
  margin-top: 6px;
  color: rgba(0,0,0,.75);
  font-size: 14px;
}

/* Make descriptions less dominant (optional) */
.wc-block-components-product-metadata__description {
  margin-top: 8px;
  color: rgba(0,0,0,.60);
  font-size: 13px;
  line-height: 1.35;
  max-width: 70ch;
}

.wc-block-components-product-metadata__description p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Quantity area */
.wc-block-cart-item__quantity {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  overflow: hidden;
  height: 36px;
  background: #fff;
}

.wc-block-components-quantity-selector__input {
  width: 56px;
  height: 36px;
  border: 0 !important;
  outline: none;
  text-align: center;
  font-size: 14px;
  padding: 0 8px;
}

.wc-block-components-quantity-selector__button {
  width: 38px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  color: rgba(0,0,0,.75);
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: rgba(0,0,0,.06);
}

.wc-block-components-quantity-selector__button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* Remove link */
.wc-block-cart-item__remove-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: rgba(0,0,0,.55);
  text-decoration: underline;
  cursor: pointer;
}

.wc-block-cart-item__remove-link:hover {
  color: rgba(0,0,0,.80);
}

/* Total column */
.wc-block-cart-item__total {
  text-align: right;
  border: 0 !important;
}

.wc-block-cart-item__total .price {
  font-weight: 700;
  font-size: 15px;
  color: rgba(0,0,0,.85);
}

.wc-block-cart-items__row.woosb-bundled .wc-block-components-product-price {
  font-weight: 400;
}

/* Sale badge in cart: make it subtle */
.wc-block-components-sale-badge {
  margin-top: 6px;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.75);
}

/* Bundles: visually group */
.wc-block-cart-items__row.woosb-bundles {
  background: rgba(0,0,0,.03);
}

.wc-block-cart-items__row.woosb-bundles td {
  border-bottom: 1px solid rgba(0,0,0,.10);
}

/* Bundled items: indent + lighter */
.wc-block-cart-items__row.woosb-bundled .wc-block-cart-item__image {
  opacity: .85;
}

.wc-block-cart-items__row.woosb-bundled .wc-block-components-product-name {
  font-weight: 500;
  color: rgba(0,0,0,.75);
}

.wc-block-cart-items__row.woosb-bundled td:nth-child(2) .wc-block-cart-item__wrap {
  padding-left: 14px;
  border-left: 2px solid rgba(0,0,0,.10);
}

/* Optional: hide metadata "details" rows like gzd-item_desc if annoying */
.wc-block-components-product-details {
  display: none;
}

/* Caption cleanup */
.wc-block-cart-items caption {
  caption-side: top;
  padding: 0;
  margin: 0 0 10px;
}

.wc-block-cart-items caption h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* --- Make the cart item wrap look like a mini table (grid) --- */
.wc-block-cart-item__product .wc-block-cart-item__wrap {
  display: grid;
  grid-template-columns: 1fr 25px 160px;
  grid-template-areas:
    "name  price qty"
    "meta  meta  qty"
    "remove remove qty";
  column-gap: 18px;
  row-gap: 8px;
  align-items: start;
}

/* Assign areas */
.wc-block-cart-item__product .wc-block-components-product-name { grid-area: name; }

.wc-block-cart-item__product .wc-block-cart-item__prices {
  grid-area: price;
  text-align: right;
  margin-top: 2px;
}

.wc-block-cart-item__product .wc-block-components-product-metadata { grid-area: meta; }

.wc-block-cart-item__product .wc-block-cart-item__quantity {
  grid-area: qty;
  margin-top: 0;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wc-block-cart-item__product .wc-block-cart-item__remove-link {
  grid-area: remove;
  justify-self: start;
  margin-top: 4px;
}

/* Optional: keep meta text tidy */
.wc-block-cart-item__product .wc-block-components-product-metadata__description p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-content table:not(.variations) {
  border: 0;
}

/* Quantity + Remove nebeneinander */
#main-content table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.wc-block-cart-item__product .wc-block-cart-item__remove-link {
  grid-area: auto;
}

/* Selector bleibt kompakt */
.wc-block-components-quantity-selector {
  white-space: nowrap;
}

/* Remove-Link sauber ausrichten */
.wc-block-cart-item__remove-link {
  justify-self: start;
  margin: 0;
  font-size: 13px;
}

/* Remove-Link als X-Icon darstellen */
.wc-block-cart-item__remove-link {
  position: relative;
  font-size: 0 !important;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none !important;
}

.wc-block-cart-items__row.woosb-bundled td:nth-child(2) .wc-block-cart-item__wrap {
  border-left: 0px;
}

/* X Icon */
.wc-block-cart-item__remove-link::before {
  content: "✕";
  font-size: 25px;
  line-height: 0.7;
  color: rgba(0, 0, 0, .55);
  font-weight: 400;
}

/* Hover */
.wc-block-cart-item__remove-link:hover::before {
  color: #000;
}

.wc-block-cart-item__remove-link:hover {
  background: rgba(0,0,0,.06);
}

/* Responsive: stack total under details on small screens */
@media (max-width: 780px) {
  .wc-block-cart-items thead {
    display: none;
  }

  .wc-block-cart-items__row td {
    display: block;
    padding: 12px 0;
    border-bottom: 0;
  }

  .wc-block-cart-items__row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.10);
  }

  .wc-block-cart-item__total {
    text-align: left;
    margin-top: 8px;
  }

  .wc-block-cart-item__image img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 900px) {
  .wc-block-cart-item__product .wc-block-cart-item__wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "price"
      "meta"
      "qty"
      "remove";
  }

  .wc-block-cart-item__product .wc-block-cart-item__prices {
    text-align: left;
  }

  .wc-block-cart-item__product .wc-block-cart-item__quantity {
    align-items: flex-start;
    justify-self: start;
  }
}

/* =========================================================
   13) WooCommerce - Checkout / Notices / Titles
   ========================================================= */

#main-content .wc-block-components-order-summary.is-large {
  background: white;
}

h1.entry-title.main_title {
  font-size: 35px;
  margin: -50px 0 -20px 0;
}

.woocommerce .woocommerce-info {
  background: #4c9068 !important;
  line-height: 49px;
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
  display: block;
  margin: auto;
  text-align: center;
  float: none;
  background: #4c9068 !important;
  color: white !important;
  width: 100%;
  line-height: 46px;
}

/* =========================================================
   14) Footer links
   ========================================================= */

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #f2f2f2;
  padding: 22px 16px;
  border-radius: 12px;
}

.footer-links__title { margin: 0 0 10px; }

.footer-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links__list li { margin: 6px 0; }

.footer-links__list a {
  text-decoration: none;
  color: #1d2b3a;
}

.footer-links__list a:hover { text-decoration: underline; }

.footer-links__list--cols {
  columns: 2;
  column-gap: 24px;
}

/* =========================================================
   15) Category / Product / Tabs
   ========================================================= */

#main-content #left-area {
  padding-right: 0;
  width: 100%;
}

#main-content .container:before {
  display: none;
}

ul.products li.product {
  /* box-shadow: 0 0 10px #CED4D9; */
  padding: 25px !important;
}

#main-content ul.products li.product h2 {
  color: #166e3a;
  padding: 0;
  font-size: 17px;
  line-height: 24px;
}

.woocommerce-products-header {
  display: none;
}

/* PRODUCT PAGE */
.woocommerce .woocommerce-breadcrumb {
  font-size: 17px;
  margin: 0px 0 0 0;
}

.woocommerce div.product {
  margin-top: 50px;
}

.woocommerce div.product .product_title {
  font-size: 27px;
  line-height: 35px;
  color: #166e3a;
}

.woocommerce li.product {
  overflow: hidden;
}

.woocommerce .woocommerce-product-attributes-item--weight {
  display: none;
}

.woocommerce .price .woocommerce-Price-amount bdi {
  font-size: 19px !important;
  color: black;
}

.woocommerce ul.products li.product a {
  color: #666666;
  font-weight: 700;
}

.woocommerce-page div.product p.price {
  margin: 10px 0 25px 0px;
}

.related.products .price .woocommerce-Price-amount bdi {
  font-size: 23px !important;
}

.woocommerce .woocommerce-product-gallery .flex-viewport {
  min-height: 280px
}

.woocommerce .summary #payment-method-message {
  height: 25px;
}

.woocommerce .woocommerce-product-gallery div.product div.images .flex-control-thumbs li {
  padding: 3px;
}

.woocommerce .woocommerce-product-gallery div.images img {
  border: 1px solid #166e3a;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .button:hover {
  padding: 10px 25px 10px 25px !important;
  font-size: 16px;
}

.woocommerce .quantity input.qty {
  margin-top: 2px;
  height: 47px;
}

.woocommerce .product_meta .sku_wrapper {
  display: block;
  width: 100%;
}

.woocommerce .woocommerce-product-details__short-description {
  margin-top: 35px;
}

.woocommerce .entry-content h2 {
  font-size: 25px;
  line-height: 25px;
  padding-bottom: 20px;
}

.woocommerce .entry-content span {
  font-size: 17px;
}

.woocommerce .summary.entry-summary button {
  color: #17c900;
}

.woocommerce .woocommerce-Tabs-panel h2:first-child,
.woocommerce .woocommerce-Tabs-panel h3 {
  display: none;
}

.woocommerce table.shop_attributes td p {
  font-style: normal;
}

.woocommerce table.shop_attributes td {
  line-height: 0.5;
}

.woocommerce-cart .entry-title {
  font-size: 50px;
  text-align: center;
}

#post-248446 > div > div > div:nth-child(4) > div > div > h2:nth-child(3) {
  font-size: 50px;
  text-align: center;
}

.wc-block-cart__empty-cart__title {
  color: black;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
  color: #17c900;
}

.entry-summary p.price span {
  font-size: 20px !important;
}

.woosb-products .woosb-product .woosb-title .woosb-name a {
  color: #666666;
}

.woocommerce .entry-summary a {
  color: #666666;
  font-weight: 700;
}

.product p.wc-gzd-additional-info {
  margin: 0px;
}

.woocommerce ul.products li.product {
  padding: 30px !important;
  min-height: 382px;
}

.woocommerce ul.products li.product .price {
  margin-bottom: 8px !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
}

body.woocommerce .woocommerce-tabs {
  border: 0;
}

/* Tabs links */
.woocommerce-tabs .wc-tabs {
  float: none !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: none;
  padding: 0;
  margin: 0;
  min-height: 300px;
}

body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs {
  background: #ffffff;
}

/* Einzelner Tab */
#main-content .woocommerce-tabs .wc-tabs li {
  border: none;
  background: transparent;
  padding: 0;
  height: 50px;
  margin-top: -5px;
  background: #ffffff
}

/* Tab-Link */
.woocommerce-tabs .wc-tabs li a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #166e3a !important;
  border-bottom: 2px solid #e5edf5;
  text-decoration: none;
  height: 54px;
  line-height: 50px;
  width: 100%;
  background: #ffffff
}

.woocommerce table.shop_attributes tr:nth-child(even) td {
  background: rgb(0 0 0 / 1%);
}

/* Aktiver Tab */
.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
  color: #166e3a;
  border-bottom: 2px solid #166e3a;
}

/* Content rechts */
.woocommerce-tabs .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 0;
}

/* =========================================================
   16) Shop Header (custom)
   ========================================================= */

.shop-header {
  width: 100%;
  background: #ffffff;
}

/* ---------- TOP ROW ---------- */
.shop-header__top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.shop-header__logo-img {
  max-height: 120px;
  width: auto;
  display: block;
}

/* ---------- LOGIN BOX ---------- */
.shop-header__loginbox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #f3f3f3;
  border-radius: 4px;
}

.shop-header__logintext {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.shop-header__actions {
  display: flex;
  gap: 8px;
}

.shop-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}

/* Buttons */
.shop-header__btn--primary {
  background: #166E3A;
  color: #fff;
}

.shop-header__btn--primary:hover {
  background: #125A2F;
  color: #fff;
}

.shop-header__btn--secondary {
  background: #E6E6E6;
  color: #002a33;
}

.shop-header__btn--secondary:hover {
  background: #D6D6D6;
  color: #002a33;
}

/* ---------- BOTTOM MENU ---------- */
.shop-header__bottom {
  max-width: 1200px;
  margin: -5px auto;
  padding: 6px 18px 14px;
}

.shop-header__menu {
  display: flex;
  justify-content: flex-end;
}

.shop-header__menu-list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-header__menu-list a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.shop-header__menu-list a:hover {
  text-decoration: underline;
}

/* =========================================================
   17) Shop Header / Sticky (as-is)
   ========================================================= */

body.woocommerce .shop-header {
  top: 0;
  z-index: 9999;
}

/* Admin bar offset */
body.admin-bar.woocommerce .shop-header {
  top: 32px;
}

/* =========================================================
   18) Shop Hero (Version B - media based)
   ========================================================= */

.shop-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 0 28px 0;
}

/* Background media layer */
.shop-hero__media {
  position: relative;
  width: 100%;
  height: 420px;
}

.shop-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Dark overlay for readability */
.shop-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

/* Content layer on top */
.shop-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.shop-hero__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 100%;
}

.shop-hero__title h1 {
  margin: 0 0 14px 0;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.shop-hero__title h1 span {
  color: #17c900;
}

/* Search positioning within hero */
.shop-hero .shop-search {
  max-width: 520px;
}

/* Improve inputs on dark background */
.shop-hero .shop-search input[type="search"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 12px 44px 12px 14px;
  outline: none;
}

.shop-hero .shop-search input[type="search"]:focus {
  border-color: rgba(22, 110, 58, 0.8);
  box-shadow: 0 0 0 4px rgba(22, 110, 58, 0.18);
}

/* Search button inside field */
.shop-hero .shop-search {
  position: relative;
}

.shop-hero .shop-search__btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

#hero-main .shop-hero__image {
  margin-top: -500px;
}

/* =========================================================
   19) WooCommerce - My Account Navigation
   ========================================================= */

.woocommerce-account .woocommerce {
  gap: 48px;
  align-items: start;
}

.woocommerce-MyAccount-navigation {
  padding: 0;
  background: none;
  box-shadow: none;
}

#left-area ul,
.entry-content ul,
.et-l--body ul,
.et-l--footer ul,
.et-l--header ul {
  list-style-type: none;
}

/* Liste reset */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Einträge */
.woocommerce-MyAccount-navigation li {
  margin: 0 0 8px 0;
}

/* Links */
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 400;
  color: #2a2a2a;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

/* Hover */
.woocommerce-MyAccount-navigation a:hover {
  color: #166E3A;
}

/* Aktiver Punkt */
.woocommerce-MyAccount-navigation .is-active > a {
  color: #166E3A;
  font-weight: 500;
  position: relative;
  padding-left: 14px;
}

/* Logout leicht abgesetzt */
.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 18px;
}

.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #777;
}

.woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #000;
}

/* Rechte Content-Spalte */
.woocommerce-MyAccount-content {
  padding: 0;
  background: none;
  box-shadow: none;
}

/* =========================================================
   20) Responsive (existing)
   ========================================================= */

@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 1fr; }
  .promo__media { height: 180px; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .shop-hero__media {
    height: 300px;
  }

  .shop-hero__title h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {

  body.shop-layout .container{
    width: 100%;
  }

  .woocommerce .shop-home h2{
    font-size: 40px;
  }

  .shop-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .shop-header__loginbox {
    width: 100%;
    justify-content: space-between;
  }

  .shop-header__menu {
    justify-content: flex-start;
  }

  .shop-header__menu-list {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .shop-header__logo-img {
    max-height: 100px;
  }
}

@media (max-width: 768px) {
  .woocommerce-tabs.wc-tabs-wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce-tabs .wc-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .woocommerce-tabs .wc-tabs li a {
    border-bottom: none;
    border-radius: 6px;
    background: #f2f5fa;
  }

  .woocommerce-tabs .wc-tabs li.active a {
    background: #166e3a;
    color: #fff;
  }
}

@media (max-width: 560px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .shop-hero__title { font-size: 28px; }

  .woocommerce .shop-home h2{
    font-size: 30px;
  }

  .shop-hero {
      min-height: 600px;
  }

}




@media (max-width: 600px) {
  .shop-hero__media {
    height: 260px;
  }

  .shop-hero__title h1 {
    font-size: 28px;
  }

  .shop-hero .shop-search {
    max-width: 100%;
  }
}

/* =========================================================
   21) Misc / Alt hero placeholders
   ========================================================= */

.shop-hero--alt { min-height: 280px; }

.shop-hero__bg--alt {
  background: #0f3a6d;
}
