/* =========================================================
   Kartendeals — Modern TCG Shop Theme
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Manrope:wght@500;600;700&display=swap");

:root {
  /* Align with Startseite premium-trust (teal/green) */
  --kd-ink: #0b1524;
  --kd-navy: #0f766e;
  --kd-green: #0f766e;
  --kd-green-dark: #0d5f59;
  --kd-green-bright: #14b8a6;
  --kd-yellow: #e8c547;
  --kd-yellow-deep: #c9a227;
  --kd-red: #e11833;
  --kd-blue: #0d9488;
  --kd-muted: #5c6777;
  --kd-line: #e2e7ee;
  --kd-bg: #f4f6f8;
  --kd-card: #ffffff;
  --kd-radius: 18px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--kd-ink);
  background: var(--kd-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h1, .h2, .h3,
.product-title, .page-heading, .card-title,
.products-section-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--kd-ink);
  text-transform: none !important;
}

a { color: var(--kd-green); }
a:hover { color: var(--kd-green-dark); }

#wrapper { background: transparent; padding-top: 0.5rem; }
/* Full-width catalog (keine leere linke Spalte nach Sidebar-Entfernung) */
#left-column:empty,
#left-column:not(:has(*)) {
  display: none !important;
}
#content-wrapper.left-column.col-md-8,
#content-wrapper.left-column.col-lg-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
#content-wrapper {
  padding-bottom: 1rem;
}

/* Facettenfilter oben über der Produktliste */
#content-wrapper #search_filters,
#content-wrapper .facet-dropdown,
#wrapper #search_filters_wrapper {
  margin: 0 0 1rem;
}
#content-wrapper .block-categories,
#content-wrapper #search_filters {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 20px rgba(15, 27, 45, 0.04);
}

/* Opening countdown — single-line launch bar (until 06.09.2026 18:00)
   Primary styles also embedded via {literal} in header.tpl for reliability. */
#header .kd-opening-countdown,
#kd-opening-countdown {
  display: none !important;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.42rem 0;
  background: linear-gradient(90deg, #065f5b 0%, #0f766e 45%, #14b8a6 100%);
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(232, 197, 71, 0.35);
}
#header .kd-opening-countdown.is-visible,
#kd-opening-countdown.is-visible {
  display: block !important;
}
#header .kd-opening-countdown[hidden],
#kd-opening-countdown[hidden] {
  display: none !important;
}
/* Mobile-first: wrap — title row + timer/subtitle/check row */
#header .kd-opening-countdown__inner,
#kd-opening-countdown .kd-opening-countdown__inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem 0.55rem !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.75rem;
  text-align: center;
  white-space: normal !important;
  overflow-x: visible;
}
#header .kd-opening-countdown__title,
#header .kd-opening-countdown__subtitle,
#header .kd-opening-countdown__check,
#kd-opening-countdown .kd-opening-countdown__title,
#kd-opening-countdown .kd-opening-countdown__subtitle,
#kd-opening-countdown .kd-opening-countdown__check {
  display: inline !important;
  margin: 0 !important;
  padding: 0;
  font-family: var(--font-display), "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff !important;
  white-space: nowrap !important;
}
#header .kd-opening-countdown__title,
#kd-opening-countdown .kd-opening-countdown__title {
  display: block !important;
  color: #e8c547 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  text-align: center !important;
}
#header .kd-opening-countdown__timer,
#kd-opening-countdown .kd-opening-countdown__timer {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.12rem !important;
}
#header .kd-opening-countdown__unit,
#kd-opening-countdown .kd-opening-countdown__unit {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 0.15rem !important;
  min-width: 0;
  padding: 0.1rem 0.32rem !important;
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
}
#header .kd-opening-countdown__value,
#kd-opening-countdown .kd-opening-countdown__value {
  display: inline !important;
  font-size: 0.88rem;
  font-weight: 800;
  color: #e8c547 !important;
  font-variant-numeric: tabular-nums;
}
#header .kd-opening-countdown__label,
#kd-opening-countdown .kd-opening-countdown__label {
  display: inline !important;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78) !important;
}
#header .kd-opening-countdown__sep,
#kd-opening-countdown .kd-opening-countdown__sep {
  display: inline !important;
  color: rgba(232, 197, 71, 0.7) !important;
  font-weight: 700;
}
#header .kd-opening-countdown__check,
#kd-opening-countdown .kd-opening-countdown__check {
  color: #86efac !important;
  font-weight: 800;
  font-size: 1rem;
}
/* Desktop: single horizontal line */
@media (min-width: 576px) {
  #header .kd-opening-countdown__inner,
  #kd-opening-countdown .kd-opening-countdown__inner {
    flex-wrap: nowrap !important;
    gap: 0.55rem 0.85rem !important;
    padding: 0 1rem;
    white-space: nowrap !important;
    overflow-x: auto;
  }
  #header .kd-opening-countdown__title,
  #kd-opening-countdown .kd-opening-countdown__title {
    display: inline !important;
    flex: 0 0 auto !important;
    width: auto !important;
    font-size: 0.9rem !important;
  }
  #header .kd-opening-countdown__subtitle,
  #header .kd-opening-countdown__check,
  #kd-opening-countdown .kd-opening-countdown__subtitle,
  #kd-opening-countdown .kd-opening-countdown__check {
    font-size: 0.9rem !important;
  }
  #header .kd-opening-countdown__timer,
  #kd-opening-countdown .kd-opening-countdown__timer {
    gap: 0.15rem !important;
  }
  #header .kd-opening-countdown__unit,
  #kd-opening-countdown .kd-opening-countdown__unit {
    gap: 0.18rem !important;
    padding: 0.12rem 0.4rem !important;
  }
  #header .kd-opening-countdown__value,
  #kd-opening-countdown .kd-opening-countdown__value {
    font-size: 0.95rem !important;
  }
  #header .kd-opening-countdown__label,
  #kd-opening-countdown .kd-opening-countdown__label {
    font-size: 0.65rem !important;
  }
}

/* Trust bar */
.kd-trustbar {
  background: var(--kd-navy);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
}
.kd-trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0.55rem 0;
  list-style: none;
  justify-content: space-between;
}
.kd-trustbar li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.92);
}
.kd-trustbar span {
  color: var(--kd-yellow);
  font-weight: 800;
}

/* Mobile: hide 4 static trust items; keep Kundenzufriedenheit badge (.kd-trust-badge) */
@media (max-width: 767px) {
  .kd-trustbar .kd-trustbar__static {
    display: none !important;
  }
}

/* Header */
#header {
  background: #fff;
  border-bottom: 1px solid var(--kd-line);
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.04);
  margin-bottom: 1.25rem;
}
#header .header-nav {
  border-bottom: none;
  background: #fff !important;
  min-height: auto;
  padding: 0;
}
#header .kd-header-nav-mobile:not(:has(.mobile)) {
  display: none;
}
#header .header-top {
  background: #fff !important;
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--kd-line);
}
.kd-header-primary {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-bottom: 0.75rem;
}
.kd-header-logo {
  flex: 0 0 auto;
  min-width: 0;
}
.kd-header-logo h1 {
  margin: 0;
  font-size: inherit;
  line-height: 1.1;
}
/* Image logo hidden in front headers (BO file kept on disk) */
.logo img,
#_desktop_logo img,
#_mobile_logo img,
.kd-header-logo img,
.kd-checkout-header__logo img {
  display: none !important;
}
.kd-header-logo,
#_desktop_logo,
.kd-header-logo a,
#_desktop_logo a {
  max-width: none;
  line-height: 1.1;
}

/* Animated gradient wordmark (aurora glow) */
.kd-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  line-height: 1.1;
  max-width: 100%;
}
.kd-wordmark:hover,
.kd-wordmark:focus {
  text-decoration: none !important;
}
.kd-wordmark__text {
  --kd-wordmark-gradient: linear-gradient(
    90deg,
    #0a3d3a 0%,
    #0f766e 18%,
    #14b8a6 36%,
    #e8c547 54%,
    #c9a227 68%,
    #14b8a6 82%,
    #0f766e 100%
  );
  position: relative;
  display: inline-block;
  z-index: 0;
  font-family: var(--font-display), "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
  background: var(--kd-wordmark-gradient);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: kd-wordmark-flow 12s linear infinite;
}
.kd-wordmark__text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--kd-wordmark-gradient);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: blur(24px);
  opacity: 0.9;
  animation: kd-wordmark-flow 12s linear infinite;
  pointer-events: none;
}
@keyframes kd-wordmark-flow {
  to {
    background-position: 250% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kd-wordmark__text,
  .kd-wordmark__text::before {
    animation: none;
    background-position: 0 0;
  }
}
.kd-checkout-header__logo .kd-wordmark__text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.kd-header-menu {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: visible;
}
.kd-header-menu .menu,
.kd-header-menu #_desktop_top_menu {
  width: auto !important;
  max-width: 100%;
  float: none !important;
}
@media (min-width: 768px) {
  #header .kd-header-menu > .menu > .top-menu[data-depth="0"],
  #header #_desktop_top_menu > .top-menu[data-depth="0"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem;
    align-items: center;
    width: auto !important;
  }
  #header .kd-header-menu > .menu > .top-menu[data-depth="0"] > li,
  #header #_desktop_top_menu > .top-menu[data-depth="0"] > li {
    margin: 0 !important;
    float: none !important;
    flex: 0 0 auto;
    position: relative;
  }
}
.kd-header-search #search_widget,
.kd-header-search .search-widget,
.kd-header-search .search-widgets {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.kd-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.kd-header-actions #_desktop_contact_link,
.kd-header-actions #_desktop_user_info,
.kd-header-actions #_desktop_cart {
  display: flex;
  align-items: center;
}
.kd-header-actions #contact-link a,
.kd-header-actions .user-info a,
.kd-header-actions .blockcart .header,
.kd-header-actions .blockcart a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--kd-ink) !important;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.kd-header-actions #contact-link a:hover,
.kd-header-actions .user-info a:hover,
.kd-header-actions .blockcart:hover .header,
.kd-header-actions .blockcart:hover a {
  background: #ccfbf1;
  color: var(--kd-green) !important;
}
.kd-header-actions .blockcart {
  background: #f3f6fb;
  border-radius: 999px;
  padding: 0;
  box-shadow: none !important;
}
.kd-header-actions .blockcart .header {
  margin: 0;
}
.kd-header-actions .blockcart .material-icons,
.kd-header-actions .user-info .material-icons {
  font-size: 18px;
  line-height: 1;
}
.kd-header-actions .language-selector,
.kd-header-actions .currency-selector {
  display: none !important;
}
.kd-header-search {
  width: 100%;
}
.kd-header-search #search_widget,
.kd-header-search .search-widget,
.kd-header-search .search-widgets {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
}
.kd-header-search .kd-search form,
.kd-search form {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  position: relative !important;
}
.kd-search__field {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  background: #f5f7fb;
  border: 1px solid var(--kd-line);
  border-radius: 999px;
  padding: 0.15rem 1rem 0.15rem 0.9rem;
  min-width: 0;
  position: relative;
}
.kd-search__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--kd-navy);
  line-height: 0;
  pointer-events: none;
  position: static !important;
}
.kd-search__icon .material-icons {
  font-size: 22px !important;
  line-height: 1 !important;
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}
.kd-search__field input[type="text"],
.kd-header-search .kd-search input[type="text"] {
  flex: 1 1 auto;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.7rem 0 !important;
  margin: 0 !important;
  font-size: 0.98rem;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  position: static !important;
}
.kd-search__btn,
.kd-header-search .kd-search button[type="submit"] {
  flex: 0 0 auto !important;
  appearance: none;
  border: 0 !important;
  background: var(--kd-green) !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem !important;
  border-radius: 999px !important;
  cursor: pointer;
  white-space: nowrap;
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.kd-search__btn:hover,
.kd-header-search .kd-search button[type="submit"]:hover {
  background: var(--kd-green-dark) !important;
}
.kd-header-search .search-widgets > form > .material-icons.search,
.kd-header-search .search-widgets > form > .material-icons.clear {
  display: none !important;
}
@media (min-width: 768px) {
  #header .kd-header-nav-mobile {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #header {
    margin-bottom: 0.75rem;
    overflow: visible;
  }
  /* Kill Classic floats that break the mobile bar */
  #header .header-nav .mobile,
  #header .kd-mobile-bar,
  #header .kd-mobile-bar *,
  #header #menu-icon,
  #header #_mobile_logo,
  #header #_mobile_cart,
  #header #_mobile_user_info,
  #header #_desktop_logo,
  #header #_desktop_cart,
  #header #_desktop_user_info {
    float: none !important;
  }

  /* Classic theme.css: max-height:50px + icon line-height:50px → Hamburger überlappt Suche */
  #header .header-nav,
  #header .header-nav.kd-header-nav-mobile {
    display: block !important;
    position: relative;
    z-index: 30;
    border-bottom: 1px solid var(--kd-line);
    background: #fff !important;
    padding: 0.4rem 0 0.55rem !important;
    min-height: 56px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  #header .header-nav #menu-icon .material-icons,
  #header .kd-mobile-bar #menu-icon .material-icons,
  #header .header-nav .material-icons {
    line-height: 1 !important;
  }

  /* Row 1: hamburger | logo | small cart */
  .kd-mobile-bar {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 0.55rem;
    width: 100% !important;
    min-height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    position: relative;
    z-index: 31;
  }
  .kd-mobile-bar__menu,
  .kd-mobile-bar #menu-icon {
    grid-column: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--kd-green);
    cursor: pointer;
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }
  .kd-mobile-bar #menu-icon .material-icons {
    font-size: 26px;
    line-height: 1;
  }
  .kd-mobile-bar__logo,
  .kd-mobile-bar #_mobile_logo {
    grid-column: 2;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    z-index: 1;
  }
  .kd-mobile-bar #_mobile_logo #_desktop_logo,
  .kd-mobile-bar #_mobile_logo h1,
  .kd-mobile-bar #_mobile_logo a,
  .kd-mobile-bar #_mobile_logo .kd-wordmark {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100%;
    line-height: 1.1 !important;
  }
  .kd-mobile-bar #_mobile_logo .kd-wordmark__text {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  }
  .kd-mobile-bar #_mobile_logo img,
  .kd-mobile-bar #_desktop_logo img,
  .kd-mobile-bar .logo img {
    display: none !important;
  }

  /* Small cart icon only — right corner */
  .kd-mobile-bar__cart,
  .kd-mobile-bar #_mobile_cart {
    grid-column: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }
  .kd-mobile-bar #_mobile_cart #_desktop_cart,
  .kd-mobile-bar #_mobile_cart .blockcart,
  .kd-mobile-bar #_mobile_cart .cart-preview {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    background: #ecfdf5 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    float: none !important;
  }
  .kd-mobile-bar #_mobile_cart .header,
  .kd-mobile-bar #_mobile_cart a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--kd-green) !important;
    text-decoration: none !important;
    position: relative !important;
  }
  .kd-mobile-bar #_mobile_cart .material-icons {
    font-size: 22px !important;
    line-height: 1 !important;
  }
  .kd-mobile-bar #_mobile_cart .cart-products-count,
  .kd-mobile-bar #_mobile_cart .cart-products-count-bubble {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    min-width: 16px;
    height: 16px;
    padding: 0 4px !important;
    border-radius: 999px;
    background: var(--kd-green) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700;
    line-height: 16px !important;
    text-align: center;
  }
  /* Hide cart labels / dropdown / bulky body */
  .kd-mobile-bar #_mobile_cart .cart-title,
  .kd-mobile-bar #_mobile_cart .cart-subtotals,
  .kd-mobile-bar #_mobile_cart .body,
  .kd-mobile-bar #_mobile_cart .cart-dropdown,
  .kd-mobile-bar #_mobile_cart .cart-hover-content,
  .kd-mobile-bar #_mobile_cart .blockcart-modal,
  .kd-mobile-bar #_mobile_cart span:not(.cart-products-count):not(.material-icons) {
    display: none !important;
  }

  /* Account slot exists for JS swap but stays invisible */
  .kd-mobile-user-slot,
  #header #_mobile_user_info {
    display: none !important;
  }

  /* Row 2: search BELOW logo bar — never overlap */
  #header .header-top {
    position: relative;
    z-index: 20;
    clear: both;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem;
    margin-top: 0 !important;
  }
  .kd-header-search {
    position: relative;
    z-index: 20;
    margin-top: 0 !important;
    clear: both;
    width: 100%;
  }
  .kd-header-search .kd-search form,
  .kd-search form {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }
  .kd-search__btn,
  .kd-header-search .kd-search button[type="submit"] {
    padding: 0.7rem 1rem !important;
    font-size: 0.88rem;
  }

  /* Trustbar kompakter */
  .kd-trustbar ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
  }
  .kd-trustbar li {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.72rem;
  }

  /* Mobile flyout menu */
  #mobile_top_menu_wrapper {
    width: 100% !important;
    margin: 0.5rem 0 0 !important;
    padding: 0.65rem !important;
    background: #fff;
    border: 1px solid var(--kd-line);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 27, 45, 0.08);
  }
  #mobile_top_menu_wrapper .js-top-menu,
  #mobile_top_menu_wrapper .menu,
  #mobile_top_menu_wrapper #_mobile_top_menu {
    width: 100% !important;
    float: none !important;
  }
  #mobile_top_menu_wrapper .top-menu,
  #mobile_top_menu_wrapper .kd-top-menu,
  #header #mobile_top_menu_wrapper .top-menu {
    display: block !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #mobile_top_menu_wrapper .top-menu > li,
  #header #mobile_top_menu_wrapper .top-menu > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--kd-line);
    position: relative !important;
  }
  #mobile_top_menu_wrapper .top-menu > li:last-child { border-bottom: 0; }
  #mobile_top_menu_wrapper .top-menu a[data-depth="0"],
  #header #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    padding: 0.85rem 2.5rem 0.85rem 0.35rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 1rem !important;
    white-space: normal !important;
  }
  #mobile_top_menu_wrapper .top-menu a[data-depth="0"]:hover,
  #mobile_top_menu_wrapper .top-menu > li.current > a[data-depth="0"] {
    background: #ecfdf5 !important;
    color: var(--kd-green) !important;
  }
  /* Chevron rechts (Classic setzt oft links/float falsch) */
  #mobile_top_menu_wrapper .navbar-toggler {
    position: absolute !important;
    right: 0.35rem !important;
    left: auto !important;
    top: 0.85rem !important;
    float: none !important;
    padding: 0.15rem !important;
    margin: 0 !important;
    z-index: 2;
  }
  /* Untermenü: accordion inline — Desktop-Popover (absolute) darf hier NICHT greifen */
  #header #mobile_top_menu_wrapper .popover.sub-menu.js-sub-menu,
  #header #mobile_top_menu_wrapper .popover.sub-menu,
  #mobile_top_menu_wrapper .popover.sub-menu.js-sub-menu,
  #mobile_top_menu_wrapper .popover.sub-menu.collapse,
  #mobile_top_menu_wrapper .collapse {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 0.45rem 1.75rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    z-index: auto !important;
  }
  #mobile_top_menu_wrapper .popover.sub-menu .top-menu,
  #mobile_top_menu_wrapper .popover.sub-menu .kd-top-menu {
    display: block !important;
    width: 100% !important;
  }
  #mobile_top_menu_wrapper .popover.sub-menu .top-menu > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 0 !important;
  }
  #mobile_top_menu_wrapper .popover.sub-menu a {
    display: block !important;
    padding: 0.5rem 0.35rem 0.5rem 0.15rem !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--kd-ink) !important;
  }
  #mobile_top_menu_wrapper .js-top-menu-bottom {
    display: none !important; /* Währung/Sprache/Kontakt-Slots leer → keine Phantom-Zeilen */
  }
}

/* Menu — Desktop only horizontal pills (must not affect mobile flyout) */
@media (min-width: 768px) {
  #header .kd-header-menu > .menu > .top-menu[data-depth="0"],
  #header #_desktop_top_menu > .top-menu[data-depth="0"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem;
    align-items: center;
    width: auto !important;
  }
  #header .kd-header-menu > .menu > .top-menu[data-depth="0"] > li,
  #header #_desktop_top_menu > .top-menu[data-depth="0"] > li {
    margin: 0 !important;
    float: none !important;
    flex: 0 0 auto;
    position: relative;
  }
  #header .kd-header-menu .top-menu a[data-depth="0"],
  #header #_desktop_top_menu > .top-menu[data-depth="0"] > li > a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--kd-ink) !important;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
  }
  #header .kd-header-menu .top-menu a[data-depth="0"]:hover,
  #header .kd-header-menu .top-menu > li.current > a[data-depth="0"] {
    background: #ecfdf5;
    color: var(--kd-green) !important;
  }
}

/* Fallback base (desktop selectors above win at >=768) */
#header .kd-top-menu,
#header .top-menu {
  /* intentionally unstyled globally — see desktop media query / mobile overrides */
}
#header .top-menu > li {
  margin: 0 !important;
  float: none !important;
}
#header .top-menu a[data-depth="0"] {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--kd-ink) !important;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Menü-Icons (eigene Symbole, keine Franchise-Markenlogos) */
#header .kd-menu-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* Pokémon: stilisierte Sammelkugel in Markenfarben (kein offizieller Pokéball) */
#category-3 > a[data-depth="0"] .kd-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23e11833'/%3E%3Cpath d='M2 12h20' stroke='%230f1b2d' stroke-width='2.2'/%3E%3Cpath d='M2 12a10 10 0 0 1 20 0' fill='%23fff'/%3E%3Ccircle cx='12' cy='12' r='3.2' fill='%23fff' stroke='%230f1b2d' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23ffcb05'/%3E%3C/svg%3E");
}
/* One Piece: stylisierte Welle + Stern */
#category-4 > a[data-depth="0"] .kd-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2316325c' d='M3 16c2.5-2 4.5-3 7-3s4.5 1 7 3c1.2-1.4 2.2-2 4-2v3c-1.5 0-2.3.5-3.5 1.8L16 17c-2.2-1.7-3.8-2.5-6-2.5S6.2 15.3 4 17l-1.5-1.8C3.7 14.2 3.3 14 3 14v2z'/%3E%3Cpath fill='%23ffcb05' d='M12 3.5l1.1 2.4 2.6.3-1.9 1.9.5 2.6L12 9.5 9.7 10.7l.5-2.6-1.9-1.9 2.6-.3z'/%3E%3C/svg%3E");
}
/* Yu-Gi-Oh!: Sternenkarte */
#category-5 > a[data-depth="0"] .kd-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2' fill='%2316325c' stroke='%23ffcb05' stroke-width='1.6'/%3E%3Cpath fill='%23ffcb05' d='M12 7.2l1.05 2.2 2.4.3-1.75 1.7.45 2.4L12 12.6l-2.15 1.2.45-2.4-1.75-1.7 2.4-.3z'/%3E%3C/svg%3E");
}
/* Magic: Funken-Orb */
#category-7 > a[data-depth="0"] .kd-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6.5' fill='%232f6fed'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23ffcb05'/%3E%3Cpath stroke='%23e11833' stroke-width='1.5' stroke-linecap='round' d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.2 5.2l2.1 2.1M16.7 16.7l2.1 2.1M5.2 18.8l2.1-2.1M16.7 7.3l2.1-2.1'/%3E%3C/svg%3E");
}
/* Ankauf: Siegel/Box */
#lnk-ankauf > a[data-depth="0"] .kd-menu-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='8' width='16' height='12' rx='2' fill='%2316325c'/%3E%3Cpath fill='%23ffcb05' d='M4 10h16v3H4z'/%3E%3Cpath fill='none' stroke='%23ffcb05' stroke-width='1.6' d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Ccircle cx='12' cy='15.5' r='1.4' fill='%23fff'/%3E%3C/svg%3E");
}
#mobile_top_menu_wrapper .kd-menu-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  display: inline-block;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}
#mobile_top_menu_wrapper #category-3 > a .kd-menu-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23e11833'/%3E%3Cpath d='M2 12h20' stroke='%230f1b2d' stroke-width='2.2'/%3E%3Cpath d='M2 12a10 10 0 0 1 20 0' fill='%23fff'/%3E%3Ccircle cx='12' cy='12' r='3.2' fill='%23fff' stroke='%230f1b2d' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23ffcb05'/%3E%3C/svg%3E"); }
#mobile_top_menu_wrapper #category-4 > a .kd-menu-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2316325c' d='M3 16c2.5-2 4.5-3 7-3s4.5 1 7 3c1.2-1.4 2.2-2 4-2v3c-1.5 0-2.3.5-3.5 1.8L16 17c-2.2-1.7-3.8-2.5-6-2.5S6.2 15.3 4 17l-1.5-1.8C3.7 14.2 3.3 14 3 14v2z'/%3E%3Cpath fill='%23ffcb05' d='M12 3.5l1.1 2.4 2.6.3-1.9 1.9.5 2.6L12 9.5 9.7 10.7l.5-2.6-1.9-1.9 2.6-.3z'/%3E%3C/svg%3E"); }
#mobile_top_menu_wrapper #category-5 > a .kd-menu-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2' fill='%2316325c' stroke='%23ffcb05' stroke-width='1.6'/%3E%3Cpath fill='%23ffcb05' d='M12 7.2l1.05 2.2 2.4.3-1.75 1.7.45 2.4L12 12.6l-2.15 1.2.45-2.4-1.75-1.7 2.4-.3z'/%3E%3C/svg%3E"); }
#mobile_top_menu_wrapper #category-7 > a .kd-menu-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6.5' fill='%232f6fed'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23ffcb05'/%3E%3Cpath stroke='%23e11833' stroke-width='1.5' stroke-linecap='round' d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.2 5.2l2.1 2.1M16.7 16.7l2.1 2.1M5.2 18.8l2.1-2.1M16.7 7.3l2.1-2.1'/%3E%3C/svg%3E"); }
#mobile_top_menu_wrapper #lnk-ankauf > a .kd-menu-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='8' width='16' height='12' rx='2' fill='%2316325c'/%3E%3Cpath fill='%23ffcb05' d='M4 10h16v3H4z'/%3E%3Cpath fill='none' stroke='%23ffcb05' stroke-width='1.6' d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Ccircle cx='12' cy='15.5' r='1.4' fill='%23fff'/%3E%3C/svg%3E"); }

/* Desktop: Kategorie-Untermenü als Dropdown nach unten (nicht auf Mobile anwenden) */
@media (min-width: 768px) {
  #header .kd-header-menu .top-menu > li,
  #header #_desktop_top_menu > .top-menu > li {
    position: relative;
  }
  #header .kd-header-menu .popover.sub-menu.js-sub-menu,
  #header #_desktop_top_menu .popover.sub-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 80;
    min-width: 220px;
    max-width: min(320px, 90vw);
    margin: 0 !important;
    padding: 0.55rem;
    border: 1px solid var(--kd-line, #e6ebf2);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 27, 45, 0.12);
    background: #fff;
    float: none !important;
    transform: none !important;
  }
  #header .kd-header-menu .popover.sub-menu .top-menu,
  #header .kd-header-menu .popover.sub-menu .kd-top-menu,
  #header #_desktop_top_menu .popover.sub-menu .top-menu {
    display: block !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0 !important;
    align-items: stretch !important;
  }
  #header .kd-header-menu .popover.sub-menu .top-menu > li,
  #header #_desktop_top_menu .popover.sub-menu .top-menu > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
  }
  #header .kd-header-menu .popover.sub-menu a,
  #header #_desktop_top_menu .popover.sub-menu a {
    display: block !important;
    width: 100% !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 10px;
    font-weight: 600;
    color: var(--kd-ink) !important;
    white-space: normal !important;
  }
  #header .kd-header-menu .popover.sub-menu a:hover,
  #header #_desktop_top_menu .popover.sub-menu a:hover {
    background: #ecfdf5;
    color: var(--kd-green) !important;
  }
}

#search_widget form,
.search-widgets form {
  border: 1.5px solid var(--kd-line) !important;
  border-radius: 999px !important;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: none !important;
}
#search_widget input,
.search-widgets input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Buttons */
.btn-primary,
.btn.btn-primary,
.add-to-cart,
.cart-summary .btn-primary,
.kd-newsletter .btn-primary {
  background: var(--kd-navy) !important;
  border: 0 !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-transform: none;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--kd-green-dark) !important;
  color: #fff !important;
  transform: none;
  box-shadow: none !important;
}

/* Classic-Theme Cyan (#24b9d7) → Markengrün */
a,
#header .header-nav .blockcart a:hover,
#header .header-nav .cart-preview.active,
.pagination .current a,
.page-list .current a {
  color: var(--kd-green);
}
#header .header-nav .cart-preview.active {
  background: var(--kd-green) !important;
}
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i {
  color: #fff !important;
}

/* Slider — width-driven 3:1 (all viewports)
   Classic theme.css sets .carousel .carousel-inner{height:340px} and
   .carousel .carousel-item{height:100%} — that fixed box fought img aspect-ratio
   and caused letterboxing / “side margins”. Frame owns the ratio; img covers it. */
#carousel,
.homeslider {
  border-radius: 22px;
  overflow: hidden;
  border: none;
  box-shadow: 0 18px 40px rgba(15, 27, 45, 0.08);
  margin-bottom: 1.75rem;
  background: #0a1424;
  line-height: 0;
  left: auto;
  width: 100%;
  margin-left: 0;
  padding-bottom: 0;
}
#carousel .carousel-inner,
.homeslider {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden;
}
/* Override classic .carousel .carousel-item{height:100%} */
#carousel .carousel-item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#carousel .carousel-item a,
#carousel .carousel-item figure {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #0a1424;
}
#carousel .carousel-item img,
.homeslider img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 767px) {
  #carousel,
  .homeslider {
    border-radius: 14px;
    margin-bottom: 1.1rem;
  }
  /* Keep 3:1 on mobile — no ratio override (inherits from figure/a above) */
  #carousel .caption,
  .homeslider .caption {
    max-width: 85%;
    padding: 0.85rem 1rem;
  }
  #carousel .caption h2 {
    font-size: 1.05rem !important;
  }
  #carousel .caption p {
    font-size: 0.82rem !important;
  }
}
#carousel .carousel-indicators {
  display: flex !important;
  justify-content: center;
  gap: 0.35rem;
  bottom: 14px;
  margin: 0;
  z-index: 5;
}
#carousel .carousel-indicators li {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0;
  border-color: rgba(255,255,255,0.7);
  background: transparent;
}
#carousel .carousel-indicators .active {
  background: var(--kd-yellow);
  border-color: var(--kd-yellow);
}
#carousel .caption,
.homeslider .caption {
  background: linear-gradient(90deg, rgba(9,14,24,0.72), transparent 65%);
  left: 0 !important;
  bottom: 0 !important;
  max-width: 55%;
  padding: 1.4rem 1.6rem;
  line-height: 1.35;
  position: absolute !important;
  margin: 0 !important;
  text-align: left !important;
}
#carousel .caption h2 { color: var(--kd-yellow) !important; }
#carousel .caption p { color: #fff !important; }

/* Homepage showcase */
.kd-home {
  margin: 0 0 2rem;
}
.kd-home-intro {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 28px rgba(15,27,45,0.04);
  text-align: center;
}
.kd-home-intro h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}
.kd-home-intro p {
  margin: 0 auto;
  color: var(--kd-muted);
  font-weight: 600;
  max-width: 70ch;
}
.kd-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.kd-tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--kd-line);
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(15,27,45,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 220px;
}
.kd-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15,27,45,0.1);
}
.kd-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.kd-tile span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(15,27,45,0.88);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
}
.kd-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* Homepage product sections */
.kd-home-section {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 0 0 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 27, 45, 0.05);
}
.page-index .kd-home-section:last-of-type {
  margin-bottom: 0.5rem;
}
.kd-home-section__head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--kd-line);
}
.kd-home-section__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kd-muted);
}
.kd-home-section .products-section-title,
.kd-home-section h2 {
  margin: 0 0 0.35rem !important;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  text-align: left !important;
  text-transform: none !important;
}
.kd-home-section__lead {
  margin: 0;
  color: var(--kd-muted);
  font-weight: 600;
  max-width: 60ch;
}
.kd-home-section .products {
  margin: 0 !important;
}

/* Homepage product carousel */
.kd-product-carousel {
  position: relative;
  margin: 0 -0.15rem;
}
.kd-product-carousel__track.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 2.6rem 0.85rem;
  margin: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #c9d4e3 transparent;
}
.kd-product-carousel__track.products::-webkit-scrollbar {
  height: 6px;
}
.kd-product-carousel__track.products::-webkit-scrollbar-thumb {
  background: #c9d4e3;
  border-radius: 999px;
}
.kd-home-section .kd-product-carousel__track > .js-product,
.kd-home-section .kd-product-carousel__track > .product {
  flex: 0 0 clamp(210px, 23vw, 250px) !important;
  width: clamp(210px, 23vw, 250px) !important;
  min-width: clamp(210px, 23vw, 250px) !important;
  max-width: 250px !important;
  margin: 0 !important;
  scroll-snap-align: start;
  float: none !important;
  display: block !important;
}
.kd-home-section .kd-product-carousel__track .product-miniature {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
}
.kd-home-section .kd-product-carousel__track .thumbnail-container {
  width: 100% !important;
  margin-bottom: 0 !important;
}
.kd-product-carousel__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--kd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kd-ink);
  box-shadow: 0 8px 20px rgba(15, 27, 45, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.15s ease, transform 0.15s ease;
}
.kd-product-carousel.is-scrollable .kd-product-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}
.kd-product-carousel__nav:hover:not(:disabled) {
  background: var(--kd-ink);
  color: var(--kd-yellow);
}
.kd-product-carousel__nav:disabled {
  opacity: 0.35 !important;
  cursor: default;
}
.kd-product-carousel__nav--prev { left: 0.1rem; }
.kd-product-carousel__nav--next { right: 0.1rem; }
.kd-product-carousel__nav .material-icons {
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 767px) {
  .kd-product-carousel__track.products {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
  .kd-home-section .kd-product-carousel__track > .js-product,
  .kd-home-section .kd-product-carousel__track > .product {
    flex-basis: 72% !important;
    width: 72% !important;
    min-width: 72% !important;
    max-width: 280px !important;
  }
  .kd-product-carousel__nav {
    display: none;
  }
}
.kd-home-section__foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--kd-line);
  text-align: right;
}
.kd-home-section__all {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--kd-ink) !important;
  text-decoration: none !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #f3f6fb;
  transition: background 0.15s ease, color 0.15s ease;
}
.kd-home-section__all:hover {
  background: var(--kd-ink);
  color: var(--kd-yellow) !important;
}
.kd-home-section--offers {
  border-color: #ffe7a3;
  background: linear-gradient(180deg, #fffdf6 0%, #fff 42%);
}
.kd-home-section--offers .kd-home-section__eyebrow { color: #b45309; }
.kd-home-section--new .kd-home-section__eyebrow { color: var(--kd-green); }
.kd-home-section--popular .kd-home-section__eyebrow { color: var(--kd-red); }
.kd-cat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  text-decoration: none !important;
  color: var(--kd-ink) !important;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15,27,45,0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.kd-cat:hover {
  border-color: #c9d7f5;
  transform: translateY(-2px);
  color: var(--kd-green) !important;
}
.kd-cat img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

#custom-text {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

/* Products */
.products-section-title {
  font-size: 1.4rem !important;
  margin-bottom: 1rem !important;
  border: 0 !important;
  text-align: left !important;
}
.product-miniature,
.card.card-block {
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,27,45,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,27,45,0.08);
}
.product-miniature .thumbnail-container {
  background: #fff;
}
.product-miniature .product-title a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--kd-ink);
}
.product-miniature .price {
  font-family: var(--font-display);
  color: var(--kd-red);
  font-size: 1.15rem;
  font-weight: 800;
}
.badge, .product-flags .new, .product-flags .on-sale {
  background: var(--kd-red) !important;
  font-family: var(--font-display);
  border-radius: 8px;
}

/* Product page */
#product .product-prices .current-price {
  font-family: var(--font-display);
  color: var(--kd-red);
  font-size: 1.8rem;
  font-weight: 800;
}
#product .product-information {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  padding: 1.25rem;
}
#product .product-cover img,
#product .js-qv-product-cover {
  border-radius: 16px;
  border: 1px solid var(--kd-line);
  box-shadow: 0 12px 28px rgba(15,27,45,0.06);
  background: #fff;
}
.breadcrumb { background: transparent; }
.breadcrumb ol { font-weight: 600; color: var(--kd-muted); }

/* Newsletter */
.kd-footer-wrap { margin-top: 1rem; }
.kd-newsletter-row {
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
}
.kd-newsletter, .block_newsletter {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  flex: 0 0 100%;
  padding: 0 !important;
  margin: 0 0 0.75rem !important;
  border-bottom: 0 !important;
  background: transparent !important;
}
.kd-newsletter-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, #0d5f59 0%, #0f766e 55%, #14b8a6 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.22);
}
.kd-newsletter-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--kd-yellow);
  color: var(--kd-ink);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.kd-newsletter h3, #block-newsletter-label {
  font-family: var(--font-display);
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin: 0 0 0.35rem;
  padding-top: 0 !important;
}
.kd-newsletter-text {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin: 0;
}
.kd-newsletter form {
  position: static !important;
  display: block;
  width: 100%;
}
.kd-newsletter-fields {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
  position: relative;
  width: 100%;
}
.kd-newsletter-fields .form-control,
.kd-newsletter input[type="email"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 48px;
  height: 48px !important;
  border-radius: 12px !important;
  border: 0 !important;
  font-weight: 600;
  padding: 0.65rem 0.9rem !important;
  box-shadow: none !important;
}
.kd-newsletter form button[type="submit"],
.kd-newsletter-fields .btn,
.kd-newsletter .btn-primary {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  flex: 0 0 auto;
  min-height: 48px;
  height: 48px;
  margin: 0 !important;
  padding: 0 1.15rem !important;
  background: var(--kd-yellow) !important;
  color: var(--kd-ink) !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  box-shadow: none !important;
}
.kd-newsletter-legal,
.kd-newsletter form p.kd-newsletter-legal,
#footer .kd-newsletter p.kd-newsletter-legal {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  margin: 0.7rem 0 0 !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: break-word;
}
.kd-newsletter-legal a {
  color: var(--kd-yellow) !important;
  text-decoration: underline;
  font-weight: 700;
}
.kd-newsletter .alert {
  margin-bottom: 0.75rem;
}

/* Footer */
.kd-footer, .footer-container {
  background: #0a3d3a !important;
  color: #d5ebe8 !important;
  border-top: 0;
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}
.kd-footer .h3, .kd-footer .h4,
.footer-container .h3, .footer-container .h4 {
  font-family: var(--font-display) !important;
  color: #fff !important;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.kd-footer a, .footer-container a {
  color: #a7e0d8 !important;
  font-weight: 600;
}
.kd-footer a:hover, .footer-container a:hover { color: var(--kd-yellow) !important; }

/* Instagram: Textlink statt Icon-Button */
.kd-footer .block-social.kd-footer-social,
.footer-container .block-social.kd-footer-social {
  text-align: left !important;
  margin: 0 0 1rem;
}
.kd-footer .block-social.kd-footer-social ul,
.footer-container .block-social.kd-footer-social ul {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kd-footer .block-social.kd-footer-social ul li,
.footer-container .block-social.kd-footer-social ul li {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0.35rem !important;
  background: none !important;
  background-image: none !important;
  cursor: default;
}
.kd-footer .block-social.kd-footer-social ul li:hover,
.footer-container .block-social.kd-footer-social ul li:hover {
  background: none !important;
}
.kd-footer .block-social.kd-footer-social ul li a,
.footer-container .block-social.kd-footer-social ul li a {
  display: inline !important;
  height: auto !important;
  overflow: visible !important;
  text-indent: 0 !important;
  white-space: normal !important;
  color: #a7e0d8 !important;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}
.kd-footer .block-social.kd-footer-social ul li a:hover,
.footer-container .block-social.kd-footer-social ul li a:hover {
  color: var(--kd-yellow) !important;
}

/* Mobile accordion panels (Classic: .links ul bg #f6f6f6) — mint links fail contrast on white */
@media (max-width: 767px) {
  .kd-footer .links ul a,
  .footer-container .links ul a,
  .kd-footer .links ul > li a,
  .footer-container .links ul > li a {
    color: #134e4a !important;
  }
  .kd-footer .links ul a:hover,
  .footer-container .links ul a:hover,
  .kd-footer .links ul a:focus,
  .footer-container .links ul a:focus,
  .kd-footer .links ul a:active,
  .footer-container .links ul a:active {
    color: #0a3d3a !important;
  }
}
.kd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.75rem;
  padding-top: 1rem;
}
.kd-copyright {
  color: rgba(255,255,255,0.55) !important;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 991px) {
  .kd-showcase, .kd-cats { grid-template-columns: 1fr; }
  .kd-newsletter-inner { grid-template-columns: 1fr; }
  .kd-newsletter-fields { flex-wrap: wrap; }
  .kd-newsletter-fields .form-control,
  .kd-newsletter input[type="email"] { flex: 1 1 100%; }
  .kd-newsletter form button[type="submit"],
  .kd-newsletter-fields .btn { width: 100%; }
  .kd-trustbar ul { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .logo img, #_desktop_logo img, #_mobile_logo img { display: none !important; }
  .kd-tile img { height: 180px; }
}

/* Force modern menu casing */
#header .top-menu a,
#header .top-menu a span,
#_desktop_top_menu a {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}
#header .menu {
  margin-top: 0.15rem;
}

/* Lagerbestand auf Produktseite */
.kd-stock-amount {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.8rem;
  display: inline-block;
  border-radius: 10px;
  background: #e8f7ee;
  color: #14532d;
  font-size: 0.95rem;
  border: 1px solid #bbf7d0;
}
.kd-stock-amount--out {
  background: #fef2f2;
  color: #7f1d1d;
  border-color: #fecaca;
}

/* Reassurance auf Produktseite: Icon + Text sauber strukturiert */
.blockreassurance_product {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.blockreassurance_product > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 14px;
}
.blockreassurance_product .item-product {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  background: #eef3fb;
  grid-row: 1 / span 2;
}
.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.blockreassurance_product .item-product svg path,
.blockreassurance_product .item-product svg g {
  fill: var(--kd-green) !important;
}
.blockreassurance_product .block-title {
  font-family: var(--font-display);
  font-weight: 700 !important;
  font-size: 0.98rem;
  color: var(--kd-ink) !important;
  line-height: 1.3;
  grid-column: 2;
}
.blockreassurance_product p {
  margin: 0.15rem 0 0 !important;
  color: var(--kd-muted) !important;
  font-size: 0.9rem;
  line-height: 1.45;
  grid-column: 2;
}
.blockreassurance_product .clearfix {
  display: none;
}

/* Overview slider captions */
#carousel .caption,
.homeslider .caption {
  background: linear-gradient(90deg, rgba(9,14,24,0.78), rgba(9,14,24,0.15) 70%, transparent) !important;
  max-width: 48% !important;
}

/* ===== CMS / Legal / About / Payment / Contact ===== */
.page-cms #content.page-cms,
.kd-contact-page {
  max-width: 980px;
  margin: 0 auto 2.5rem;
}
.kd-cms__hero {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 22px;
  padding: 1.6rem 1.75rem 1.4rem;
  margin: 0 0 1.35rem;
  box-shadow: 0 12px 28px rgba(15,27,45,0.05);
}
.kd-cms__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kd-green);
}
.kd-cms__hero h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  color: var(--kd-ink);
}
.kd-cms__lead {
  margin: 0;
  color: var(--kd-muted);
  font-weight: 600;
  max-width: 62ch;
  line-height: 1.55;
}
.kd-cms__meta {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--kd-muted);
}
.kd-cms__toc {
  background: #f4f7fb;
  border: 1px solid var(--kd-line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}
.kd-cms__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  gap: 1.5rem;
}
.kd-cms__toc a {
  color: var(--kd-ink);
  font-weight: 600;
  text-decoration: none;
}
.kd-cms__toc a:hover { color: var(--kd-green); }
.kd-cms__body section {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 16px;
}
.kd-cms__body h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--kd-ink);
}
.kd-cms__body h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--kd-ink);
}
.kd-cms__body p,
.kd-cms__body li {
  color: #334155;
  line-height: 1.6;
}
.kd-cms__body ul { padding-left: 1.2rem; }
.kd-cms__callout {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f5d78a;
}
.kd-cms__formbox {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 0.95rem;
}

/* Payment */
.kd-pay__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}
.kd-pay__trust > div {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}
.kd-pay__trust strong {
  display: block;
  font-family: var(--font-display);
  color: var(--kd-ink);
  margin-bottom: 0.2rem;
}
.kd-pay__trust span {
  color: var(--kd-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.kd-pay__intro {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--kd-muted);
}
.kd-pay__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.kd-pay__card {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.1rem;
  box-shadow: 0 10px 24px rgba(15,27,45,0.04);
}
.kd-pay__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.kd-pay__card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.kd-pay__card p,
.kd-pay__card li {
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}
.kd-pay__card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}
.kd-pay__notes {
  margin-top: 0.5rem;
}

/* About */
.kd-about__intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.35rem;
}
.kd-about__intro-text,
.kd-about__facts,
.kd-about__values,
.kd-about__company,
.kd-about__cta {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
}
.kd-about__intro-text h2,
.kd-about__values h2,
.kd-about__cta h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
}
.kd-about__facts {
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}
.kd-about__facts li strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kd-green);
}
.kd-about__facts li span {
  font-weight: 700;
  color: var(--kd-ink);
}
.kd-about__value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}
.kd-about__value-grid article {
  background: #f4f7fb;
  border-radius: 14px;
  padding: 0.95rem 1rem;
}
.kd-about__value-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.kd-about__value-grid p {
  margin: 0;
  color: var(--kd-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.kd-about__company {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
  margin: 1.1rem 0;
}
.kd-about__brand {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
}
.kd-about__brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 18px;
  background: #f4f7fb;
  border: 1px solid var(--kd-line);
  padding: 0.4rem;
}
.kd-about__ext {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--kd-green);
}
.kd-about__data h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}
.kd-about__data dl {
  margin: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.45rem 0.75rem;
}
.kd-about__data dt {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kd-muted);
}
.kd-about__data dd {
  margin: 0;
  font-weight: 600;
  color: var(--kd-ink);
}
.kd-about__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.kd-about__legal-links a {
  font-weight: 700;
  color: var(--kd-green);
}
.kd-about__cta {
  text-align: center;
}
.kd-about__cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.kd-about__cta .btn {
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
}
.kd-about__cta .btn-primary {
  background: var(--kd-green);
  border-color: var(--kd-green);
  color: #fff;
}
.kd-about__cta .btn-secondary {
  background: #fff;
  border: 1px solid var(--kd-line);
  color: var(--kd-ink);
}

/* Contact */
.kd-contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 1.15rem;
  align-items: start;
}
.kd-contact-card,
.kd-contact-map,
.kd-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--kd-line);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 10px 24px rgba(15,27,45,0.04);
}
.kd-contact-aside {
  display: grid;
  gap: 1rem;
}
.kd-contact-card h2,
.kd-contact-map h2,
.kd-contact-form-wrap h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.kd-contact-card__name {
  font-weight: 800;
  color: var(--kd-ink);
}
.kd-contact-card p { color: #475569; line-height: 1.5; }
.kd-contact-card__links {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.kd-contact-card__links a { font-weight: 700; color: var(--kd-green); }
.kd-contact-map__frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--kd-line);
  aspect-ratio: 4 / 3;
  background: #eef3fb;
}
.kd-contact-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.kd-contact-map__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  color: var(--kd-green);
}
.kd-contact-form-wrap__hint {
  margin: -0.25rem 0 1rem;
  color: var(--kd-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.kd-contact-form-wrap .contact-form,
.kd-contact-form-wrap form {
  margin: 0;
}
.kd-contact-form-wrap .form-control,
.kd-contact-form-wrap .form-control-select {
  border-radius: 10px;
  border-color: #d5deea;
}
.kd-contact-form-wrap .btn-primary,
.kd-contact-form-wrap button[type="submit"] {
  border-radius: 999px;
  background: var(--kd-green);
  border-color: var(--kd-green);
  font-weight: 700;
  padding: 0.55rem 1.3rem;
}
/* Hide default store-info block if still rendered inside form column */
.kd-contact-form-wrap .contact-rich { display: none; }
.kd-contact-message {
  min-height: 220px !important;
  resize: vertical;
}
.kd-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.kd-captcha__q {
  font-weight: 800;
  color: var(--kd-ink);
  background: #eef3fb;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}
.kd-captcha__input {
  max-width: 120px;
}
.kd-captcha__help {
  margin: 0.45rem 0 0;
  color: var(--kd-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.kd-contact-form .required:after {
  content: " *";
  color: var(--kd-red);
}

@media (max-width: 991px) {
  .kd-cms__toc ol { columns: 1; }
  .kd-pay__trust,
  .kd-pay__grid,
  .kd-about__intro,
  .kd-about__value-grid,
  .kd-about__company,
  .kd-contact-layout {
    grid-template-columns: 1fr;
  }
  .kd-about__brand { grid-template-columns: 72px 1fr; }
  .kd-about__brand img { width: 72px; height: 72px; }
}


/* kd-mobile-fix 2026-08-06b */
/* kd-mobile-fix 2026-08-06c opaque-logo 16-9 */
/* kd 2026-08-06d logo-raw green mobile-cart */
/* kd submenu-down + leftcol cleanup 2026-08-06e */
/* logo size bump 2026-08-06e */
/* kd mobile-nav + green unify 2026-08-06f */
/* kd full-width catalog 2026-08-07 */
/* kd subcategory hover + pokemon text 2026-08-07b */

/* Unterkategorien — stilvolle Karten + klarer Hover */
#subcategories.kd-subcategories,
#subcategories {
  border: 1px solid var(--kd-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.04);
  padding: 1.1rem 1.15rem 1.25rem !important;
  margin-bottom: 1.35rem !important;
  background: #fff;
}
#subcategories .subcategory-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.95rem !important;
  color: var(--kd-ink);
}
#subcategories ul.subcategories-list,
#subcategories .kd-subcategories__list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  justify-content: stretch !important;
}
#subcategories ul li,
#subcategories .kd-subcategories__item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}
/* Kill Classic empty-box + thick cyan border hover */
#subcategories ul li .subcategory-image,
#subcategories ul li:hover .subcategory-image a {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
}
.kd-subcategories__link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--kd-line);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
  text-decoration: none !important;
  color: var(--kd-ink) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}
.kd-subcategories__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: 0;
  pointer-events: none;
}
.kd-subcategories__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}
.kd-subcategories__mark {
  position: relative;
  z-index: 1;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--kd-green-bright);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.kd-subcategories__media {
  position: relative;
  z-index: 1;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--kd-line);
}
.kd-subcategories__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kd-subcategories__name {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  line-height: 1.25;
  text-transform: none !important;
  transition: transform 0.28s ease;
}
.kd-subcategories__arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  opacity: 0;
  transform: translateX(-8px);
  font-weight: 800;
  color: #fff;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.kd-subcategories__link:hover,
.kd-subcategories__link:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: transparent;
  color: #fff !important;
  box-shadow:
    0 14px 30px rgba(15, 118, 110, 0.28),
    0 0 0 1px rgba(15, 118, 110, 0.2);
  outline: none;
}
.kd-subcategories__link:hover::after,
.kd-subcategories__link:focus-visible::after {
  opacity: 1;
}
.kd-subcategories__link:hover::before,
.kd-subcategories__link:focus-visible::before {
  transform: translateX(120%);
}
.kd-subcategories__link:hover .kd-subcategories__mark,
.kd-subcategories__link:focus-visible .kd-subcategories__mark {
  transform: scale(1.35);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25);
}
.kd-subcategories__link:hover .kd-subcategories__name,
.kd-subcategories__link:focus-visible .kd-subcategories__name {
  transform: translateX(2px);
}
.kd-subcategories__link:hover .kd-subcategories__arrow,
.kd-subcategories__link:focus-visible .kd-subcategories__arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .kd-subcategories__link,
  .kd-subcategories__link::before,
  .kd-subcategories__link::after,
  .kd-subcategories__mark,
  .kd-subcategories__name,
  .kd-subcategories__arrow {
    transition: none !important;
  }
}
/* Fallback: Classic-Markup ohne unser Template */
#subcategories:not(.kd-subcategories) ul li h5 a.subcategory-name {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--kd-green) !important;
  font-weight: 700;
  text-transform: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
#subcategories:not(.kd-subcategories) ul li h5 a.subcategory-name:hover {
  background: var(--kd-green);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.2);
}

/* Registration / Auth form: +150px wider than Classic 640px */
.page-authentication #content,
.page-registration #content {
  max-width: 790px;
}

/* kd subcategory hover polish 2026-08-07c */

/* =========================================================
   Checkout header (schlank)
   ========================================================= */
.kd-checkout-header {
  background: #fff;
  border-bottom: 1px solid var(--kd-line, #e2e7ee);
  box-shadow: 0 6px 18px rgba(15, 27, 45, 0.04);
}
.kd-checkout-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}
.kd-checkout-header__logo .kd-wordmark,
.kd-checkout-header__logo .logo {
  max-height: none;
  width: auto;
}
.kd-checkout-header__logo img,
.kd-checkout-header__logo .logo img {
  display: none !important;
}
.kd-checkout-header__shopname {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--kd-ink, #0b1524);
  text-decoration: none;
}
.kd-checkout-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.kd-checkout-header__nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kd-ink, #0b1524);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.kd-checkout-header__nav a:hover {
  color: var(--kd-green, #0f766e);
  border-bottom-color: var(--kd-green-bright, #14b8a6);
}
.kd-checkout-header__trust {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--kd-green-dark, #0d5f59);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
}
.kd-checkout-header__trust span { color: var(--kd-green, #0f766e); }
@media (max-width: 767px) {
  .kd-checkout-header__row { justify-content: center; text-align: center; }
  .kd-checkout-header__nav { width: 100%; justify-content: center; }
  .kd-checkout-header__trust { width: 100%; justify-content: center; }
}

/* CMS Versand */
.kd-cms__hero--ship {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 55%, #ecfeff 100%);
  border: 1px solid #ccfbf1;
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
}
.kd-ship .kd-pay__trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.kd-ship .kd-pay__trust > div {
  background: #fff;
  border: 1px solid var(--kd-line, #e2e7ee);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.kd-ship .kd-pay__trust strong {
  display: block;
  color: var(--kd-green, #0f766e);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.kd-ship .kd-pay__trust span {
  color: var(--kd-muted, #5c6777);
  font-size: 0.9rem;
}
