@media (max-width: 768px) {
  .suggestion { display: none !important; }
}
.catalog-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  flex-wrap: wrap;
}
.catalog-toolbar__title { font-size: 23px; font-weight: 700; margin: 0; }
.catalog-toolbar__controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.catalog-toolbar__controls select { min-width: 140px; height: 37px; padding-left: 5px; font-size: 15px; }

.pagination-container {
  margin: 20px 0;
  text-align: center;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  padding: 4px 0;
}
.pagination-container::-webkit-scrollbar { display: none; }
.pagination-container { -ms-overflow-style: none; scrollbar-width: none; }

.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  min-width: fit-content;
}
.pagination__link {
  display: inline-block;
  padding: 8px 10px;
  min-width: 32px;
  height: 32px;
  line-height: 16px;
  text-align: center;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  border-radius: 6px;
}
.pagination__link:hover:not(.pagination__link--disabled) {
  background: #0ea5e9;
  color: white;
  border-color: #0ea5e9;
}
.pagination__link--active {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
  font-weight: bold;
}
.pagination__link--disabled { color: #aaa; cursor: not-allowed; background: #f9f9f9; }
.pagination__link--more {
  pointer-events: none;
  color: #777;
  background: #f0f0f0;
  border-color: #ddd;
  font-weight: bold;
}
@media (max-width: 480px) {
  .pagination__link { padding: 6px 8px; min-width: 26px; height: 28px; font-size: 12px; }
  .pagination-container { padding: 2px 0; }
}

.filter__stock-and-reset {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.filter__options-param-stock { display: flex; align-items: center; gap: 6px; margin: 0; }
.filter__options-remove { padding: 8px 14px; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.filter__car-apply { padding: 8px 14px; border-radius: 6px; background: #0ea5e9; color: #fff; border: none; cursor: pointer; font-weight: 600; transition: background-color 0.2s; }
.filter__car-apply:hover:not(:disabled) { background: #0284c7; }
.filter__car-apply:disabled { opacity: 0.6; cursor: not-allowed; }
.suggestions-container { text-align: center; margin: 20px 0; }
.suggestions-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 12px; }
@media (max-width: 768px) {
  .suggestions-container { display: none !important; }
}
.filter__options-car-container--hidden { display: none; }
.suggestions-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 12px; }

.suggestion,
.suggestion--narrow { max-width: 85ch !important; }

.filter__options { margin-top: 0; padding-top: 20px; }
.filter__options--tight { margin-top: 0; padding-top: 0; }
.filter__options-row { display: flex; gap: 20px; flex-wrap: wrap; }
.filter__options-param { flex: 1; min-width: 200px; }
.filter__options-param.price { flex: 1; min-width: 260px; }
#price_display { margin-top: 6px; }
.product-sticker { aspect-ratio: 350/60; }

.filter-by-car--hidden { display: none !important; }
.product-card__add-to-cart-form.add-to-cart-form--hidden { display: none !important; }

/* Livechat widget (detail pages) */
.livechat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  display: none;
  z-index: 9999;
  overflow: hidden;
  font-size: 14px;
}
.livechat-widget.open { display: block; }
.livechat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f7f7f8;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}
.livechat-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.livechat-messages { height: 320px; overflow: auto; padding: 10px; background: #fafafa; display: flex; flex-direction: column; gap: 8px; }
.livechat-msg { display: flex; }
.livechat-msg.client { justify-content: flex-end; }
.livechat-msg.operator { justify-content: flex-start; }
.livechat-msg .bubble { max-width: 80%; padding: 8px 10px; border-radius: 12px; background: #e9f2ff; }
.livechat-msg.client .bubble { background: #d1f7c4; }
.livechat-msg .bubble.pending { opacity: .6; }
.livechat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee; background: #fff; }
.livechat-input input { flex: 1; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.livechat-input button { background: #3b87f9; color: #fff; border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 480px) {
  .livechat-widget { right: 10px; left: 10px; width: auto; bottom: 10px; }
}
.product-card__image-container { position: relative; }
.product-page__params__image-wrapper .product-page__image { z-index: 1; }
.product-page__params__image-wrapper .product-page__brand-logo { z-index: 3; }
.product-stickers--detail {
  position: absolute;
  left: 0;
  top: 60px;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 2px 8px;
  pointer-events: none;
}
.product-stickers--detail .product-sticker { height: 32px; width: auto; object-fit: contain; aspect-ratio: 350/60; }
@media (max-width: 480px) {
  .product-stickers--detail .product-sticker { height: 24px; }
}
.btn-livechat {
  padding: 10px 22px;
  border-radius: 5px;
  background: #1da1f2;
  color: #fff;
  text-decoration: none;
  border: 0;
  margin-top: -19px;
  cursor: pointer;
  font-size: 18px;
}

.product-stickers { position: absolute; left: 0; top: 20px; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: 2px 6px; pointer-events: none; }
.product-stickers__side { display: flex; gap: 6px; flex-wrap: wrap; }
.product-stickers__side--right { flex-direction: row-reverse; }
.product-sticker { width: auto; height: 24px; aspect-ratio: 350/60; object-fit: contain; display: block; }
@media (max-width: 480px) { .product-sticker { height: 20px; } }

.product-card__name--muted { opacity: .8; font-weight: 400; }
.product-page__params--narrow { max-width: 560px; }
.product-page__details-back { margin-top: 20px; }
