/* Design-Politur (WP-219): gezielte Korrekturen im bestehenden Stil.
   Unverändert bleiben: Rahmenstärken (--bwidth / 2px im Mini-Warenkorb), Schriftgrößen, Farben, Struktur.
   Die Mini-Warenkorb-Grundregeln stehen als Inline-CSS in footer.php; hier wird mit höherer Spezifität ergänzt. */

/* ---------------------------------------------------------------------------
 * Mini-Warenkorb
 * ------------------------------------------------------------------------ */

/* Panel wächst mit dem Inhalt statt eine leere schwarze Fläche bis zum unteren Rand zu zeigen */
body .mini-cart-content {
  height: auto;
  max-height: calc(100dvh - var(--admin-bar, 0px) - 10rem);
}

body .mini-cart-content ul.woocommerce-mini-cart {
  height: auto;
}

/* Beide Buttons gleich breit; "Kasse" bleibt der gefüllte Haupt-Button, "Warenkorb anzeigen" ist umrandet */
.mini-cart-content .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* minmax(0,…): gleiche Breite auch bei langem Wort "ANZEIGEN" */
  gap: 1rem;
  justify-content: stretch;
  margin-top: 1rem;
}

.mini-cart-content .woocommerce-mini-cart__buttons .button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.5rem 1rem;
  line-height: 1.1;
}

.mini-cart-content .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
  background: transparent;
  color: var(--white, #fff);
}

.mini-cart-content .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

/* Mobil: Panel startet unterhalb der Flammen-Grafik des Headers (sonst liegt sie über dem Produktnamen) */
@media (max-width: 600px) {
  body .mini-cart-content {
    top: calc(var(--admin-bar, 0px) + 11rem);
    max-height: calc(100dvh - var(--admin-bar, 0px) - 13rem);
  }
}

/* Größe: 3XL in einer Zeile statt in zwei Zeilen mit großem Einzug */
.mini-cart-content dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  margin: 0 0 0.25rem;
}

.mini-cart-content dl.variation dt,
.mini-cart-content dl.variation dd,
.mini-cart-content dl.variation dd p {
  margin: 0;
  font-weight: normal;
}

/* Rechtlicher Hinweistext im gleichen kleinen Format wie die übrigen Angaben */
.mini-cart-content .jde_hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Fortschrittsbalken "kostenloser Versand" */
.mini-cart-content .kutten-fs {
  padding: 0.75rem 0 0.25rem;
}

.mini-cart-content .kutten-fs-text {
  margin: 0 0 0.5rem;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.35;
}

.mini-cart-content .kutten-fs-bar {
  height: 14px;
  border: 2px solid var(--white, #fff);
  background: transparent;
}

.mini-cart-content .kutten-fs-bar > span {
  display: block;
  height: 100%;
  background: var(--white, #fff);
  transition: width 0.4s ease;
}

.mini-cart-content .kutten-fs-note {
  margin: 0.4rem 0 0;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.8;
}

/* ---------------------------------------------------------------------------
 * Header: Warenkorb-Button mit Zähler; kein Überlappen mit dem Logo-Etikett auf kleinen Viewports
 * ------------------------------------------------------------------------ */

#header-wrapper #open-mini-cart .cart-svg {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

#header-wrapper #open-mini-cart .kutten-cart-count {
  margin-left: 0.35rem;
}

#header-wrapper #open-mini-cart .kutten-cart-count[data-count="0"] {
  display: none;
}

@media (max-width: 900px) {
  #header-wrapper #open-mini-cart {
    width: auto;
    min-width: 56px;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  #header-wrapper #open-mini-cart .cart-label {
    display: none;
  }

  /* Kompakt wie im Figma-Entwurf: weißes Linien-Icon direkt auf Schwarz, ohne weißen Kasten */
  #header-wrapper #open-mini-cart {
    background: transparent;
    color: var(--white, #fff);
    border: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Tablet: Bis ca. 911px ragt die Navigation in das Logo-Etikett ("SHOP" wird verdeckt). Das Menü bleibt über das Burger-Menü erreichbar, wie auf Mobil. */
@media (min-width: 768px) and (max-width: 911px) {
  #header-wrapper nav {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Links neben dem Logo statt darunter: dort ist auf Mobil Platz, rechts nicht */
  #header-wrapper #open-mini-cart {
    position: absolute;
    left: 16px;
    top: 25px;
  }
}

/* ---------------------------------------------------------------------------
 * Warenkorb- und Kassenseite (Woo-Blocks): Block war um 80px nach links verschoben ("alignwide")
 * und rutschte dadurch auf jedem Viewport aus dem Bild; kein Abstand zum Header.
 * ------------------------------------------------------------------------ */

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  box-sizing: border-box;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

.woocommerce-cart .page-content,
.woocommerce-checkout .page-content {
  padding-top: 3rem;
}

@media (max-width: 600px) {
  .wp-block-woocommerce-cart.alignwide,
  .wp-block-woocommerce-checkout.alignwide {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* "Weiter zur Kasse": gleiche Optik wie die Haupt-Buttons (weiß, kaarna, Versalien) statt grau unterstrichen */
.wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link) {
  background: var(--white, #fff);
  color: var(--dark, #000);
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
  text-decoration: none;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):focus-visible {
  background: var(--dark, #000);
  color: var(--white, #fff);
}

/* Warenkorb-Zeile: MwSt.-Hinweis in der Fließtext-Schrift, der Preisbetrag bleibt in der Überschriftenschrift */
.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
  font-family: "notoSans", sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-formatted-money-amount {
  font-family: "kaarna", sans-serif;
  font-size: 13px;
}

/* ---------------------------------------------------------------------------
 * Produktseite: Der Produkt-Wrapper war Content-Box + 20px Padding je Seite und daher mobil 410px breit
 * (10px Überlauf, Chrome weitet dann das Layout-Viewport auf). Feste Breite 100% (border-box) auf allen Viewports:
 * ohne sie hängt die Breite vom Inhalt ab und die Info-Spalte rutscht auf Desktop unter die Galerie.
 * ------------------------------------------------------------------------ */
.single-product .product > div {
  box-sizing: border-box;
  width: 100%;
}

/* ---------------------------------------------------------------------------
 * Navigation (Burger-Overlay): reicht bis zum unteren Rand (vorher 52px Lücke, Seiteninhalt schimmerte durch),
 * lesbare Zeilenhöhe (vorher 17.6px bei 32-56px Schrift -> umbrochene Einträge überlappten), kürzerer Übergang,
 * Seite dahinter scrollt nicht mit.
 * ------------------------------------------------------------------------ */
#sm-overlay {
  height: auto;
  bottom: 0;
  overscroll-behavior: contain;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.open #sm-overlay {
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

body.open {
  overflow: hidden;
}

#main-menu > li > a {
  line-height: 1.05;
}

#main-menu > li > ul.sub-menu > li {
  margin: 0.25rem 0.25rem;
  line-height: 1.15;
}

#main-menu > li > ul.sub-menu > li > a {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  line-height: 1.15;
}

/* Tastatur-Fokus wie Hover (weißer Kasten) plus sichtbare Kontur */
#main-menu a:focus-visible,
#burger:focus-visible {
  background-color: var(--light, #fff);
  color: var(--dark, #000);
  outline: var(--bwidth, 4px) solid var(--white, #fff);
  outline-offset: 2px;
}

#burger:focus-visible .line {
  stroke: var(--dark, #000);
}

@media (prefers-reduced-motion: reduce) {
  #sm-overlay,
  .open #sm-overlay {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
 * Footer: "Vertrag widerrufen" (German Market, gesetzlicher Widerrufsbutton) im Stil der übrigen Buttons
 * (vorher Standard-Grau). Bleibt gut sichtbar und unverändert verlinkt.
 * ------------------------------------------------------------------------ */
.german-market-withdrawal-button.button {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--white, #fff);
  color: var(--dark, #000);
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.german-market-withdrawal-button.button:hover,
.german-market-withdrawal-button.button:focus-visible {
  background: var(--dark, #000);
  color: var(--white, #fff);
}

/* Checkout: MwSt.-Hinweis in der Bestellübersicht in Fließtext-Schrift (wie im Warenkorb) */
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
  font-family: "notoSans", sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
  font-family: "kaarna", sans-serif;
  font-size: 13px;
}

/* ---------------------------------------------------------------------------
 * Navigation, Runde 2 (Rückmeldung: mobil zu viel Scrollen, zu große Schrift/Abstände, oben schimmert Inhalt durch)
 * Orientierung Figma: zentrierte Gruppen, Überschrift ~28-32px, Unterpunkte klein in einer Zeile, alles auf einen Bildschirm.
 * ------------------------------------------------------------------------ */

/* Kein Spalt mehr zwischen Header und Overlay: Overlay startet ganz oben, der Header (z-index 999) liegt darüber
   und ein Innenabstand in Header-Höhe hält die Einträge frei (vorher 10px Lücke, durch die der Seiteninhalt schimmerte). */
#sm-overlay {
  top: var(--admin-bar, 0px);
  padding-top: 102px;
  box-sizing: border-box;
}

/* Flammen ~30% kleiner (Wunsch). Skalierung im selben transform wie die Zentrierung (translateX(-50%)),
   sonst wird die Verschiebung mitskaliert und die Flamme sitzt nicht mehr mittig. */
header .fire-image {
  transform: translateX(-50%) scale(0.7);
  transform-origin: 50% 0;
}

@media (max-width: 900px) {
  #main-menu {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #main-menu > li > a {
    padding: 0.5rem 1rem;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.05;
  }

  #main-menu > li.menu-item-has-children {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
  }

  /* Aktiver Eintrag (weißer Kasten): gleiche Höhe wie die anderen, nicht 1.5rem höher */
  #main-menu .current-menu-item > a {
    padding-bottom: 0.5rem;
  }

  #main-menu > li.menu-item-has-children > a {
    margin-bottom: 0.25rem;
  }

  #main-menu > li > ul.sub-menu {
    margin: 0 0 0.5rem;
  }

  #main-menu > li > ul.sub-menu > li {
    margin: 0 0.125rem;
    font-size: 1.25rem;
  }

  #main-menu > li > ul.sub-menu > li > a {
    min-height: 44px;
    padding: 0.7rem 0.6rem;
  }
}

/* Sanftes Einblenden der Liste beim Öffnen (nur transform/opacity) */
#main-menu {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.open #main-menu {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  #main-menu,
  .open #main-menu {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
 * Feinschliff (Rückmeldung 26.09.)
 * ------------------------------------------------------------------------ */

/* Header-Gruppe (Warenkorb, Herz, Burger) bleibt rechts, auch wenn die Navigation ausgeblendet ist */
#header-wrapper #shop-nav {
  margin-left: auto;
}

/* ---------------------------------------------------------------------------
 * Mini-Warenkorb als Panel (Desktop) bzw. Bottom-Sheet (Mobil)
 * - Übergang nur über transform (vorher: transition: all 1s + Animation von left/right)
 * - Kopfzeile mit Schließen-Button; Liste scrollt, Summe/Hinweis/Buttons bleiben unten sichtbar
 * Grundregeln liegen als Inline-CSS in footer.php; hier mit höherer Spezifität überschrieben.
 * ------------------------------------------------------------------------ */
body .mini-cart-content {
  display: flex;
  flex-direction: column;
  left: auto;
  right: 2rem;
  width: min(550px, calc(100vw - 4rem));
  max-width: none;
  height: auto;
  max-height: calc(100dvh - var(--admin-bar, 0px) - 10rem);
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  transform: translateX(calc(100% + 2rem));
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}

body .mini-cart-content.open {
  visibility: visible;
  transform: none;
  transition: transform 0.28s ease, visibility 0s linear 0s;
}

body .mini-cart-content > div {
  padding-top: 0;
  padding-bottom: 0;
}

.kutten-panel-head {
  flex: 0 0 auto;
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid var(--white, #fff);
}

.kutten-panel-title {
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body .kutten-panel-head .kutten-panel-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white, #fff);
  font-family: sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body .kutten-panel-head .kutten-panel-close:hover,
body .kutten-panel-head .kutten-panel-close:focus-visible {
  background: transparent;
  color: var(--white, #fff);
  opacity: 0.7;
}

body .mini-cart-content > .widget_shopping_cart_content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0 1.25rem 1rem;
}

/* Nur die Liste scrollt; alles darunter (Versand, Summe, Buttons) bleibt unten stehen */
body .mini-cart-content ul.woocommerce-mini-cart {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body .mini-cart-content .widget_shopping_cart_content > :not(ul.woocommerce-mini-cart) {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  /* Bottom-Sheet: wächst mit dem Inhalt, max. 85% der Höhe, Buttons liegen im Daumenbereich */
  body .mini-cart-content {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85dvh;
    border-width: 2px 0 0;
    transform: translateY(100%);
  }

  body .mini-cart-content.open {
    right: 0 !important;
    transform: none;
  }

  body .mini-cart-content > .widget_shopping_cart_content {
    padding: 0 1rem 1rem;
  }

  .kutten-panel-head {
    padding: 0.5rem 1rem;
  }

  body.overlay-bg {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .mini-cart-content,
  body .mini-cart-content.open {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
 * Checkout-Formulare: Die Labels liegen im weißen Feld, waren aber selbst weiß (unlesbar).
 * Dazu eckige Felder wie im Rest der Seite und sichtbarer Fokus.
 * ------------------------------------------------------------------------ */
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active label,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-blocks-components-select__label,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-textarea label,
.wp-block-woocommerce-cart .wc-block-components-text-input label {
  color: var(--dark, #000);
  opacity: 0.75;
}

.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type],
.wp-block-woocommerce-checkout .wc-block-components-form .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-textarea {
  border: 2px solid var(--dark, #000);
  border-radius: 0;
  color: var(--dark, #000);
}

.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-blocks-components-select__select:focus,
.wp-block-woocommerce-checkout .wc-block-components-form .wc-block-components-textarea:focus {
  outline: var(--bwidth, 4px) solid var(--white, #fff);
  outline-offset: 2px;
  box-shadow: none;
}

/* Bestellbutton im selben Stil wie "Weiter zur Kasse" im Warenkorb */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link) {
  background: var(--white, #fff);
  color: var(--dark, #000);
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):hover,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):focus-visible {
  background: var(--dark, #000);
  color: var(--white, #fff);
}

/* ---------------------------------------------------------------------------
 * Produktseite: Menge + "In den Warenkorb" (Zeile .stdiv)
 * Mobil war die Zeile 310px breit, der Button reichte aber bis 370px (20px über die Karte hinaus), Plus/Minus
 * 66px breit, Mengenfeld hoch und schmal mit linksbündiger Ziffer.
 * ------------------------------------------------------------------------ */
.single-product .stdiv.d-flex {
  align-items: stretch;
}

.single-product .stdiv .quantity {
  flex: 0 0 auto;
}

.single-product .stdiv .single_add_to_cart_button {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 600px) {
  .single-product .stdiv .single_add_to_cart_button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ---------------------------------------------------------------------------
 * Filter (Archiv) als Panel/Bottom-Sheet im Stil des Mini-Warenkorbs (gemeinsame Klassen .kutten-panel-*)
 * Vorher: Vollhöhen-Panel von rechts mit "transition: all 1s". Jetzt gleiche Optik, nur transform, X-Button.
 * ------------------------------------------------------------------------ */
body #filter-box {
  position: fixed;
  top: calc(var(--admin-bar, 0px) + 8rem);
  right: 2rem;
  bottom: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  width: min(550px, calc(100vw - 4rem));
  min-width: 0;
  height: auto;
  max-height: calc(100dvh - var(--admin-bar, 0px) - 10rem);
  overflow: hidden;
  border: 2px solid var(--white, #fff);
  background: var(--dark, #000);
  color: var(--white, #fff);
  visibility: hidden;
  transform: translateX(calc(100% + 2rem));
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}

body:not(.show-filter) #filter-box {
  right: 2rem;
}

body.show-filter #filter-box {
  visibility: visible;
  transform: none;
  transition: transform 0.28s ease, visibility 0s linear 0s;
}

#filter-box .filter-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 600px) {
  body #filter-box,
  body:not(.show-filter) #filter-box {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85dvh;
    border-width: 2px 0 0;
    transform: translateY(100%);
  }

  body.show-filter #filter-box {
    transform: none;
  }

  #filter-box .filter-panel-body {
    padding: 0.75rem 1rem 1rem;
  }

  body.show-filter {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  body #filter-box,
  body.show-filter #filter-box {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
 * Archiv: Suchfeld im Site-Stil (vorher Browser-Standard: rund, Arial)
 * ------------------------------------------------------------------------ */
#search-clone-input,
.searchandfilter input.sf-input-text {
  box-sizing: border-box;
  width: min(100%, 22rem);
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

#search-clone-input::placeholder,
.searchandfilter input.sf-input-text::placeholder {
  color: var(--dark, #000);
  opacity: 0.6;
}

#search-clone-input:focus-visible,
.searchandfilter input.sf-input-text:focus-visible {
  outline: var(--bwidth, 4px) solid var(--white, #fff);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * Archiv: Kopfbereich (Titel, Zähler), Kategorie-Reiter, Werkzeugleiste (Suche + Filter)
 * Eine Breite (min(960px, 90%)) und ein Rhythmus für Reiter und Werkzeugleiste.
 * ------------------------------------------------------------------------ */
body .archive-title {
  gap: 0.25rem;
  padding: 3rem 1rem 1.25rem;
}

body .archive-title h1,
body .archive-title p {
  margin: 0;
}

body #shop-buttons {
  margin-bottom: 6px;
}

#shop-toolbar {
  display: flex;
  gap: 6px;
  max-width: min(960px, 90%);
  margin: 0 auto 1.5rem;
}

#shop-toolbar .shop-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

#shop-toolbar #search-clone-input {
  width: 100%;
  min-height: 3rem;
  height: 100%;
  padding-right: 2.75rem;
  -webkit-appearance: none;
  appearance: none;
}

#shop-toolbar #search-clone-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

#shop-toolbar .shop-search-icon {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  color: var(--dark, #000);
  transform: translateY(-50%);
  pointer-events: none;
}

body #shop-filter-button {
  display: flex;
  flex: 0 0 auto;
}

body #shop-filter-button button,
body #filter-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--white, #fff);
}

body #shop-filter-button svg,
body #filter-fab svg {
  display: block;
  width: 1.1rem;
  height: auto;
  margin: 0;
}

/* Schwebender Filter-Button: erst nach dem Scrollen, klein und mittig statt einer vollbreiten Leiste über den Karten */
body #filter-fab {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  z-index: 20;
  box-shadow: 0 0 0 2px var(--dark, #000);
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 200%);
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0s linear 0.28s;
}

body.filter-fab-on:not(.show-filter) #filter-fab {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0s;
}

@media (max-width: 600px) {
  body .archive-title {
    padding-top: 2rem;
  }

  #shop-toolbar {
    margin-bottom: 1rem;
  }
}

/* ---------------------------------------------------------------------------
 * Archiv-Karten: Hover (Desktop) mit Aktion + Aufkleber, sichtbarer Button (Touch)
 * Aktion: einfache Produkte "In den Warenkorb" (AJAX), variable "Variante wählen", sonst "Zum Artikel".
 * Nur transform/opacity werden animiert.
 * ------------------------------------------------------------------------ */
ul.products li.product-card > a:first-child {
  display: block;
  overflow: hidden;
}

ul.products li.product-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

ul.products li img.product-img {
  transition: transform 0.35s ease;
}

ul.products li img.product-sticker {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  z-index: 12;
  display: block;
  width: auto;
  height: 100%;
  max-width: 35%;
  max-height: 45%;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) rotate(6deg) scale(0.9);
  transform-origin: 100% 100%;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

/* Karten-Buttons: gemeinsamer Stil (Desktop-Overlay und Touch); primär = gefüllt, sekundär = Umriss */
ul.products li .product-cta .kutten-cta-primary,
ul.products li .product-cta .kutten-cta-secondary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 13.5rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  font-family: "kaarna", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

ul.products li .product-cta .kutten-cta-primary {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

ul.products li .product-cta .kutten-cta-secondary {
  background: rgba(0, 0, 0, 0.45);
  color: var(--white, #fff);
}

ul.products li .product-cta .kutten-cta-primary svg {
  flex: 0 0 auto;
}

ul.products li .product-cta .kutten-cta-primary.loading {
  opacity: 0.6;
}

ul.products li .product-cta .kutten-cta-primary::after,
ul.products li .product-cta .added_to_cart {
  display: none;
}

/* Titel-/Preisleiste liegt auf dem Bild (alle Breiten), Aktion füllt den Bildbereich darüber */
ul.products li.product-card {
  --label-h: 5rem;
}

ul.products li.product-card > div:not(.product-cta) {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
  width: auto;
  max-width: calc(100% - 16px);
  padding: 0.5rem 0.75rem 0.6rem;
}

ul.products li.product-card > div h3 {
  font-size: 1.35rem;
}

ul.products li.product-card > .product-cta {
  position: absolute;
  inset: 0 0 var(--label-h) 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  background: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  pointer-events: none;
}

ul.products li.product-card > .product-cta a {
  width: min(13.5rem, 100%);
  min-width: 0;
  pointer-events: auto;
}

/* Aktiv: Hover (Maus), Tastaturfokus oder erster Tipp (Touch, siehe product-cards.js) */
ul.products li.product-card.is-active > .product-cta,
ul.products li.product-card:has(:focus-visible) > .product-cta {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

ul.products li.product-card.is-active:before,
ul.products li.product-card:has(:focus-visible):before {
  opacity: 1;
}

ul.products li.product-card.is-active img.product-sticker,
ul.products li.product-card:has(:focus-visible) img.product-sticker {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  ul.products li.product-card:hover > .product-cta {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  ul.products li.product-card:hover:before {
    opacity: 1;
  }

  ul.products li.product-card:hover img.product-img {
    transform: scale(1.05);
  }

  ul.products li.product-card:hover img.product-sticker {
    opacity: 1;
    transform: none;
  }

  ul.products li .product-cta .kutten-cta-primary,
  ul.products li .product-cta .kutten-cta-secondary {
    transition: transform 0.2s ease;
  }

  ul.products li .product-cta .kutten-cta-primary:hover,
  ul.products li .product-cta .kutten-cta-secondary:hover {
    transform: scale(1.05);
  }
}

@media (min-width: 860px) {
  ul.products li.product-card {
    --label-h: 5.5rem;
  }

  ul.products li.product-card > div:not(.product-cta) {
    padding: 0.75rem 1rem;
  }

  ul.products li.product-card > div h3 {
    font-size: 1.75rem;
  }

  ul.products li.product-card > .product-cta {
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  ul.products li.product-card:before,
  ul.products li img.product-img,
  ul.products li img.product-sticker,
  ul.products li.product-card > .product-cta,
  ul.products li .product-cta .kutten-cta-primary,
  ul.products li .product-cta .kutten-cta-secondary,
  body #filter-fab {
    transition: none;
  }

  ul.products li.product-card:hover img.product-img {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
 * Merkliste: Herz bleibt über dem Hover-Overlay klickbar; Rückmeldung beim Hinzufügen (favorites-ui.js)
 * ------------------------------------------------------------------------ */
.product-card .button_list {
  z-index: 5;
}

.kutten-heart-pop {
  animation: kutten-heart-pop 0.5s ease;
}

@keyframes kutten-heart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

#list-count {
  display: block;
}

#list-count.kutten-count-pop {
  animation: kutten-count-pop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1);
}

#list-count.kutten-count-pop path {
  fill: #fdeb17;
}

@keyframes kutten-count-pop {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.6) rotate(-10deg); }
  60% { transform: scale(0.9) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .kutten-heart-pop,
  #list-count.kutten-count-pop {
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
 * Header: gemeinsame optische Linie (Mitte), Logo einen Tick kleiner
 * ------------------------------------------------------------------------ */
body header .logo-container img {
  max-width: 108px;
}

@media (min-width: 768px) {
  body header .logo-container img {
    max-width: 170px;
  }
}

#shop-nav .cart-icon,
#shop-nav .cart-icon > a {
  display: flex;
  align-items: center;
}

/* ---------------------------------------------------------------------------
 * Archiv: klare Hierarchie. Ebene 1 = Kategorie-Reiter (aktiv: gefüllt weiß, inaktiv: Umriss),
 * Ebene 2 = Werkzeuge (Suche, Filter) kleiner und als Umriss.
 * ------------------------------------------------------------------------ */
body #shop-buttons {
  display: flex;
  gap: 6px;
  max-width: min(960px, 90%);
  margin: 0 auto 6px;
}

#shop-buttons .shop-tab {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--white, #fff);
  background: transparent;
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

#shop-buttons .shop-tab:hover {
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

#shop-buttons .shop-tab.active,
#shop-buttons .shop-tab.active:hover {
  background: var(--white, #fff);
  color: var(--dark, #000);
  pointer-events: none;
}

#shop-buttons .shop-tab:focus-visible {
  outline: var(--bwidth, 4px) solid var(--white, #fff);
  outline-offset: 2px;
}

#shop-toolbar #search-clone-input {
  min-height: 2.75rem;
  background: var(--dark, #000);
  color: var(--white, #fff);
}

#shop-toolbar #search-clone-input::placeholder {
  color: var(--white, #fff);
  opacity: 0.6;
}

#shop-toolbar .shop-search-icon {
  color: var(--white, #fff);
}

body #shop-filter-button button {
  min-height: 2.75rem;
  border-color: var(--white, #fff);
  background: var(--dark, #000);
  color: var(--white, #fff);
  font-size: 1.15rem;
}

#shop-filter-button svg path {
  fill: currentColor;
}

/* ---------------------------------------------------------------------------
 * Warenkorb, Kasse, Merkliste: einheitlicher Seitenrand (20px mobil, 32px ab Tablet) und Kopfabstand
 * (vorher: 10px Rand, 72px Luft nach oben)
 * ------------------------------------------------------------------------ */
.page-content:has(.wp-block-woocommerce-checkout, .wp-block-woocommerce-cart, .kutten-list-head) {
  max-width: 1240px;
  margin-inline: auto;
  padding: 1.5rem 20px 3rem;
}

@media (min-width: 768px) {
  .page-content:has(.wp-block-woocommerce-checkout, .wp-block-woocommerce-cart, .kutten-list-head) {
    padding: 2rem 32px 4rem;
  }
}

.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
  margin: 0;
  padding: 0;
}

/* Kasse: Schritte als gerahmte, nummerierte Blöcke */
.wc-block-checkout__main {
  counter-reset: kstep;
}


.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title::before,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title::before,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__title::before,
.wc-block-checkout__shipping-option .wc-block-components-checkout-step__title::before,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__title::before {
  content: counter(kstep);
  counter-increment: kstep;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-size: 1.1rem;
  line-height: 1;
  vertical-align: middle;
}

/* Felder: deutlicher Fokus (CI-Gelb), Höhe für Daumen */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout .wc-block-components-textarea {
  min-height: 3.5rem;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:focus,
.wp-block-woocommerce-checkout .wc-block-components-textarea:focus {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

/* Zahlarten: Umriss-Karten, gewählte Karte kräftig; Auswahlkreis leer/gefüllt statt zwei weißer Scheiben */
.wc-block-components-radio-control-accordion-option {
  margin: 0 0 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--white, #fff);
  box-shadow: inset 0 0 0 2px var(--white, #fff);
}

body .wc-block-components-radio-control .wc-block-components-radio-control__option .wc-block-components-radio-control__input {
  border: 2px solid var(--white, #fff);
  background: transparent;
}

body .wc-block-components-radio-control .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked {
  background: var(--white, #fff);
  box-shadow: inset 0 0 0 4px var(--dark, #000);
}

body .wc-block-components-radio-control .wc-block-components-radio-control__option .wc-block-components-radio-control__input:checked::before {
  display: none;
}

.wc-block-components-radio-control__label {
  font-weight: 600;
}

/* Bestellübersicht: Menge im Kreis lesbar (war weiß auf weiß), lange Beschreibungen ausblenden */
body .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-order-summary-item__quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.3rem;
  border: 2px solid var(--dark, #000);
  border-radius: 1rem;
  background: var(--white, #fff) !important;
  color: var(--dark, #000) !important;
  font-family: "kaarna", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

body .wc-block-components-order-summary-item__quantity span[aria-hidden="true"] {
  color: var(--dark, #000) !important;
  -webkit-text-fill-color: var(--dark, #000);
  font-size: inherit;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description {
  display: none;
}

/* Bestellen-Button bleibt unten sichtbar (Rechtstexte/Checkboxen stehen darüber im Fluss; Fehler springen dorthin) */
/* display: contents: die Zeile mit dem Button wird Kind des hohen Formulars und kann dort über die ganze Länge kleben */
.wc-block-checkout__actions {
  display: contents;
}

.wc-block-checkout__actions_row {
  position: sticky;
  bottom: 0;
  z-index: 30;
  margin-top: 1rem;
  padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 2px solid var(--white, #fff);
  background: var(--dark, #000);
}

.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  min-height: 3.5rem;
}

@media (max-width: 600px) {
  .wc-block-checkout__actions_row {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

/* ---------------------------------------------------------------------------
 * Merkliste (/favoritenliste): Kopf, Erklärung, leerer Zustand, Aktionen
 * ------------------------------------------------------------------------ */
.kutten-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.5rem;
  border: 2px solid var(--white, #fff);
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.kutten-btn--ghost {
  background: transparent;
  color: var(--white, #fff);
}

.kutten-list-head {
  gap: 0.25rem;
  padding: 0 0 1.25rem;
  text-align: center;
}

.kutten-list-head h1,
.kutten-list-head p {
  margin: 0;
}

.kutten-list-intro {
  max-width: 36rem;
  opacity: 0.85;
}

.kutten-list-empty {
  gap: 0.5rem;
  padding: 1.5rem 0 3rem;
  text-align: center;
}

.kutten-list-empty p {
  margin: 0;
}

.kutten-list-empty-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 1rem;
}

.kutten-list-actions {
  margin: 1.5rem 0 0.75rem;
}

.kutten-list-hint {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.8;
}

a.kutten-btn,
a.kutten-btn:hover {
  color: var(--dark, #000);
  text-decoration: none;
}

a.kutten-btn--ghost,
a.kutten-btn--ghost:hover {
  color: var(--white, #fff);
}

/* Kartenzahlung (Mollie Components): Feldbezeichnungen waren dunkelgrau auf Schwarz */
.mollie-component-label {
  color: var(--white, #fff);
}

/* ---------------------------------------------------------------------------
 * Overlay-Menü (Burger): Hauptkategorien als Bildkacheln (Orientierung: Holy – wichtigste Kategorien zuerst, mit Bild),
 * darunter Zeilen mit Trennlinien, unten Instagram und rechtliche Links. CI: Schwarz/Weiß, 2px-Linien, keine Rundung.
 * Einblenden gestaffelt, nur transform/opacity.
 * ------------------------------------------------------------------------ */
#sm-overlay .sm-inner {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 20px calc(2rem + env(safe-area-inset-bottom, 0px));
}

.sm-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sm-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid var(--white, #fff);
  background: #111;
  color: var(--white, #fff);
  text-decoration: none;
}

.sm-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: calc(100% - 16px);
  padding: 0.5rem 0.75rem;
  background: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.sm-tile:focus-visible {
  outline: var(--bwidth, 4px) solid var(--white, #fff);
  outline-offset: 2px;
}

body #sm-overlay #main-menu {
  display: block;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  opacity: 1;
  transform: none;
}

body #sm-overlay #main-menu > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

body #sm-overlay #main-menu > li > a {
  display: flex;
  width: 100%;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 3.5rem;
  margin: 0 -0.75rem;
  padding: 0.6rem 0.75rem;
  width: calc(100% + 1.5rem);
  font-size: 1.75rem;
  line-height: 1.1;
  text-transform: uppercase;
}

body #sm-overlay #main-menu > li {
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

body #sm-overlay #main-menu > li:first-child {
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}

body #sm-overlay #main-menu > li > a::after {
  content: "";
  font-family: "notoSans", sans-serif;
  font-size: 1.25rem;
}

body #sm-overlay #main-menu > li.current-menu-item > a {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

#sm-overlay .sm-foot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

#sm-overlay .sm-social {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  align-self: flex-start;
  min-height: 2.75rem;
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
}

#sm-overlay .sm-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sm-overlay .sm-legal a {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--white, #fff);
  font-size: 0.875rem;
  opacity: 0.8;
  text-decoration: none;
}

#sm-overlay .sm-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Gestaffeltes Einblenden */
#sm-overlay .sm-tile,
#sm-overlay #main-menu > li,
#sm-overlay .sm-foot {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.open #sm-overlay .sm-tile,
.open #sm-overlay #main-menu > li,
.open #sm-overlay .sm-foot {
  opacity: 1;
  transform: none;
}

.open #sm-overlay .sm-tile:nth-child(1) { transition-delay: 0.05s; }
.open #sm-overlay .sm-tile:nth-child(2) { transition-delay: 0.1s; }
.open #sm-overlay #main-menu > li:nth-child(1) { transition-delay: 0.15s; }
.open #sm-overlay #main-menu > li:nth-child(2) { transition-delay: 0.2s; }
.open #sm-overlay #main-menu > li:nth-child(3) { transition-delay: 0.25s; }
.open #sm-overlay #main-menu > li:nth-child(n + 4) { transition-delay: 0.3s; }
.open #sm-overlay .sm-foot { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  #sm-overlay .sm-tile,
  #sm-overlay #main-menu > li,
  #sm-overlay .sm-foot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
 * Rückmeldung 26.09. (Runde 4)
 * ------------------------------------------------------------------------ */

/* Trust-Element (Produktseite): pflegbar per ACF am Produkt / Einstellungen → Kuttenmanufaktur */
.kutten-trust {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--dark, #000);
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Filter: Zurücksetzen und Anwenden bleiben nebeneinander */
#filter-box .searchandfilter ul li.sf-field-reset,
#filter-box .searchandfilter ul li.sf-field-submit {
  min-width: 0;
}

#filter-box .sf-field-submit > input,
#filter-box a.search-filter-reset {
  padding: 0.5rem 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Touch: Aktion liegt mittig über der ganzen Karte, Titel und Preis blenden aus (nur die zwei Buttons bleiben) */
@media (hover: none) {
  ul.products li.product-card > .product-cta {
    inset: 0;
  }

  ul.products li.product-card > div:not(.product-cta) {
    transition: opacity 0.2s ease;
  }

  ul.products li.product-card.is-active > div:not(.product-cta) {
    opacity: 0;
  }

  ul.products li.product-card.is-active:before {
    background: rgba(0, 0, 0, 0.75);
  }
}

@media (max-width: 859px) {
  /* Herz mobil 20 % kleiner, bleibt oben rechts verankert */
  .product-card .button_list {
    scale: 0.8;
    transform-origin: 100% 0;
  }
}

@media (max-width: 767px) {
  /* Logo mobil höher: gemeinsame Linie mit Warenkorb, Herz und Burger */
  body header .logo-container img {
    margin-top: calc(2rem - 24px);
  }
}

/* Kategorie-Kacheln auf Seiten (Startseite, Shortcode [kutten_category_tiles]) */
.sm-tiles--page {
  width: 100%;
  box-sizing: border-box;
  max-width: 960px;
  margin: 1.5rem auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .sm-tiles--page .sm-tile-label {
    padding: 0.75rem 1rem;
    font-size: 2rem;
  }
}

.elementor-widget-shortcode:has(.sm-tiles--page),
.elementor-widget-shortcode:has(.sm-tiles--page) .elementor-shortcode {
  width: 100%;
}

/* ---------------------------------------------------------------------------
 * Warenkorb-Seite: klebende Leiste ohne Verlauf/Schatten, Zahlungsicons im Footer-Stil, Typografie einheitlich
 * ------------------------------------------------------------------------ */
.wc-block-cart__submit-container--sticky {
  border-top: 2px solid var(--white, #fff);
  background: var(--dark, #000);
  box-shadow: none;
}

.wc-block-cart__submit-container--sticky::before {
  display: none;
  content: none;
}

.wc-block-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
  display: block;
  width: 285px;
  max-width: 100%;
  height: 30px;
  margin: 1rem auto 0;
  background:
    url("../imgs/payment/paypal.svg") 0 50% / 57px auto no-repeat,
    url("../imgs/payment/applepay.svg") 77px 50% / 57px auto no-repeat,
    url("../imgs/payment/visa.svg") 154px 50% / 57px auto no-repeat,
    url("../imgs/payment/klarna.svg") 231px 50% / 54px auto no-repeat;
}

.wc-block-cart .wp-block-woocommerce-cart-accepted-payment-methods-block img {
  display: none;
}

.wc-block-cart-item__product .wc-block-components-product-name {
  font-family: "kaarna", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.wc-block-cart-item__product .wc-block-components-product-metadata__description {
  display: none;
}

/* Mini-Warenkorb: gleiche Typografie wie der Rest (Überschriften/Summen Kaarna, Fließtext Noto Sans leicht) */
body .mini-cart-content .woocommerce-mini-cart__total,
body .mini-cart-content .woocommerce-mini-cart__total * {
  font-family: "kaarna", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  text-transform: uppercase;
}

body .mini-cart-content .kutten-fs-text,
body .mini-cart-content .kutten-fs-text * {
  font-family: "notoSans", sans-serif;
  font-weight: 300;
}

body .mini-cart-content .quantity,
body .mini-cart-content .quantity * {
  font-weight: 300;
}

/* Kasse: Zahlarten- und Versandzeilen - Icons mit gleichmäßigem Abstand, Versandoptionen typografisch klarer */
.wc-block-components-radio-control__label {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.wc-block-components-payment-method-icons {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
}

.wc-block-components-payment-method-icons .wc-block-components-payment-method-icon {
  width: auto;
  height: 1.75rem;
  max-width: none;
  margin: 0;
}

.wc-block-checkout__shipping-option .wc-block-components-radio-control__label,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-label {
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
}

.wc-block-checkout__shipping-option .wc-block-components-radio-control__description,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ---------------------------------------------------------------------------
 * Clean Checkout: in der Kasse nur Logo im Header und ein schlanker Footer (Ablenkung raus, Fokus aufs Bezahlen)
 * ------------------------------------------------------------------------ */
body.woocommerce-checkout:not(.woocommerce-order-received) #main-menu-2,
body.woocommerce-checkout:not(.woocommerce-order-received) #shop-nav,
body.woocommerce-checkout:not(.woocommerce-order-received) #sm-overlay,
body.woocommerce-checkout:not(.woocommerce-order-received) .kutten-footer {
  display: none;
}

.kutten-min-footer {
  display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .kutten-min-footer {
  display: block;
  padding: 2rem 20px 6rem;
  text-align: center;
}

.kutten-min-footer-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem;
}

.kutten-min-footer-pay span {
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.kutten-min-footer-pay img {
  width: auto;
  height: 20px;
}

.kutten-min-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kutten-min-footer-links a {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--white, #fff);
  font-size: 0.875rem;
  opacity: 0.8;
  text-decoration: none;
}

.kutten-min-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Zahlarten: nur ein Rahmen je Karte (innere Elemente ohne eigenen Rand) */
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-layout {
  border: 0;
  box-shadow: none;
}

.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control-accordion-option::after,
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option::after {
  display: none;
}

/* Optische Mittigkeit (Messung per Pixelanalyse: Kaarna sass in einigen Buttons 1-2 px zu tief/hoch) */
#shop-buttons .shop-tab {
  padding-top: calc(0.5rem - 1px);
  padding-bottom: calc(0.5rem + 1px);
}

.kutten-btn {
  padding-top: calc(0.55rem + 1px);
  padding-bottom: calc(0.55rem - 1px);
}

#header-wrapper #open-mini-cart .cart-label {
  position: relative;
  top: -1px;
}

.kutten-min-footer-pay span {
  word-spacing: 0.2em;
}

/* Bildmaße (width/height-Attribute) verhindern Layout-Sprünge; die Höhe kommt aus aspect-ratio */
ul.products li img.product-img {
  height: auto;
}

.kutten-promo-img {
  width: 79px;
  height: auto;
}

/* Maße (Patches): gleiche Sprache wie das Trust-Element (Abstand nach oben: siehe Round-7-Anpassung weiter unten, hier zusammengeführt) */
.kutten-size {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 1.25rem 0 1rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.kutten-size strong {
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
 * Mini-Warenkorb: Mindesthöhe, leerer Zustand (Kategorien + Beliebt), Cross-Sell im gefüllten Warenkorb
 * ------------------------------------------------------------------------ */
body .mini-cart-content .widget_shopping_cart_content {
  min-height: min(26rem, 60dvh);
}

.kutten-mc-empty {
  padding: 1.25rem 0 1rem;
}

.kutten-mc-title {
  margin: 0 0 0.25rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.75rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.kutten-mc-text {
  margin: 0 0 1rem;
  opacity: 0.85;
}

.kutten-mc-sub {
  margin: 1.25rem 0 0.5rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.sm-tiles--mini .sm-tile-label {
  padding: 0.4rem 0.6rem;
  font-size: 1.25rem;
}

.kutten-sug {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kutten-sug-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.kutten-sug-link {
  display: flex;
  flex: 1 1 auto;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.5rem 0;
  color: var(--white, #fff);
  text-decoration: none;
}

.kutten-sug-img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.kutten-sug-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-family: "kaarna", sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.kutten-sug-price {
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.kutten-sug .kutten-sug-add {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  background:
    linear-gradient(var(--dark, #000), var(--dark, #000)) center / 14px 3px no-repeat,
    linear-gradient(var(--dark, #000), var(--dark, #000)) center / 3px 14px no-repeat,
    var(--white, #fff);
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

.kutten-sug-add.loading {
  opacity: 0.6;
}

.kutten-sug-add::after,
.kutten-sug-item .added_to_cart {
  display: none;
}

.kutten-mc-cross {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-height: 700px) {
  .kutten-mc-cross {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
 * Warenkorb-Seite: Typografie (Kaarna für Namen/Summen/Kopfzeilen, Noto Sans leicht für Fließtext), Zahlungsicons mit Abstand
 * ------------------------------------------------------------------------ */
body .wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name {
  font-family: "kaarna", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

body .wc-block-cart .wc-block-cart-items th,
body .wc-block-cart .wc-block-cart__totals-title {
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

body .wc-block-cart .wc-block-components-totals-item__label {
  font-size: 1rem;
  font-weight: 300;
}

body .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

body .wc-block-cart .wc-block-components-product-price__value,
body .wc-block-cart .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
}

.wc-block-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

/* Overlay-Menü: Unterkategorien als Chips unter den Kacheln */
#sm-overlay .sm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 0.75rem;
}

#sm-overlay .sm-chips-label {
  margin-right: 0.25rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  opacity: 0.7;
}

#sm-overlay .sm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.75rem;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  font-size: 0.95rem;
  text-decoration: none;
}

#sm-overlay .sm-chip:hover,
#sm-overlay .sm-chip:focus-visible {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

/* ---------------------------------------------------------------------------
 * Eigener Shop-Filter (includes/shop-filter.php, assets/js/shop-filter.js)
 * ------------------------------------------------------------------------ */
.shop-fieldset {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.shop-fieldset legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.shop-fieldset select,
.shop-price input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0 0.75rem;
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  background: var(--dark, #000);
  color: var(--white, #fff);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

.shop-fieldset select:focus-visible,
.shop-price input:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.shop-opts,
.shop-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-opt,
.shop-swatch {
  position: relative;
  cursor: pointer;
}

.shop-opt input,
.shop-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shop-opt > span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.75rem;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  font-size: 0.95rem;
}

.shop-opt small {
  opacity: 0.6;
}

.shop-opt input:checked + span {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

.shop-swatch-dot {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--c, #888);
}

.shop-swatch-dot.is-split {
  background: linear-gradient(45deg, #000 50%, #fff 50%);
}

.shop-swatch input:checked + .shop-swatch-dot {
  border-color: var(--white, #fff);
  box-shadow: 0 0 0 3px var(--dark, #000), 0 0 0 5px var(--white, #fff);
}

.shop-opt input:focus-visible + span,
.shop-swatch input:focus-visible + .shop-swatch-dot {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.shop-price {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.shop-price label {
  flex: 1 1 0;
  min-width: 0;
}

.filter-panel-foot {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 2px solid var(--white, #fff);
  background: var(--dark, #000);
}

.filter-panel-foot .kutten-btn {
  gap: 0.3em;
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 0.5rem;
  white-space: nowrap;
}

.filter-panel-foot .kutten-btn[disabled] {
  opacity: 0.5;
}

.shop-active {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: min(960px, 90%);
  margin: 0 auto 1rem;
}

.shop-active:empty {
  display: none;
}

.shop-chip {
  min-height: 2.25rem;
  padding: 0.25rem 0.65rem;
  border: 0;
  border-radius: 0;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
}

#shop-results {
  transition: opacity 0.2s ease;
}

#shop-results.is-loading {
  opacity: 0.45;
}

.shop-empty {
  padding: 3rem 1rem;
  text-align: center;
  gap: 0.5rem;
}

.shop-empty p {
  margin: 0;
}

.shop-more {
  padding: 1.5rem 0 2rem;
}

body button.shop-chip,
body button.shop-chip:hover {
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
}

/* ---------------------------------------------------------------------------
 * Weniger Rahmen (Betreiber-Rückmeldung): Zweitrangiges (inaktive Reiter, Suche, Filter, Auswahlfelder, Ghost-Buttons,
 * Fortschrittsbalken) als dezente Fläche statt Umriss. Weiß bleibt für aktive/primäre Elemente und Fokus.
 * ------------------------------------------------------------------------ */
body .kutten-panel-head {
  border-bottom: 0;
}

body #shop-buttons .shop-tab:not(.active) {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

body #shop-toolbar #search-clone-input {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

body #shop-filter-button button {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

body .shop-fieldset select,
body .shop-price input {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

body .kutten-btn--ghost,
body a.kutten-btn--ghost {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

body .mini-cart-content .kutten-fs-bar {
  border: 0;
  background: rgba(255, 255, 255, 0.2);
}

body .mini-cart-content .woocommerce-mini-cart__buttons a.button:not(.checkout) {
  border-color: transparent;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
}

body .mini-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout),
body .mini-cart-content .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover {
  border: 0;
  background-color: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
}

.filter-panel-foot .kutten-btn {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.archive-intro {
  max-width: 40rem;
  margin: 0.25rem auto 0.5rem;
  padding-inline: 20px;
  text-align: center;
  opacity: 0.85;
}

.archive-intro p {
  margin: 0;
}

/* Grundschwarz: ein Wert (--dark in helper.css) für Seite und Elemente */
html body,
body {
  background-color: var(--dark, #080808);
}

/* Elementor-Kit: globale Schwarz-Farbe ebenfalls auf das Grundschwarz (sonst bleibt die Seitenfläche #000) */
body.elementor-kit-6 {
  --e-global-color-2bcaa65: var(--dark, #080808);
}

/* ---------------------------------------------------------------------------
 * Runde 6 (Betreiber-Sammlung 26.09.)
 * ------------------------------------------------------------------------ */

/* Ein Pfeil überall (gleiches Zeichen wie in den Kategorie-Kacheln), Farbe folgt currentColor */
body #sm-overlay #main-menu > li > a::after,
.wc-block-cart__submit-button .wc-block-components-button__text::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: middle;
}

body #sm-overlay #main-menu > li > a::after {
  margin-left: auto;
  font-size: 0;
}

.wc-block-cart__submit-button .wc-block-components-button__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Breadcrumbs: kleiner, ruhiger, ohne Unterstreichung, anderer Trenner, mehr Abstand zum Titel */
.breadcumbs,
.archive-title #breadcrumbs,
.archive-title .yoast-breadcrumbs {
  font-family: "notoSans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  opacity: 0.75;
}

body .breadcumbs a,
body .archive-title #breadcrumbs a {
  text-decoration: none;
}

body .breadcumbs a:hover,
body .archive-title #breadcrumbs a:hover {
  text-decoration: underline;
}

.archive-title #breadcrumbs,
.archive-title .yoast-breadcrumbs {
  margin-bottom: 1rem;
}

.crumb-sep {
  display: inline-block;
  margin: 0 0.4em;
  opacity: 0.6;
}

/* Warenkorb-Button auf der Produktseite: kleiner, mit Icon (Wagen + Plus) */
body .single-product .stdiv .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.5rem 1.25rem;
  font-size: 1.25rem;
  line-height: 1.1;
}

body .single-product .stdiv .single_add_to_cart_button::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M1 3h3.5l2.3 11h10.9l2.3-8.5H6'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3Cpath d='M13 7v5M10.5 9.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M1 3h3.5l2.3 11h10.9l2.3-8.5H6'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3Cpath d='M13 7v5M10.5 9.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Warenkorb-Seite: Versandzeile und Gutschein-Feld */
body .wc-block-cart .wc-block-components-totals-item {
  align-items: baseline;
}

body .wc-block-cart .wc-block-components-totals-item__value {
  text-align: right;
}

body .wc-block-cart .wc-block-components-totals-item__description {
  font-size: 0.85rem;
  opacity: 0.8;
}

body .wc-block-components-totals-coupon .wc-block-components-panel__button,
body .wc-block-components-totals-coupon .wc-block-components-panel__button * {
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
}

body .wc-block-components-totals-coupon .wc-block-components-text-input input {
  min-height: 3rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
}

body .wc-block-components-totals-coupon .wc-block-components-text-input label {
  color: var(--dark, #000);
}

body .wc-block-components-totals-coupon .wc-block-components-totals-coupon__button,
body .wc-block-components-totals-coupon button[type="submit"] {
  min-height: 3rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* Überschriften in Versalien: Zeilenhöhe enger (Kaarna hat viel Luft nach oben/unten) */
h1,
h2,
h3,
.archive-title h1,
.kutten-mc-title,
.kutten-panel-title,
.kf-h,
.wc-block-components-title,
.wc-block-components-checkout-step__title {
  line-height: 1.02;
}

/* Header: Warenkorb mobil etwas kleiner */
@media (max-width: 900px) {
  #header-wrapper #open-mini-cart {
    font-size: 0.85rem;
  }

  #header-wrapper #open-mini-cart .cart-svg {
    width: 20px;
    height: 20px;
  }

  #header-wrapper #open-mini-cart .kutten-cart-count {
    font-size: 1.1rem;
  }
}

/* Startseite: Kategorie-Kacheln so breit wie das Video (mw-80 Container) */
.sm-tiles--page {
  max-width: none;
  padding-inline: 0;
  margin: 1rem 0;
}

/* Overlay: Unterkategorien als Buttons in Kachelbreite direkt unter der jeweiligen Kachel */
#sm-overlay .sm-tiles {
  align-items: start;
}

#sm-overlay .sm-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#sm-overlay .sm-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.75rem;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
}

#sm-overlay .sm-sub:hover,
#sm-overlay .sm-sub:focus-visible {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

/* ---------------------------------------------------------------------------
 * Footer per Code (includes/site-footer.php)
 * ------------------------------------------------------------------------ */
.kutten-footer {
  padding: 3rem 20px 6rem;
  background: var(--dark, #080808);
  color: var(--white, #fff);
}

.kf-inner,
.kf-geil,
.kf-bottom {
  max-width: 1240px;
  margin-inline: auto;
}

.kf-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .kutten-footer {
    padding-inline: 32px;
  }

  .kf-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.kf-logo-img {
  display: block;
  width: 200px;
  max-width: 60%;
  height: auto;
}

.kf-tagline {
  margin: 1rem 0 1.5rem;
}

.kf-pay-title,
.kf-h {
  margin: 0 0 0.6rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

.kf-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin: 0 0 1.25rem;
}

.kf-pay img {
  width: auto;
  height: 22px;
}

.kf-social {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
}

.kf-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kf-col a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--white, #fff);
  text-decoration: none;
}

.kf-col a:hover,
.kf-col a:focus-visible {
  text-decoration: underline;
}

.kf-geil {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  text-align: center;
}

.kf-geil-title {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  font-family: "kaarna", sans-serif;
  font-size: 2.25rem;
  text-transform: uppercase;
}

.kf-sticker {
  width: auto;
  height: 3rem;
  margin-top: 0;
  max-height: none;
  transition: transform 0.2s ease;
}

.kf-sticker:hover {
  transform: scale(1.8);
}

.kf-score {
  width: 260px;
  max-width: 80%;
  height: auto;
}

.kf-bottom {
  margin-top: 3rem;
  text-align: center;
}

.kf-copy {
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

.kutten-footer .german-market-withdrawal-button-wrap {
  margin: 0;
}

/* Widerrufsbutton im Footer: klein und zurückhaltend unter den rechtlichen Links */
.kf-withdraw {
  margin: 0.75rem 0 0;
}

.kutten-footer .german-market-withdrawal-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.2rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  font-family: "notoSans", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  text-transform: none;
}

.kutten-footer .german-market-withdrawal-button:hover,
.kutten-footer .german-market-withdrawal-button:focus-visible {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

/* ---------------------------------------------------------------------------
 * Overlay-Menü: keine weiße Fläche mehr. Hover/Fokus/aktiver Eintrag rücken weich nach rechts ein (nur transform),
 * der aktive Eintrag trägt zusätzlich eine Linie links. Ruhezustand: Text bündig auf der Linie, Padding 0.
 * ------------------------------------------------------------------------ */
body #sm-overlay #main-menu > li > a {
  width: 100%;
  margin: 0;
  padding: 0.6rem 0;
  background: transparent;
  color: var(--white, #fff);
  transition: transform 0.22s ease;
}

body #sm-overlay #main-menu > li > a:hover,
body #sm-overlay #main-menu > li > a:focus-visible,
body #sm-overlay #main-menu > li.current-menu-item > a {
  background: transparent;
  color: var(--white, #fff);
  transform: translateX(0.75rem);
  box-shadow: none;
}

body #sm-overlay #main-menu > li.current-menu-item > a {
  box-shadow: -0.75rem 0 0 0 transparent, inset 3px 0 0 0 var(--white, #fff);
  padding-left: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  body #sm-overlay #main-menu > li > a {
    transition: none;
  }
}

/* Produktseite: gleichmäßige Abstände zwischen Breadcrumb, Trust-Element und Titel */
.breadcumbs {
  margin-bottom: 0.75rem;
}

.kutten-trust {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.kutten-trust + .d-flex,
.kutten-trust + h1 {
  margin-top: 0;
}

/* Footer: Spalten sauberer, Zahlungsicons kleiner und in einer Zeile */
@media (min-width: 768px) {
  .kf-inner {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.kf-pay {
  flex-wrap: nowrap;
  gap: 1rem;
}

.kf-pay img {
  width: auto;
  height: 18px;
}

.kf-logo-img {
  width: 180px;
}

.kf-geil-title {
  font-size: 1.75rem;
}

.kf-score {
  width: 200px;
}

body #sm-overlay #main-menu > li > a:hover,
body #sm-overlay #main-menu > li > a:focus-visible,
body #sm-overlay #main-menu > li.current-menu-item > a {
  width: calc(100% - 0.75rem);
}

/* Upselling-Abschnitte (Merkliste, Zuletzt angesehen): Karten wie im Archiv, kleinere Titel */
.kutten-upsell {
  max-width: 1440px;
  margin: 2rem auto 0;
  padding-inline: 0;
}

.kutten-upsell[hidden] {
  display: none;
}

.kutten-upsell-title {
  margin: 0 0 0.75rem;
  padding-inline: 20px;
  font-size: 1.75rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .kutten-upsell-title {
    padding-inline: 52px;
  }
}

/* ---------------------------------------------------------------------------
 * Phase 3: Rechtstexte gut lesbar + Pflicht-Checkboxen in der Kasse
 * ------------------------------------------------------------------------ */

/* Woo-Hinweis „Wenn du fortsetzt …“ entfällt, die Pflicht-Checkboxen von German Market ersetzen ihn (kein doppelter Hinweis) */
.wc-block-checkout__terms {
  display: none;
}

/* German-Market-Checkboxen: große Klickfläche, klare Schrift, Links unterstrichen */
.wc-block-checkout [class*="german-market"] label,
.wc-block-checkout .wc-block-components-checkbox {
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wc-block-checkout [class*="german-market"] a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wc-block-checkout [class*="german-market"] input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
}

/* Seiten mit langem Fließtext (Datenschutz, Zahlungsweisen): Lesebreite, Überschriften, Abstände */
.page-id-1002 .page-content,
.page-id-1008 .page-content,
.page-id-1010 .page-content,
.kutten-prose .page-content {
  max-width: 46rem;
  margin-inline: auto;
  padding: 1.5rem 20px 4rem;
  line-height: 1.6;
}

.page-id-1002 .page-content h2,
.page-id-1008 .page-content h2,
.page-id-1010 .page-content h2,
.kutten-prose .page-content h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.page-id-1002 .page-content h3,
.page-id-1008 .page-content h3,
.page-id-1010 .page-content h3,
.kutten-prose .page-content h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.page-id-1002 .page-content a,
.page-id-1008 .page-content a,
.page-id-1010 .page-content a,
.kutten-prose .page-content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.wc-block-checkout [class*="german-market"] label,
.wc-block-checkout .wc-block-components-checkbox {
  margin-bottom: 1rem;
}

.wc-block-checkout [class*="german-market"] {
  margin-block: 0.5rem 1.5rem;
}

.page-id-1002 .page-content :is(h1, h2, h3, h4),
.page-id-1008 .page-content :is(h1, h2, h3, h4),
.page-id-1010 .page-content :is(h1, h2, h3, h4),
.kutten-prose .page-content :is(h1, h2, h3, h4) {
  font-size: 1.4rem;
  line-height: 1.1;
}

.page-id-1002 .page-content h1,
.page-id-1008 .page-content h1,
.page-id-1010 .page-content h1,
.kutten-prose .page-content h1 {
  font-size: 2rem;
}

.kutten-price-note {
  max-width: min(960px, 90%);
  margin: 0.5rem auto 1.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.page-id-1002 .page-content,
.page-id-1002 .page-content :is(p, li, h1, h2, h3, h4),
.page-id-1008 .page-content,
.page-id-1008 .page-content :is(p, li, h1, h2, h3, h4),
.page-id-1010 .page-content,
.page-id-1010 .page-content :is(p, li, h1, h2, h3, h4),
.kutten-prose .page-content :is(p, li, h1, h2, h3, h4) {
  text-align: left;
}

.page-id-1002 .page-content li,
.page-id-1008 .page-content li,
.page-id-1010 .page-content li,
.kutten-prose .page-content li {
  margin-bottom: 0.4rem;
}

/* ---------------------------------------------------------------------------
 * Runde 7 (Betreiber-Sammlung 27.09.)
 * ------------------------------------------------------------------------ */

/* Ein Pfeil auch in den Galerien (Produkt und Style-Galerie), Zurück = gedreht */
.kutten-pg-nav,
.kutten-sg-nav {
  font-size: 0;
}

.kutten-pg-nav::before,
.kutten-sg-nav::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.kutten-pg-prev::before,
.kutten-sg-prev::before {
  transform: rotate(180deg);
}

/* Overlay: aktiver Eintrag wieder weiß hinterlegt (Text dunkel); Hover rückt weich ein */
body #sm-overlay #main-menu > li.current-menu-item > a {
  width: calc(100% + 1.5rem);
  margin: 0 -0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--white, #fff);
  color: var(--dark, #000);
  box-shadow: none;
  transform: none;
}

/* Breadcrumbs: immer eine Zeile, Rest mit Auslassungspunkten */
.breadcumbs,
.archive-title #breadcrumbs,
.archive-title .yoast-breadcrumbs {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcumbs > *,
.archive-title #breadcrumbs > * {
  white-space: nowrap;
}

/* Karten-Aktion mittig in der ganzen Karte, Kurzbeschriftung mobil */
ul.products li.product-card > .product-cta {
  inset: 0;
}

.product-cta .lbl-short {
  display: none;
}

@media (max-width: 859px) {
  .product-cta .lbl-long {
    display: none;
  }

  .product-cta .lbl-short {
    display: inline;
  }
}

/* Nicht-EU-Hinweis vorerst aus (Lieferung nur DE); Maße-Abstand siehe .kutten-size weiter oben */
.wgm-extra-costs-eu {
  display: none;
}

/* Kasse: Zurück zum Warenkorb */
.kutten-back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.kutten-back a {
  color: var(--white, #fff);
  text-decoration: none;
}

.kutten-back a:hover {
  text-decoration: underline;
}

/* Footer: Überschriften kleiner (Desktop war 4rem groß) */
.kutten-footer .kf-h,
.kutten-footer .kf-pay-title {
  font-size: 1.25rem;
}

.kutten-footer .kf-geil-title {
  font-size: 1.75rem;
}

/* Warenkorb-Seite: auch am Desktop einspaltig (wie mobil) */
.page-content:has(.wp-block-woocommerce-cart) {
  max-width: 720px;
}

.wc-block-cart.wc-block-components-sidebar-layout {
  display: block;
}

.wc-block-cart .wc-block-components-main,
.wc-block-cart .wc-block-components-sidebar {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

/* Widerruf-Formular (German Market): eine Spalte, klare Felder, Honeypot versteckt */
.german-market-withdrawal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 34rem;
  margin: 1rem auto 3rem;
  padding-inline: 20px;
}

.german-market-withdrawal-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.german-market-withdrawal-form input.input-text,
.german-market-withdrawal-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

.german-market-withdrawal-form textarea {
  min-height: 8rem;
}

.german-market-withdrawal-form input:focus-visible,
.german-market-withdrawal-form textarea:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.german-market-withdrawal-form label[for="withdrawal-form-cc-site-url"],
.german-market-withdrawal-form input#withdrawal-form-cc-site-url,
.german-market-withdrawal-form :has(> input#withdrawal-form-cc-site-url) {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.german-market-withdrawal-form p {
  margin: 0;
}

.german-market-withdrawal-form button[type="submit"],
.german-market-withdrawal-form input[type="submit"] {
  align-self: flex-start;
  min-height: 3rem;
  padding: 0.5rem 1.5rem;
}

/* Upselling-Abschnitte im Stil des Startseiten-Elements (weiß, Raster, Illustration) */
.kutten-upsell {
  max-width: none;
  margin: 3rem 0 0;
  padding: 2rem 0 2rem;
  color: var(--dark, #000);
}

.kutten-upsell-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-inline: 20px;
  text-align: center;
}

.kutten-upsell-img {
  width: min(560px, 90%);
  height: auto;
}

.kutten-upsell-title {
  margin: 0;
  padding: 0;
  color: var(--dark, #000);
  font-size: 2rem;
}

/* Merkliste: Einladung zum Konto */
.kutten-list-account {
  max-width: 34rem;
  margin: 2rem auto 0;
  padding: 1.25rem 20px;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  text-align: center;
}

.kutten-list-account p {
  margin: 0 0 0.75rem;
}

.kutten-list-account p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Mein Konto (Anmelden/Registrieren, Kundenbereich)
 * ------------------------------------------------------------------------ */
.woocommerce-account .page-content {
  max-width: 960px;
  margin-inline: auto;
  padding: 1.5rem 20px 4rem;
}

.woocommerce-account .page-content h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
  text-transform: uppercase;
}

.woocommerce-account .u-columns {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .woocommerce-account .u-columns.col2-set {
    grid-template-columns: 1fr 1fr;
  }
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
  float: none;
  width: auto;
}

.woocommerce-account form.woocommerce-form,
.woocommerce-account form.edit-account,
.woocommerce-account form.woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce-account form .form-row {
  margin: 0 0 1rem;
  padding: 0;
}

.woocommerce-account form label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.woocommerce-account form .required {
  color: inherit;
  text-decoration: none;
}

.woocommerce-account form input.input-text,
.woocommerce-account form select,
.woocommerce-account form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

.woocommerce-account form .password-input {
  display: block;
  position: relative;
}

.woocommerce-account form .show-password-input {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: transparent;
  color: var(--dark, #000);
}

.woocommerce-account form .woocommerce-form__label-for-checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-family: "notoSans", sans-serif;
  font-size: 0.95rem;
  text-transform: none;
}

.woocommerce-account form .woocommerce-form-login__submit,
.woocommerce-account form .woocommerce-form-register__submit,
.woocommerce-account form button[type="submit"] {
  min-height: 3rem;
  padding: 0.5rem 1.5rem;
  border: 0;
  border-radius: 0;
}

.woocommerce-account .lost_password {
  margin-top: 1rem;
}

.woocommerce-account .lost_password a {
  color: var(--white, #fff);
}

.woocommerce-account .woocommerce-privacy-policy-text {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Kundenbereich (angemeldet): Navigation als Zeile aus Reitern */
.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3rem 1rem;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-left: 3px solid var(--white, #fff);
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
  color: var(--white, #fff);
  list-style: none;
}

.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 0.6rem 0.5rem;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

/* Karten in den weißen Upselling-Flächen: Beschriftung bleibt weiß auf Schwarz */
.kutten-upsell ul.products li.product-card,
.kutten-upsell ul.products li.product-card a,
.kutten-upsell ul.products li.product-card h3,
.kutten-upsell ul.products li.product-card .price,
.kutten-upsell ul.products li.product-card .amount {
  color: var(--white, #fff);
}

.kutten-upsell ul.products {
  justify-content: center;
}

body .kutten-footer a.german-market-withdrawal-button {
  min-height: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

/* Style-Galerie = Produktgalerie-Optik */
.kutten-pg--style {
  margin-top: 0.5rem;
}

.kutten-pg-slide {
  position: relative;
}

.kutten-pg-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: var(--dark, #000);
  color: var(--white, #fff);
  font-size: 0.9rem;
  pointer-events: none;
}

/* Style-Galerie: Kartenslider – Slides so groß wie die Produktkacheln, Pfeile/Zähler wie die Produktgalerie */
.kutten-style-gallery {
  padding-inline: 0;
}

.kutten-style-gallery > h2 {
  padding-inline: 2rem;
}

.kutten-style-gallery .kutten-pg {
  max-width: none;
}

.kutten-style-gallery .kutten-pg-slide {
  flex-basis: calc(100% / var(--kcols, 2));
  scroll-snap-stop: normal;
}

.kutten-style-gallery .kutten-pg-link img {
  object-fit: cover;
}

/* Startseite/Aufnähservice: Drei-Karten-Reihen (Shortcode) füllen die Breite; mobil zwei, damit keine Lücke bleibt */
.elementor-widget-shortcode ul.products:has(> li:nth-child(3):last-child) > li {
  width: 50%;
}

.elementor-widget-shortcode ul.products:has(> li:nth-child(3):last-child) > li:nth-child(3) {
  display: none;
}

@media (min-width: 860px) {
  .elementor-widget-shortcode ul.products:has(> li:nth-child(3):last-child) > li,
  .elementor-widget-shortcode ul.products:has(> li:nth-child(3):last-child) > li:nth-child(3) {
    display: list-item;
    width: 33.333%;
  }
}

/* Instagram-Block am Ende der Startseite */
.kutten-insta {
  padding: 3rem 20px;
  text-align: center;
}

.kutten-insta-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.kutten-insta-text {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.kutten-insta-feed {
  max-width: 1140px;
  margin: 0 auto 1.5rem;
}

/* Elementor-Formulare (Kontakt, Pop-ups): eckig, weiße Felder, Kaarna-Beschriftung, Button wie .kutten-btn */
.elementor-form .elementor-field-label {
  margin-bottom: 0.3rem;
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.elementor-form .elementor-field-textual {
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

.elementor-form .elementor-field-textual:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.elementor-form .elementor-field-type-acceptance {
  text-align: left;
}

.elementor-form .elementor-field-type-acceptance .elementor-field-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.elementor-form .elementor-field-type-acceptance a {
  color: inherit;
  text-decoration: underline;
}

.elementor-form .elementor-field-type-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--white, #fff);
}

body .elementor-widget.elementor-widget-form .elementor-form .elementor-field-type-submit .elementor-button[type="submit"] {
  min-height: 3rem;
  padding: 0.5rem 2rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

body .elementor-widget.elementor-widget-form .elementor-form .elementor-field-type-submit .elementor-button[type="submit"]:hover,
body .elementor-widget.elementor-widget-form .elementor-form .elementor-field-type-submit .elementor-button[type="submit"]:focus-visible {
  background: var(--dark, #000);
  color: var(--white, #fff);
  box-shadow: inset 0 0 0 2px var(--white, #fff);
}

.elementor-form .elementor-message {
  margin-top: 0.75rem;
  font-family: "notoSans", sans-serif;
}

/* Blog „Neuigkeiten“ (includes/blog.php, home.php, archive.php, single.php) */
.kb-wrap {
  box-sizing: border-box;
  max-width: 1140px;
  margin-inline: auto;
  padding: 7.5rem 20px 4rem;
}

.kb-head {
  margin-bottom: 1.5rem;
}

.kb-h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.kb-lead {
  max-width: 40rem;
}

.kb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.kb-tabs a {
  padding: 0.35rem 1rem;
  border: 2px solid var(--white, #fff);
  color: var(--white, #fff);
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.kb-tabs a:hover,
.kb-tabs a[aria-current="page"] {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

.kb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .kb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kb-card {
  border: 2px solid var(--white, #fff);
  background: var(--fill-soft, rgba(255, 255, 255, 0.057));
}

.kb-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--white, #fff);
  text-decoration: none;
}

.kb-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.kb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
}

.kb-cat,
a.kb-cat,
a.kb-cat:hover {
  align-self: flex-start;
  padding: 0.1rem 0.6rem;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
}

.kb-date,
.kb-meta time {
  font-size: 0.875rem;
  opacity: 0.8;
}

.kb-meta {
  font-size: 0.875rem;
}

.kb-title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
}

.kb-more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-decoration: underline;
  text-transform: uppercase;
}

.kb-link:hover .kb-title {
  text-decoration: underline;
}

.kb-empty {
  padding: 2rem 0;
}

.kb-index .navigation.pagination {
  margin-top: 2rem;
}

.kb-index .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kb-index .page-numbers {
  padding: 0.3rem 0.9rem;
  border: 2px solid var(--white, #fff);
  color: var(--white, #fff);
  text-decoration: none;
}

.kb-index .page-numbers.current,
.kb-index .page-numbers:hover {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

.kb-single .kb-article {
  max-width: 46rem;
  margin-inline: auto;
}

.kb-hero {
  margin: 0 0 1.5rem;
}

.kb-hero img {
  display: block;
  width: 100%;
  height: auto;
}

body .kb-single .page-content {
  padding-inline: 0;
}

.kb-back a {
  color: var(--white, #fff);
}

/* Raster: Spaltenzahl der Karten (Einstellungen → Kuttenmanufaktur → Raster); Standard 2 / 3 / 4 / 5 / 6 Spalten */
:root {
  --kbase: 2;
  --kdelta: 0;
}

body {
  --kcols: max(1, calc(var(--kbase) + var(--kdelta)));
}

@media (min-width: 860px) {
  :root {
    --kbase: 3;
  }
}

@media (min-width: 1168px) {
  :root {
    --kbase: 4;
  }
}

@media (min-width: 1400px) {
  :root {
    --kbase: 5;
  }
}

@media (min-width: 1800px) {
  :root {
    --kbase: 6;
  }
}

body.kgrid-compact {
  --kdelta: 1;
  --kcols: max(1, calc(var(--kbase) + 1));
}

body.kgrid-large {
  --kdelta: -1;
  --kcols: max(1, calc(var(--kbase) - 1));
}

body ul.products > li.product-card {
  width: calc(100% / var(--kcols));
}

/* Produktseite „Passt dazu“: schlicht schwarz, Karten wie im Shop; nur so viele, wie in eine Reihe passen (mobil zwei Reihen) */
.kutten-upsell--plain {
  margin: 3rem 0 0;
  padding: 0;
  background: none;
  color: var(--white, #fff);
}

.kutten-upsell--plain .kutten-upsell-title {
  padding: 0 2rem 1rem;
  color: var(--white, #fff);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.kutten-upsell--plain ul.products {
  justify-content: flex-start;
}

.kutten-upsell--plain ul.products > li:nth-child(n + 5) {
  display: none;
}

@media (min-width: 860px) and (max-width: 1167px) {
  .kutten-upsell--plain ul.products > li:nth-child(n + 4) {
    display: none;
  }
}

@media (min-width: 1400px) {
  .kutten-upsell--plain ul.products > li:nth-child(5) {
    display: block;
  }
}

@media (min-width: 1800px) {
  .kutten-upsell--plain ul.products > li:nth-child(6) {
    display: block;
  }
}

/* Upselling-Flächen: die Karten-Buttons behalten ihre Farben (primär weiß mit dunkler Schrift) */
.kutten-upsell ul.products li.product-card .product-cta a.kutten-cta-primary {
  color: var(--dark, #000);
}

.kutten-upsell ul.products li.product-card .product-cta a.kutten-cta-secondary {
  color: var(--white, #fff);
}

/* Menge (− 1 +) auf der Produktseite: ein eckiges Feld im Rahmen, Symbole als Balken (kein Schriftzeichen), gleiche Höhe wie der Button */
body .single-product .stdiv .single_add_to_cart_button {
  box-sizing: border-box;
  min-height: 3.5rem;
}

.single-product .quantity {
  box-sizing: border-box;
  display: inline-flex;
  align-items: stretch;
  min-height: 3.5rem;
  border: 2px solid var(--dark, #000);
  background: transparent;
}

.single-product .quantity .minus,
.single-product .quantity .plus {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dark, #000);
  font-size: 0;
  cursor: pointer;
}

.single-product .quantity .minus::before,
.single-product .quantity .plus::before,
.single-product .quantity .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 3px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.single-product .quantity .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.single-product .quantity .minus:hover,
.single-product .quantity .plus:hover,
.single-product .quantity .minus:focus-visible,
.single-product .quantity .plus:focus-visible {
  background: var(--dark, #000);
  color: var(--white, #fff);
}

.single-product .quantity input.qty {
  box-sizing: border-box;
  width: 3rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-inline: 2px solid var(--dark, #000);
  border-radius: 0;
  background: transparent;
  color: var(--dark, #000);
  font-family: "kaarna", sans-serif;
  font-size: 1.5rem;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.kutten-insta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Kunden-Galerie: Pop-up mit Foto-Formular */
.kutten-submit {
  box-sizing: border-box;
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 2px solid var(--white, #fff);
  background: var(--dark, #000);
  color: var(--white, #fff);
}

.kutten-submit::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.kutten-submit-form {
  position: relative;
  padding: 1.5rem 1.25rem;
}

.kutten-submit-form h2 {
  margin: 0 2.5rem 0.75rem 0;
  font-size: 2rem;
}

.kutten-submit-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.kutten-submit-form input[type="text"],
.kutten-submit-form input[type="email"],
.kutten-submit-form input[type="file"],
.kutten-submit-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: var(--white, #fff);
  color: var(--dark, #000);
  font-family: "notoSans", sans-serif;
  font-size: 1rem;
}

.kutten-submit-form input:focus-visible,
.kutten-submit-form textarea:focus-visible,
.kutten-submit-form button:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.kutten-submit-form .ks-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kutten-submit-form .ks-check label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-family: "notoSans", sans-serif;
  font-size: 0.85rem;
  text-transform: none;
}

.kutten-submit-form .ks-check input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
}

.kutten-submit-form .ks-msg {
  min-height: 1.4rem;
  margin: 0.5rem 0;
}

.kutten-submit-form .ks-msg.is-ok {
  color: #7be27b;
}

.kutten-submit-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white, #fff);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Ansicht: Kartengröße wählen (Shop) */
#shop-view {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  max-width: min(960px, 90%);
  margin: -0.75rem auto 1rem;
}

.shop-view-label {
  margin-right: 0.25rem;
  font-family: "kaarna", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  opacity: 0.8;
}

#shop-view .shop-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 2px solid var(--white, #fff);
  border-radius: 0;
  background: transparent;
  color: var(--white, #fff);
  cursor: pointer;
}

#shop-view .shop-view-btn:hover,
#shop-view .shop-view-btn[aria-pressed="true"] {
  background: var(--white, #fff);
  color: var(--dark, #000);
}

#shop-view .shop-view-btn:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

/* Personalisierung (Name Tag, Banderolen): Feld, Zähler, Live-Vorschau */
.kutten-pers {
  margin: 1rem 0;
}

.kutten-pers-preview {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.kpp-label {
  font-family: "kaarna", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.kpp-tag {
  --kpp-bg: #0b0b0b;
  --kpp-fg: #f4f4f4;
  --kpp-font: "notoSans", sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  font-family: var(--kpp-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.kpp-tag--straight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
  border: 3px dashed var(--kpp-fg);
  background: var(--kpp-bg);
  color: var(--kpp-fg);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.2;
}

.kpp-tag--straight.is-empty .kpp-line {
  opacity: 0.45;
}

.kpp-line {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Top-/Bottom-Rocker: Text folgt einer gebogenen Bahn (SVG) */
.kpp-tag--rocker {
  padding: 0;
}

.kpp-svg {
  display: block;
  width: 100%;
  height: auto;
}

.kpp-band {
  stroke: var(--kpp-bg);
  stroke-width: 46px;
  stroke-linecap: butt;
}

.kpp-arctext {
  fill: var(--kpp-fg);
  font-family: var(--kpp-font);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  dominant-baseline: middle;
}

.kpp-tag--rocker.is-empty .kpp-arctext {
  opacity: 0.45;
}

.kpp-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

.kutten-pers-field {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.kutten-pers-field label {
  font-family: "kaarna", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.kutten-pers-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--dark, #000);
  border-radius: 0;
  background: #fff;
  color: var(--dark, #000);
  font-size: 1rem;
}

.kutten-pers-field input:focus-visible {
  outline: 3px solid #fdeb17;
  outline-offset: 2px;
}

.kutten-pers-count {
  justify-self: end;
  font-size: 0.8rem;
  opacity: 0.7;
}

.kutten-pers-count.is-short {
  color: #ff6b6b;
  opacity: 1;
}

.kutten-pers-help {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.kutten-pers-legal {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Startseite: Neuigkeiten-Teaser (includes/blog.php kutten_home_news_section(), vor dem Instagram-Block) */
.kutten-home-news {
  padding: 3rem 20px 1rem;
  text-align: center;
}

.kutten-home-news-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.kutten-home-news .kb-grid {
  max-width: 1140px;
  margin-inline: auto;
  text-align: left;
}

.kutten-home-news-more {
  margin: 1.5rem 0 0;
}

/* Produktseite: Produktdetails-Tabelle (Marke + sichtbare Attribute) – ersetzt die klassische Woo-Tabelle */
.kutten-details {
  margin: 1.5rem 0;
}

.kutten-details-h {
  margin: 0 0 0.5rem;
  font-family: "kaarna", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.kutten-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.kutten-details-table th,
.kutten-details-table td {
  padding: 0.4rem 0.75rem 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  vertical-align: top;
}

.kutten-details-table th {
  width: 40%;
  font-weight: 500;
  opacity: 0.75;
}
