.lm-rates {
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lm-rates .rates-row .rate-buy,
.lm-rates .rates-row .rate-sell,
.lm-rates .avg-buy,
.lm-rates .avg-sell,
.lm-rates .rates-row .rates-cell:nth-child(3),
.lm-rates .rates-row .rates-cell:nth-child(4),
.lm-rates .rates-row .rates-cell:nth-child(5) {
  font-variant-numeric: tabular-nums;
}

.lm-rates .modal {
  z-index: 10050;
}

.lm-rates .header {
  padding: 13px 0;
  background-color: #dee2e6;
}

.lm-rates .header .lm-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

.lm-rates .cities-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lm-rates .cities-label {
  color: #2b2d42;
}

.lm-rates .cities-list a {
  padding: 0;
  color: #2b2d42;
  opacity: 1;
  text-decoration: none;
}

.lm-rates .cities-list a:hover {
  text-decoration: underline;
}

.lm-rates .lm-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.lm-rates .rates-header .rates-cell:first-child {
  justify-content: flex-start;
}

.lm-rates .rates-row > .rates-cell:nth-child(3),
.lm-rates .rates-row > .rates-cell:nth-child(4),
.lm-rates .rates-row > .rates-cell:nth-child(5) {
  justify-content: center;
}

.lm-rates .rates-header .sort-header {
  justify-content: center;
  width: 100%;
}

.lm-rates .average-row .rates-cell {
  justify-content: center;
}

.lm-rates .average-row .rates-cell:first-child {
  justify-content: flex-start;
}

.lm-rates .rates-row:not(.rates-header):not(.average-row) .rates-cell:nth-child(3),
.lm-rates .rates-row:not(.rates-header):not(.average-row) .rates-cell:nth-child(4),
.lm-rates .rates-row:not(.rates-header):not(.average-row) .rates-cell:nth-child(5) {
  justify-content: center;
}

.lm-rates .rates-row .rates-cell:last-child {
  justify-content: flex-start;
}

.lm-rates .rates-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b2d42;
  margin-bottom: 0;
}

.store-logo-text {
  font-family: var(--font-roboto), 'Roboto', Arial, sans-serif;
  padding-left: 2rem;
  font-size: 0.72rem;
}

.store-header-ctn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 0;
  width: 100%;
}

.store-header-ctn__item + .store-header-ctn__item {
  margin-left: 15px;
}

.store-header-ctn__link {
  display: block;
  position: relative;
  width: 90px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.store-header-ctn__link:hover {
  color: #fff;
  opacity: 0.9;
}

.store-header-ctn__icon {
  display: block;
  font-size: 18px;
}

.store-header-ctn__label {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.store-header-ctn__qty {
  position: absolute;
  right: 15px;
  top: -10px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background-color: #d10024;
}

.site-search {
  position: relative;
  width: 100%;
}

.site-search-form {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.site-search-scope {
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #e4e7ed;
  background: #fff;
  padding: 0 14px;
  font-size: 13px;
  color: #2b2d42;
  outline: none;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  cursor: pointer;
}

.site-search-input {
  height: 40px;
  flex: 1 1 auto;
  min-width: 0;
  border-top: 1px solid #e4e7ed;
  border-bottom: 1px solid #e4e7ed;
  border-left: none;
  border-right: none;
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  color: #2b2d42;
  outline: none;
}

.site-search-input::placeholder {
  color: #8a8e9b;
}

.site-search-btn {
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: #d10024;
  color: #fff;
  padding: 0 22px;
  font-size: 16px;
  cursor: pointer;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  transition: background 0.15s;
}

.site-search-btn:hover {
  background: #b3001f;
}

.site-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  z-index: 50;
  max-height: 460px;
  overflow-y: auto;
  padding: 6px 0;
}

.site-search-empty {
  padding: 14px 16px;
  color: #6b7280;
  font-size: 13px;
}

.site-search-group + .site-search-group {
  border-top: 1px solid #f1f3f5;
  margin-top: 4px;
  padding-top: 4px;
}

.site-search-group-title {
  padding: 6px 16px 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a8e9b;
}

.site-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-search-item {
  margin: 0;
}

.site-search-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  text-decoration: none;
  color: #15161d;
  font-size: 14px;
}

.site-search-item--active .site-search-link,
.site-search-link:hover {
  background: #f7f8fa;
}

.site-search-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdecef;
  color: #d10024;
  font-size: 13px;
  flex-shrink: 0;
}

.site-search-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-search-title {
  font-weight: 500;
  line-height: 1.2;
  color: #15161d;
}

.site-search-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .site-search-scope {
    display: none;
  }
  .site-search-input {
    border-left: 1px solid #e4e7ed;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
  }
}
