/* ══════════════════════════════════════════════════════════
   SHARED BREADCRUMB + TITLE — originally single-product only
   (.sp-hero), now also used above the Deine Auswahl / cart page
   title and the request-a-quote page title, so all three share the
   exact same box width, breadcrumb style, and red-square marker.
══════════════════════════════════════════════════════════ */
.sp-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4%, 80px);
}

/* Cart page + request-a-quote page: all content there (including this
   breadcrumb/title box) is boxed at 1200px, not the single-product page's
   wider 1600px. */
.sp-container--narrow {
  max-width: 1200px;
}

.sp-breadcrumb-wrap {
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  text-transform: uppercase;
}

.sp-breadcrumb-wrap nav.sp-breadcrumb {
  margin: 0;
  padding: 0;
}

.sp-breadcrumb-wrap a {
  color: var(--white, #ffffff);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
}

.sp-breadcrumb-wrap .sp-breadcrumb-sep {
  margin: 0 8px;
  text-decoration: none;
  display: inline-block;
  color: var(--white, #ffffff);
}

.sp-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.sp-sprungmarke {
  width: 20px;
  height: 20px;
  background-color: var(--red, #EB280F);
  margin-right: 18px;
  flex-shrink: 0;
}

.sp-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white, #ffffff);
  margin: 0;
  line-height: 1;
}

/* Mobile-only (≤666px) replacement for .sp-breadcrumb-wrap — single
   product page only (single-rental.php). See the ≤666px media query
   further down for the swap. */
.sp-mobile-back-link {
  display: none;
}

/* ══════════════════════════════════════════════════════════
   SHOP NAV — Startseite / Deine Auswahl (cart) / Kontakt.
   Rendered on the Mietkatalog, single rental product, and cart
   pages only (template-parts/shop-nav.php) — header.php skips its
   own .nav-menu entirely on these pages, so this REPLACES it
   rather than appearing as a second bar. On desktop it takes over
   .nav-menu's exact fixed top-right slot (see @media below); below
   1024px (where .nav-menu becomes a full-screen hamburger overlay
   this page has no equivalent for) it stays a simple in-flow bar,
   with its own top padding providing the fixed-header clearance.
══════════════════════════════════════════════════════════ */
.mk-shop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: clamp(140px, 16vw, 300px) clamp(20px, 4%, 80px) 20px;
  background-color: var(--black, #0a0a0a);
  font-family: 'Inter', sans-serif;
}

/* Same fixed top-right slot .nav-menu occupies on desktop (transparent,
   height matching the logo + its vertical padding), so it visually
   completes the header row instead of sitting further down the page.
   Also applied ≤666px (item 1) so "Deine Auswahl" + the burger button
   sit next to the logo instead of in their own bar further down —
   the mobile header (style.css, max-width:1023px) is always in its
   compact/"scrolled" state, whose height happens to match this exact
   formula too, so the same rule works unchanged at both ends. */
@media (min-width: 1024px), (max-width: 666px) {
  .mk-shop-nav {
    position: fixed;
    top: 0;
    right: clamp(24px, 4.17%, 80px);
    z-index: 100;
    height: calc(67.96px + 32px);
    padding: 0;
    background-color: transparent;
  }
}

.mk-shop-nav-link {
  color: var(--white, #ffffff);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.mk-shop-nav-link:hover {
  opacity: 0.75;
}

.mk-shop-nav-cart {
  position: relative;
}

.mk-shop-nav-cart-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white, #ffffff);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.mk-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white, #ffffff);
  background-color: var(--red, #EB280F);
  border-radius: 6px;
}

/* Flush against the trigger (no gap) so the pointer never crosses empty
   space on the way from the trigger into the panel — a gap there would
   fire mouseleave on .mk-shop-nav-cart before the user reaches the panel. */
.mk-shop-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  z-index: 200;
  padding-top: 12px;
  background-color: transparent;
}

.mk-shop-nav-dropdown-body {
  max-height: 320px;
  overflow-y: auto;
  padding: 20px 20px 12px;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.sc-mini-cart-empty {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.sc-mini-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-mini-cart-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--white, #ffffff);
}

.sc-mini-cart-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-mini-cart-item-qty {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
}

.mk-shop-nav-dropdown-link {
  display: block;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--white, #ffffff);
  text-decoration: none;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.mk-shop-nav-dropdown-link:hover {
  background-color: #262626;
}

.mk-shop-nav-cta {
  margin-left: auto;
  padding: 10px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1px solid var(--white, #ffffff);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.mk-shop-nav-cta:hover {
  background-color: #262626;
}

/* Above 666px: these two wrappers get out of the way entirely (their
   children — .mk-shop-nav-link/.mk-shop-nav-cta — flow as direct flex
   items of .mk-shop-nav, exactly as before this markup existed) and the
   burger button never renders. Below 666px, see the media query below. */
.mk-shop-nav-burger-wrap,
.mk-shop-nav-burger-menu {
  display: contents;
}

.mk-shop-nav-burger {
  display: none;
}

@media (max-width: 600px) {
  .mk-shop-nav-dropdown {
    width: calc(100vw - 40px);
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE (≤666px): "Deine Auswahl" moves to the front of the bar;
   Startseite/Kontakt collapse behind a burger button instead of
   sitting inline (single-rental.php, cart.php, page-mietkatalog.php
   all share this nav — the change applies to all three).
══════════════════════════════════════════════════════════ */
@media (max-width: 666px) {
  /* Item 2: 5px clearance from the very top edge instead of flush 0.
     Item 3: tighter gap so "Auswahl" sits closer to the burger button. */
  .mk-shop-nav {
    top: 5px;
    gap: 12px;
  }

  .mk-shop-nav-burger-wrap {
    display: block;
    position: static;
  }

  /* Item 2: same visual + animation as the homepage's .hamburger
     (style.css) — identical span sizing/gap/transform values.
     position+z-index above the overlay's z-index:99: unlike the
     homepage (where .hamburger and .nav-menu are siblings at the
     top level, so header's z-index:100 alone settles it), the
     button and .mk-shop-nav-burger-menu here share .mk-shop-nav's
     stacking context — without its own stacking position the button
     would paint underneath the positioned overlay regardless of the
     99 vs 100 numbers, since non-positioned content always paints
     below positioned descendants within the same context. */
  .mk-shop-nav-burger {
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mk-shop-nav-burger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--white, #ffffff);
    border-radius: 50px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .mk-shop-nav-burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mk-shop-nav-burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mk-shop-nav-burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Item 2: same full-screen slide-out treatment as the homepage's
     .nav-menu (style.css, max-width:1023px) — identical background,
     fade transition, and link typography. */
  .mk-shop-nav-burger-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: clamp(100px, 22vw, 180px) clamp(24px, 6vw, 80px) 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mk-shop-nav-burger-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mk-shop-nav-burger-menu .mk-shop-nav-link,
  .mk-shop-nav-burger-menu .mk-shop-nav-cta {
    font-size: 24px;
    line-height: 26px;
    font-weight: 300;
    opacity: 0.9;
    color: var(--white, #ffffff);
  }

  .mk-shop-nav-burger-menu .mk-shop-nav-cta {
    margin-left: 0;
    padding: 0;
    border: none;
    background: none;
  }

  /* Item 3: hide the red "sprungmarke" square on every shop-flow title
     (cart, single product, Anfrage Danke) at this breakpoint only. */
  .sp-sprungmarke {
    display: none;
  }

  /* Item 2 (previous request): single product page only — swap the
     breadcrumb trail for a single "← Zum Mietkatalog" back-link. */
  .sp-breadcrumb-wrap {
    display: none;
  }

  .sp-mobile-back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--white, #ffffff);
    text-decoration: underline;
    text-decoration-skip-ink: auto;
  }
}

/* ══════════════════════════════════════════════════════════
   CART PAGE — custom template (bypasses the WC Cart block,
   see SC_Shop_Connector::template_include()). Below 1024px,
   .mk-shop-nav still reserves flow space with its own big
   clearance padding, so this only needs a small gap under it.
══════════════════════════════════════════════════════════ */
.mk-cart-page {
  background-color: var(--black, #0a0a0a);
  color: var(--white, #ffffff);
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

/* .mk-shop-nav is position:fixed (no longer reserves flow space) both
   ≥1024px and ≤666px (item 1 — see the .mk-shop-nav media query above),
   so this page needs its own full fixed-header clearance at both ends;
   667–1023px still gets it for free from .mk-shop-nav's own in-flow
   padding. Same value as .site-main's generic clearance (style.css)
   used on e.g. the request-a-quote form page. */
@media (min-width: 1024px), (max-width: 666px) {
  .mk-cart-page {
    padding-top: clamp(140px, 16vw, 300px);
  }
}

.mk-cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4%, 80px);
}

.mk-cart-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--white, #ffffff);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.mk-cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.mk-cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.mk-cart-row-image {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--white, #ffffff);
}

.mk-cart-row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-cart-row-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mk-cart-row-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white, #ffffff);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-cart-row-title:hover {
  text-decoration: underline;
}

.mk-cart-row-number {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.mk-cart-row-price,
.mk-cart-row-total {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white, #ffffff);
  white-space: nowrap;
}

.mk-cart-row-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-cart-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mk-cart-qty-btn:hover {
  background-color: #262626;
}

.mk-cart-qty-input {
  width: 40px;
  height: 28px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--white, #ffffff);
  background-color: var(--black, #0a0a0a);
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
}

.mk-cart-row-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mk-cart-row-remove:hover {
  color: var(--white, #ffffff);
}

.mk-cart-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 32px;
}

.mk-cart-summary-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.mk-cart-summary-total {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white, #ffffff);
}

.mk-cart-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 100px;
}

.mk-cart-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white, #ffffff);
  background-color: var(--red, #EB280F);
  border: 1.5px solid var(--red, #EB280F);
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.mk-cart-submit:hover {
  opacity: 0.85;
}

.mk-cart-empty {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.mk-cart-empty-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.mk-cart-empty-link:hover {
  background-color: #262626;
}

@media (max-width: 700px) {
  .mk-cart-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "image info"
      "image price"
      "qty qty"
      "total remove";
    row-gap: 10px;
  }

  .mk-cart-row-image  { grid-area: image; width: 56px; height: 56px; }
  .mk-cart-row-info   { grid-area: info; }
  .mk-cart-row-price  { grid-area: price; }
  .mk-cart-row-qty    { grid-area: qty; }
  .mk-cart-row-total  { grid-area: total; }
  .mk-cart-row-remove { grid-area: remove; justify-self: end; }
}

/* ══════════════════════════════════════════════════════════
   INQUIRY FORM — [sc_rental_form] shortcode, rendered inside a
   plain WP page. Scoped under .sc-inquiry-form-wrapper so it
   overrides the plugin's generic light styles (shop-connector-
   frontend.css) regardless of stylesheet load order.
══════════════════════════════════════════════════════════ */
.sc-inquiry-form-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4%, 80px);
  font-family: 'Inter', sans-serif;
  color: var(--white, #ffffff);
  box-sizing: border-box;
}

.sc-inquiry-form-wrapper .sc-form-section {
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}

.sc-inquiry-form-wrapper .sc-form-section legend,
.sc-inquiry-form-wrapper .sc-order-summary h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white, #ffffff);
  padding: 0 8px;
}

.sc-inquiry-form-wrapper .sc-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sc-inquiry-form-wrapper .sc-form-field {
  margin-bottom: 20px;
}

.sc-inquiry-form-wrapper .sc-form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white, #ffffff);
}

.sc-inquiry-form-wrapper .sc-form-field input,
.sc-inquiry-form-wrapper .sc-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black, #0a0a0a);
  background-color: var(--white, #ffffff);
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  box-sizing: border-box;
}

.sc-inquiry-form-wrapper .sc-form-field input::placeholder,
.sc-inquiry-form-wrapper .sc-form-field textarea::placeholder {
  color: rgba(10, 10, 10, 0.4);
}

.sc-inquiry-form-wrapper .sc-form-field input:focus,
.sc-inquiry-form-wrapper .sc-form-field textarea:focus {
  outline: 2px solid var(--red, #EB280F);
  outline-offset: 1px;
}

.sc-inquiry-form-wrapper .sc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.sc-inquiry-form-wrapper .sc-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--white, #ffffff);
  cursor: pointer;
}

.sc-inquiry-form-wrapper .sc-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red, #EB280F);
}

/* Order summary table */
.sc-inquiry-form-wrapper .sc-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.sc-inquiry-form-wrapper .sc-order-table th,
.sc-inquiry-form-wrapper .sc-order-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sc-inquiry-form-wrapper .sc-order-table th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background-color: transparent;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
}

.sc-inquiry-form-wrapper .sc-order-table td {
  font-size: 15px;
  color: var(--white, #ffffff);
}

.sc-inquiry-form-wrapper .sc-order-table tfoot td {
  border-bottom: none;
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  padding-top: 18px;
  font-size: 16px;
}

.sc-inquiry-form-wrapper .sc-price-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

.sc-inquiry-form-wrapper .sc-form-errors {
  background-color: rgba(235, 40, 15, 0.12);
  border: 1px solid var(--red, #EB280F);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white, #ffffff);
  margin-top: 16px;
}

.sc-inquiry-form-wrapper .sc-form-success {
  background-color: rgba(11, 133, 94, 0.12);
  border: 1px solid #0b855e;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white, #ffffff);
  margin-top: 16px;
}

.sc-inquiry-form-wrapper .sc-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sc-inquiry-form-wrapper .sc-btn-back {
  color: var(--white, #ffffff);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.sc-inquiry-form-wrapper .sc-btn-back:hover {
  text-decoration: underline;
}

.sc-inquiry-form-wrapper .sc-btn-submit {
  padding: 16px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.sc-inquiry-form-wrapper .sc-btn-submit:hover {
  background-color: #262626;
}

.sc-inquiry-form-wrapper .sc-cart-empty-notice {
  text-align: center;
  padding: 60px 0;
}

.sc-inquiry-form-wrapper .sc-cart-empty-notice p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.sc-inquiry-form-wrapper .sc-cart-empty-notice .button {
  display: inline-flex;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.sc-inquiry-form-wrapper .sc-cart-empty-notice .button:hover {
  background-color: #262626;
}

@media (max-width: 700px) {
  .sc-inquiry-form-wrapper .sc-form-row--2col {
    grid-template-columns: 1fr;
  }

  .sc-inquiry-form-wrapper .sc-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ══════════════════════════════════════════════════════════
   SHOP & MIETKATALOG STYLES
══════════════════════════════════════════════════════════ */
.mietkatalog-page {
  background-color: var(--black, #0a0a0a);
  color: var(--white, #ffffff);
  /* Below 1024px, .mk-shop-nav still reserves flow space with its own big
     clearance padding, so this only needs a small gap under it. */
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(40px, 5vw, 100px);
}

/* .mk-shop-nav is position:fixed (no longer reserves flow space) both
   ≥1024px and ≤666px (item 1 — see the .mk-shop-nav media query above),
   so this page needs its own full fixed-header clearance at both ends;
   667–1023px still gets it for free from .mk-shop-nav's own in-flow
   padding. */
@media (min-width: 1024px), (max-width: 666px) {
  .mietkatalog-page {
    padding-top: clamp(140px, 16vw, 300px);
  }
}

.mietkatalog-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4%, 80px);
}

.mietkatalog-header {
  margin-bottom: clamp(60px, 6vw, 100px);
}

.mietkatalog-header .label {
  margin-bottom: 28px;
}

.mietkatalog-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--white, #ffffff);
  margin-bottom: 24px;
}

.mietkatalog-description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.333;
  color: var(--white, #ffffff);
  max-width: 1194px;
}

.mietkatalog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

/* Cart page cross-sell suggestions: exactly 3 cards, so span 4 columns each
   (3 × 4 = 12) instead of the default span-3 (built for 4-per-row) — fills
   the full width of the boxed .mk-cart-container instead of leaving a gap. */
.mietkatalog-grid--cart-suggestions .mietkatalog-card {
  grid-column: span 4;
}

/* Section labels sit on their own full-width row */
.mietkatalog-section-label {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 40px 0 40px;
}

.mietkatalog-results-heading {
  font-family: 'Inter', sans-serif;
  font-size: var(--h3, clamp(32px, 2.5vw, 48px));
  font-weight: 600;
  color: var(--white, #ffffff);
  text-align: center;
  margin: 0 0 clamp(40px, 5vw, 64px);
}

.mietkatalog-card {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  padding: 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mietkatalog-card:hover {
  background-color: #262626;
}

/* Whole card is clickable except the qty input/CTA, which sit above this
   overlay (z-index) so they keep receiving their own clicks/typing. */
.mietkatalog-card-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mietkatalog-card.is-featured {
  grid-column: span 4;
}

.mietkatalog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mietkatalog-card-image {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  background-color: var(--white, #ffffff);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.mietkatalog-card-link:hover .mietkatalog-card-image {
  opacity: 0.85;
}

.mietkatalog-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.badge-featured {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: transparent;
  color: var(--white, #ffffff);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-featured::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--red, #EB280F);
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
}

.mietkatalog-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-family: 'Inter', sans-serif;
  color: var(--white, #ffffff);
}

.mietkatalog-card-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.333;
  margin-bottom: 12px;
  color: var(--white, #ffffff);
}

.mietkatalog-card-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
}

.mietkatalog-card-subtitle {
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 24px;
}

.mietkatalog-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Info row: quantity field directly next to price */
.mietkatalog-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mietkatalog-qty-wrap {
  position: relative;
  top: 2px;
  z-index: 2;
  flex-shrink: 0;
}

.mietkatalog-qty-input {
  width: 90px;
  height: 44px;
  box-sizing: border-box;
  padding: 0 26px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  text-align: center;
  color: var(--white, #ffffff);
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.mietkatalog-qty-wrap:hover .mietkatalog-qty-input,
.mietkatalog-qty-input:focus-visible {
  border-color: var(--white, #ffffff);
}

.mietkatalog-qty-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

/* Hide the native up/down spinner — replaced by .mietkatalog-qty-btn below */
.mietkatalog-qty-input::-webkit-outer-spin-button,
.mietkatalog-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mietkatalog-qty-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* +/- buttons: sit inside the input's border, hidden until the mouse is
   over the field (fa-square-plus/fa-square-minus already draw their own
   square glyph, so no separate button background/shape is needed here). */
.mietkatalog-qty-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: var(--white, #ffffff);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Mouse-driven only — :focus-within would keep the buttons visible for as
   long as the input itself stays focused (e.g. after clicking into it),
   even once the cursor has moved away. :focus-visible on the buttons
   themselves still reveals them for keyboard users tabbing onto one. */
.mietkatalog-qty-wrap:hover .mietkatalog-qty-btn,
.mietkatalog-qty-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.mietkatalog-qty-minus {
  left: 5px;
}

.mietkatalog-qty-plus {
  right: 5px;
}

/* At quantity 1, no more decrementing — hide the minus button entirely
   (JS toggles .is-min on .mietkatalog-qty-wrap to match the input's value). */
.mietkatalog-qty-wrap.is-min .mietkatalog-qty-minus {
  display: none;
}

.mietkatalog-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

.mietkatalog-price {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white, #ffffff);
}

.mietkatalog-price-note {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

/* Action row: single primary button — quantity is adjusted on the cart page */
.mietkatalog-card-action-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
}

.mietkatalog-add-to-cart {
  flex-grow: 1;
  width: auto;
  height: 52px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 6px;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

/* Stays solid black while the rest of the card goes dark grey on hover... */
.mietkatalog-card:hover .mietkatalog-add-to-cart,
.mietkatalog-card:hover .mietkatalog-qty-input {
  background-color: var(--black, #0a0a0a);
}

/* ...then a bit lighter than that dark grey when directly hovered — higher
   specificity than the rule above (extra :hover) so this one wins whenever
   both apply, which is always true while the cursor is actually on them. */
.mietkatalog-card:hover .mietkatalog-add-to-cart:hover,
.mietkatalog-card:hover .mietkatalog-qty-input:hover {
  background-color: #333333;
}

.mietkatalog-add-to-cart:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Success / added state — one-way transformation into a link to the cart */
.mietkatalog-add-to-cart.is-added {
  background-color: #262626;
  border-color: var(--white, #ffffff);
  color: var(--white, #ffffff);
  cursor: pointer;
}

.mietkatalog-add-to-cart-check {
  width: 20px;
  height: 20px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #0b855e;
}

.mietkatalog-add-to-cart-check svg {
  width: 12px;
  height: 12px;
}

.mietkatalog-cart-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white, #ffffff);
  background-color: var(--black, #0a0a0a);
}

.mietkatalog-cart-notification.sc-notif-error {
  background-color: var(--red, #EB280F);
}

.mietkatalog-no-products {
  grid-column: span 12;
  font-size: 24px;
  text-align: center;
  padding: 40px;
  color: var(--white, #ffffff);
}

/* ── Skeleton loader: shown in place of the grid while FacetWP's AJAX
   refresh (filter change / pager click) is in flight ───────────────── */
@keyframes mk-skeleton-shimmer {
  0%   { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}

.mietkatalog-card--skeleton .mk-skel-image,
.mietkatalog-card--skeleton .mk-skel-line,
.mietkatalog-card--skeleton .mk-skel-block {
  background-color: rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: mk-skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 8px;
}

.mietkatalog-card--skeleton .mk-skel-image {
  aspect-ratio: 1/1;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 12px;
}

.mietkatalog-card--skeleton .mk-skel-line {
  height: 20px;
  margin-bottom: 12px;
}

.mietkatalog-card--skeleton .mk-skel-line--title {
  width: 70%;
  height: 28px;
}

.mietkatalog-card--skeleton .mk-skel-line--subtitle {
  width: 45%;
  margin-bottom: 24px;
}

.mietkatalog-card--skeleton .mk-skel-block {
  height: 52px;
  margin-top: auto;
}

/* ── FacetWP pager (type is chosen in FacetWP admin — page numbers,
   load-more, or infinite scroll all share these base classes) ──────── */
.mietkatalog-pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.mietkatalog-pagination .facetwp-pager {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mietkatalog-pagination .facetwp-page,
.mietkatalog-pagination .facetwp-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white, #ffffff);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.mietkatalog-pagination .facetwp-page:hover,
.mietkatalog-pagination .facetwp-load-more:hover {
  background-color: #262626;
  border-color: var(--white, #ffffff);
}

.mietkatalog-pagination .facetwp-page.active {
  background-color: var(--white, #ffffff);
  color: var(--black, #0a0a0a);
  border-color: var(--white, #ffffff);
  cursor: default;
}

.mietkatalog-pagination .facetwp-page.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.mietkatalog-quote {
  padding-top: 20px;
  text-align: center;
  margin-bottom: 80px;
}

.mietkatalog-quote blockquote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.5;
  color: var(--black, #0a0a0a);
  margin-bottom: 40px;
  background-color: #d9d9d9;
  padding: 60px 40px;
  border-radius: 20px;
}

.mietkatalog-quote cite {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
  .mietkatalog-card,
  .mietkatalog-card.is-featured {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .mietkatalog-card,
  .mietkatalog-card.is-featured,
  .mietkatalog-grid--cart-suggestions .mietkatalog-card {
    grid-column: span 12;
  }
}

/* ══════════════════════════════════════════════════════════
   MIETKATALOG — FILTER BAR, DRAWER, ACTIVE PILLS
   z-index: .mk-filter-overlay = 600 (see style.css hierarchy
   comment near .legal-modal-overlay = 500)
══════════════════════════════════════════════════════════ */

/* ── Filter bar: search + filter button ─────────────────── */
.mietkatalog-filterbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.mietkatalog-search {
  position: relative;
  flex: 1 1 auto;
}

/* FacetWP wraps every facet in .facetwp-facet with its own default
   margin-bottom: 40px — remove it here so the search bar sits flush in the
   filterbar row (the drawer's category/brand facets keep their own spacing). */
.mietkatalog-search .facetwp-facet {
  margin-bottom: 0;
}

/* FacetWP's search facet renders its own <i class="facetwp-icon"> (a
   separate empty element, not a background-image) — hide it and let our
   own inline-SVG .mietkatalog-search-icon show through instead. Raw SVG,
   not a Font Awesome class, since the FA Kit's JS-based icon substitution
   didn't render this one (kits can ship only a subset of icons/styles). */
.mietkatalog-search .facetwp-icon {
  display: none;
}

.mietkatalog-search-icon {
  position: absolute;
  top: 50%;
  left: 270px;
  z-index: 1;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--black, #0a0a0a);
  pointer-events: none;
}

/* FacetWP renders its own <input class="facetwp-search"> inside this wrapper */
.mietkatalog-search .facetwp-search,
.mietkatalog-search input[type="text"],
.mietkatalog-search input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  background-color: var(--white, #ffffff);
  border: none;
  border-radius: 27px;
  padding: 0 58px 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--black, #0a0a0a);
}

.mietkatalog-search .facetwp-search::placeholder,
.mietkatalog-search input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.mietkatalog-search .facetwp-search:focus-visible,
.mietkatalog-search input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(235, 40, 15, 0.35);
}

.mietkatalog-filter-btn {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: var(--white, #ffffff);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mietkatalog-filter-btn:hover {
  opacity: 0.7;
}

.mietkatalog-filter-count {
  position: absolute;
  top: -10px;
  right: -6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red, #EB280F);
  color: var(--white, #ffffff);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  border: 2px solid var(--black, #0a0a0a);
}

.mietkatalog-filter-count[hidden] {
  display: none;
}

/* ── Active filter pills row ─────────────────────────────── */
.mietkatalog-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.mietkatalog-active-filters:empty {
  margin-bottom: 0;
}

.mk-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  background-color: transparent;
  border: 1.5px solid var(--white, #ffffff);
  border-radius: 50px;
  color: var(--white, #ffffff);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.mk-pill-remove {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

/* Both icons stacked in the same fixed-size box, cross-faded via opacity
   (not display) so differing intrinsic SVG widths between styles can't
   shift the icon or the pill's layout on hover. */
.mk-pill-remove .mk-pill-remove-regular,
.mk-pill-remove .mk-pill-remove-solid {
  position: absolute !important;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--white, #ffffff);
  transform: translateX(-3px);
  transition: opacity 0.15s ease;
}

.mk-pill-remove .mk-pill-remove-solid {
  opacity: 0;
}

.mk-pill-remove:hover .mk-pill-remove-regular {
  opacity: 0;
}

.mk-pill-remove:hover .mk-pill-remove-solid {
  opacity: 1;
}

/* ── Filter drawer overlay + panel ───────────────────────── */
.mk-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background-color: rgba(10, 10, 10, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mk-filter-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mk-filter-overlay[hidden] {
  display: none;
}

.mk-filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: clamp(320px, 32vw, 440px);
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background-color: var(--red, #EB280F);
  color: var(--white, #ffffff);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.mk-filter-overlay.is-open .mk-filter-drawer {
  transform: translateX(0);
}

.mk-filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.mk-filter-drawer-title {
  font-family: 'Inter', sans-serif;
  font-size: var(--h5, 28px);
  font-weight: 700;
  color: var(--white, #ffffff);
}

.mk-filter-drawer-close {
  background: none;
  border: none;
  color: var(--white, #ffffff);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.mk-filter-drawer-close:hover {
  opacity: 0.7;
}

.mk-filter-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 36px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.mk-filter-group {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.mk-filter-group-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white, #ffffff);
  margin-bottom: 20px;
}

/* ── Category tree / brand checkboxes (white on red) ──────
   Real FacetWP markup (checkboxes-hierarchical): each parent
   .facetwp-checkbox is followed by a SIBLING .facetwp-depth div
   wrapping its child .facetwp-checkbox rows (no data-depth attr). */
.mk-filter-group-facet .facetwp-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 34px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white, #ffffff);
  cursor: pointer;
  background-image: none !important;
}

.mk-filter-group-facet .facetwp-checkbox::before {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white, #ffffff);
  border-radius: 4px;
  background-color: transparent;
  flex-shrink: 0;
}

.mk-filter-group-facet .facetwp-checkbox.checked::before {
  background-color: var(--white, #ffffff);
}

.mk-filter-group-facet .facetwp-checkbox.checked::after {
  content: '';
  position: absolute;
  left: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--red, #EB280F);
  border-bottom: 2px solid var(--red, #EB280F);
  transform: rotate(-45deg);
}

.mk-filter-group-facet .facetwp-display-value {
  flex: 1 1 auto;
}

.mk-filter-group-facet .facetwp-counter {
  display: none;
}

/* Expand chevron — replaces FacetWP's default "[+]"/"[-]" text.
   .mk-expanded is toggled by JS (mietkatalog-filters.js) on click
   of the parent row, and re-applied to any already-checked parent
   after every facetwp-loaded refresh. */
.mk-filter-group-facet .facetwp-expand {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0; /* hide FacetWP's native "[+]"/"[-]" text */
}

.mk-filter-group-facet .facetwp-expand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--white, #ffffff);
  border-bottom: 2px solid var(--white, #ffffff);
  transform: rotate(-45deg); /* chevron pointing right */
  transition: transform 0.25s ease;
}

.mk-filter-group-facet .facetwp-checkbox.mk-expanded .facetwp-expand::before {
  transform: rotate(45deg); /* chevron pointing down */
}

/* Sub-categories: hidden unless the parent row is expanded.
   !important guards against FacetWP's own JS toggling an inline
   display style on .facetwp-depth — our .mk-expanded state wins. */
.mk-filter-group-facet .facetwp-depth {
  display: none !important;
}

.mk-filter-group-facet .facetwp-checkbox.mk-expanded + .facetwp-depth {
  display: block !important;
}

.mk-filter-group-facet .facetwp-depth .facetwp-checkbox {
  padding-left: 58px;
  font-size: 18px;
  opacity: 0.9;
}

/* ── Mobile: full-width drawer; keep search + filter button on one row,
   search bar narrower instead of wrapping the filter button below it ── */
@media (max-width: 768px) {
  .mk-filter-drawer {
    width: 100%;
  }

  .mietkatalog-search {
    min-width: 0;
  }

  /* Fixed-position icon (below) assumed a wide, near-full-width search
     box; anchor it to the right edge instead so it stays correctly
     placed once the box narrows to share the row with the filter button. */
  .mietkatalog-search-icon {
    left: auto;
    right: 20px;
  }

  .mietkatalog-search .facetwp-search,
  .mietkatalog-search input[type="text"],
  .mietkatalog-search input[type="search"] {
    padding-right: 50px;
  }
}

/* ══════════════════════════════════════════════════════════
   ANFRAGE DANKE — success page after quote request submission
   (page-templates/page-anfrage-danke.php). Reuses the shared
   .sp-container/.sp-container--narrow (1200px box) and
   .sp-title-wrapper/.sp-sprungmarke/.sp-hero-title (red square +
   heading) pattern from the cart/single-product pages — only the
   full-height centering and CTA below are specific to this page.
══════════════════════════════════════════════════════════ */
.anfrage-danke-container {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.anfrage-danke-container p {
  font-size: var(--body1);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.anfrage-danke-cta.pill {
  align-self: flex-start;
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.anfrage-danke-cta.pill:hover {
  background: #ff3a1f;
  border-color: #ff3a1f;
}
