/* 20.10.2026 «Б/у запчасти в наличии» (/spares/used/car, бывш. «Автозапчасти» + /products) и блок «Новые поступления» на главной */
.used { margin: 6px 0 30px; color: #1d2733; }
.used-crumbs { font-size: 13px; color: #8a94a3; margin: 0 0 10px; }
.used-crumbs a { color: #8a94a3; }
.used-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.used h1 { margin: 0 0 6px; font-size: 28px; font-weight: 600; color: #1d2733; }
.used-lead { margin: 0; max-width: 680px; font-size: 15px; line-height: 1.5; color: #4a5562; }
.used-facts { display: flex; gap: 10px; flex-wrap: wrap; }
.used-facts span { padding: 8px 12px; border-radius: 10px; background: #eef5fb; font-size: 13px; color: #3c4a5a; line-height: 1.25; }
.used-facts b { display: block; font-size: 17px; color: #1a73b8; }

.used-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 0; border-top: 1px solid #e6ebf0; border-bottom: 1px solid #e6ebf0; font-size: 14px; color: #6b7684; }
.used-bar .used-pop { display: flex; gap: 6px; flex-wrap: wrap; }
.used-bar .used-pop a { padding: 4px 10px; border: 1px solid #d9e2ec; border-radius: 14px; color: #1d2733; text-decoration: none; }
.used-bar .used-pop a:hover { border-color: #1a73b8; color: #1a73b8; }
.used-bar .used-cnt { margin-left: auto; white-space: nowrap; }

.used-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nu-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.nu-card:hover { box-shadow: 0 8px 22px rgba(20, 40, 70, .12); transform: translateY(-2px); }
.nu-ph { display: block; aspect-ratio: 4 / 3; background: #f3f4f6; overflow: hidden; }
.nu-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nu-ph img[src$=".svg"] { object-fit: contain; padding: 22%; box-sizing: border-box; opacity: .5; }
.nu-b { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.nu-n { font-size: 15px; font-weight: 600; line-height: 1.3; color: #1d2733; text-decoration: none; }
.nu-n::after { content: ""; position: absolute; inset: 0; } /* вся карточка кликабельна */
.nu-card:hover .nu-n { color: #1a73b8; }
.nu-m { margin-top: 2px; font-size: 13px; line-height: 1.35; color: #4a5562; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nu-d { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #8a94a3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nu-f { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.nu-p { font-size: 19px; font-weight: 700; color: #1d2733; white-space: nowrap; }
.nu-p s { margin-right: 4px; font-size: 13px; font-weight: 400; color: #8a94a3; }
.nu-a { font-size: 12px; color: #8a94a3; white-space: nowrap; }
.used .nu-f button.nu-cart { float: none; width: auto; height: auto; line-height: normal; background-image: none; text-transform: none; box-shadow: none; position: relative; z-index: 1; margin-left: auto; padding: 7px 12px; border: 0; border-radius: 8px; background: #1a73b8; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.used .nu-f button.nu-cart:hover { background: #135d96; }
.nu-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; background: #1a73b8; color: #fff; font-size: 12px; font-weight: 600; }
.nu-badge.sale { background: #d32f2f; }

.used-pages { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 26px 0 0; }
.used-pages a, .used-pages span { min-width: 38px; padding: 8px 10px; box-sizing: border-box; border: 1px solid #d9e2ec; border-radius: 8px; text-align: center; font-size: 14px; color: #1d2733; text-decoration: none; }
.used-pages a:hover { border-color: #1a73b8; color: #1a73b8; }
.used-pages .on { background: #1a73b8; border-color: #1a73b8; color: #fff; font-weight: 600; }
.used-pages .gap { border: 0; min-width: 0; padding: 8px 2px; color: #8a94a3; }

.used-seo { margin-top: 40px; padding-top: 28px; border-top: 1px solid #e6ebf0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; font-size: 15px; line-height: 1.6; color: #333d48; }
.used-seo h2 { margin: 0 0 10px; font-size: 22px; font-weight: 600; color: #1d2733; }
.used-seo h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 600; color: #1d2733; }
.used-seo p { margin: 0 0 10px; }
.used-seo ul { margin: 0 0 10px; padding-left: 20px; }
.used-seo li { list-style: disc; margin-bottom: 5px; }
.used-seo a { color: #1a73b8; }
.used-brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.used-brands a { padding: 4px 10px; border-radius: 14px; background: #eef5fb; text-decoration: none; font-size: 14px; }
.used-aside > div { padding: 16px 18px; border-radius: 12px; background: #f4f7fa; margin-bottom: 16px; font-size: 14px; }
.used-aside h3 { margin-top: 0; font-size: 16px; }
.used-aside ul { padding-left: 18px; }
.used-aside .used-cta { display: inline-block; margin-top: 4px; padding: 9px 16px; border-radius: 8px; background: #f07c1f; color: #fff !important; font-weight: 600; text-decoration: none; }
.used-faq details { border-bottom: 1px solid #e6ebf0; padding: 10px 0; }
.used-faq summary { cursor: pointer; font-weight: 600; color: #1d2733; }
.used-faq details p { margin: 8px 0 0; }

/* главная: «Новые поступления» — как «Распродажа», но синим */
.new-strip .sale-head b { color: #1a73b8 !important; }
@media (min-width: 901px) {
  .new-strip { background: linear-gradient(135deg, #eaf3fb 0%, #f6fafd 60%, #fff 100%) !important; box-shadow: inset 4px 0 0 #1a73b8, 0 2px 10px rgba(0,0,0,.05) !important; }
  .new-strip .sale-head a, .new-strip .sale-head a:visited { color: #1a73b8 !important; border-color: #1a73b8 !important; }
  .new-strip .sale-head a:hover { background: #1a73b8 !important; color: #fff !important; }
  .new-strip .sale-sub { color: #5d7186 !important; }
  .new-strip .new-price { color: #1d2733; font-weight: 700; font-size: 18px; }
  .new-strip .sale-badge { background: #1a73b8; box-shadow: 0 2px 6px rgba(26,115,184,.35); }
  .new-strip + .sale-strip { margin-top: 0; }
}
@media (max-width: 900px) {
  .new-strip { border-color: #1a73b8 !important; }
  .new-strip .sale-head a { color: #1a73b8 !important; }
  .new-strip .sale-badge { display: none; }
}

/* подвал: карта 220px (front.phtml), на телефоне ниже */
@media (max-width: 900px) { #footer #map { height: 180px !important; } }

@media (max-width: 1100px) { .used-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .used h1 { font-size: 22px; }
  .used-lead { font-size: 14px; }
  .used-facts span { padding: 6px 10px; font-size: 12px; }
  .used-facts b { font-size: 15px; }
  .used-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nu-b { padding: 8px 9px 10px; }
  .nu-n { font-size: 14px; }
  .nu-d { display: none; }
  .nu-f { flex-wrap: wrap; gap: 4px 8px; }
  .nu-p { font-size: 16px; }
  .used .nu-f button.nu-cart { margin-left: 0; width: 100%; padding: 8px; }
  .used-bar .used-cnt { margin-left: 0; }
  .used-seo { grid-template-columns: 1fr; gap: 10px; font-size: 14px; }
  .used-seo h2 { font-size: 19px; }
  .used-seo h3 { font-size: 16px; }
}
.used .nu-f button.nu-cart[disabled] { background: #e3eef7; color: #1a73b8; cursor: default; }
