/* Crown Classics — inventory search (pill style) */

.cc-filter {
  background: #111;
  padding: 28px clamp(16px, 3vw, 40px) 10px;
}

.cc-filter__inner {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cc-filter__search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.cc-filter__search-input {
  width: 100%;
  height: 56px;
  padding: 0 64px 0 24px;
  border: 1px solid #4a4a4a;
  border-radius: 999px;
  background: linear-gradient(180deg, #3a3a3a 0%, #2b2b2b 100%);
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.cc-filter__search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cc-filter__search-input:focus {
  border-color: #d64e00;
}

.cc-filter__search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #d64e00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cc-filter__search-btn:hover {
  background: #c44500;
}

.cc-filter__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border: 1.5px solid #d64e00;
  border-radius: 999px;
  background: transparent;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.cc-filter__pill:hover {
  background: #d64e00;
  color: #fff !important;
}

.cc-filter__pill svg {
  flex-shrink: 0;
}

.vlp-tabs-section {
  display: none !important;
}

/* Пагинация — как в crownclassics (pagination-row) */
.pagination-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 40px;
}

.pagination-row .pagination {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 30px 10px;
  padding: 0;
  gap: 0;
}

.pagination-row .pagination .previous_page.disabled,
.pagination-row .pagination .next_page.disabled {
  display: none;
}

.pagination-row .pagination li {
  width: 48px;
  height: 48px;
  margin: 10px;
  display: block;
  border-radius: 0;
}

.pagination-row .pagination li a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  line-height: 46px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: "Roboto Condensed", sans-serif;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid #d64e00 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination-row .pagination li a:hover:not([href="#"]) {
  background: #d64e00 !important;
  color: #fff !important;
}

.pagination-row .pagination li.active a,
.pagination-row .pagination li.active a:hover,
.pagination-row .pagination li.active a:focus {
  background: #d64e00 !important;
  border-color: #d64e00 !important;
  color: #fff !important;
  cursor: default;
}

.pagination-row .pagination li.disabled a {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .cc-filter__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cc-filter__search {
    flex: 1 1 100%;
  }

  .cc-filter__pill {
    flex: 1 1 calc(50% - 6px);
    padding: 0 16px;
  }

  .pagination-row .pagination li {
    width: 40px;
    height: 40px;
    margin: 6px;
  }

  .pagination-row .pagination li a {
    line-height: 38px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .cc-filter__search-input {
    height: 52px;
    font-size: 0.95rem;
    padding-left: 18px;
  }

  .cc-filter__search-btn {
    width: 40px;
    height: 40px;
  }

  .cc-filter__pill {
    height: 48px;
    font-size: 0.85rem;
  }
}
