.shredder-category-page { padding: 36px 0 84px; background: #f4f5f8; }
.shredder-breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #8b8d95; font-size: 13px; }
.shredder-breadcrumbs a:hover { color: var(--blue); }
.shredder-title { margin: 0 0 42px; color: #27282d; font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; font-weight: 760; }
.shredder-layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 34px; align-items: start; }
.shredder-filters { position: sticky; top: calc(var(--header-offset) + 18px); padding: 22px 20px 20px; border-radius: 14px; background: #fff; }
.shredder-filters fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 15px; cursor: pointer; }
.filter-toggle-row strong, .filter-group legend, .filter-details summary { color: #323338; font-size: 17px; line-height: 1.16; font-weight: 700; }
.filter-toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle { position: relative; flex: 0 0 40px; width: 40px; height: 23px; border-radius: 999px; background: #d9dbe2; transition: background .18s ease; }
.filter-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.18); transition: transform .18s ease; }
.filter-toggle-row input:checked + .filter-toggle { background: #394aa8; }
.filter-toggle-row input:checked + .filter-toggle::after { transform: translateX(17px); }
.filter-group { margin-bottom: 16px !important; }
.filter-group legend { margin-bottom: 8px; }
.filter-group legend small { display: inline; font-size: .82em; font-weight: 650; }
.filter-check { display: flex; align-items: center; gap: 9px; min-height: 28px; color: #55575e; font-size: 13px; cursor: pointer; }
.filter-check input { position: absolute; opacity: 0; pointer-events: none; }
.filter-check span { position: relative; flex: 0 0 19px; width: 19px; height: 19px; border: 1.5px solid #8c8e95; background: #fff; }
.filter-check input:checked + span { border-color: #394aa8; background: #394aa8; }
.filter-check input:checked + span::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.range-group { padding-top: 2px !important; }
.range-labels { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 1px; color: #34353a; font-size: 13px; font-weight: 650; }
.dual-range { position: relative; height: 24px; }
.dual-range::before { content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 3px; border-radius: 99px; background: #e2e3e7; }
.dual-range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 24px; margin: 0; appearance: none; background: transparent; pointer-events: none; }
.dual-range input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.2); pointer-events: auto; cursor: grab; }
.dual-range input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.2); pointer-events: auto; cursor: grab; }
.filter-details { margin: 2px 0 16px; }
.filter-details summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.filter-details summary::-webkit-details-marker { display: none; }
.filter-details summary::after { content: "⌃"; color: #7b7d84; font-size: 13px; transform: rotate(0deg); transition: transform .18s ease; }
.filter-details:not([open]) summary::after { transform: rotate(180deg); }
.filter-details-body { padding-top: 8px; }
.filter-actions { display: grid; gap: 10px; padding-top: 2px; }
.filter-submit { min-height: 42px; border: 0; border-radius: 8px; background: #394aa8; color: #fff; font-size: 13px; font-weight: 700; }
.filter-submit:hover { background: #2f3f96; }
.filter-actions a { text-align: center; color: #394aa8; font-size: 12px; }
.shredder-results { min-width: 0; }
.shredder-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-bottom: 18px; }
.shredder-search { display: grid; grid-template-columns: 1fr 96px; gap: 8px; max-width: 520px; }
.shredder-search input { min-width: 0; height: 44px; padding: 0 17px; border: 0; border-radius: 6px; background: #fff; outline: 0; }
.shredder-search button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border: 0; border-radius: 6px; background: #394aa8; color: #fff; font-size: 13px; font-weight: 700; }
.shredder-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.shredder-sort select { min-width: 160px; height: 44px; padding: 0 34px 0 10px; border: 0; background: transparent; color: #44464c; outline: 0; font-size: 14px; cursor: pointer; }
.shredder-result-meta { margin: -5px 0 12px; color: #8a8c93; font-size: 12px; }
.shredder-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.catalog-tile { min-width: 0; overflow: hidden; border-radius: 14px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.catalog-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(32,42,80,.08); }
.catalog-tile-media { position: relative; height: 270px; margin: 10px 10px 0; overflow: hidden; border-radius: 10px; background: #f5f5f6; }
.catalog-tile-media > a { display: grid; place-items: center; width: 100%; height: 100%; padding: 18px 22px 24px; }
.catalog-tile-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.catalog-tile:hover .catalog-tile-media img { transform: scale(1.025); }
.catalog-tile-favorite { position: absolute; z-index: 3; top: 10px; right: 10px; }
.catalog-tile-favorite button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #8a8b90; }
.catalog-tile-favorite button.is-active { color: #394aa8; }
.catalog-tile-favorite svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.catalog-tile-dots { position: absolute; left: 50%; bottom: 8px; display: flex; gap: 5px; transform: translateX(-50%); }
.catalog-tile-dots i { width: 4px; height: 4px; border-radius: 50%; background: #dddde2; }
.catalog-tile-dots i.is-active { background: #394aa8; }
.catalog-tile-body { display: flex; flex-direction: column; min-height: 228px; padding: 13px 10px 10px; }
.catalog-tile-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.catalog-tile-price strong { color: #292a2f; font-size: 17px; font-weight: 500; }
.catalog-tile-title { min-height: 57px; color: #36373c; font-size: 13px; line-height: 1.36; font-weight: 500; }
.catalog-tile-title:hover { color: #394aa8; }
.catalog-tile-meta { display: grid; gap: 4px; min-height: 45px; margin-top: 8px; color: #96979c; font-size: 10.5px; line-height: 1.3; }
.catalog-tile-stock { color: #777980; }
.catalog-tile-stock.is-stock { color: #23845e; }
.catalog-tile-cart { margin-top: auto; }
.catalog-tile-cart button { width: 100%; height: 40px; border: 0; border-radius: 6px; background: #394aa8; color: #fff; font-size: 12px; font-weight: 650; }
.catalog-tile-cart button:hover { background: #2f3f96; }
.shredder-empty { margin-top: 22px; background: #fff; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1180px) {
  .shredder-layout { grid-template-columns: 260px minmax(0,1fr); gap: 24px; }
  .shredder-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .shredder-category-page { padding-top: 24px; }
  .shredder-layout { grid-template-columns: 1fr; }
  .shredder-filters { position: static; }
  .shredder-filters form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; }
  .filter-toggle-row, .filter-group, .filter-details { min-width: 0; }
  .filter-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 620px) {
  .shredder-title { margin-bottom: 26px; }
  .shredder-filters form { grid-template-columns: 1fr; }
  .filter-actions { grid-column: auto; grid-template-columns: 1fr; }
  .shredder-toolbar { grid-template-columns: 1fr; gap: 8px; }
  .shredder-search { max-width: none; grid-template-columns: 1fr 48px; }
  .shredder-search button span { display: none; }
  .shredder-sort select { width: 100%; padding-left: 0; }
  .shredder-product-grid { grid-template-columns: 1fr; }
  .catalog-tile-media { height: 310px; }
}

/* Category toolbar + view switch */
.shredder-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}
.shredder-sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border-radius: 8px;
  background: #fff;
}
.shredder-sort-label {
  color: #858790;
  font-size: 12px;
  font-weight: 650;
}
.shredder-sort select {
  min-width: 180px;
  height: 44px;
  padding: 0 32px 0 0;
  border: 0;
  background-color: transparent;
  color: #3e4046;
  font-size: 14px;
  font-weight: 600;
}
.catalog-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 44px);
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
}
.catalog-view-switch button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #777a83;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.catalog-view-switch button:hover {
  color: #394aa8;
  background: #f1f3fb;
}
.catalog-view-switch button.is-active {
  color: #fff;
  background: #394aa8;
  box-shadow: 0 4px 12px rgba(57,74,168,.18);
}
.catalog-view-switch svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Horizontal list view */
.shredder-product-grid.is-list {
  grid-template-columns: 1fr;
  gap: 12px;
}
.shredder-product-grid.is-list .catalog-tile {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: stretch;
  min-height: 230px;
}
.shredder-product-grid.is-list .catalog-tile:hover {
  transform: none;
}
.shredder-product-grid.is-list .catalog-tile-media {
  height: 210px;
  margin: 10px 0 10px 10px;
}
.shredder-product-grid.is-list .catalog-tile-media > a {
  padding: 16px 20px 22px;
}
.shredder-product-grid.is-list .catalog-tile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 28px;
  min-height: 230px;
  padding: 22px 18px 16px 22px;
}
.shredder-product-grid.is-list .catalog-tile-price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
}
.shredder-product-grid.is-list .catalog-tile-price strong {
  font-size: 21px;
  font-weight: 650;
}
.shredder-product-grid.is-list .catalog-tile-title {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 0;
  max-width: 650px;
  padding-right: 14px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}
.shredder-product-grid.is-list .catalog-tile-meta {
  grid-column: 1;
  grid-row: 3 / span 2;
  align-self: end;
  min-height: 0;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
}
.shredder-product-grid.is-list .catalog-tile-cart {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  margin: 0;
}
.shredder-product-grid.is-list .catalog-tile-cart button {
  height: 42px;
}
.shredder-product-grid.is-list .catalog-tile-dots {
  bottom: 7px;
}

@media (max-width: 900px) {
  .shredder-product-grid.is-list .catalog-tile {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .shredder-product-grid.is-list .catalog-tile-media {
    height: 190px;
  }
  .shredder-product-grid.is-list .catalog-tile-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 210px;
    padding: 18px 16px;
  }
  .shredder-product-grid.is-list .catalog-tile-price,
  .shredder-product-grid.is-list .catalog-tile-title,
  .shredder-product-grid.is-list .catalog-tile-meta,
  .shredder-product-grid.is-list .catalog-tile-cart {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .shredder-product-grid.is-list .catalog-tile-price { margin-bottom: 8px; }
  .shredder-product-grid.is-list .catalog-tile-title { padding-right: 0; font-size: 15px; }
  .shredder-product-grid.is-list .catalog-tile-meta { align-self: auto; margin: 10px 0 14px; }
}

@media (max-width: 620px) {
  .shredder-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .shredder-sort {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }
  .shredder-sort-label { display: none; }
  .shredder-sort select { width: 100%; min-width: 0; padding-left: 0; }
  .catalog-view-switch { grid-template-columns: repeat(2, 40px); }
  .catalog-view-switch button { width: 40px; }
  .shredder-product-grid.is-list .catalog-tile {
    grid-template-columns: 1fr;
  }
  .shredder-product-grid.is-list .catalog-tile-media {
    height: 290px;
    margin: 10px 10px 0;
  }
}
/* Unified product card architecture — 2026-08-15 */
.catalog-tile {
  border: 1px solid var(--product-card-border);
  border-radius: var(--product-card-radius);
  background: #fff;
  box-shadow: var(--product-card-shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalog-tile:hover {
  transform: translateY(-6px);
  border-color: var(--product-card-border-hover);
  box-shadow: var(--product-card-shadow-hover);
}
.catalog-tile-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--product-card-media-height);
  margin: 0;
  overflow: hidden;
  border-radius: var(--product-card-radius) var(--product-card-radius) 0 0;
  background: var(--product-card-media-bg);
}
.catalog-tile-media > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
}
.catalog-tile-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  transition: none;
}
.catalog-tile:hover .catalog-tile-media img {
  transform: none;
}
.catalog-tile-favorite {
  top: 16px;
  right: 16px;
}
.catalog-tile-favorite button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  color: #6c7380;
  box-shadow: var(--product-card-action-shadow);
}
.catalog-tile-favorite button:hover {
  background: #fff;
  color: #34429b;
  border-color: #cfd7e4;
}
.catalog-tile-favorite button.is-active {
  color: #394aa8;
  border-color: rgba(57, 74, 168, .18);
  background: #eef2ff;
}
.catalog-tile-dots {
  display: none;
}
.catalog-tile-body {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 16px;
  border-top: 1px solid var(--product-card-media-divider);
}
.catalog-tile-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.catalog-tile-price strong {
  color: #1d2331;
  font-size: 18px;
  font-weight: 700;
}
.catalog-tile-title {
  min-height: 64px;
  color: #1d2331;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 650;
}
.catalog-tile-meta {
  display: grid;
  gap: 8px;
  min-height: 56px;
  margin-top: 12px;
  color: #6e7685;
  font-size: 11px;
  line-height: 1.4;
}
.catalog-tile-stock.is-stock {
  color: #23845e;
}
.catalog-tile-cart {
  margin-top: auto;
}
.catalog-tile-cart button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #394aa8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.catalog-tile-cart button:hover {
  background: #2f3f96;
}

.shredder-product-grid.is-list .catalog-tile {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
  min-height: 260px;
}
.shredder-product-grid.is-list .catalog-tile:hover {
  transform: none;
}
.shredder-product-grid.is-list .catalog-tile-media {
  height: auto;
  min-height: 260px;
  margin: 0;
  border-radius: var(--product-card-radius) 0 0 var(--product-card-radius);
}
.shredder-product-grid.is-list .catalog-tile-media > a {
  padding: 0;
}
.shredder-product-grid.is-list .catalog-tile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 28px;
  min-height: 260px;
  padding: 22px 22px 18px;
}
.shredder-product-grid.is-list .catalog-tile-price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
}
.shredder-product-grid.is-list .catalog-tile-price strong {
  font-size: 21px;
  font-weight: 700;
}
.shredder-product-grid.is-list .catalog-tile-title {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 0;
  max-width: 650px;
  padding-right: 14px;
  font-size: 17px;
  line-height: 1.35;
}
.shredder-product-grid.is-list .catalog-tile-meta {
  grid-column: 1;
  grid-row: 3 / span 2;
  align-self: end;
  min-height: 0;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
}
.shredder-product-grid.is-list .catalog-tile-cart {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  margin: 0;
}
.shredder-product-grid.is-list .catalog-tile-cart button {
  height: 44px;
}

@media (max-width: 1100px) {
  .catalog-tile-media {
    height: 270px;
  }
  .shredder-product-grid.is-list .catalog-tile {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .shredder-product-grid.is-list .catalog-tile-media {
    min-height: 230px;
  }
}
@media (max-width: 900px) {
  .shredder-product-grid.is-list .catalog-tile {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .shredder-product-grid.is-list .catalog-tile-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 220px;
    padding: 18px 16px;
  }
  .shredder-product-grid.is-list .catalog-tile-price,
  .shredder-product-grid.is-list .catalog-tile-title,
  .shredder-product-grid.is-list .catalog-tile-meta,
  .shredder-product-grid.is-list .catalog-tile-cart {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .shredder-product-grid.is-list .catalog-tile-price { margin-bottom: 8px; }
  .shredder-product-grid.is-list .catalog-tile-title { padding-right: 0; font-size: 15px; }
  .shredder-product-grid.is-list .catalog-tile-meta { align-self: auto; margin: 10px 0 14px; }
}
@media (max-width: 620px) {
  .catalog-tile {
    border-radius: 20px;
  }
  .catalog-tile-media {
    height: 240px;
    border-radius: 20px 20px 0 0;
  }
  .catalog-tile-favorite {
    top: 14px;
    right: 14px;
  }
  .shredder-product-grid.is-list .catalog-tile {
    grid-template-columns: 1fr;
  }
  .shredder-product-grid.is-list .catalog-tile-media {
    min-height: 290px;
    border-radius: 20px 20px 0 0;
  }
}
