/* =========================================================
   E-Scooter-Klinik Shop · WooCommerce im Look der Hauptseite
   Baut auf basis.css auf (gleiche Farben, Schriften, Knöpfe)
   ========================================================= */

/* ---------- Kopfzeile im Shop ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.warenkorb-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 10px; background: var(--orange); color: var(--schwarz); text-decoration: none;
  font-family: var(--f-head); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 10px 40px -10px rgba(255,122,0,.7); transition: transform .25s ease, box-shadow .25s ease;
}
.warenkorb-link:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -8px rgba(255,122,0,.9); }
.warenkorb-link svg { width: 22px; height: 22px; }
.warenkorb-zahl {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--schwarz); color: var(--weiss); font-family: var(--f-text); font-size: 13px; font-weight: 700;
}
.warenkorb-zahl.leer { opacity: .55; }

/* ---------- Shop-Kopfbereich ---------- */
.shop-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.shop-hero h1 { max-width: none; }
.seiten-hero-klein { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.seiten-hero-klein h1 { font-size: clamp(42px, 5.6vw, 76px); }
.kategorien { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.kategorien a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(244,240,232,.18); text-decoration: none; color: var(--weiss);
  font-family: var(--f-head); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .04em;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.kategorien a span { font-family: var(--f-text); font-size: 13px; font-weight: 700; color: var(--text-leise); }
.kategorien a:hover { border-color: var(--orange); color: var(--bernstein); }
.kategorien a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--schwarz); }
.kategorien a[aria-current="page"] span { color: rgba(14,14,16,.7); }
.shop-vorteile { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--text-leise); font-size: 15px; }
.shop-vorteile li { display: flex; align-items: center; gap: 8px; }
.shop-vorteile svg { width: 18px; height: 18px; color: var(--orange); }

.shop-bereich { padding-top: clamp(24px, 3vw, 40px); }
.shop-bereich.ist-uebersicht { border-top: 1px solid var(--linie); }

/* ---------- Allgemeine WooCommerce-Farben ---------- */
.woocommerce, .woocommerce-page { color: var(--weiss); }
.shop-bereich a:not(.button):not(.btn):not(.woocommerce-LoopProduct-link):not(.remove),
.wc-seite a:not(.button):not(.wc-block-components-button):not(.wc-block-components-product-name):not(.remove) { color: var(--bernstein); }
.woocommerce .star-rating, .woocommerce .star-rating::before { color: var(--bernstein); }
.woocommerce mark, .woocommerce .count { background: none; color: var(--text-leise); }

/* Brotkrumen */
.woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb { margin: 0 0 28px !important; font-size: 14px !important; color: var(--text-leise) !important; }
.woocommerce-breadcrumb a { color: var(--text-leise) !important; text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--bernstein) !important; }
.woocommerce-breadcrumb .trenner-zeichen { margin: 0 10px; color: var(--orange); }

/* Anzahl und Sortierung */
.woocommerce .woocommerce-result-count { color: var(--text-leise); font-size: 15px; margin: 8px 0 24px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select, .woocommerce select, .wc-seite select {
  font: inherit; font-size: 15px; color: var(--weiss); background-color: var(--anthrazit);
  border: 1px solid rgba(244,240,232,.18); border-radius: 10px; padding: 11px 40px 11px 14px; min-height: 46px;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}

/* ---------- Produktraster ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 40px !important; padding: 0; clear: both;
}
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 20px !important;
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); border-color: rgba(255,122,0,.5); }
.woocommerce ul.products li.product::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--orange); box-shadow: var(--glow); transition: width .4s ease; z-index: 2; }
.woocommerce ul.products li.product:hover::before { width: 100%; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--weiss); }
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 18px !important; background: var(--anthrazit);
  transition: transform .5s ease;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
  font-family: var(--f-head); font-weight: 800; font-size: 25px !important; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em;
  padding: 0 20px !important; margin: 0 0 10px !important; color: var(--weiss);
}
.woocommerce ul.products li.product .price {
  display: block; padding: 0 20px; margin: 0 0 16px !important; color: var(--bernstein) !important;
  font-family: var(--f-head); font-weight: 900; font-size: 30px !important; line-height: 1;
}
.woocommerce ul.products li.product .price del { color: var(--text-leise); font-size: .65em; opacity: .8; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.preis-hinweis { display: block; margin-top: 6px; font-family: var(--f-text); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-leise); }
.preis-hinweis a { color: var(--text-leise) !important; }
.woocommerce ul.products li.product .star-rating { margin: 0 20px 12px; }
.woocommerce ul.products li.product .button { margin: auto 20px 0 !important; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin: 10px 20px 0; font-size: 14px; font-weight: 700; color: var(--bernstein); text-decoration: none; }

/* Angebots-Etikett */
.woocommerce span.onsale {
  position: absolute; min-height: 0; min-width: 0; line-height: 1; padding: 8px 12px; border-radius: 8px; top: 14px; left: 14px; right: auto; margin: 0;
  background: var(--orange); color: var(--schwarz); font-family: var(--f-head); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .04em;
  z-index: 3;
}

/* ---------- Knöpfe ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link), .wp-block-button__link, .wc-seite .button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px !important; border: 0 !important; border-radius: 10px !important;
  background: transparent !important; color: var(--weiss) !important; box-shadow: inset 0 0 0 1.5px rgba(244,240,232,.28) !important;
  font-family: var(--f-head) !important; font-weight: 800 !important; font-size: 18px !important; line-height: 1 !important;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none !important;
  transition: box-shadow .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:not(.is-link):hover, .wc-seite .button:hover {
  box-shadow: inset 0 0 0 1.5px var(--orange) !important; color: var(--bernstein) !important; background: transparent !important;
}
/* Hauptknöpfe (in den Warenkorb, zur Kasse, bestellen) in Orange */
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt,
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce div.product form.cart .button, .woocommerce #place_order,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained {
  background: var(--orange) !important; color: var(--schwarz) !important; box-shadow: 0 10px 40px -12px rgba(255,122,0,.7) !important;
}
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover, .woocommerce #place_order:hover,
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover, .wc-block-components-button.contained:hover {
  background: var(--bernstein) !important; color: var(--schwarz) !important; transform: translateY(-2px);
}
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after { position: static; margin-left: 6px; }
.woocommerce a.button.added::after { margin-left: 6px; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5 !important; }

/* ---------- Einzelne Produktseite ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: start; position: relative; }
.woocommerce div.product span.onsale { top: 16px; left: 16px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,122,0,.35); box-shadow: 0 30px 80px -30px rgba(255,122,0,.45); }
.woocommerce div.product div.images img { background: var(--anthrazit); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 8px; opacity: .55; border: 1px solid var(--linie); }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--orange); }
.woocommerce div.product .woocommerce-product-gallery__trigger { background: var(--schwarz) !important; border: 1px solid var(--linie); }
.woocommerce div.product .product_title { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: .25em; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--bernstein) !important; font-family: var(--f-head); font-weight: 900; font-size: clamp(40px, 4vw, 54px) !important; line-height: 1; margin: 0 0 22px;
}
.woocommerce div.product p.price .preis-hinweis { font-size: 13px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-leise); margin-bottom: 24px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.woocommerce div.product .woocommerce-product-details__short-description li { display: flex; gap: 12px; }
.woocommerce div.product .woocommerce-product-details__short-description li::before { content: ""; flex: none; width: 16px; height: 9px; margin-top: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.woocommerce div.product .stock { font-weight: 700; color: #9be39b !important; }
.woocommerce div.product .stock.out-of-stock { color: #ff9b8a !important; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 26px !important; padding: 22px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0 !important; }
.woocommerce div.product form.cart .button { float: none; min-height: 56px; font-size: 21px !important; padding: 0 28px !important; flex: 1 1 220px; }
.woocommerce .quantity .qty, .wc-block-components-quantity-selector {
  width: 84px; min-height: 56px; text-align: center; font: inherit; font-weight: 700; font-size: 18px;
  color: var(--weiss); background: var(--anthrazit); border: 1px solid rgba(244,240,232,.18); border-radius: 10px;
}
.woocommerce div.product form.cart table.variations { margin-bottom: 12px; width: 100%; }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { padding: 6px 0; color: var(--weiss); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--text-leise); display: grid; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--text-leise) !important; }
.produkt-beratung { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: rgba(255,122,0,.07); border-left: 3px solid var(--orange); font-size: 15px; color: var(--text-leise); }

/* Reiter: Beschreibung, Zusätzliche Informationen, Bewertungen */
.woocommerce div.product .woocommerce-tabs { margin-top: clamp(32px, 5vw, 64px); }
.woocommerce div.product .woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 0 0 26px !important; border-bottom: 1px solid var(--linie); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { list-style: none; background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 14px 18px !important; color: var(--text-leise) !important; font-family: var(--f-head); font-weight: 800 !important;
  font-size: 20px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--orange); box-shadow: var(--glow); transform: scaleX(0); transition: transform .25s ease; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--weiss) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after, .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover::after { transform: scaleX(1); }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--text-leise); max-width: 760px; margin: 0 0 24px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(28px, 3vw, 38px); color: var(--weiss); }
.woocommerce table.shop_attributes { border: 0; border-top: 1px solid var(--linie); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--linie); background: none !important; padding: 12px 8px; font-style: normal; color: var(--weiss); }
.woocommerce table.shop_attributes td { color: var(--text-leise); }
.woocommerce table.shop_attributes td p { padding: 0; margin: 0; }

.woocommerce .related > h2, .woocommerce .upsells > h2, .woocommerce .cross-sells > h2 { font-size: clamp(34px, 4vw, 52px); margin: clamp(40px, 6vw, 72px) 0 24px; }

/* Bewertungen */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--linie); border-radius: 10px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { background: var(--anthrazit); border: 0; }
.woocommerce #review_form #respond textarea, .woocommerce #review_form #respond input[type=text], .woocommerce #review_form #respond input[type=email] { width: 100%; }

/* ---------- Formulare (Kasse, Konto, Bewertungen) ---------- */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text, .woocommerce input[type=text], .woocommerce input[type=email],
.woocommerce input[type=tel], .woocommerce input[type=password], .woocommerce input[type=number], .woocommerce textarea,
.wc-seite input[type=text], .wc-seite input[type=email], .wc-seite input[type=tel], .wc-seite input[type=password], .wc-seite textarea {
  font: inherit; font-size: 16px; color: var(--weiss) !important; background: var(--schwarz) !important;
  border: 1px solid rgba(244,240,232,.18) !important; border-radius: 10px !important; padding: 13px 15px !important; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.woocommerce input:focus, .woocommerce textarea:focus, .wc-seite input:focus, .wc-seite textarea:focus { outline: none; border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255,122,0,.2) !important; }
.woocommerce form .form-row label, .wc-seite label { font-size: 15px; font-weight: 700; color: var(--weiss); }
.woocommerce form .form-row .required { color: var(--orange); text-decoration: none; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--linie) !important; border-radius: var(--radius) !important; background: var(--anthrazit); }

/* Auswahllisten von WooCommerce (Land, Bundesland) */
.select2-container--default .select2-selection--single { background: var(--schwarz) !important; border: 1px solid rgba(244,240,232,.18) !important; border-radius: 10px !important; height: 48px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--weiss) !important; line-height: 46px !important; padding-left: 15px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px !important; }
.select2-dropdown { background: var(--anthrazit) !important; border-color: rgba(244,240,232,.18) !important; color: var(--weiss); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--orange) !important; color: var(--schwarz) !important; }
.select2-search--dropdown .select2-search__field { background: var(--schwarz); color: var(--weiss); border-color: var(--linie) !important; }

/* ---------- Hinweise (Erfolg, Info, Fehler) ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .woocommerce-message {
  background: var(--anthrazit) !important; color: var(--weiss) !important; border: 1px solid var(--linie) !important; border-left: 3px solid var(--orange) !important;
  border-radius: 10px; padding: 16px 20px 16px 52px !important; margin: 0 0 24px !important; list-style: none;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--orange) !important; top: 50% !important; transform: translateY(-50%); left: 20px !important; }
.woocommerce-error { border-left-color: #ff6b57 !important; }
.woocommerce-error::before { color: #ff6b57 !important; top: 50% !important; transform: translateY(-50%); left: 20px !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; float: none !important; margin: 0 !important; }
.wc-block-components-notice-banner { background: var(--anthrazit) !important; color: var(--weiss) !important; border: 1px solid var(--linie) !important; border-left: 3px solid var(--orange) !important; border-radius: 10px !important; }
.wc-block-components-notice-banner > svg { background: var(--orange) !important; fill: var(--schwarz) !important; }
.wc-block-components-notice-banner.is-error { border-left-color: #ff6b57 !important; }
.wc-block-components-notice-banner.is-error > svg { background: #ff6b57 !important; }

/* ---------- Warenkorb und Kasse (klassisch) ---------- */
.wc-seite { max-width: var(--max); }
.woocommerce table.shop_table { border: 1px solid var(--linie) !important; border-radius: var(--radius) !important; border-collapse: separate; overflow: hidden; color: var(--weiss); background: var(--anthrazit); }
.woocommerce table.shop_table th { font-family: var(--f-head); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; color: var(--bernstein); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top: 1px solid var(--linie) !important; padding: 14px 16px !important; }
.woocommerce table.shop_table thead th { border-top: 0 !important; }
.woocommerce table.shop_table img { width: 72px !important; border-radius: 8px; }
.woocommerce table.shop_table td.product-name a { color: var(--weiss) !important; text-decoration: none; font-weight: 700; }
.woocommerce a.remove { color: var(--text-leise) !important; border: 1px solid var(--linie); width: 28px; height: 28px; line-height: 26px; font-size: 20px; }
.woocommerce a.remove:hover { background: #ff6b57 !important; color: var(--schwarz) !important; border-color: #ff6b57; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, #order_review_heading { font-size: clamp(28px, 3vw, 40px); }
.woocommerce .cart-collaterals .cart_totals .order-total .amount, .woocommerce-checkout-review-order-table .order-total .amount { color: var(--bernstein); font-family: var(--f-head); font-weight: 900; font-size: 28px; }
.woocommerce-checkout #payment, .woocommerce-cart #payment { background: var(--anthrazit) !important; border: 1px solid var(--linie); border-radius: var(--radius) !important; color: var(--weiss); }
.woocommerce-checkout #payment div.payment_box { background: var(--schwarz) !important; color: var(--text-leise) !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--schwarz) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--linie) !important; }
.woocommerce .woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { color: var(--text-leise); font-size: 14px; }

/* ---------- Warenkorb und Kasse (Block-Version, Standard bei neuem WooCommerce) ---------- */
.wc-seite .wp-block-woocommerce-cart, .wc-seite .wp-block-woocommerce-checkout { color: var(--weiss); }
.wc-block-components-text-input input, .wc-block-components-text-input input[type], .wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input {
  background: var(--schwarz) !important; color: var(--weiss) !important; border: 1px solid rgba(244,240,232,.18) !important; border-radius: 10px !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select .wc-blocks-components-select__label, .wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--text-leise) !important; }
.wc-block-components-text-input input:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255,122,0,.2) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-cart-items td, .wc-block-cart-items th, .wc-block-cart-items, .wc-block-components-order-summary,
.wc-block-checkout__sidebar, .wc-block-components-checkout-step, .wc-block-cart__totals-title, .wp-block-woocommerce-checkout-order-summary-block {
  border-color: var(--linie) !important;
}
.wc-block-components-sidebar-layout .wc-block-components-sidebar, .wp-block-woocommerce-checkout-order-summary-block { background: transparent; }
.wp-block-woocommerce-checkout-order-summary-block, .wc-block-cart .wc-block-cart__sidebar { border: 1px solid var(--linie) !important; border-radius: var(--radius); padding: 8px 4px; background: var(--anthrazit) !important; }
.wc-block-components-product-name { color: var(--weiss) !important; font-weight: 700; text-decoration: none; }
.wc-block-components-product-price, .wc-block-components-formatted-money-amount { color: inherit; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-formatted-money-amount { color: var(--bernstein) !important; font-family: var(--f-head); font-weight: 900; font-size: 28px !important; }
.wc-block-components-checkout-step__title, .wc-block-cart__totals-title { font-family: var(--f-head) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .03em; font-size: 24px !important; color: var(--weiss) !important; }
.wc-block-components-checkout-step__container::after { border-color: var(--linie) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { color: var(--weiss); }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--orange) !important; border-radius: 10px; }
.wc-block-components-radio-control__input, .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: var(--schwarz) !important; border-color: rgba(244,240,232,.35) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--orange) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--orange) !important; border-color: var(--orange) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--schwarz) !important; }
.wc-block-components-quantity-selector { width: auto; min-height: 0; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { color: var(--weiss) !important; background: transparent !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--weiss) !important; }
.wc-block-components-panel__button, .wc-block-components-totals-coupon-link { color: var(--bernstein) !important; }
.wc-block-components-validation-error p, .wc-block-components-text-input.has-error label { color: #ff9b8a !important; }
.wc-block-components-text-input.has-error input { border-color: #ff6b57 !important; }
.wc-block-checkout__terms, .wc-block-components-checkout-return-to-cart-button { color: var(--text-leise) !important; }
.wc-block-components-loading-mask__children { opacity: .5; }
.wc-block-components-skeleton__element, .wc-block-components-loading-mask::after { background: var(--anthrazit) !important; }

/* ---------- Mein Konto ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 13px 18px; color: var(--text-leise) !important; text-decoration: none; border-bottom: 1px solid var(--linie); }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--weiss) !important; background: rgba(255,122,0,.1); box-shadow: inset 3px 0 0 var(--orange); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { margin-bottom: 24px; }

/* Seitennummern */
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  min-width: 46px; min-height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--linie);
  color: var(--weiss); font-family: var(--f-head); font-weight: 800; font-size: 19px; text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--orange); color: var(--schwarz); border-color: var(--orange); }

.woocommerce-no-products-found .woocommerce-info { justify-content: flex-start; }

/* ---------- Normale Seiten (AGB, Widerruf usw.) ---------- */
.inhalt h2 { margin-top: 1.6em; }
.inhalt ul, .inhalt ol { color: var(--text-leise); }
.inhalt table { width: 100%; border-collapse: collapse; }
.inhalt th, .inhalt td { border-bottom: 1px solid var(--linie); padding: 10px 8px; text-align: left; color: var(--text-leise); }

/* ---------- Hilfe-Streifen vor der Fußzeile ---------- */
.shop-hilfe { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--linie); background: radial-gradient(ellipse at 80% 50%, rgba(255,122,0,.16), transparent 60%), var(--anthrazit); }
.shop-hilfe .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.shop-hilfe h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: .2em; }
.shop-hilfe p { margin: 0; max-width: 52ch; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
  .warenkorb-text { display: none; }
  .nav a:not(.btn) { padding: 10px 10px; }
}
@media (max-width: 1020px) {
  .woocommerce ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   Handy: eigener Durchgang
   ========================================================= */
@media (max-width: 820px) {
  .kopf-rechts { gap: 8px; }
  .site-header .logo { gap: 10px; min-width: 0; }
  .site-header .logo img { width: 56px; height: 34px; }
  .site-header .logo span { font-size: 18px; white-space: nowrap; }
  .site-header .logo small { font-size: 11px; }
  .warenkorb-link { min-height: 48px; padding: 0 12px; }

  /* Kategorien als wischbare Leiste statt mehrzeilig */
  .kategorien { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .kategorien::-webkit-scrollbar { display: none; }
  .kategorien a { flex: none; font-size: 18px; min-height: 44px; padding: 0 16px; }
  .shop-vorteile { display: none; }
  .shop-hero .lead { font-size: 17px; }

  /* Zwei Produkte nebeneinander, kompaktere Karten */
  .woocommerce ul.products, .woocommerce ul.products[class*=columns-] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .woocommerce ul.products li.product { padding-bottom: 14px !important; }
  .woocommerce ul.products li.product a img { margin-bottom: 12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 19px !important; padding: 0 12px !important; }
  .woocommerce ul.products li.product .price { font-size: 23px !important; padding: 0 12px; margin-bottom: 12px !important; }
  .preis-hinweis { font-size: 11px; }
  .woocommerce ul.products li.product .button { margin: auto 12px 0 !important; align-self: stretch; font-size: 15px !important; padding: 0 10px !important; min-height: 44px; }
  .woocommerce ul.products li.product .added_to_cart { margin: 8px 12px 0; }
  .woocommerce .woocommerce-result-count { display: none; }
  .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering select { width: 100%; }

  .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
  .woocommerce div.product form.cart .button { flex-basis: 100%; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: nowrap; overflow-x: auto; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a { white-space: nowrap; font-size: 18px; padding: 12px 14px !important; }

  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .woocommerce table.shop_table_responsive tr td::before { color: var(--bernstein); }
  .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: rgba(255,255,255,.02); }

  .shop-hilfe .btn { width: 100%; }
  .site-footer { padding-bottom: 40px; }
}
@media (max-width: 360px) {
  .woocommerce ul.products, .woocommerce ul.products[class*=columns-] { grid-template-columns: minmax(0, 1fr); }
}
.produkt-beratung svg { width: 22px; height: 22px; color: var(--orange); flex: none; }

/* ---------- WhatsApp im Shop ---------- */
.kopf-wa svg { width: 20px; height: 20px; color: var(--orange); }
.kopf-wa { white-space: nowrap; }
.wa-schwebend { display: none; }
@media (max-width: 820px) {
  .kopf-wa { display: none !important; }
  .wa-schwebend {
    display: grid; place-items: center; position: fixed; z-index: 60;
    right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--schwarz);
    box-shadow: 0 10px 30px -6px rgba(0,0,0,.8), 0 0 30px rgba(255,122,0,.45);
  }
  .wa-schwebend svg { width: 30px; height: 30px; }
  .site-footer { padding-bottom: 100px; }
}
