/* ============================================================================
   SD-Link — Produktseiten (Übersicht + Detail)
   ----------------------------------------------------------------------------
   Stilbruecke nach specs/design_handoff_produktseiten (shop2.css des Mocks),
   gegen das echte Storefront/WooCommerce/Germanized-DOM gelegt. Laedt auf
   allen WooCommerce-Seiten + Kaufberater-Seiten, nach sdlink-tokens.css und
   sdlink-base.css. Markup-Hooks: inc/shop.php, inc/pdp.php.
   ============================================================================ */

/* ===== Buttons (Mock .btn-Familie) ======================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-md); cursor: pointer; user-select: none;
  border: 1px solid transparent; text-decoration: none !important;
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn:focus-visible { outline: 0; box-shadow: var(--shadow-focus); }
.btn-primary { background: var(--sd-amber-600); color: #fff !important; border-color: rgba(0,0,0,.08); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--sd-amber-500); color: #fff !important; box-shadow: var(--shadow-2); }
.btn-secondary { background: #fff; color: var(--sd-navy-700) !important; border-color: var(--sd-navy-700); }
.btn-secondary:hover { background: var(--sd-navy-100); }
.btn-dark { background: var(--sd-navy-700); color: #fff !important; box-shadow: var(--shadow-1); }
.btn-dark:hover { background: var(--sd-navy-600); color: #fff !important; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; padding: 0 28px; }
.btn svg { flex: 0 0 auto; width: 16px; height: 16px; }

/* ===== Seiten-Hintergrund + Container ==================================== */
body.sd-shop-archive,
body.single-product,
body.sd-guide-page { background: var(--bg-page); font-family: var(--font-body); }

body.sd-shop-archive #content > .col-full,
body.single-product #content > .col-full,
body.sd-guide-page #content > .col-full { max-width: 1328px; }

/* ===== Breadcrumb ========================================================= */
.storefront-breadcrumb { margin: 0 !important; padding: 18px 0 0; background: transparent; }
.storefront-breadcrumb .col-full { max-width: 1328px; }
.woocommerce-breadcrumb {
  font-size: 13px !important; color: var(--fg-3) !important;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.woocommerce-breadcrumb a { color: var(--fg-2) !important; text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--sd-navy-600) !important; }

/* ===== Intro-Band (Eyebrow + H1 + Subline) ================================ */
.sd-shop-intro { padding: 16px 0 4px; }
.section-eyebrow,
.sd-shop-intro .section-eyebrow {
  font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sd-amber-600); margin: 0 0 4px;
}
.sd-shop-intro h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.01em;
  color: var(--fg-brand); margin: 8px 0 4px;
}
.sd-shop-intro .sd-shop-sub p { margin: 0; color: var(--fg-2); font-size: 16px; max-width: 62ch; }

/* leeren Woo-Header (Titel unterdrueckt) einklappen */
body.sd-shop-archive .woocommerce-products-header { display: none; }

/* ===== Archiv-Layout: Grid mit Filter-Sidebar links ======================= */
@media (min-width: 1025px) {
  body.sd-shop-archive #content > .col-full {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0 32px;
    align-items: start;
  }
  body.sd-shop-archive #content > .col-full > .woocommerce { grid-column: 1 / -1; grid-row: 1; }
  body.sd-shop-archive #content > .col-full > .sd-shop-intro { grid-column: 1 / -1; grid-row: 2; }
  body.sd-shop-archive #content > .col-full > .sd-shop-aside { grid-column: 1; grid-row: 3; }
  body.sd-shop-archive #content > .col-full > #primary { grid-column: 2; grid-row: 3; }
}
body.sd-shop-archive #primary,
body.sd-shop-archive .content-area {
  width: 100% !important; float: none !important; margin: 0 !important;
}
body.sd-shop-archive .sd-shop-aside {
  width: 100% !important; float: none !important; margin: 16px 0 0 !important; padding: 0;
}
body.sd-shop-archive .site-main { padding-top: 16px; }

/* ===== Filter-Sidebar ===================================================== */
.sd-aside-stack { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.sd-filter {
  background: #fff; border: 1px solid var(--sd-line-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); padding: 16px 18px;
}
.sd-filter h4 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);
  margin: 0 0 10px;
}
.sd-filter h4 svg { color: var(--sd-navy-400); }
.sd-filter .opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 8px; margin: 0 -8px; font-size: 14px; cursor: pointer;
  border-radius: 8px; color: var(--fg-1); text-decoration: none !important;
  transition: background var(--dur-fast);
}
.sd-filter .opt:hover { background: var(--sd-navy-050); color: var(--fg-1); }
.sd-filter .opt .lbl { display: inline-flex; align-items: center; gap: 9px; }
.sd-filter .opt .box {
  width: 17px; height: 17px; border-radius: 5px; flex: none;
  border: 1.5px solid var(--sd-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--dur-fast) var(--ease-out);
}
.sd-filter .opt .box svg { width: 12px; height: 12px; opacity: 0; }
.sd-filter .opt.is-active .box { background: var(--sd-amber-600); border-color: var(--sd-amber-600); }
.sd-filter .opt.is-active .box svg { opacity: 1; }
.sd-filter .opt.is-active .lbl { font-weight: 600; color: var(--sd-navy-700); }
.sd-filter .count { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.sd-filter.is-disabled { opacity: .55; }
.sd-filter.is-disabled .opt { cursor: default; }
.sd-filter.is-disabled .opt:hover { background: none; }
.sd-filter-hint {
  margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--fg-3);
  padding-top: 8px; border-top: 1px dashed var(--sd-line-soft);
}
.sd-filter .opt.is-soon { cursor: default; }
.sd-filter .opt .soon-tag {
  margin-left: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sd-amber-600);
  background: var(--sd-amber-100); border-radius: 999px; padding: 1px 7px;
}
.sd-filter-reset {
  background: 0; border: 0; padding: 6px 0; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--sd-navy-600) !important;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important;
}
.sd-filter-reset:hover { color: var(--sd-amber-600) !important; }

/* ===== Adapterfinder-CTA (Navy-Karte) ===================================== */
.sd-finder-cta {
  position: relative; overflow: hidden;
  background: var(--sd-navy-800); color: #fff;
  border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--shadow-2);
}
.sd-finder-cta .eyebrow {
  font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sd-amber-500); margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 7px;
}
.sd-finder-cta h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; line-height: 1.25; color: #fff; }
.sd-finder-cta p { margin: 0 0 14px; font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
.sd-finder-cta .deco {
  position: absolute; right: -28px; top: -28px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(215,107,20,.28), transparent 70%);
}
/* Band-Variante (PDP zwischen Tabs und Related, Guide-Abschluss) */
.sd-finder-band { margin: 8px 0 24px; }
.sd-finder-band .sd-finder-cta,
.sd-guide-close .sd-finder-cta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px 28px;
}
.sd-finder-band .sd-finder-cta .txt,
.sd-guide-close .sd-finder-cta .txt { flex: 1; min-width: 260px; }
.sd-finder-band .sd-finder-cta h4,
.sd-guide-close .sd-finder-cta h4 { font-size: 20px; margin: 0 0 4px; }
.sd-finder-band .sd-finder-cta p,
.sd-guide-close .sd-finder-cta p { margin: 0; }
.sd-guide-close .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Toolbar (Sortierung + Zaehler + Pagination) ======================== */
body.sd-shop-archive .storefront-sorting {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
body.sd-shop-archive ul.products + .storefront-sorting { margin: 34px 0 0; }
body.sd-shop-archive .woocommerce-result-count {
  font-size: 14px; color: var(--fg-3); margin: 0 0 0 auto; float: none !important;
}
body.sd-shop-archive .woocommerce-ordering { margin: 0; float: none !important; position: relative; }
body.sd-shop-archive .woocommerce-ordering select.orderby {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 40px 0 14px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--fg-1); background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  border: 1px solid var(--sd-line); border-radius: var(--r-md);
  cursor: pointer; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
body.sd-shop-archive .woocommerce-ordering select.orderby:focus-visible {
  border-color: var(--sd-navy-500); box-shadow: var(--shadow-focus);
}

/* Pagination */
body.sd-shop-archive .woocommerce-pagination { float: none !important; margin: 0; }
body.sd-shop-archive .woocommerce-pagination ul.page-numbers {
  display: inline-flex; gap: 6px; border: 0 !important; margin: 0; padding: 0;
}
body.sd-shop-archive .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
body.sd-shop-archive .woocommerce-pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  color: var(--fg-2); background: #fff;
  border: 1px solid var(--sd-line) !important; border-radius: var(--r-md);
  text-decoration: none; transition: all var(--dur-fast) var(--ease-out);
}
body.sd-shop-archive .woocommerce-pagination a.page-numbers:hover {
  border-color: var(--sd-navy-400) !important; color: var(--sd-navy-700); background: #fff;
}
body.sd-shop-archive .woocommerce-pagination .page-numbers.current {
  background: var(--sd-navy-700); border-color: var(--sd-navy-700) !important; color: #fff;
}

/* ===== Produkt-Grid ======================================================= */
body.sd-shop-archive ul.products,
.single-product section.related ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important; padding: 0 !important;
  list-style: none;
}
body.sd-shop-archive ul.products::before,
body.sd-shop-archive ul.products::after,
.single-product section.related ul.products::before,
.single-product section.related ul.products::after { display: none; }
body.sd-shop-archive ul.products li.product,
.single-product section.related ul.products li.product {
  width: 100% !important; margin: 0 !important; float: none !important;
}

/* Karten-Feinschliff zum Mock (Basis in sdlink-base.css) */
.woocommerce ul.products li.product { transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.woocommerce ul.products li.product:hover { transform: translateY(-1px); }
.woocommerce ul.products li.product .sd-card-eyebrow { color: var(--fg-3); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px !important; }
.woocommerce ul.products li.product .price { font-size: 20px !important; }
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.ajax_add_to_cart {
  border: 1px solid rgba(0,0,0,.08) !important;
}
/* Rezensions-Sterne: Amber (Shop-Entscheidung; Handoff erlaubt die
   Umstellung des var(--sd-amber-600)-Fremdtons auf Amber/Navy ausdruecklich) */
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .star-rating span { color: var(--sd-amber-600) !important; }

/* Coming-Soon-Teaser (SD-Link ProPilot) */
.woocommerce ul.products li.sd-prod--soon { cursor: default; }
.woocommerce ul.products li.sd-prod--soon:hover { box-shadow: var(--shadow-1); transform: none; }
.woocommerce ul.products li.sd-prod--soon .sd-card-media { position: relative; display: block; overflow: hidden; border-radius: 14px 14px 0 0; }
.woocommerce ul.products li.sd-prod--soon .sd-card-media img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: var(--sd-navy-050); padding: 16px; box-sizing: border-box;
  filter: grayscale(.35);
}
.woocommerce ul.products li.sd-prod--soon .sd-card-media::after {
  content: ''; position: absolute; inset: 0; background: var(--sd-navy-050); opacity: .35;
}
.sd-badge-soon {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
  border-radius: 999px; background: var(--sd-navy-700); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: var(--shadow-1);
}
.woocommerce ul.products li.sd-prod--soon .price.price--soon {
  color: var(--sd-navy-600) !important; font-family: var(--font-display) !important;
}
.woocommerce ul.products li.sd-prod--soon .sd-card-eyebrow { margin-top: 14px; }
.woocommerce ul.products li.sd-prod--soon .woocommerce-loop-product__title { margin: 6px 16px 10px !important; padding: 0 !important; }
.woocommerce ul.products li.product .button.sd-btn-notify {
  background: #fff !important; color: var(--sd-navy-700) !important;
  border: 1px solid var(--sd-navy-700) !important;
}
.woocommerce ul.products li.product .button.sd-btn-notify:hover { background: var(--sd-navy-100) !important; }
.woocommerce ul.products li.product .button.sd-btn-notify svg { margin-right: 2px; }

/* Empty-State */
.sd-empty { text-align: center; padding: 64px 24px; color: var(--fg-3); }
.sd-empty svg { color: var(--sd-navy-200); }
.sd-empty p { margin: 12px 0 16px; }

/* ============================================================================
   PRODUKTDETAILSEITE
   ============================================================================ */

body.single-product .site-main { padding-top: 8px; }
body.single-product .content-area { width: 100% !important; float: none !important; margin: 0 !important; }

/* Zweispaltiges PDP-Grid; Tabs/Band/Related laufen full-width darunter */
@media (min-width: 1025px) {
  body.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 0 48px;
    align-items: start;
  }
  body.single-product div.product > .woocommerce-product-gallery { grid-column: 1; width: 100% !important; float: none !important; margin: 0 !important; }
  body.single-product div.product > .summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; }
  body.single-product div.product > .woocommerce-tabs,
  body.single-product div.product > .sd-finder-band,
  body.single-product div.product > section.related,
  body.single-product div.product > .storefront-sticky-add-to-cart { grid-column: 1 / -1; }
}

/* Produkt-Vor/Zurueck-Pfeile von Storefront passen nicht ins Zielbild */
.storefront-product-pagination { display: none !important; }

/* ----- Galerie ----- */
body.single-product .woocommerce-product-gallery { position: relative; }
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  padding: 32px; box-sizing: border-box;
}
body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { background: transparent; box-shadow: none; padding: 0; }
body.single-product .woocommerce-product-gallery__trigger {
  position: absolute; top: 14px; right: 14px; z-index: 9;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,.92) !important; border: 1px solid var(--sd-line);
  color: var(--sd-navy-700) !important;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-1); transition: all var(--dur-fast);
  text-indent: -9999px; overflow: hidden;
}
body.single-product .woocommerce-product-gallery__trigger::before {
  content: ''; position: absolute; inset: 0; text-indent: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23163558' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' x2='16.65' y1='21' y2='16.65'/><line x1='11' x2='11' y1='8' y2='14'/><line x1='8' x2='14' y1='11' y2='11'/></svg>") center no-repeat;
}
body.single-product .woocommerce-product-gallery__trigger:hover { background: var(--sd-navy-050) !important; }

/* Varianten-Eckband auf der Galerie: Clip-Rahmen spiegelt die obere linke
   Kartenecke (Radius + Mask kappen das rotierte Band sauber); Band selbst
   kommt aus sdlink-base.css (.sd-variant-ribbon) und wird hier auf die
   linke Ecke gespiegelt — rechts oben sitzt der Zoom-Button. */
body.single-product .sd-pdp-ribbon-clip {
  position: absolute; top: 0; left: 0; width: 120px; height: 120px;
  z-index: 8; pointer-events: none; overflow: hidden;
  border-radius: var(--r-lg) 0 0 0;
  -webkit-mask: linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0);
}
body.single-product .sd-pdp-ribbon-clip .sd-variant-ribbon {
  top: 20px; left: -46px; right: auto;
  transform: rotate(-45deg);
}

/* Thumbnail-Reihe (FlexSlider-Nav) */
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin: 14px 0 0 !important; padding: 0; list-style: none;
}
/* Clearfix-Pseudo-Elemente wuerden im Grid zum anonymen ersten Item
   und liessen die erste Zelle leer erscheinen */
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs::before,
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs::after { display: none !important; content: none; }
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
  width: 100% !important; float: none !important; margin: 0 !important; padding: 0;
}
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain; box-sizing: border-box;
  background: #fff; border: 1.5px solid var(--sd-line-soft); border-radius: 10px;
  padding: 8px; cursor: pointer; opacity: 1 !important;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover { border-color: var(--sd-navy-400); }
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active {
  border-color: var(--sd-amber-600); box-shadow: 0 0 0 2px rgba(215,107,20,.18);
}

/* ----- Summary ----- */
.sd-brand-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  background: var(--sd-navy-050); border: 1px solid var(--sd-line-soft);
  text-decoration: none !important;
}
.sd-brand-chip .mark {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--sd-navy-700);
}
.sd-brand-chip .by { font-size: 11px; color: var(--fg-3); }
.sd-brand-chip:hover .mark { color: var(--sd-amber-600); }

body.single-product .summary h1.product_title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em;
  color: var(--fg-brand); margin: 2px 0 10px;
}

/* Bewertungszeile */
body.single-product .woocommerce-product-rating {
  display: flex; align-items: center; gap: 10px; margin: 2px 0 18px !important;
}
body.single-product .woocommerce-product-rating .star-rating,
body.single-product .woocommerce-product-rating .star-rating span { color: var(--sd-amber-600); }
body.single-product .woocommerce-product-rating .woocommerce-review-link {
  font-size: 14px; color: var(--sd-navy-600); text-decoration: underline; text-underline-offset: 3px;
}
body.single-product .woocommerce-product-rating .woocommerce-review-link:hover { color: var(--sd-amber-600); }

/* Preis */
body.single-product .summary p.price {
  font-family: var(--font-mono) !important; font-weight: 600 !important;
  font-size: 36px !important; color: var(--fg-1) !important;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  margin: 0 0 10px !important;
}

/* Germanized-Pflichtblock + Lieferstatus */
body.single-product .summary .legal-price-info,
body.single-product .summary .wc-gzd-additional-info { font-size: 13px; color: var(--fg-3); line-height: 1.6; }
body.single-product .summary .legal-price-info p { margin: 0 0 4px; }
body.single-product .summary p.wc-gzd-additional-info.delivery-time-info {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 16px;
  color: var(--sd-success); font-weight: 600; font-size: 13px;
}
body.single-product .summary p.wc-gzd-additional-info.delivery-time-info::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sd-success); flex: none;
}

/* Kurzbeschreibung */
body.single-product .summary .woocommerce-product-details__short-description {
  font-size: 16px; color: var(--fg-2); line-height: 1.6; margin: 0 0 8px;
}

/* ----- Kaufzeile (Stepper + CTA) ----- */
body.single-product .summary form.cart {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px !important;
}
body.single-product .summary form.cart div.quantity {
  display: inline-flex; align-items: center; height: 52px; margin: 0 !important; float: none !important;
  border: 1px solid var(--sd-line); border-radius: var(--r-md); overflow: hidden; background: #fff;
}
body.single-product .summary form.cart div.quantity .qty {
  width: 56px; height: 50px; text-align: center; border: 0 !important;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  background: #fff; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield;
}
body.single-product .summary form.cart div.quantity .qty::-webkit-inner-spin-button,
body.single-product .summary form.cart div.quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.sd-qty-btn {
  width: 44px; height: 50px; border: 0; background: #fff; cursor: pointer;
  color: var(--fg-2); font-size: 18px; line-height: 1; padding: 0;
}
.sd-qty-btn:hover { background: var(--sd-navy-050); color: var(--sd-navy-700); }
.sd-stepper-ready .qty { border-left: 1px solid var(--sd-line) !important; border-right: 1px solid var(--sd-line) !important; }

body.single-product .summary form.cart .single_add_to_cart_button {
  flex: 1; min-width: 220px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  background: var(--sd-amber-600) !important; color: #fff !important;
  border-radius: var(--r-md) !important; border: 0;
  font-family: var(--font-body) !important; font-weight: 700 !important; font-size: 16px !important;
  box-shadow: var(--shadow-1); transition: background var(--dur-fast) var(--ease-out);
}
body.single-product .summary form.cart .single_add_to_cart_button:hover { background: var(--sd-amber-500) !important; }
body.single-product .summary form.cart .single_add_to_cart_button::before {
  content: ''; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/></svg>") center / contain no-repeat;
}

/* Varianten-Auswahl (z. B. Steckerschrauben) — Label oben, Select im Shop-Look */
body.single-product .summary form.variations_form table.variations {
  width: 100%; margin: 0 0 18px; border: 0; border-collapse: collapse;
}
body.single-product .summary form.variations_form table.variations tbody,
body.single-product .summary form.variations_form table.variations tr { display: block; }
body.single-product .summary form.variations_form table.variations th.label {
  display: block; width: auto; padding: 0 0 7px; text-align: left;
  font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--fg-2);
}
body.single-product .summary form.variations_form table.variations th.label label { margin: 0; font-weight: 600; }
body.single-product .summary form.variations_form td.value {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0;
}
body.single-product .summary form.variations_form td.value select {
  appearance: none; -webkit-appearance: none;
  flex: 1 1 300px; min-width: 200px; max-width: 100%;
  height: 48px; padding: 0 44px 0 16px; margin: 0;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--fg-1); background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  border: 1px solid var(--sd-line); border-radius: var(--r-md);
  cursor: pointer; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
body.single-product .summary form.variations_form td.value select:hover { border-color: var(--sd-navy-400); }
body.single-product .summary form.variations_form td.value select:focus-visible {
  border-color: var(--sd-navy-500); box-shadow: var(--shadow-focus);
}
body.single-product .summary form.variations_form td.value .reset_variations {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--fg-3);
  text-decoration: none; transition: color var(--dur-fast);
}
body.single-product .summary form.variations_form td.value .reset_variations::before {
  content: ''; width: 15px; height: 15px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/><path d='M21 3v5h-5'/><path d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/><path d='M3 21v-5h5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/><path d='M21 3v5h-5'/><path d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/><path d='M3 21v-5h5'/></svg>") center / contain no-repeat;
}
body.single-product .summary form.variations_form td.value .reset_variations:hover { color: var(--sd-amber-600); }

/* Eigenes Varianten-Dropdown mit Untertext (JS-Enhancement, sdlink-shop.js).
   Das native Select wird zugaenglich versteckt und bleibt funktional. */
.sd-vselect { position: relative; flex: 1 1 300px; min-width: 200px; max-width: 100%; }
/* Im geoeffneten Zustand ueber das PayPal-/Express-iframe (zoid, z-index:100) heben. */
.sd-vselect.is-open { z-index: 140; }
body.single-product .summary form.variations_form td.value select.sd-vselect-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; border: 0 !important;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; background: none;
}
.sd-vselect-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; padding: 7px 14px 7px 16px;
  background: #fff; border: 1px solid var(--sd-line); border-radius: var(--r-md);
  cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.sd-vselect-trigger:hover { border-color: var(--sd-navy-400); }
.sd-vselect.is-open .sd-vselect-trigger,
.sd-vselect-trigger:focus-visible { border-color: var(--sd-navy-500); box-shadow: var(--shadow-focus); outline: none; }
.sd-vselect-trigger-main { display: grid; gap: 1px; min-width: 0; }
.sd-vselect-chevron {
  flex: 0 0 auto; width: 16px; height: 16px; color: var(--fg-3); background: currentColor;
  transition: transform var(--dur-fast);
}
.sd-vselect.is-open .sd-vselect-chevron { transform: rotate(180deg); }
.sd-vselect-label { font-size: 15px; font-weight: 600; color: var(--fg-1); line-height: 1.3; }
.sd-vselect-sub { font-size: 12.5px; font-weight: 700; color: var(--sd-amber-600); line-height: 1.3; }
.sd-vselect-list {
  position: absolute; z-index: 140; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--sd-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); max-height: 320px; overflow: auto;
}
.sd-vselect-opt {
  display: grid; gap: 1px; padding: 9px 12px; border-radius: var(--r-sm);
  cursor: pointer; outline: none;
}
.sd-vselect-opt:hover, .sd-vselect-opt:focus { background: var(--sd-navy-050); }
.sd-vselect-opt.is-selected { background: var(--sd-amber-100); }
.sd-vselect-opt.is-selected:hover, .sd-vselect-opt.is-selected:focus { background: var(--sd-amber-100); }
.sd-vselect-opt.is-placeholder .sd-vselect-label { color: var(--fg-3); font-weight: 500; }

/* PayPal-/Express-Umfeld */
body.single-product .summary .ppc-button-wrapper { max-width: 420px; margin: 4px 0 22px; }

/* Trust-Chips */
.sd-trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.sd-trust-strip .chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--sd-navy-050); border: 1px solid var(--sd-line-soft);
  font-size: 12.5px; font-weight: 600; color: var(--sd-navy-700);
}
.sd-trust-strip .chip svg { color: var(--sd-amber-600); }

/* product_meta */
body.single-product .summary .product_meta {
  border-top: 1px solid var(--sd-line-soft); padding-top: 18px; margin-top: 4px;
  font-size: 13.5px; color: var(--fg-3); line-height: 1.7;
}
body.single-product .summary .product_meta > span { display: block; margin-bottom: 4px; }
body.single-product .summary .product_meta .sku { font-family: var(--font-mono); color: var(--fg-2); }
body.single-product .summary .product_meta a { color: var(--sd-navy-600); text-decoration: none; }
body.single-product .summary .product_meta a:hover { color: var(--sd-amber-600); text-decoration: underline; text-underline-offset: 2px; }

/* ----- Tabs (horizontale Markenleiste) -----
   Storefront layoutet die Tabs auf dem Desktop als LINKE SPALTE
   (ul.tabs width 30 % float:left, .panel width 65 % float:right) —
   beides muss neutralisiert werden, sonst zerreisst die Sektion. */
body.single-product .woocommerce-tabs { padding: 32px 0 8px; }
body.single-product .woocommerce-tabs ul.wc-tabs {
  display: flex !important; gap: 4px; margin: 0 !important; padding: 0 !important;
  width: 100% !important; float: none !important;
  border-bottom: 1px solid var(--sd-line); border-top: 0 !important;
  background: transparent !important;
  overflow-x: auto; scrollbar-width: none; list-style: none;
}
body.single-product .woocommerce-tabs ul.wc-tabs::-webkit-scrollbar { display: none; }
body.single-product .woocommerce-tabs ul.wc-tabs::before,
body.single-product .woocommerce-tabs ul.wc-tabs::after { display: none !important; }
body.single-product .woocommerce-tabs ul.wc-tabs li {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  margin: 0 0 -1px !important; padding: 0 !important; box-shadow: none !important; float: none !important;
}
body.single-product .woocommerce-tabs ul.wc-tabs li a {
  display: block; white-space: nowrap;
  font-family: var(--font-display) !important; font-weight: 600 !important; font-size: 16px !important;
  color: var(--fg-3) !important; padding: 14px 16px !important;
  border-bottom: 2px solid transparent !important;
  text-decoration: none !important; box-shadow: none !important;
  transition: color var(--dur-fast);
}
body.single-product .woocommerce-tabs ul.wc-tabs li a:hover { color: var(--sd-navy-700) !important; }
body.single-product .woocommerce-tabs ul.wc-tabs li.active a {
  color: var(--sd-navy-700) !important; border-bottom-color: var(--sd-amber-600) !important;
}
body.single-product .woocommerce-tabs ul.wc-tabs li a .badge-count {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--fg-3); margin-left: 4px;
}
body.single-product .woocommerce-Tabs-panel {
  width: 100% !important; float: none !important;
  padding: 28px 0 8px !important; margin: 0 !important; max-width: 880px;
  font-size: 16px; line-height: 1.7; color: var(--fg-1);
}
/* Doppelte Panel-Ueberschrift ("Beschreibung" etc.) ausblenden */
body.single-product .woocommerce-Tabs-panel > h2:first-of-type { display: none; }
body.single-product .woocommerce-Tabs-panel--reviews { max-width: 880px; }

body.single-product .woocommerce-Tabs-panel p { margin: 0 0 16px; }
body.single-product .woocommerce-Tabs-panel ul {
  margin: 0 0 16px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
body.single-product .woocommerce-Tabs-panel--description ul li {
  position: relative; padding-left: 26px; line-height: 1.6;
}
body.single-product .woocommerce-Tabs-panel--description ul li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--sd-amber-600); transform: rotate(45deg);
}
body.single-product .woocommerce-Tabs-panel a { color: var(--sd-navy-600); text-decoration: underline; text-underline-offset: 3px; }
body.single-product .woocommerce-Tabs-panel a:hover { color: var(--sd-amber-600); }

/* Rich-Text-Bausteine der Beschreibung (docs/produktdetail-regeln.md §2-4) */
body.single-product .woocommerce-Tabs-panel--description p { text-wrap: pretty; }
body.single-product .woocommerce-Tabs-panel--description p.sd-lead { font-size: 17px; }
body.single-product .woocommerce-Tabs-panel--description h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--fg-brand); margin: 24px 0 12px;
}
.sd-callout {
  background: var(--sd-navy-050); border-left: 3px solid var(--sd-amber-600);
  border-radius: 8px; padding: 14px 18px; margin: 0 0 20px;
  font-size: 15px; color: var(--fg-2);
}
.sd-note,
p.sd-note {
  background: var(--sd-warning-bg); border-radius: 8px; padding: 12px 16px;
  font-size: 14px; color: #6b5310;
}
body.single-product .woocommerce-Tabs-panel .mono { font-family: var(--font-mono); font-size: .92em; }

/* Spec-Tabelle (Zusaetzliche Informationen) */
body.single-product table.woocommerce-product-attributes {
  width: 100%; border-collapse: collapse; border: 0;
}
body.single-product table.woocommerce-product-attributes tr {
  border-bottom: 1px solid var(--sd-line-soft); background: transparent !important;
}
body.single-product table.woocommerce-product-attributes tr:last-child { border-bottom: 0; }
body.single-product table.woocommerce-product-attributes th {
  text-align: left; vertical-align: top; width: 38%; padding: 12px 16px 12px 0;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3);
  background: transparent !important; border: 0;
}
body.single-product table.woocommerce-product-attributes td {
  padding: 12px 0; font-family: var(--font-mono); font-size: 14px; color: var(--fg-1);
  background: transparent !important; border: 0; font-style: normal;
}
body.single-product table.woocommerce-product-attributes td p { margin: 0; }

/* Produktsicherheit (Germanized + Standard-Hinweis) */
body.single-product .woocommerce-Tabs-panel--product_safety h2,
body.single-product .woocommerce-Tabs-panel--product_safety h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg-brand);
}
.sd-safety p { margin: 0 0 14px; line-height: 1.7; color: var(--fg-1); }
.sd-safety .producer {
  background: var(--sd-navy-050); border-radius: 12px; padding: 16px 20px; margin-top: 6px;
  font-size: 14px; line-height: 1.7; color: var(--fg-2);
}
.sd-safety .producer b { color: var(--fg-1); }
.sd-safety .producer a { color: var(--sd-navy-600); text-decoration: none; }
.sd-safety .producer a:hover { color: var(--sd-amber-600); text-decoration: underline; text-underline-offset: 2px; }

/* ----- Rezensionen ----- */
.sd-reviews-summary {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
  background: var(--sd-navy-050); border-radius: var(--r-lg); padding: 24px 28px; margin: 0 0 28px;
}
.sd-reviews-avg { text-align: center; }
.sd-reviews-avg .big { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--fg-brand); }
.sd-reviews-avg .of { font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); margin-top: 6px; }
.sd-reviews-avg .sd-stars { margin: 8px 0 0; }
.sd-stars { display: inline-flex; gap: 2px; line-height: 0; color: var(--sd-line); }
.sd-stars svg { color: var(--sd-line); }
.sd-stars svg.is-on { color: var(--sd-amber-600); }
.sd-dist { display: flex; flex-direction: column; gap: 8px; }
.sd-dist-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-3); }
.sd-dist-row .lbl { width: 66px; font-family: var(--font-mono); white-space: nowrap; }
.sd-dist-row .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--sd-navy-200); overflow: hidden; }
.sd-dist-row .bar span { display: block; height: 100%; background: var(--sd-amber-600); border-radius: 999px; }
.sd-dist-row .n { width: 24px; text-align: right; font-family: var(--font-mono); }

body.single-product .woocommerce-Reviews .woocommerce-Reviews-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); /* a11y: vorhanden, unsichtbar */
}
body.single-product .woocommerce-Reviews ol.commentlist { margin: 0 !important; padding: 0; list-style: none; }
body.single-product .woocommerce-Reviews ol.commentlist li.review {
  padding: 20px 0; margin: 0; border-bottom: 1px solid var(--sd-line-soft);
}
body.single-product .woocommerce-Reviews ol.commentlist li.review:last-child { border-bottom: 0; }
body.single-product .woocommerce-Reviews .comment_container { position: relative; padding-left: 52px; }
body.single-product .woocommerce-Reviews .comment_container > img.avatar {
  position: absolute; left: 0; top: 0;
  width: 38px !important; height: 38px; border-radius: 50%; object-fit: cover;
  border: 0 !important; padding: 0 !important; background: var(--sd-navy-100);
}
body.single-product .woocommerce-Reviews .comment-text {
  margin: 0 !important; border: 0 !important; padding: 0 !important;
}
body.single-product .woocommerce-Reviews .comment-text .star-rating { float: right; color: var(--sd-amber-600); }
body.single-product .woocommerce-Reviews .comment-text .star-rating span { color: var(--sd-amber-600); }
body.single-product .woocommerce-Reviews .comment-text p.meta {
  margin: 0 0 8px; font-size: 14px; color: var(--fg-3);
}
body.single-product .woocommerce-Reviews .comment-text p.meta .woocommerce-review__author {
  font-weight: 700; font-size: 14px; color: var(--fg-1); display: block;
}
body.single-product .woocommerce-Reviews .comment-text p.meta time,
body.single-product .woocommerce-Reviews .comment-text p.meta .woocommerce-review__published-date {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
}
body.single-product .woocommerce-Reviews .comment-text p.meta .woocommerce-review__dash { display: none; }
body.single-product .woocommerce-Reviews .comment-text .description { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
body.single-product .woocommerce-Reviews .comment-text .description p { margin: 0 0 8px; }
/* Germanized: Verifizierter Kauf */
body.single-product .woocommerce-Reviews .wc-gzd-review-authenticity-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; margin: 8px 0 0;
}
body.single-product .woocommerce-Reviews .wc-gzd-review-authenticity-status.is-verified { color: var(--sd-success); }
body.single-product .woocommerce-Reviews .wc-gzd-review-authenticity-status.is-unverified { color: var(--fg-3); font-weight: 400; }

/* Bewertungsformular */
body.single-product #review_form_wrapper { margin-top: 28px; }
body.single-product #review_form .comment-reply-title {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--fg-brand);
}
body.single-product #review_form input[type='text'],
body.single-product #review_form input[type='email'],
body.single-product #review_form textarea,
body.single-product #review_form select {
  border: 1px solid var(--sd-line); border-radius: var(--r-md); background: #fff;
  font-family: var(--font-body); box-shadow: none;
}
body.single-product #review_form input.submit {
  background: var(--sd-amber-600); color: #fff; border-radius: var(--r-md);
  font-family: var(--font-body); font-weight: 700; height: 44px; padding: 0 20px; border: 0;
}
body.single-product #review_form input.submit:hover { background: var(--sd-amber-500); }

/* ----- Sticky-Kaufleiste ----- */
.storefront-sticky-add-to-cart {
  background: rgba(255,255,255,.96) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sd-line);
  box-shadow: var(--shadow-2) !important;
}
.storefront-sticky-add-to-cart__content {
  max-width: 1280px; margin: 0 auto; padding: 10px 24px !important;
  display: flex; align-items: center; gap: 16px;
}
.storefront-sticky-add-to-cart__content img {
  width: 48px !important; height: 48px; object-fit: contain;
  background: var(--sd-navy-050); border-radius: 8px; padding: 4px; box-sizing: border-box;
}
.storefront-sticky-add-to-cart__content-product-info { flex: 1; min-width: 0; }
.storefront-sticky-add-to-cart__content-title {
  display: block; font-size: 11px; color: var(--fg-3);
}
.storefront-sticky-add-to-cart__content-title strong {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.storefront-sticky-add-to-cart__content-price {
  font-family: var(--font-mono); font-weight: 600; font-size: 18px; color: var(--fg-1) !important; white-space: nowrap;
}
.storefront-sticky-add-to-cart__content .star-rating { display: none; }
.storefront-sticky-add-to-cart__content-button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--sd-amber-600) !important; color: #fff !important;
  border-radius: var(--r-md) !important; font-weight: 700 !important;
  height: 44px; padding: 0 20px !important;
}
.storefront-sticky-add-to-cart__content-button:hover { background: var(--sd-amber-500) !important; }

/* ----- Ähnliche Produkte ----- */
body.single-product section.related {
  margin-top: 16px; padding: 32px;
  background: var(--bg-sunken); border-radius: var(--r-xl);
}
body.single-product section.related > h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  color: var(--fg-brand); margin: 0 0 24px;
}
body.single-product section.related > h2::before {
  content: 'Ähnliche Produkte';
  display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sd-amber-600); margin-bottom: 8px;
}

/* ===== Responsive ========================================================= */
@media (max-width: 1024px) {
  body.sd-shop-archive .sd-shop-aside { position: static; margin-bottom: 20px !important; }
  .sd-aside-stack { position: static; flex-direction: row; flex-wrap: wrap; }
  .sd-aside-stack .sd-filter { flex: 1 1 200px; min-width: 200px; }
  .sd-aside-stack .sd-finder-cta { flex: 1 1 100%; }
  body.single-product div.product > .summary { margin-top: 24px !important; }
}
@media (max-width: 720px) {
  body.sd-shop-archive ul.products,
  .single-product section.related ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sd-aside-stack { flex-direction: column; }
  .sd-reviews-summary { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .storefront-sticky-add-to-cart__content-price { display: none; }
  body.sd-shop-archive .storefront-sorting { justify-content: flex-start; }
  body.sd-shop-archive .woocommerce-result-count { margin-left: 0; }
}
@media (max-width: 480px) {
  body.sd-shop-archive ul.products,
  .single-product section.related ul.products { grid-template-columns: 1fr; }
  body.single-product .woocommerce-product-gallery ol.flex-control-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================================
   NOTIFY DIALOG — "Verfügbarkeit melden" (specs/handoff_notify_dialog)
   Markup: inc/notify.php (wp_footer) · Verhalten: assets/js/sdlink-notify.js
   ----------------------------------------------------------------------------
   Die geteilte Dialog-Hülle (Scrim · Wrap · Karte · Kopf · Felder · Consent ·
   Aktionen · Erfolg · .is-hidden) wurde nach assets/css/sdlink-dialog.css
   ausgelagert — sie teilt sich der Benachrichtigungs-Dialog (#sd-notify) mit dem
   Einsende-Dialog (#sd-submit, inc/einsende.php) auf Galerie-/Produktseiten.
   inc/notify.php enqueued 'sdlink-dialog' als Abhängigkeit. Hier verbleiben nur
   noch ggf. notify-eigene Ergänzungen (derzeit keine).
   ============================================================================ */
