/*!
 * APLAM Zelte & Hallen – Theme 2.1 (Redesign Oktober 2026, Farbton des früheren Shops seit 05.10.2026)
 * Quelle: design/css/*.css  ->  build: design/build-css.sh  ->  assets/css/shop.css
 * Schrift: Archivo (OFL, lokal). Keine externen Anfragen.
 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben (05.10.2026, Farbton des früheren Shops): Navy, Kupfer, warmes Hellgrau.
     Navy 800/700 und Kupfer 500/700 sind die Werte des alten Themes (#1e374a, #2b4a61, #b97843, #874b26-Familie). */
  --navy-950: #0f1d27;
  --navy-900: #152836;
  --navy-800: #1e374a;
  --navy-700: #2b4a61;
  --navy-600: #3a5c75;
  --navy-500: #557891;
  --navy-300: #9db3c3;
  --mist-50: #f1f4f6;
  --mist-100: #e6ecf0;
  --mist-200: #d2dce3;
  --mist-300: #b4c4cf;
  --stone-25: #fcfbf9;
  --stone-50: #f8f7f4;
  --stone-100: #f3f2ee;
  --stone-200: #e8e6e0;
  --stone-300: #d7d4cc;
  --stone-400: #bfbbb0;
  --copper-100: #f6e9dc;
  --copper-200: #ecd2bb;
  --copper-300: #e0b088;
  --copper-400: #cd9264;
  --copper-500: #b97843;
  --copper-600: #9c5c2b;
  --copper-700: #82471f;
  --copper-800: #6a3918;

  --ink: #16242e;
  --ink-soft: #2d3c46;
  --muted: #59656e;
  --line: #d9d6ce;
  --line-strong: #c4c0b6;
  /* Rahmen von Formularfeldern und leeren Bewertungssternen: mind. 3:1 auf Weiß (3,7) und Stein (3,3) */
  --field-line: #8a8579;
  --white: #fff;
  --ok: #2e7a4f;
  --danger: #b3261e;
  --info: #2b5d86;

  /* Text und Linien auf dunklem Navy (Footer, Beratungsband, Kopfleiste) */
  --on-dark: #c7d2db;
  --on-dark-muted: #a9b8c4;
  --on-dark-line: rgb(243 242 238 / 14%);

  /* Schrift */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.25rem + .9vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  --fs-4xl: clamp(2.6rem, 1.4rem + 4.4vw, 5rem);

  /* Raum und Form */
  --shell: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px rgb(22 36 46 / 6%), 0 6px 18px rgb(22 36 46 / 6%);
  --shadow-2: 0 18px 50px rgb(22 36 46 / 18%);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Logo (Inline-SVG) */
  --logo-ink: var(--navy-800);
  --logo-accent: var(--copper-500);

  /* Höhe der festen Kopfzeile (JS aktualisiert den Wert) */
  --sticky-offset: 0px;

  /* Kompatibilität: Namen aus dem früheren Theme, die Plugins/MU-Plugins noch verwenden */
  --aplam-page: var(--stone-100);
  --aplam-surface: var(--white);
  --aplam-surface-soft: var(--mist-100);
  --aplam-ink: var(--ink);
  --aplam-muted: var(--muted);
  --aplam-line: var(--line);
  --aplam-line-light: var(--stone-200);
  --aplam-brand: var(--navy-800);
  --aplam-brand-dark: var(--navy-900);
  --aplam-accent: var(--copper-500);
  --aplam-accent-text-bg: var(--copper-700);
  --aplam-sage: var(--navy-600);
  --aplam-sage-soft: var(--mist-100);
  --aplam-danger: var(--danger);
  --aplam-success: var(--ok);
  --aplam-shadow: var(--shadow-1);
  --aplam-shell: var(--shell);
  --aplam-font: var(--font);
}
/* ------------------------------------------------------------------ Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--sticky-offset) + 20px);
}

body {
  margin: 0;
  background: var(--stone-100);
  color: var(--ink);
  font: 400 var(--fs-base) / 1.6 var(--font);
  font-stretch: 100%;
  font-synthesis: none;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.mobile-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

svg {
  flex: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 { font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: var(--fs-2xl); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: var(--fs-lg); line-height: 1.2; }
h4 { font-size: var(--fs-md); line-height: 1.25; }

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--navy-900);
}

b,
strong {
  font-weight: 650;
}

small {
  font-size: .85em;
}

hr {
  height: 1px;
  margin: 2rem 0;
  border: 0;
  background: var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* Ein langes Wort („Materialzusammensetzung“) darf eine Tabelle nie breiter als den Bildschirm machen. */
th,
td {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--copper-200);
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.trust-strip :focus-visible,
.cmplz-cookiebanner :focus-visible {
  outline-color: var(--copper-400);
}

.screen-reader-text {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  clip: auto;
  clip-path: none;
  margin: 0;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--copper-700);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--shadow-2);
}

/* Layout-Container (Klassen aus den Seitenvorlagen) */
.aplam-shell,
.aplam-content-shell,
.content-shell {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* Typografische Bausteine */
.eyebrow,
.section-kicker {
  overflow-wrap: anywhere;
  display: block;
  margin: 0 0 .9rem;
  color: var(--copper-700);
  font-size: var(--fs-xs);
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.on-dark .eyebrow,
.on-dark .section-kicker {
  color: var(--copper-300);
}

.lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

/* Prosa (Rechtstexte, Beschreibungen) */
.aplam-prose,
.entry-content {
  color: var(--ink-soft);
  line-height: 1.7;
}

.aplam-prose > * + *,
.entry-content > * + * {
  margin-top: 1rem;
}

.aplam-prose h2,
.entry-content h2 {
  margin-top: 2.2rem;
  font-size: var(--fs-xl);
}

.aplam-prose h3,
.entry-content h3 {
  margin-top: 1.6rem;
}

.aplam-prose li + li,
.entry-content li + li {
  margin-top: .35rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* ------------------------------------------------------------ Icons */

.aplam-i {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------- Buttons */

.aplam-button,
.aplam-button-primary,
.aplam-shop a.button,
.aplam-shop button.button,
.aplam-shop input.button,
.aplam-shop #respond input#submit,
.aplam-shop a.button.alt,
.aplam-shop button.button.alt,
.aplam-shop input.button.alt,
.aplam-shop .single_add_to_cart_button,
.aplam-shop .wp-element-button,
.aplam-shop .wp-block-button__link,
.aplam-shop .wc-block-components-button:not(.is-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  margin: 0;
  padding: 0 1.4rem;
  border: 1.5px solid var(--copper-700);
  border-radius: var(--r-sm);
  background: var(--copper-700);
  color: var(--white);
  font: 650 var(--fs-base) / 1.2 var(--font);
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.aplam-button:hover,
.aplam-button-primary:hover,
.aplam-shop a.button:hover,
.aplam-shop button.button:hover,
.aplam-shop input.button:hover,
.aplam-shop #respond input#submit:hover,
.aplam-shop a.button.alt:hover,
.aplam-shop button.button.alt:hover,
.aplam-shop input.button.alt:hover,
.aplam-shop .single_add_to_cart_button:hover,
.aplam-shop .wp-element-button:hover,
.aplam-shop .wp-block-button__link:hover,
.aplam-shop .wc-block-components-button:not(.is-link):hover {
  border-color: var(--copper-800);
  background: var(--copper-800);
  color: var(--white);
  box-shadow: 0 6px 18px rgb(106 57 24 / 24%);
}

.aplam-button:active,
.aplam-button-primary:active,
.aplam-shop a.button:active,
.aplam-shop button.button:active,
.aplam-shop .single_add_to_cart_button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.aplam-button .aplam-i,
.aplam-button-primary .aplam-i {
  width: 1.15em;
  height: 1.15em;
  transition: transform .2s var(--ease);
}

.aplam-button:hover .aplam-i,
.aplam-button-primary:hover .aplam-i {
  transform: translateX(3px);
}

.aplam-button--secondary,
.aplam-button-secondary,
.aplam-shop a.button.aplam-button-secondary,
.aplam-shop button.button.aplam-button-secondary,
.aplam-shop a.button.is-outline,
.aplam-shop button.button.is-outline {
  border-color: var(--navy-800);
  background: transparent;
  color: var(--navy-800);
}

.aplam-button--secondary:hover,
.aplam-button-secondary:hover,
.aplam-shop a.button.aplam-button-secondary:hover,
.aplam-shop button.button.aplam-button-secondary:hover,
.aplam-shop a.button.is-outline:hover,
.aplam-shop button.button.is-outline:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
  box-shadow: none;
}

.aplam-button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-900);
}

.aplam-button--light:hover {
  border-color: var(--stone-100);
  background: var(--stone-100);
  color: var(--navy-900);
}

.aplam-button--ghost-light {
  border-color: rgb(243 242 238 / 45%);
  background: transparent;
  color: var(--stone-100);
}

.aplam-button--ghost-light:hover {
  border-color: var(--stone-100);
  background: rgb(243 242 238 / 10%);
  color: var(--white);
  box-shadow: none;
}

/* Hauptbutton auf dunklem Navy (Beratungsband, Footer): helleres Kupfer mit dunkler Schrift (6,4:1) */
.on-dark .aplam-button:not(.aplam-button--ghost-light):not(.aplam-button--light):not(.aplam-button--secondary),
.aplam-shop .on-dark a.button.aplam-button-primary {
  border-color: var(--copper-400);
  background: var(--copper-400);
  color: var(--navy-950);
}

.on-dark .aplam-button:not(.aplam-button--ghost-light):not(.aplam-button--light):not(.aplam-button--secondary):hover,
.aplam-shop .on-dark a.button.aplam-button-primary:hover {
  border-color: var(--copper-300);
  background: var(--copper-300);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgb(0 0 0 / 22%);
}

.aplam-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aplam-text-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--navy-800);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1.5px solid var(--copper-500);
  padding-bottom: 2px;
}

.aplam-text-link:hover {
  color: var(--navy-900);
  border-bottom-color: var(--navy-800);
}

.aplam-text-link .aplam-i {
  transition: transform .2s var(--ease);
}

.aplam-text-link:hover .aplam-i {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- Forms */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background-color: var(--white);
  color: var(--ink);
  font: 400 var(--fs-base) / 1.4 var(--font);
  transition: border-color .15s, box-shadow .15s;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316242e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--navy-600);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-700);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(58 92 117 / 22%);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--navy-700);
}

label {
  font-weight: 550;
}

/* Markenform: der Rundbogen (Hallenprofil) als Bildmaske */
.arch {
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--mist-200);
}

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

/* ------------------------------------------------------- Chips & badges */

.onsale,
.aplam-sale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-left: 3px solid var(--copper-500);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  /* wie das Etikett „Reduziert“ des früheren Shops: weiß mit Kupferkante, damit es nicht wie ein Button wirkt */
  background: var(--white);
  box-shadow: 0 1px 2px rgb(22 36 46 / 14%);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.category-chips a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  transition: border-color .15s, background-color .15s, color .15s;
}

.category-chips a:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.category-chips a[aria-current="page"] {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
}

.category-chips--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.category-chips--cards li {
  display: flex;
  min-width: 0;
}

.category-chips--cards a {
  flex: 1;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 14px 18px;
  border-radius: var(--r-md);
}

.category-chips__name {
  font-size: var(--fs-md);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.2;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.category-chips__count {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 450;
}

/* ----------------------------------------------------------- Preisanzeige */

.price {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
}

.price del {
  color: var(--muted);
  font-size: .78em;
  font-weight: 450;
  text-decoration-thickness: 1px;
}

.price ins {
  text-decoration: none;
}

.aplam-price-view {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 9px;
}

.aplam-price-view ins {
  order: 1;
}

.aplam-price-view del {
  order: 2;
}

.aplam-price-view--net {
  display: none;
}

html[data-aplam-price-display="net"] .aplam-price-view--gross {
  display: none;
}

html[data-aplam-price-display="net"] .aplam-price-view--net {
  display: inline-flex;
}

.aplam-price-from {
  color: var(--muted);
  font-size: .72em;
  font-weight: 500;
}

.aplam-tax-label {
  order: 3;
  flex-basis: 100%;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 450;
  line-height: 1.35;
}

.aplam-net-cart-notice {
  display: none;
}

html[data-aplam-price-display="net"] .aplam-net-cart-notice {
  display: block;
}

/* ------------------------------------------------------------- Bewertung */

.star-rating {
  position: relative;
  display: block;
  width: 5.5em;
  height: 1em;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1;
}

.star-rating::before,
.star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z'/%3E%3C/svg%3E") 0 0 / 1.1em 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z'/%3E%3C/svg%3E") 0 0 / 1.1em 100% repeat-x;
}

.star-rating::before {
  content: "";
  width: 100%;
  /* leere Sterne als Umriss in --field-line (≥ 3:1), gefüllte bleiben Kupfer */
  background: var(--field-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z' fill='none' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 1.1em 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z' fill='none' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 1.1em 100% repeat-x;
}

.star-rating span {
  display: block;
  overflow: hidden;
  background: var(--copper-500);
  color: transparent;
  text-indent: 120%;
  white-space: nowrap;
}

/* --------------------------------------------------------------- Hinweise */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.aplam-draft-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--info);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  list-style: none;
}

.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error { border-left-color: var(--danger); }
.aplam-draft-notice { border-left-color: var(--copper-600); background: var(--copper-100); }

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  margin-left: auto;
  min-height: 40px;
}

.woocommerce-error li {
  margin: 0;
}

/* ------------------------------------------------------------ Brotkrumen */

.woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.woocommerce-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--navy-800);
  text-decoration: underline;
}

/* ---------------------------------------------------------- Seitenzahlen */

.woocommerce-pagination {
  margin: 48px 0 0;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination .page-numbers:not(ul) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.woocommerce-pagination a.page-numbers:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.woocommerce-pagination .page-numbers.current {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
}

.woocommerce-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ---------------------------------------------------------------- Mengen */

.quantity {
  display: inline-flex;
}

.quantity .qty {
  width: 76px;
  min-height: 52px;
  padding: 0 8px;
  text-align: center;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- Tabellen */

.shop_table,
.woocommerce-table,
.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.shop_table th,
.shop_table td,
.woocommerce-table th,
.woocommerce-table td,
.shop_attributes th,
.shop_attributes td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.shop_attributes th,
.woocommerce-table--order-details th {
  width: 34%;
  color: var(--muted);
  font-weight: 550;
}

.shop_attributes p {
  margin: 0;
}

/* ----------------------------------------------------------- 404-Seite */
/* Liegt in shop.css, weil information-pages.css auf der 404-Seite nicht geladen wird. */

.error-page {
  max-width: 640px;
  padding-block: clamp(32px, 6vw, 88px);
}

.error-page .section-kicker {
  margin-bottom: .6rem;
}

.error-page h1 {
  margin-bottom: 22px;
  font-size: var(--fs-2xl);
}

.error-page h1 + p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: var(--fs-md);
}
/* ---------------------------------------------------------- Servicehinweis */

.aplam-service-notice {
  border-bottom: 1px solid var(--copper-200);
  background: var(--copper-100);
  color: var(--navy-950);
  font-size: var(--fs-sm);
}

.aplam-service-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}

.aplam-service-notice__text {
  margin: 0;
  line-height: 1.45;
}

.aplam-service-notice__dismiss {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.aplam-service-notice__dismiss:hover {
  background: rgb(22 36 46 / 9%);
}

.aplam-service-notice__dismiss .aplam-i {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------ Hilfsleiste oben */

.trust-strip {
  background: var(--navy-800);
  color: var(--on-dark);
  font-size: .8125rem;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  min-height: 44px;
  padding-block: 5px;
}

.trust-strip a {
  color: var(--on-dark);
  text-decoration: none;
}

.trust-strip a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.trust-strip__inner > .aplam-price-switch { order: 1; }
.trust-strip__inner > .aplam-country-selector { order: 2; }
.trust-strip__inner > .azts-topbar { order: 3; margin-left: auto; color: var(--white); }
.trust-strip__inner > .utility-links { order: 4; margin-left: auto; }
.trust-strip__inner > .azts-topbar ~ .utility-links { margin-left: 0; }

/* Mit Trusted-Shops-Bewertung des Workers knapp oberhalb von 1080 px: Zusatz „Brutto inkl. MwSt.“ weglassen, damit die Leiste einzeilig bleibt */
@media (min-width: 1081px) and (max-width: 1180px) {
  .trust-strip__inner:has(> .azts-topbar) .aplam-price-switch__copy small {
    display: none;
  }
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.trust-strip__item .aplam-i {
  width: 16px;
  height: 16px;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.utility-links a[aria-current="page"] {
  color: var(--white);
  font-weight: 650;
}

/* Gewerblich-Schalter */
.aplam-price-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
}

.aplam-price-switch legend {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.aplam-price-switch__copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  line-height: 1.2;
}

.aplam-price-switch__copy strong {
  color: var(--white);
  font-weight: 650;
}

.aplam-price-switch__copy small {
  color: var(--on-dark-muted);
  font-size: .75rem;
}

html[data-aplam-price-display="net"] .aplam-price-switch__copy small {
  color: var(--copper-300);
}

.aplam-price-switch__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  cursor: pointer;
}

.aplam-price-switch__control input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}

.aplam-price-switch__choice {
  color: var(--on-dark-muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
}

.aplam-price-switch__track {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  border: 1.5px solid rgb(243 242 238 / 45%);
  border-radius: 999px;
  background: rgb(243 242 238 / 8%);
  transition: background-color .18s, border-color .18s;
}

.aplam-price-switch__track > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--stone-100);
  transition: transform .18s var(--ease), background-color .18s;
}

.aplam-price-switch__control:hover .aplam-price-switch__track {
  border-color: var(--stone-100);
}

.aplam-price-switch__control input:checked + .aplam-price-switch__track {
  border-color: var(--copper-500);
  background: var(--copper-500);
}

.aplam-price-switch__control input:checked + .aplam-price-switch__track > span {
  transform: translateX(18px);
  background: var(--navy-900);
}

.aplam-price-switch__control input:focus-visible + .aplam-price-switch__track {
  outline: 3px solid var(--copper-400);
  outline-offset: 2px;
}

/* Lieferland */
.aplam-country-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.aplam-country-selector label {
  font-size: .75rem;
  font-weight: 600;
}

.aplam-country-selector select {
  width: 220px;
  min-height: 34px;
  padding: 4px 30px 4px 10px;
  border-color: rgb(243 242 238 / 35%);
  background-color: rgb(243 242 238 / 8%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f2ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color: var(--white);
  font-size: .8125rem;
}

.aplam-country-selector select option {
  color: var(--ink);
}

.aplam-country-selector__fallback-submit {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: .8125rem !important;
}

.aplam-country-selector.is-enhanced > select,
.aplam-country-selector.is-enhanced > .aplam-country-selector__fallback-label,
.aplam-country-selector.is-enhanced > .aplam-country-selector__fallback-submit {
  display: none;
}

.aplam-country-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgb(243 242 238 / 35%);
  border-radius: var(--r-sm);
  background: rgb(243 242 238 / 8%);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}

.aplam-country-trigger[hidden] {
  display: none;
}

.aplam-country-trigger:hover,
.aplam-country-trigger[aria-expanded="true"] {
  border-color: var(--stone-100);
  background: rgb(243 242 238 / 14%);
}

.aplam-country-trigger:disabled {
  opacity: .65;
  cursor: wait;
}

.aplam-country-flag {
  flex: 0 0 24px;
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 20%);
}

.aplam-country-trigger__copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.1;
}

.aplam-country-trigger__copy small {
  color: var(--on-dark-muted);
  font-size: .6875rem;
  white-space: nowrap;
}

.aplam-country-trigger__copy strong {
  overflow: hidden;
  font-size: .8125rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aplam-country-trigger__chevron {
  width: 12px;
  height: 12px;
  margin-left: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aplam-country-popover {
  display: none;
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  font: 400 .875rem / 1.4 var(--font);
  box-shadow: var(--shadow-2);
}

.aplam-country-popover:popover-open {
  display: flex;
  flex-direction: column;
}

.aplam-country-popover::backdrop {
  background: transparent;
}

.aplam-country-popover__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aplam-country-popover__heading > strong {
  font-size: 1.0625rem;
}

.aplam-country-popover__heading > button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--stone-100);
  color: var(--navy-800);
  font: 400 22px / 1 var(--font);
  cursor: pointer;
}

.aplam-country-popover > p {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: .8125rem;
}

.aplam-country-popover .aplam-country-search {
  min-height: 42px;
  margin: 0 0 10px;
  background: var(--stone-50);
}

.aplam-country-options {
  min-height: 0;
  padding: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.aplam-country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.aplam-country-option:hover,
.aplam-country-option:focus-visible {
  background: var(--stone-100);
}

.aplam-country-option[aria-current="true"] {
  background: var(--mist-100);
  color: var(--navy-900);
  font-weight: 650;
}

.aplam-country-option > small {
  margin-left: auto;
  color: var(--muted);
  font-size: .75rem;
  white-space: nowrap;
}

.aplam-country-option[hidden],
.aplam-country-empty[hidden] {
  display: none;
}

/* --------------------------------------------------------------- Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: transform .28s var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-101%);
}

.site-header__row {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: 80px;
}

.mobile-menu-toggle {
  display: none;
}

.aplam-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--logo-ink);
  text-decoration: none;
}

.aplam-wordmark {
  display: block;
  width: clamp(124px, 11vw, 150px);
  height: auto;
}

.aplam-wordmark .logo-ink {
  fill: var(--logo-ink);
}

.aplam-wordmark .logo-accent {
  fill: var(--logo-accent);
}

.aplam-logo__descriptor {
  max-width: 7.4em;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .6875rem;
  font-stretch: 112%;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Suche */
.product-search form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  margin-inline: auto;
}

.product-search__icon {
  position: absolute;
  left: 15px;
  display: flex;
  color: var(--muted);
  pointer-events: none;
}

.product-search .search-field {
  height: 50px;
  padding: 0 116px 0 46px;
  border-color: var(--field-line);
  border-radius: var(--r-md);
  background: var(--stone-100);
}

.product-search .search-field:hover {
  border-color: var(--navy-600);
}

.product-search .search-field:focus {
  border-color: var(--navy-700);
  background: var(--white);
}

.product-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: var(--white);
  font: 650 .9375rem / 1 var(--font);
  cursor: pointer;
  transition: background-color .15s;
}

.product-search button:hover {
  background: var(--navy-700);
}

/* Konto & Warenkorb */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s;
}

.header-action:hover {
  background: var(--stone-100);
  color: var(--ink);
}

.header-action .aplam-i {
  width: 24px;
  height: 24px;
}

.aplam-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  background: var(--copper-700);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ------------------------------------------------------ Hauptnavigation */

.primary-nav {
  position: relative;
  border-top: 1px solid var(--stone-200);
  background: var(--white);
}

.primary-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__item {
  display: flex;
  align-items: center;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 4px 0 12px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav__item:not(.has-panel) .primary-nav__link {
  padding-right: 12px;
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 12px;
  height: 3px;
  background: var(--copper-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}

.primary-nav__item:not(.has-panel) .primary-nav__link::after {
  right: 12px;
}

.primary-nav__item:hover > .primary-nav__link::after,
.primary-nav__item.is-current > .primary-nav__link::after,
.primary-nav__item.is-open > .primary-nav__link::after {
  transform: scaleX(1);
}

.primary-nav__link:hover {
  color: var(--ink);
}

.primary-nav__toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.primary-nav__toggle .aplam-i {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}

.primary-nav__toggle[aria-expanded="true"] .aplam-i {
  transform: rotate(180deg);
}

.primary-nav__item:hover > .primary-nav__toggle,
.primary-nav__toggle[aria-expanded="true"] {
  color: var(--ink);
}

.primary-nav__cta {
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: .9375rem;
}

/* Mega-Menü */
.mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 40px rgb(22 36 46 / 12%);
}

.mega[hidden] {
  display: none;
}

.mega__inner {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr) 210px;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 34px 38px;
}

.mega__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mist-100);
  color: var(--navy-800);
}

.mega__icon .aplam-i {
  width: 24px;
  height: 24px;
}

.mega__title {
  margin: 14px 0 6px;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.mega__lead {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}

.mega__list {
  margin: 0;
  padding: 0;
  columns: 3 190px;
  column-gap: 32px;
  list-style: none;
}

.mega__list li {
  break-inside: avoid;
}

.mega__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stone-200);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 550;
  line-height: 1.3;
  text-decoration: none;
  transition: color .15s, border-color .15s, padding-left .2s var(--ease);
}

.mega__list a:hover {
  padding-left: 6px;
  border-bottom-color: var(--navy-600);
  color: var(--navy-700);
}

.mega__list small {
  color: var(--muted);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}

.mega__art {
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--mist-100);
}

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

/* -------------------------------------------------------- Mobile Navigation */

.mobile-navigation[hidden] {
  display: none;
}

.mobile-navigation {
  position: fixed;
  top: var(--aplam-mobile-navigation-top, 120px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-navigation__inner {
  padding-block: 8px 40px;
}

.mobile-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-category-group {
  border-bottom: 1px solid var(--stone-200);
}

.mobile-category-group > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.mobile-category-group > summary::-webkit-details-marker {
  display: none;
}

.mobile-category-group__icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist-100);
  color: var(--navy-800);
}

.mobile-category-group__label {
  flex: 1;
}

.mobile-category-group > summary > .aplam-i {
  color: var(--muted);
  transition: transform .2s var(--ease);
}

.mobile-category-group[open] > summary > .aplam-i {
  transform: rotate(180deg);
}

.mobile-category-group__links {
  padding: 0 0 14px 54px !important;
}

.mobile-category-group__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--stone-200);
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}

.mobile-category-group__links a.is-all {
  justify-content: flex-start;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 650;
}

.mobile-category-group__links small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mobile-navigation__links {
  margin: 16px 0 24px !important;
}

.mobile-navigation__links a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--stone-200);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-navigation__cta {
  width: 100%;
}

@media (max-width: 1180px) {
  .primary-nav__link {
    padding-left: 9px;
    font-size: .875rem;
  }

  .primary-nav__link::after {
    left: 9px;
  }

  .primary-nav__cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .utility-links,
  .primary-nav {
    display: none;
  }

  .trust-strip__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    scrollbar-width: none;
  }

  .trust-strip__inner::-webkit-scrollbar {
    display: none;
  }

  /* Trusted-Shops-Bewertung des Cloudflare-Workers (nur v2-Besucher): eigene volle Zeile statt abgeschnitten im Scrollstreifen */
  .trust-strip__inner:has(> .azts-topbar) {
    flex-wrap: wrap;
    overflow: visible;
  }

  .trust-strip__inner > .azts-topbar {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .site-header__row {
    grid-template-areas:
      "toggle brand actions"
      "search search search";
    grid-template-columns: 48px 1fr auto;
    gap: 0 8px;
    min-height: 0;
    padding-block: 8px 12px;
  }

  .mobile-menu-toggle {
    display: grid;
    grid-area: toggle;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-left: -10px;
    padding: 0;
    border: 0;
    border-radius: var(--r-md);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .mobile-menu-toggle .aplam-i {
    width: 26px;
    height: 26px;
  }

  .mobile-menu-toggle__close {
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__open {
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__close {
    display: block;
  }

  .site-branding {
    grid-area: brand;
    justify-self: start;
    min-width: 0;
  }

  .aplam-logo__descriptor {
    display: none;
  }

  .aplam-wordmark {
    width: 118px;
  }

  .header-actions {
    grid-area: actions;
    margin-right: -10px;
  }

  .header-action {
    padding: 0 10px;
  }

  .header-action > span:not(.aplam-cart-count) {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-action {
    position: relative;
  }

  .product-search {
    grid-area: search;
    margin-top: 8px;
  }

  .product-search form {
    max-width: none;
  }

  .product-search .search-field {
    height: 46px;
    padding-right: 20px;
  }

  .product-search button {
    display: none;
  }

  .mega {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .aplam-service-notice__text {
    font-size: .8125rem;
  }

  .trust-strip__inner {
    gap: 14px;
  }

  .aplam-price-switch {
    gap: 8px;
  }

  .aplam-price-switch__copy small,
  .aplam-country-trigger__copy small {
    display: none;
  }

  .aplam-price-switch__copy strong {
    font-size: .8125rem;
  }
}

@media (max-width: 340px) {
  .aplam-country-trigger__copy {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* ----------------------------------------------------------------- Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 8vw, 120px);
  background: var(--navy-800);
  color: var(--on-dark);
  font-size: .9375rem;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -2px;
  border: 2px solid rgb(243 242 238 / 6%);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.site-footer::before {
  right: -70px;
  width: 430px;
  height: 340px;
}

.site-footer::after {
  right: 10px;
  width: 270px;
  height: 230px;
  border-color: rgb(243 242 238 / 5%);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: var(--mist-100);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgb(243 242 238 / 14%);
}

.footer-cta h2 {
  color: var(--white);
  font-size: var(--fs-xl);
}

.footer-cta p {
  margin: 8px 0 0;
  color: var(--on-dark);
}

.site-footer a.aplam-button {
  color: var(--navy-950);
  text-decoration: none;
}

.site-footer a.aplam-button--ghost-light {
  color: var(--stone-100);
}

.site-footer a.aplam-button--ghost-light:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: 40px clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px) 32px;
}

.footer-brand .aplam-logo {
  --logo-ink: var(--stone-100);
  --logo-accent: var(--copper-400);
  gap: 14px;
}

.footer-brand .aplam-wordmark {
  width: 148px;
}

.footer-brand .aplam-logo__descriptor {
  border-left-color: rgb(243 242 238 / 28%);
  color: var(--on-dark-muted);
}

.footer-company {
  margin: 28px 0 0;
  color: var(--on-dark);
  font-style: normal;
  line-height: 1.65;
}

.footer-company strong {
  color: var(--white);
  font-weight: 650;
}

.footer-company__contact {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--copper-300);
  font-size: var(--fs-xs);
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-trust {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 32px;
  padding-top: 32px;
  border-top: 1px solid rgb(243 242 238 / 14%);
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-trust-badge {
  display: grid;
  place-items: center;
  width: 124px;
  height: 64px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--stone-50);
}

.footer-trust-badge img {
  display: block;
  width: auto;
  height: auto;
  /* Feste Obergrenzen statt Prozent: im Grid-Kasten lässt sich max-height: 100% nicht auflösen,
     dann wuchsen SEPA/GLS bei 390–560 px über den Kasten hinaus. */
  max-width: min(100%, 100px);
  max-height: 40px;
  object-fit: contain;
}

.footer-trust-badge--ups img {
  max-height: 44px;
}

body.home .site-footer {
  margin-top: 0;
}

.footer-withdrawal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 24px;
  border-block: 1px solid var(--on-dark-line);
}

.footer-withdrawal strong {
  color: var(--white);
  font-size: var(--fs-lg);
}

.footer-withdrawal p {
  margin: 6px 0 0;
  color: var(--on-dark);
}

.footer-withdrawal .aplam-button {
  min-height: 48px;
  text-align: center;
}

@media (max-width: 560px) {
  .footer-withdrawal .aplam-button { width: 100%; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 20px 28px;
  border-top: 1px solid rgb(243 242 238 / 14%);
  color: var(--on-dark-muted);
  font-size: .8125rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Bis 600 px: 2 × 2 Kacheln, so breit wie die Siegelzeile des Cloudflare-Workers (323 px), statt 3 + 1 oder überbreiter Kacheln */
@media (max-width: 600px) {
  .footer-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 323px;
  }

  .footer-trust-badge {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .site-footer::before,
  .site-footer::after {
    display: none;
  }
}
/* ------------------------------------------------- Shop- und Kategorieseiten */

.shop-main,
.content-main {
  padding-block: clamp(24px, 3.5vw, 44px) 0;
}

.archive-head {
  max-width: 920px;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.archive-head .page-title,
.shop-main .page-title {
  font-size: var(--fs-2xl);
}

.archive-head__lead,
.archive-head .term-description,
.shop-main .term-description {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.6;
}

.term-description p:last-child {
  margin-bottom: 0;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 24px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.woocommerce-result-count {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  width: auto;
  min-width: 250px;
  min-height: 42px;
  padding-block: 8px;
  font-size: .9375rem;
}

/* Produktraster */
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

li.product:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-1);
}

li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

li.product .woocommerce-LoopProduct-link:focus-visible {
  outline-offset: -3px;
}

li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--stone-100);
  object-fit: cover;
}

li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-maker {
  margin: 16px 16px 5px;
  color: var(--muted);
  font-size: .6875rem;
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  margin: 0 16px;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.32;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

li.product .star-rating {
  margin: 8px 16px 0;
  font-size: .9375rem;
}

li.product .price {
  margin: auto 16px 0;
  padding-top: 14px;
  font-size: 1.3125rem;
  letter-spacing: -.015em;
}

li.product .price del {
  font-size: .8125rem;
}

li.product .aplam-tax-label {
  font-size: .6875rem;
}

.aplam-card-delivery {
  display: grid;
  gap: 2px;
  min-height: 3.5em;
  margin: 12px 16px 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.35;
}

.aplam-card-delivery__window {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.aplam-card-delivery__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 600;
}

.aplam-card-delivery__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.aplam-card-delivery.is-unavailable .aplam-card-delivery__status i {
  background: var(--danger);
}

li.product > .button,
li.product > .added_to_cart {
  margin: 16px;
  min-height: 46px;
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
  font-size: .9375rem;
}

.aplam-shop li.product > a.button:hover {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: var(--white);
  box-shadow: none;
}

li.product > .button.loading {
  opacity: .7;
}

li.product > .button.added::after {
  content: "✓";
  margin-left: 4px;
}

li.product > .added_to_cart {
  display: block;
  margin-top: -8px;
  border: 0;
  background: transparent;
  color: var(--navy-700);
  text-align: center;
}

.woocommerce-no-products-found .woocommerce-info,
.woocommerce-info.woocommerce-no-products-found {
  padding: 28px;
  font-size: var(--fs-md);
}

/* Verwandte / ähnliche Produkte */
.related.products,
.upsells.products,
.cross-sells {
  margin-top: clamp(48px, 6vw, 88px);
}

.related.products > h2,
.upsells.products > h2 {
  margin-bottom: 24px;
  font-size: var(--fs-xl);
}

@media (max-width: 1100px) {
  ul.products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-maker {
    margin: 12px 12px 4px;
    font-size: .625rem;
    letter-spacing: .1em;
  }

  li.product .woocommerce-loop-product__title {
    margin-inline: 12px;
    font-size: .875rem;
  }

  li.product .price {
    margin-inline: 12px;
    font-size: 1.0625rem;
  }

  li.product .price del {
    font-size: .75rem;
  }

  li.product .star-rating {
    margin-inline: 12px;
  }

  .aplam-card-delivery {
    min-height: 4.2em;
    margin: 10px 12px 0;
    font-size: .75rem;
  }

  .aplam-card-delivery__window {
    -webkit-line-clamp: 3;
  }

  li.product > .button,
  li.product > .added_to_cart {
    margin: 12px;
    min-height: 42px;
    padding-inline: .5rem;
    font-size: .8125rem;
  }

  li.product .onsale {
    top: 8px;
    left: 8px;
    min-height: 22px;
    padding: 3px 7px;
    font-size: .75rem;
  }

  .woocommerce-ordering,
  .woocommerce-ordering select {
    width: 100%;
  }

  .shop-toolbar {
    padding-block: 10px;
  }

  .category-chips--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .category-chips--cards a {
    min-height: 64px;
    padding: 12px 14px;
  }

  .category-chips--cards .category-chips__name {
    font-size: var(--fs-base);
  }
}

@media (max-width: 359px) {
  ul.products {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-chips--cards a {
    padding: 12px 10px;
  }

  .category-chips--cards .category-chips__name {
    font-size: .9375rem;
  }
}
/* ------------------------------------------------------------ Produktseite */

.single-product div.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 0 clamp(28px, 4.5vw, 72px);
}

.single-product div.product > .onsale {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  min-height: 30px;
  padding: 5px 11px;
  font-size: .9375rem;
}

/* Galerie */
.woocommerce-product-gallery {
  position: relative;
  min-width: 0;
  margin: 0;
}

.woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce-product-gallery__image a {
  display: block;
  cursor: zoom-in;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery img.wp-post-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  background: var(--white);
}

.flex-viewport {
  overflow: hidden;
  /* Frame drawn as shadow: a real border would shrink the box Flexslider sizes to the slide. */
  box-shadow: 0 0 0 1px var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.flex-viewport .woocommerce-product-gallery__image img {
  border-radius: 0;
}

.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 1px 6px rgb(22 36 46 / 22%);
  color: var(--ink);
  font-size: 0;
  text-decoration: none;
}

.woocommerce-product-gallery__trigger::before {
  content: "";
  width: 20px;
  height: 20px;
  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='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5M11 8.5v5M8.5 11h5'/%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='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.flex-control-thumbs li {
  margin: 0;
}

.flex-control-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  background: var(--white);
  object-fit: cover;
  opacity: .72;
  cursor: pointer;
  transition: opacity .15s, border-color .15s;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
  border-color: var(--navy-700);
  opacity: 1;
}

/* Zusammenfassung */
.single-product .summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 4px;
}

.single-product .summary > * {
  order: 20;
}

.single-product .summary > .product-maker { order: 1; margin: 0 0 8px; }
.single-product .summary > .product_title { order: 2; }
.single-product .summary > .woocommerce-product-rating { order: 3; }
.single-product .summary > .price { order: 4; }
.single-product .summary > .aplam-product-delivery { order: 5; }
.single-product .summary > form.cart { order: 6; }
.single-product .summary > .woocommerce-product-details__short-description { order: 7; }
.single-product .summary > .aplam-product-facts { order: 8; }
.single-product .summary > .product_meta { order: 9; }

.single-product .product_title {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  letter-spacing: -.025em;
  line-height: 1.1;
}

.single-product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: var(--fs-sm);
}

.single-product .woocommerce-product-rating a {
  color: var(--muted);
}

.single-product .summary .price {
  margin: 20px 0 0;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
  letter-spacing: -.025em;
}

.single-product .summary .price del {
  font-size: 1.0625rem;
}

.single-product .summary .aplam-tax-label {
  margin-top: 2px;
  font-size: var(--fs-sm);
}

.single-product .woocommerce-product-details__short-description {
  margin-top: 28px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.single-product .woocommerce-product-details__short-description p {
  margin: 0;
}

/* Lieferbox */
.aplam-product-delivery {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--mist-200);
  border-radius: var(--r-md);
  background: var(--mist-50);
  font-size: var(--fs-sm);
}

.aplam-product-delivery__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: var(--fs-base);
}

.aplam-product-delivery__status-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--white);
}

.aplam-product-delivery.is-unavailable .aplam-product-delivery__status-mark {
  background: var(--danger);
}

.aplam-product-delivery__status-mark .aplam-i {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.aplam-product-delivery__route {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}

.aplam-product-delivery__icon {
  display: inline-flex;
  color: var(--navy-700);
}

.aplam-product-delivery__icon .aplam-i {
  width: 24px;
  height: 24px;
}

.aplam-product-delivery__route small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.aplam-product-delivery > a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  justify-self: start;
  color: var(--navy-800);
  font-size: .8125rem;
  font-weight: 650;
}

/* Variantenauswahl und Warenkorb */
form.cart {
  margin: 24px 0 0;
}

table.variations {
  width: 100%;
  margin: 0 0 16px;
  border: 0;
}

table.variations tbody,
table.variations tr {
  display: block;
}

table.variations tr + tr {
  margin-top: 14px;
}

table.variations th,
table.variations td {
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
}

table.variations th.label {
  margin-bottom: 6px;
}

table.variations th label {
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 650;
}

.reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.woocommerce-variation {
  margin: 0 0 12px;
}

.woocommerce-variation-description p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* Variantenartikel: theme.js tauscht die Beschreibung der gewählten Ausführung in den Tab „Beschreibung“.
   Im Kaufbereich darf sie dann nicht noch einmal erscheinen (Regel des früheren Themes, beim Redesign verloren gegangen). */
.product.aplam-variant-tab-active .single_variation .woocommerce-variation-description {
  display: none;
}

.woocommerce-variation-price .price {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.woocommerce-variation-availability {
  color: var(--ok);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.single_add_to_cart_button {
  flex: 1 1 220px;
  min-height: 52px;
  font-size: 1.0625rem;
}

.aplam-shop .single_add_to_cart_button.disabled,
.aplam-shop .single_add_to_cart_button:disabled,
/* höhere Spezifität als .aplam-shop button.button.alt (sonst sah der gesperrte Button vor der Variantenwahl aktiv aus) */
.aplam-shop button.single_add_to_cart_button.button.disabled,
.aplam-shop button.single_add_to_cart_button.button:disabled,
.aplam-shop button.single_add_to_cart_button.button.disabled:hover,
.aplam-shop button.single_add_to_cart_button.button:disabled:hover {
  border-color: var(--stone-300);
  background: var(--stone-200);
  box-shadow: none;
  color: var(--ink-soft);
  cursor: not-allowed;
}

.woocommerce-Tabs-panel--description > h2:first-child,
.woocommerce-Tabs-panel--additional_information > h2:first-child,
.woocommerce-Tabs-panel--reviews > h2:first-child {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
  white-space: nowrap;
}

.product_meta {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-sm);
}

.product_meta a {
  color: var(--ink-soft);
}

/* Maße im Überblick */
.aplam-product-facts {
  margin: 28px 0 0;
  font-size: var(--fs-sm);
}

.aplam-product-facts h2 {
  margin: 0 0 12px;
  font-size: var(--fs-md);
  letter-spacing: -.01em;
}

.aplam-product-facts table {
  margin: 0 0 12px;
  border-top: 1px solid var(--line);
}

.aplam-product-facts p {
  color: var(--muted);
  font-size: .8125rem;
}

/* Reiter */
.woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: clamp(48px, 6vw, 88px);
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce-tabs ul.tabs a {
  position: relative;
  display: block;
  padding: 14px 2px;
  color: var(--muted);
  font-size: var(--fs-md);
  font-weight: 650;
  text-decoration: none;
}

.woocommerce-tabs ul.tabs a:hover {
  color: var(--ink);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
}

.woocommerce-tabs ul.tabs li.active a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--copper-500);
}

.woocommerce-Tabs-panel {
  max-width: 920px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.woocommerce-Tabs-panel h2 {
  margin-bottom: 18px;
  font-size: var(--fs-xl);
}

/* Hinweis „Ausführung auswählen“: steht in der Hauptbeschreibung der Variantenartikel, bis eine Ausführung gewählt ist */
.woocommerce-Tabs-panel .product-variant-selection-notice {
  max-width: 640px;
  padding: 18px 22px;
  border-left: 3px solid var(--copper-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--mist-50);
}

.woocommerce-Tabs-panel .product-variant-selection-notice h2 {
  margin: 0 0 6px;
  font-size: var(--fs-md);
  letter-spacing: -.01em;
}

.woocommerce-Tabs-panel .product-variant-selection-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.woocommerce-Tabs-panel h3 {
  margin: 1.8rem 0 .8rem;
}

.woocommerce-Tabs-panel > * + * {
  margin-top: 1rem;
}

.woocommerce-Tabs-panel img {
  border-radius: var(--r-sm);
}

/* Lieferantentabellen in der Beschreibung */
.woocommerce-Tabs-panel table {
  width: 100% !important;
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: var(--fs-sm);
}

.woocommerce-Tabs-panel table td,
.woocommerce-Tabs-panel table th {
  width: auto !important;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--stone-200);
  vertical-align: top;
}

.woocommerce-Tabs-panel table tr:last-child td,
.woocommerce-Tabs-panel table tr:last-child th {
  border-bottom: 0;
}

.woocommerce-Tabs-panel table td:first-child,
.woocommerce-Tabs-panel table td.orange,
.woocommerce-Tabs-panel table th {
  width: 32% !important;
  background: var(--stone-50);
  color: var(--ink);
  font-weight: 600;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
  padding-left: 1.3em;
}

.woocommerce-Tabs-panel li + li {
  margin-top: .3rem;
}

/* Bewertungen */
#reviews .woocommerce-Reviews-title {
  margin-bottom: 20px;
  font-size: var(--fs-xl);
}

#reviews ol.commentlist {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

#reviews .comment_container {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

/* Avatare werden nicht ausgegeben (inc/shop-display.php); falls ein Plugin sie doch ergänzt, bleibt das Layout ruhig. */
#reviews .comment_container img.avatar {
  display: none;
}

#reviews .comment-text .meta {
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

#reviews .comment-text p {
  margin: 0;
}

#review_form_wrapper {
  max-width: 640px;
}

#review_form .comment-reply-title {
  display: block;
  margin-bottom: 12px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

#review_form p {
  margin-bottom: 14px;
}

/* Sterne-Auswahl: WooCommerce ersetzt das Select durch Links; die Standard-Sternschrift ist abgeschaltet.
   Gefüllt bis zum überfahrenen bzw. gewählten Stern, gleiche Sternform wie die Anzeige (.star-rating). */
p.stars {
  display: inline-block;
  margin: 0 0 16px;
  line-height: 1;
}

p.stars > span {
  display: inline-flex;
}

p.stars a {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
  text-indent: -999em;
}

p.stars a::before {
  content: "";
  position: absolute;
  inset: 0;
  /* leere Sterne der Bewertungsauswahl: mind. 3:1, sie sind das einzige Zeichen des Bedienelements */
  background: var(--field-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z'/%3E%3C/svg%3E") center / 30px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='m11 1.2 2.7 5.6 6.1.9-4.4 4.3 1 6.1L11 15.2l-5.4 2.9 1-6.1L2.2 7.7l6.1-.9z'/%3E%3C/svg%3E") center / 30px no-repeat;
}

p.stars:hover a::before,
p.stars.selected a::before {
  background: var(--copper-500);
}

p.stars a:hover ~ a::before,
p.stars.selected a.active ~ a::before {
  background: var(--field-line);
}

p.stars a:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 1px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .single-product div.product {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-product .summary {
    margin-top: 28px;
  }

  .woocommerce-tabs ul.tabs {
    gap: 4px 20px;
  }
}

@media (max-width: 560px) {
  .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .woocommerce-variation-add-to-cart,
  form.cart:not(.variations_form) {
    gap: 10px;
  }

  .single_add_to_cart_button {
    flex-basis: 100%;
    order: 2;
  }

  .woocommerce-Tabs-panel table td:first-child,
  .woocommerce-Tabs-panel table td.orange {
    width: 38% !important;
  }

  .single-product div.product > .onsale {
    top: 10px;
    left: 10px;
  }
}
/* ------------------------------------------- Warenkorb, Kasse, Konto, Bestätigung */

.content-main .page-heading {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.checkout-steps__no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}

.checkout-steps__item.is-current {
  color: var(--ink);
}

.checkout-steps__item.is-current .checkout-steps__no {
  border-color: var(--copper-700);
  background: var(--copper-700);
  color: var(--white);
}

.checkout-steps__item.is-done .checkout-steps__no {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: var(--white);
}

.checkout-steps__item + .checkout-steps__item::before {
  content: "";
  width: 28px;
  height: 1.5px;
  margin-right: 0;
  background: var(--line-strong);
}

/* Netto-Hinweis nur im Netto-Modus */
.aplam-shop .woocommerce-info.aplam-net-cart-notice {
  display: none;
}

html[data-aplam-price-display="net"] .aplam-shop .woocommerce-info.aplam-net-cart-notice {
  display: flex;
}

/* Zweispaltiges Layout der Blocks */
.aplam-shop .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
}

.aplam-shop .wc-block-components-sidebar-layout > .wc-block-components-main,
.aplam-shop .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
  width: auto;
  margin: 0;
  padding: 0;
}

.aplam-shop .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
  position: sticky;
  top: calc(var(--sticky-offset) + 20px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.aplam-shop .wc-block-components-sidebar-layout.is-medium,
.aplam-shop .wc-block-components-sidebar-layout.is-small,
.aplam-shop .wc-block-components-sidebar-layout.is-mobile {
  grid-template-columns: minmax(0, 1fr);
}

.aplam-shop .wc-block-components-sidebar-layout.is-medium > .wc-block-components-sidebar,
.aplam-shop .wc-block-components-sidebar-layout.is-small > .wc-block-components-sidebar,
.aplam-shop .wc-block-components-sidebar-layout.is-mobile > .wc-block-components-sidebar {
  position: static;
}

/* Warenkorb-Positionen */
.aplam-shop .wc-block-cart-items {
  width: 100%;
  border-collapse: collapse;
}

.aplam-shop .wc-block-cart-items__header th {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aplam-shop .wc-block-cart-items__row td {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.aplam-shop .wc-block-cart-item__image {
  width: 124px;
  padding-right: 20px !important;
}

.aplam-shop .wc-block-cart-item__image img {
  display: block;
  width: 104px;
  height: 78px;
  border-radius: var(--r-sm);
  background: var(--white);
  object-fit: cover;
}

.aplam-shop .wc-block-components-product-name {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.aplam-shop .wc-block-components-product-name:hover {
  color: var(--navy-700);
  text-decoration: underline;
}

.aplam-shop .wc-block-components-product-metadata__description {
  display: none;
}

.aplam-shop .wc-block-components-product-details {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.aplam-shop .wc-block-cart-item__prices,
.aplam-shop .wc-block-components-product-price {
  font-variant-numeric: lining-nums tabular-nums;
}

.aplam-shop .wc-block-components-product-price__regular {
  color: var(--muted);
  font-weight: 450;
}

.aplam-shop .wc-block-components-product-price__value.is-discounted {
  color: var(--ink);
  font-weight: 700;
}

.aplam-shop .wc-block-components-sale-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--copper-100);
  color: var(--navy-900);
  font-size: var(--fs-xs);
  font-weight: 650;
  text-transform: none;
}

.aplam-shop .is-large .wc-block-cart-items__row .wc-block-cart-item__total {
  display: table-cell;
  text-align: right;
}

.aplam-shop .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.aplam-shop .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.aplam-shop .wc-block-components-quantity-selector {
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: var(--white);
}

.aplam-shop .wc-block-components-quantity-selector::after {
  display: none;
}

.aplam-shop .wc-block-components-quantity-selector__input {
  color: var(--ink);
  font-weight: 650;
}

.aplam-shop .wc-block-components-quantity-selector__button {
  color: var(--navy-800);
}

.aplam-shop .wc-block-cart-item__remove-link {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.aplam-shop .wc-block-cart-item__remove-link:hover {
  color: var(--danger);
}

/* Summen */
.aplam-shop .wc-block-cart__totals-title,
.aplam-shop .wc-block-components-checkout-order-summary__title-text {
  padding: 0 0 14px;
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 650;
  letter-spacing: -.01em;
  text-transform: none;
}

.aplam-shop .wc-block-components-totals-wrapper {
  border-color: var(--line);
}

.aplam-shop .wc-block-components-totals-item__label {
  color: var(--ink-soft);
  font-weight: 550;
}

.aplam-shop .wc-block-components-totals-item__value {
  color: var(--ink);
  font-weight: 650;
}

.aplam-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
}

.aplam-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.aplam-shop .wc-block-components-totals-footer-item-tax {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.aplam-shop .wc-block-components-panel__button {
  color: var(--navy-800);
  font-weight: 600;
}

.aplam-shop .wc-block-cart__submit-container {
  margin-top: 8px;
}

.aplam-shop .wc-block-cart__submit-button,
.aplam-shop .wc-block-components-checkout-place-order-button {
  width: 100%;
  min-height: 56px;
  font-size: 1.0625rem;
}

/* Kasse */
.aplam-shop .wc-block-components-checkout-step {
  margin: 0 0 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.aplam-shop .wc-block-components-checkout-step__title {
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 650;
  letter-spacing: -.01em;
}

.aplam-shop .wc-block-components-checkout-step__description {
  color: var(--muted);
}

.aplam-shop .wc-block-components-text-input input[type="text"],
.aplam-shop .wc-block-components-text-input input[type="email"],
.aplam-shop .wc-block-components-text-input input[type="tel"],
.aplam-shop .wc-block-components-text-input input[type="number"],
.aplam-shop .wc-block-components-text-input input[type="password"],
.aplam-shop .wc-block-components-textarea,
.aplam-shop .wc-block-components-country-input select,
.aplam-shop .wc-block-components-state-input select,
.aplam-shop .wc-blocks-components-select__select,
.aplam-shop .wc-block-components-combobox .components-combobox-control input {
  min-height: 52px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font);
}

.aplam-shop .wc-block-components-text-input input:focus,
.aplam-shop .wc-block-components-textarea:focus,
.aplam-shop .wc-blocks-components-select__select:focus,
.aplam-shop .wc-block-components-combobox .components-combobox-control input:focus {
  border-color: var(--navy-700);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(58 92 117 / 22%);
}

.aplam-shop .wc-block-components-text-input label,
.aplam-shop .wc-blocks-components-select__label {
  color: var(--muted);
}

.aplam-shop .wc-block-components-radio-control__option,
.aplam-shop .wc-block-components-radio-control-accordion-option {
  border-color: var(--line-strong);
  border-radius: var(--r-sm);
}

.aplam-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option-checked,
.aplam-shop .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.aplam-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted {
  box-shadow: inset 0 0 0 2px var(--navy-700);
}

.aplam-shop .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  border: 0;
  box-shadow: none !important;
}

.aplam-shop .wc-block-components-radio-control__input:checked {
  border-color: var(--navy-700);
}

.aplam-shop .wc-block-components-radio-control__input:checked::before {
  background: var(--navy-700);
}

.aplam-shop .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
  border-color: var(--navy-700);
  background: var(--navy-700);
}

.aplam-shop .wc-block-components-checkbox .wc-block-components-checkbox__mark {
  fill: var(--white);
}

.aplam-shop .wc-block-checkout__terms {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.aplam-shop .wc-block-components-checkout-order-summary__title {
  padding: 0;
  border: 0;
}

.aplam-shop .wc-block-components-order-summary-item__image img {
  border-radius: var(--r-xs);
}

.aplam-shop .wc-block-components-order-summary-item__quantity {
  background: var(--navy-800);
  border-color: var(--white);
  color: var(--white);
}

.aplam-shop .wc-block-components-notice-banner {
  border-radius: var(--r-sm);
  font-family: var(--font);
}

/* Konto: Anmeldung und Bereiche */
.woocommerce-account .woocommerce {
  display: block;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword,
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
  max-width: 520px;
  margin: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.woocommerce-account .woocommerce > h2 {
  margin-bottom: 20px;
  font-size: var(--fs-xl);
}

.woocommerce-form-row,
.form-row {
  margin: 0 0 18px;
}

.woocommerce-form-row label,
.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 650;
}

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

.password-input input {
  padding-right: 52px;
}

.show-password-input {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.show-password-input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  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='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%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='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  font-weight: 450;
}

.woocommerce-form-login__submit {
  margin-top: 4px;
}

.woocommerce-LostPassword {
  margin: 18px 0 0;
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
}

/* Bestellbestätigung */
.woocommerce-order {
  max-width: 920px;
}

.woocommerce-notice--success {
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #b8dcc8;
  border-radius: var(--r-md);
  background: #eaf6ef;
  font-size: var(--fs-md);
  font-weight: 600;
}

ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

ul.woocommerce-order-overview li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
}

ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: var(--fs-md);
  letter-spacing: 0;
  text-transform: none;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  margin-top: 32px;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
  margin-bottom: 14px;
  font-size: var(--fs-xl);
}

.woocommerce-table--order-details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

@media (max-width: 720px) {
  .aplam-shop .wc-block-cart-items,
  .aplam-shop .wc-block-cart-items tbody {
    display: block;
    width: 100%;
  }

  .aplam-shop .wc-block-cart-items thead {
    display: none;
  }

  .aplam-shop .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 0 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .aplam-shop .wc-block-cart-items__row td {
    display: block;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
  }

  .aplam-shop .wc-block-cart-item__image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: auto !important;
  }

  .aplam-shop .wc-block-cart-item__image img {
    width: 88px;
    height: 66px;
  }

  .aplam-shop .wc-block-cart-item__product {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .aplam-shop .wc-block-cart-items__row .wc-block-cart-item__total {
    grid-column: 2 !important;
    grid-row: 2 !important;
    text-align: left;
  }

  .aplam-shop .wc-block-cart-item__total {
    margin-top: 10px;
  }

  .aplam-shop .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
  }

  .aplam-shop .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-components-sale-badge {
    margin-top: 0;
  }

  .checkout-steps {
    gap: 6px 16px;
  }

  .checkout-steps__item + .checkout-steps__item::before {
    width: 14px;
  }
}

/* Schmale Telefone: die drei Schritte passen ohne Verbindungsstrich in eine Zeile (sonst verwaister Strich am Zeilenanfang) */
@media (max-width: 480px) {
  .checkout-steps {
    gap: 6px 14px;
  }

  .checkout-steps__item + .checkout-steps__item::before {
    display: none;
  }
}

@media (max-width: 400px) {
  .checkout-steps {
    gap: 6px 10px;
  }

  .checkout-steps__item {
    gap: 6px;
    font-size: .8125rem;
  }

  .checkout-steps__no {
    width: 24px;
    height: 24px;
    font-size: .75rem;
  }
}

@media (max-width: 340px) {
  .checkout-steps {
    gap: 6px 8px;
  }

  .checkout-steps__item {
    gap: 5px;
    font-size: .75rem;
  }
}

/* ---------------------------------------------------------------- Leerer Warenkorb */

.wp-block-woocommerce-empty-cart-block {
  padding-block: clamp(20px, 4vw, 48px) 0;
  text-align: center;
}

/* ruhiges Warenkorb-Symbol statt des Standard-Smileys der WooCommerce-Blocks */
.aplam-shop .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon.wc-block-cart__empty-cart__title::before {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background-color: var(--navy-800);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.1 10.2h9.6L19.4 7H6'/%3E%3Ccircle cx='9.2' cy='19' r='1.4'/%3E%3Ccircle cx='16.8' cy='19' r='1.4'/%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='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.1 10.2h9.6L19.4 7H6'/%3E%3Ccircle cx='9.2' cy='19' r='1.4'/%3E%3Ccircle cx='16.8' cy='19' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wp-block-woocommerce-empty-cart-block h2.wp-block-heading {
  margin-bottom: 0;
  font-size: var(--fs-2xl);
}

.aplam-empty-cart__cta {
  margin: 20px 0 clamp(36px, 6vw, 64px);
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  display: none;
}

.wp-block-woocommerce-empty-cart-block ul.products {
  margin-top: 24px;
  text-align: left;
}

/* Fokusring der WooCommerce-Blocks-Buttons wie im übrigen Shop statt WordPress-Blau */
body.aplam-shop .wc-block-components-button:not(.is-link):focus {
  box-shadow: none;
}

body.aplam-shop .wc-block-components-button:not(.is-link):focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  box-shadow: none;
}

/* Bestellübersicht der Kasse: kurze Wörter („Weidezelt“) nie trennen, lange Komposita nur an Silben */
.aplam-shop .wc-block-components-order-summary-item .wc-block-components-product-name {
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

/* Sehr schmal: Preis unter den Namen, damit der Name die ganze Zeilenbreite hat */
@media (max-width: 400px) {
  .aplam-shop .wc-block-components-order-summary-item {
    flex-wrap: wrap;
  }

  .aplam-shop .wc-block-components-order-summary-item__description {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 0;
  }

  .aplam-shop .wc-block-components-order-summary-item__total-price {
    flex-basis: 100%;
    padding: 0 0 14px 72px;
    text-align: left;
  }
}
