/* AKKUR variant catalog layer — intentionally scoped to the shop archive. */
.akkur-variant-catalog-active .akkur-shop-content {
  min-width: 0;
}

.akkur-variant-filters {
  position: relative;
  margin: -12px 0 32px;
  padding: 24px;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 18, 21, 0.055);
  overflow: visible;
  z-index: 12;
}

.akkur-variant-filters__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.akkur-variant-filters__head h2 {
  margin: 0 0 5px !important;
  color: #111215;
  font-size: 18px !important;
  font-weight: 850;
  letter-spacing: -.015em;
  line-height: 1.25 !important;
}

.akkur-variant-filters__head p {
  margin: 0;
  color: #718079;
  font-size: 12.5px;
  line-height: 1.5;
}

.akkur-variant-filters__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.akkur-variant-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.akkur-variant-filter__label {
  color: #53625b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.akkur-custom-select {
  position: relative;
  min-width: 0;
}

.akkur-custom-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  appearance: none !important;
  opacity: 0 !important;
}

.akkur-sort-dropdown-box:has(.akkur-custom-select) .akkur-sort-icon {
  display: none !important;
}

.akkur-custom-select__trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 15px;
  border: 1px solid #d5dcd8;
  border-radius: 10px;
  background: #fff;
  color: #17211d;
  font: 720 13px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.akkur-custom-select__trigger:hover {
  border-color: #9daaa4;
  background: #fbfcfc;
}

.akkur-custom-select.is-open .akkur-custom-select__trigger,
.akkur-custom-select__trigger:focus-visible {
  border-color: #cd2a26;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(205, 42, 38, .1);
}

.akkur-custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.akkur-custom-select__trigger > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #78867f;
  stroke-width: 1.8;
  transition: transform .18s ease;
}

.akkur-custom-select.is-open .akkur-custom-select__trigger > svg {
  transform: rotate(180deg);
}

.akkur-custom-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  min-width: min(340px, 88vw);
  max-height: 294px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid #e0e5e2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 22px 55px rgba(17, 18, 21, .16);
  z-index: 80;
  overscroll-behavior: contain;
}

.akkur-custom-select__menu[hidden] {
  display: none !important;
}

.akkur-custom-select__option {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #24302a;
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.akkur-custom-select__option:hover,
.akkur-custom-select__option:focus-visible {
  outline: 0;
  background: #f4f6f5;
}

.akkur-custom-select__option.is-selected {
  background: #fdf0ef;
  color: #b5221e;
  font-weight: 800;
}

.akkur-custom-select__option svg {
  display: none;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.akkur-custom-select__option.is-selected svg {
  display: block;
}

.akkur-variant-clear {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(205, 42, 38, 0.22);
  border-radius: 9px;
  background: #fff7f6;
  color: #b31f1c;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.akkur-variant-clear:hover {
  border-color: #cd2a26;
  background: #cd2a26;
  color: #fff;
}

.akkur-variant-card {
  min-width: 0;
  contain: layout paint;
}

.akkur-variant-card .akkur-shop-img-container {
  height: 176px !important;
  padding: 22px !important;
  background:
    radial-gradient(circle at 50% 35%, #fff 0, #fff 38%, #f6f7f8 100%) !important;
}

.akkur-variant-card .akkur-shop-img {
  filter: drop-shadow(0 12px 14px rgba(17, 18, 21, 0.08));
}

.akkur-variant-card:hover .akkur-shop-img {
  transform: scale(1.035) !important;
}

.akkur-variant-info {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  gap: 0;
  padding: 20px !important;
}

.akkur-variant-family {
  min-height: 0;
  margin-bottom: 7px;
  color: #708079;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.akkur-variant-card .akkur-shop-card-title {
  min-height: 46px;
  margin: 0 0 12px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.akkur-variant-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(205, 42, 38, 0.12);
  border-radius: 6px;
  background: rgba(205, 42, 38, 0.045);
}

.akkur-variant-ref span {
  color: #8d5654;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.akkur-variant-ref strong {
  overflow: hidden;
  color: #cd2a26;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.akkur-variant-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 21, 0.07);
  border-radius: 7px;
  background: rgba(17, 18, 21, 0.07);
}

.akkur-variant-spec {
  display: flex;
  min-height: 47px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 8px 9px;
  background: #fff;
  min-width: 0;
}

/* Variant-family picker on /kabel/<ref>/ pages. */
.akkur-family-picker {
  margin: 34px 0 42px;
  padding: 28px;
  border: 1px solid #e4e8e6;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #fbfcfc 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .055);
}

.akkur-family-picker * {
  box-sizing: border-box;
}

.akkur-family-picker__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.akkur-family-picker__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #cd2a26;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.akkur-family-picker__head h2 {
  margin: 0 0 5px !important;
  color: #0f172a;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em;
}

.akkur-family-picker__head p {
  margin: 0;
  color: #718079;
  font-size: 13px;
}

.akkur-family-picker__parent {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #dce2df;
  border-radius: 9px;
  background: #fff;
  color: #17211d !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.akkur-family-picker__parent:hover {
  border-color: #cd2a26;
  color: #cd2a26 !important;
}

.akkur-family-picker__tools {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.akkur-family-picker__search {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d8dfdb;
  border-radius: 10px;
  background: #fff;
}

.akkur-family-picker__search:focus-within {
  border-color: #cd2a26;
  box-shadow: 0 0 0 4px rgba(205, 42, 38, .09);
}

.akkur-family-picker__search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #79867f;
  stroke-width: 1.8;
}

.akkur-family-picker__search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #17211d;
  font-size: 13px;
}

.akkur-family-picker__chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.akkur-family-picker__chip {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid #dde3e0;
  border-radius: 999px;
  background: #fff;
  color: #53625b;
  font-size: 11.5px;
  font-weight: 780;
  cursor: pointer;
}

.akkur-family-picker__chip:hover,
.akkur-family-picker__chip.is-active {
  border-color: #cd2a26;
  background: #cd2a26;
  color: #fff;
}

.akkur-family-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.akkur-family-variant {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border: 1px solid #e3e8e5;
  border-radius: 12px;
  background: #fff;
  color: #17211d !important;
  text-decoration: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.akkur-family-variant:hover {
  border-color: #c7d0cb;
  box-shadow: 0 10px 24px rgba(17, 18, 21, .07);
  transform: translateY(-2px);
}

.akkur-family-variant.is-current {
  border-color: rgba(205, 42, 38, .5);
  background: #fff8f7;
  box-shadow: inset 3px 0 0 #cd2a26;
}

.akkur-family-variant__top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.akkur-family-variant__top strong {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.akkur-family-variant__top > span {
  color: #cd2a26;
  font-size: 17px;
}

.akkur-family-variant__top em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #cd2a26;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.akkur-family-variant code {
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #cd2a26;
  font: 760 10.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.akkur-family-variant__facts {
  display: flex;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #edf0ee;
}

.akkur-family-variant__facts > span {
  min-width: 0;
  flex: 1;
  color: #29352f;
  font-size: 10.5px;
  font-weight: 760;
}

.akkur-family-variant__facts small {
  display: block;
  margin-bottom: 2px;
  color: #8a9690;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.akkur-family-picker__more {
  display: block;
  min-height: 44px;
  margin: 20px auto 0;
  padding: 0 20px;
  border: 1px solid #cd2a26;
  border-radius: 9px;
  background: #fff;
  color: #cd2a26;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.akkur-family-picker__more:hover {
  background: #cd2a26;
  color: #fff;
}

.akkur-family-picker__empty {
  padding: 30px 18px;
  border: 1px dashed #d9dfdc;
  border-radius: 12px;
  color: #718079;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.akkur-family-picker [hidden] {
  display: none !important;
}

.akkur-variant-spec span {
  color: #87938e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.akkur-variant-spec strong {
  overflow: hidden;
  color: #111215;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.akkur-variant-card .akkur-shop-actions {
  margin-top: auto !important;
}

.akkur-variant-load-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 8px;
}

.akkur-variant-load-more,
.akkur-variant-show-all {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.akkur-variant-load-more {
  border: 1px solid #cd2a26;
  background: #cd2a26;
  color: #fff;
  box-shadow: 0 8px 18px rgba(205, 42, 38, 0.16);
}

.akkur-variant-show-all {
  border: 1px solid rgba(17, 18, 21, 0.16);
  background: #fff;
  color: #111215;
}

.akkur-variant-load-more:hover,
.akkur-variant-show-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 18, 21, 0.09);
}

.akkur-variant-empty {
  margin: 30px 0;
  padding: 44px 24px;
  border: 1px dashed rgba(17, 18, 21, 0.16);
  border-radius: 10px;
  background: #f8f9fa;
  color: #708079;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.akkur-variant-filters [hidden],
.akkur-variant-load-controls[hidden],
.akkur-variant-load-controls [hidden],
.akkur-variant-empty[hidden] {
  display: none !important;
}

.akkur-shop-grid.list-view .akkur-variant-card .akkur-shop-img-container {
  min-height: 230px !important;
}

.akkur-shop-grid.list-view .akkur-variant-card .akkur-variant-info {
  display: grid !important;
  grid-template-columns: minmax(200px, .75fr) minmax(320px, 1.25fr) 180px;
  grid-template-rows: auto auto auto;
  column-gap: 22px;
  align-items: center !important;
}

.akkur-shop-grid.list-view .akkur-variant-family,
.akkur-shop-grid.list-view .akkur-variant-card .akkur-shop-card-title,
.akkur-shop-grid.list-view .akkur-variant-ref {
  grid-column: 1;
}

.akkur-shop-grid.list-view .akkur-variant-specs {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}

.akkur-shop-grid.list-view .akkur-variant-card .akkur-shop-actions {
  grid-column: 3;
  grid-row: 1 / span 3;
  width: 100% !important;
}

@media (max-width: 1220px) {
  .akkur-variant-filters__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .akkur-variant-filters {
    margin-top: 0;
  }

  .akkur-family-picker__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .akkur-shop-grid.list-view .akkur-variant-card .akkur-variant-info {
    display: flex !important;
  }
}

@media (max-width: 720px) {
  .akkur-variant-filters {
    padding: 18px;
  }

  .akkur-variant-filters__head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .akkur-variant-filters__fields {
    grid-template-columns: 1fr;
  }

  .akkur-variant-clear {
    align-self: flex-start;
  }

  .akkur-family-picker {
    margin: 26px 0 34px;
    padding: 19px;
  }

  .akkur-family-picker__head,
  .akkur-family-picker__tools {
    grid-template-columns: 1fr;
  }

  .akkur-family-picker__head {
    flex-direction: column;
  }

  .akkur-family-picker__parent {
    width: 100%;
    justify-content: center;
  }

  .akkur-family-picker__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .akkur-variant-catalog-active,
  .akkur-variant-catalog-active body {
    max-width: 100%;
    overflow-x: clip;
  }

  .akkur-variant-catalog-active .akkur-shop-wrapper,
  .akkur-variant-catalog-active .akkur-shop-container,
  .akkur-variant-catalog-active .akkur-shop-layout,
  .akkur-variant-catalog-active .akkur-shop-sidebar,
  .akkur-variant-catalog-active .akkur-shop-content,
  .akkur-variant-catalog-active .akkur-shop-control-bar,
  .akkur-variant-catalog-active .akkur-control-right,
  .akkur-variant-catalog-active .akkur-search-form,
  .akkur-variant-catalog-active .akkur-sort-dropdown-box,
  .akkur-variant-catalog-active .akkur-variant-filters,
  .akkur-variant-catalog-active .akkur-variant-filters__fields,
  .akkur-variant-catalog-active .akkur-shop-grid,
  .akkur-variant-catalog-active .akkur-shop-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .akkur-variant-catalog-active .akkur-shop-container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .akkur-variant-catalog-active .akkur-shop-hero {
    padding: 34px 0 !important;
    margin-bottom: 28px !important;
  }

  .akkur-variant-catalog-active .akkur-hero-title {
    font-size: clamp(1.85rem, 9vw, 2.35rem) !important;
  }

  .akkur-variant-catalog-active .akkur-hero-desc {
    max-width: 100% !important;
    font-size: .95rem !important;
    overflow-wrap: anywhere;
  }

  .akkur-variant-catalog-active .akkur-shop-layout {
    display: block !important;
  }

  .akkur-variant-catalog-active .akkur-shop-sidebar {
    margin-bottom: 22px;
  }

  .akkur-variant-catalog-active .akkur-sidebar-widget {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    overflow: hidden;
  }

  .akkur-variant-catalog-active .akkur-sidebar-title {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }

  .akkur-variant-catalog-active .akkur-sidebar-menu {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-flow: row nowrap !important;
    gap: 7px !important;
    padding: 1px 1px 7px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
  }

  .akkur-variant-catalog-active .akkur-sidebar-menu li {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }

  .akkur-variant-catalog-active .akkur-sidebar-menu a {
    min-height: 42px;
    align-items: center !important;
    padding: 8px 11px 8px 15px !important;
    white-space: nowrap;
  }

  .akkur-variant-catalog-active .akkur-sidebar-menu a > span:first-child {
    flex: 0 0 auto !important;
    white-space: nowrap;
  }

  .akkur-variant-catalog-active .akkur-shop-control-bar,
  .akkur-variant-catalog-active .akkur-control-right {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .akkur-variant-catalog-active .akkur-shop-control-bar {
    gap: 13px !important;
    margin-bottom: 20px !important;
    padding: 14px !important;
  }

  .akkur-variant-catalog-active .akkur-view-toggle {
    display: none !important;
  }

  .akkur-variant-catalog-active .akkur-variant-filters {
    margin-bottom: 24px;
    padding: 17px;
    border-radius: 14px;
  }

  .akkur-variant-catalog-active .akkur-custom-select,
  .akkur-variant-catalog-active .akkur-custom-select__trigger {
    width: 100% !important;
    max-width: 100% !important;
  }

  .akkur-variant-catalog-active .akkur-custom-select__menu {
    right: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .akkur-variant-catalog-active .akkur-shop-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .akkur-variant-catalog-active .akkur-shop-card,
  .akkur-variant-catalog-active .akkur-variant-ref,
  .akkur-variant-catalog-active .akkur-variant-specs,
  .akkur-variant-catalog-active .akkur-shop-actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .akkur-variant-catalog-active .akkur-variant-ref strong,
  .akkur-variant-catalog-active .akkur-shop-badge {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .akkur-vp,
  .akkur-vp .akkur-pp__hero,
  .akkur-vp .akkur-family-picker,
  .akkur-vp .akkur-family-picker__head,
  .akkur-vp .akkur-family-picker__tools,
  .akkur-vp .akkur-family-picker__grid,
  .akkur-vp .akkur-family-variant {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .akkur-vp {
    overflow-x: clip;
  }

  .akkur-family-variant__facts {
    min-width: 0;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .akkur-custom-select__menu {
    right: auto;
    min-width: 100%;
    width: min(340px, calc(100vw - 64px));
  }

  .akkur-variant-load-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .akkur-variant-load-more,
  .akkur-variant-show-all {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akkur-variant-card,
  .akkur-variant-card .akkur-shop-img,
  .akkur-variant-load-more,
  .akkur-variant-show-all {
    transition: none !important;
  }
}
