.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sidebar .store-nav,
.sidebar .workspace-nav {
  display: grid;
  gap: 3px;
}

.store-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  font-weight: 650;
}

.store-nav .nav-item > svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.filter-shelves-nav {
  display: grid;
  gap: 1px;
  margin: 2px 0 7px 20px;
  padding-left: 9px;
  border-left: 1px solid #eddbdf;
}

.subnav-item {
  display: block;
  padding: 6px 7px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
}

.subnav-item:is(:hover, .active) {
  background: var(--accent-soft);
  color: var(--accent);
}

.subnav-item.active {
  font-weight: 700;
}

.sidebar .workspace-nav {
  margin-top: 13px;
  padding-top: 11px;
  padding-bottom: 14px;
  border-top: 1px solid var(--line);
}

.filter-shelves {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 17px;
}

.filter-shelf {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 8px;
  min-height: 64px;
  padding: 10px 11px;
  color: #554246;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.filter-shelf svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.filter-shelf span {
  font-size: 11px;
  font-weight: 700;
  overflow-wrap: anywhere;
}


.filter-shelf:is(:hover, .active) {
  border-color: #e8b6c1;
  background: #fff4f6;
  color: var(--accent-hover);
}

.seineca-catalog {
  overflow: hidden;
  border: 1px solid #e8d5d9;
  border-top: 3px solid var(--seineca-red);
  border-radius: 13px;
  background: #fff;
}

.seineca-catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 20px;
  border-bottom: 1px solid #f0e4e6;
  background: #fff7f8;
}

.seineca-catalog-header img {
  display: block;
  width: 126px;
  height: auto;
}

.seineca-catalog-header span,
.assortment-badge {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid #efd0d8;
  border-radius: 6px;
  background: #fff;
  color: var(--accent-hover);
  font-size: 11px;
  line-height: 1.45;
}

.accessory-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 16px 20px 0;
}

.accessory-controls #accessory-export {
  margin-inline-start: auto;
}

.accessory-lookup {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 0 215px;
  max-width: 490px;
  padding-inline: 10px;
  border: 1px solid var(--filter-paper-edge);
  border-radius: 8px;
  background: var(--filter-paper);
  color: #785941;
}

.accessory-lookup:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #ec194422;
}

.accessory-lookup svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

.accessory-lookup input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  border: 0;
  outline: none;
  background: transparent;
  color: #37281c;
  font: inherit;
  font-size: 13px;
}

.accessory-lookup input::placeholder {
  color: #785941;
}

.accessory-size select {
  min-height: 39px;
  padding: 7px 10px;
  border: 1px solid #decfd2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.accessory-total {
  margin: 12px 20px;
  color: var(--muted);
  font-size: 12px;
}

.wiper-grid,
.bulb-grid {
  display: grid;
  gap: 14px;
  margin: 0 20px 20px;
}

.wiper-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.bulb-grid {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}

.wiper-shelf,
.bulb-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.wiper-shelf header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 15px 11px;
}

.wiper-shelf h2,
.bulb-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.wiper-shelf header p,
.bulb-info > span {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.accessory-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 198px;
  margin: 0;
  padding: 8px 8px 30px;
  background: #fff;
}

.accessory-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.bulb-card .accessory-image {
  height: 166px;
  border-bottom: 1px solid var(--line);
}

.image-label {
  position: absolute;
  inset: auto 7px 7px;
  width: fit-content;
  max-width: calc(100% - 14px);
  padding: 4px 6px;
  border-radius: 5px;
  background: #f7eeef;
  color: #66474e;
  font-size: 10px;
  line-height: 1.35;
}

.accessory-missing {
  align-content: center;
  gap: 8px;
  padding-bottom: 8px;
  color: var(--muted);
  background: #fbf8f6;
  font-size: 11px;
  text-align: center;
}

.accessory-missing svg {
  width: 29px;
  height: 29px;
  color: #9e777e;
}

.wiper-shelf table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.wiper-shelf th,
.wiper-shelf td {
  padding: 8px 14px;
  border-top: 1px solid #f1e7e8;
}

.wiper-shelf th {
  color: var(--muted);
  background: #fff6f7;
  text-transform: none;
  letter-spacing: normal;
}

.wiper-shelf :is(th, td):last-child {
  text-align: right;
  white-space: nowrap;
}

.accessory-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font: inherit;
}

.accessory-detail-button > span {
  color: var(--muted);
}

.accessory-detail-button svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.accessory-detail-button:hover {
  color: var(--accent);
}

.adapter-shelf {
  grid-column: 1 / -1;
}

.adapter-product,
.bulb-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
}

.adapter-product {
  padding: 10px 15px 13px;
  border-top: 1px solid var(--line);
}

.adapter-product > svg {
  width: 18px;
  color: var(--accent);
}

.adapter-product .accessory-price,
.bulb-bottom .icon-btn {
  margin-inline-start: auto;
}

.bulb-info {
  display: grid;
  gap: 4px;
  padding: 11px 12px 9px;
}

.accessory-price {
  color: var(--ink);
  white-space: nowrap;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.accessory-price small {
  color: var(--muted);
  font-size: 11px;
}

.bulb-bottom .icon-btn {
  color: var(--accent);
  border-color: #efd4db;
}

.accessory-empty {
  padding: 20px 20px 36px;
  color: var(--muted);
  text-align: center;
}

.accessory-detail .accessory-image {
  height: clamp(160px, 43vh, 310px);
}

.accessory-detail-body {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 16px;
}

.accessory-detail-body p {
  margin: 0;
  font-weight: 700;
}

.accessory-detail-body > small,
.accessory-spec {
  color: var(--muted);
}

.accessory-detail-body a {
  color: var(--accent);
  text-decoration: underline;
}

.accessory-detail-body a svg {
  width: 12px;
  height: 12px;
}

.accessory-detail-price {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .filter-shelves {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .sidebar .store-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .store-nav .nav-item {
    justify-content: center;
    gap: 5px;
    padding: 7px 3px;
  }

  .filter-shelves-nav {
    display: none;
  }

  .sidebar .workspace-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
    padding-top: 4px;
    padding-bottom: 0;
  }
}

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

  .seineca-catalog-header,
  .accessory-controls {
    padding-inline: 11px;
  }

  .accessory-lookup {
    flex-basis: 100%;
    max-width: none;
  }

  .accessory-lookup input {
    font-size: 16px;
  }

  .wiper-grid,
  .bulb-grid {
    gap: 9px;
    margin-inline: 11px;
  }

  .bulb-grid {
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  }

  .store-nav .nav-item > svg {
    flex-basis: 13px;
    width: 13px;
    height: 13px;
  }
}

.wiper-thumbnail {
  display: block;
  width: clamp(42px, 9vw, 68px);
  height: 38px;
  object-fit: contain;
}

.bulb-finder{margin-bottom:16px;padding:16px}
.bulb-finder h2{margin:0 0 12px}
.bulb-finder-fields,.bulb-fitment-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:12px}
.bulb-finder-fields label{font-weight:700}
.bulb-finder-fields select{display:block;width:100%;min-height:44px;margin-top:4px;padding:6px;color:inherit;border:1px solid var(--line);border-radius:8px;background:white;font-size:16px}
.bulb-fitment-results article{border:1px solid var(--line);border-radius:10px;padding:12px}
.bulb-fitment-results h3{margin:0 0 6px}
.bulb-finder-source{margin-bottom:0}
