/* Life-Merchant — курсы валют (scoped). Источник: shablon_site/life-merchant */
.lm-rates {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #f5f5f5;
  --border-color: #ddd;
  --dark-bg: #1a1a1a;
  color: var(--text-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.lm-rates .api-raw-section {
  margin: 20px 0;
}

.lm-rates .api-raw-section h2 {
  margin-bottom: 12px;
}

.lm-rates * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lm-rates .lm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.lm-rates .header {
    background-color: var(--dark-bg);
    padding: 20px 0;
    width: 100%;
}

.lm-rates .header .lm-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lm-rates .cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    font-size: 12px;
    line-height: 14px;
}

.lm-rates .cities-label {
    color: var(--light-text);
    margin-right: 5px;
    font-size: 12px;
    line-height: 14px;
}

.lm-rates .cities-list a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0.5rem;
}

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

.lm-rates .cities-list a.is-active {
    opacity: 1;
    font-weight: 600;
    text-decoration: underline;
}

.lm-rates .calculator-block {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.lm-rates .calculator-btn {
    background: none;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    margin-top: 4px;
    flex-direction: row;
}

.lm-rates .calculator-btn:hover {
    opacity: 1;
}

.lm-rates .calculator-btn i {
    font-size: 12px;
    color: #666;
}

.lm-rates .calculator-btn span {
    font-size: 11px;
    color: #666;
    font-family: Arial, sans-serif;
}

.lm-rates .rates-section {
    margin: 0 0 20px;
}

.lm-rates .exchange-page-header + .rates-section,
.lm-rates .exchange-page-header + .exchange-archive-controls,
.lm-rates .exchange-page-header + .exchange-office-layout,
.lm-rates .exchange-page-header + .exchange-archive-day {
    margin-top: 0;
}

.lm-rates .rates-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.lm-rates .rates-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: stretch;
    min-height: 48px;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
}

.lm-rates .rates-row > .rates-cell:nth-child(1) {
    flex: 2 1 180px;
    min-width: 0;
}

.lm-rates .rates-row > .rates-cell:nth-child(2) {
    flex: 0 0 120px;
}

.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) {
    flex: 0 0 160px;
}

.lm-rates .rates-row > .rates-cell:nth-child(6) {
    flex: 1 1 140px;
    min-width: 0;
}

.lm-rates .rates-row:last-child {
    border-bottom: none;
}

.lm-rates .rates-header {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
    border-bottom: 2px solid #dee2e6;
    min-height: 56px;
}

.lm-rates .rates-cell {
    display: flex;
    align-items: center;
    padding: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
    background: transparent;
    justify-content: space-between;
}

.lm-rates .rates-row .rates-cell:last-child {
    white-space: normal;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: none;
    overflow: visible;
}

.lm-rates .rates-row .rates-cell:last-child .phone-link {
    white-space: normal;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 2px;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

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

.lm-rates .rates-header .rates-cell {
    justify-content: center;
    text-align: center;
}

.lm-rates .rates-row:hover:not(.rates-header) {
    background: #f5f5f5;
}

@media (max-width: 900px) {
.lm-rates .rates-row > .rates-cell:nth-child(1) {
        flex: 1 1 32%;
    }
.lm-rates .rates-row > .rates-cell:nth-child(2) {
        flex: 1 1 18%;
    }
.lm-rates .rates-row > .rates-cell:nth-child(3) {
        flex: 1 1 16%;
    }
.lm-rates .rates-row > .rates-cell:nth-child(4) {
        flex: 1 1 16%;
    }
.lm-rates .rates-row > .rates-cell:nth-child(5) {
        flex: 1 1 18%;
    }
.lm-rates .rates-row > .rates-cell:nth-child(6) {
        display: none;
    }
}

@media (max-width: 600px) {
.lm-rates .rates-row .rates-cell {
        display: none;
    }
.lm-rates .rates-row .rates-cell:first-child, .lm-rates .rates-row .rates-cell.currency-main-col {
        display: flex !important;
        justify-content: center;
    }
.lm-rates .rates-row .rates-cell:first-child {
        flex: 2 1 0 !important;
    }
.lm-rates .rates-row .rates-cell.currency-main-col {
        flex: 1.2 1 0 !important;
    }
.lm-rates .rates-row .rates-cell:last-child {
        display: none !important;
    }
.lm-rates .rates-header .rates-cell {
        display: none;
    }
.lm-rates .rates-header .rates-cell:first-child, .lm-rates .rates-header .rates-cell.currency-main-col {
        display: flex !important;
        justify-content: center;
    }
.lm-rates .rates-header .rates-cell:last-child {
        display: none !important;
    }
.lm-rates .rates-row .rates-cell:first-child .phone-numbers {
        display: flex !important;
        margin-top: 8px;
    }
.lm-rates .phone-mobile-only {
        display: flex !important;
        flex-direction: column;
        margin-top: 8px;
    }
.lm-rates .rates-row .rates-cell:last-child .phone-numbers {
        display: none !important;
    }
.lm-rates .rates-header, .lm-rates .rates-row {
        min-height: 38px;
    }
}

.lm-rates .rate-cell {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-family: monospace;
}

.lm-rates .rate-buy {
    color: #28a745;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
}

.lm-rates .rate-buy::before {
    content: 'Покупка';
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 10px;
    color: #666;
}

.lm-rates .rate-sell {
    color: #dc3545;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.lm-rates .rate-sell::before {
    content: 'Продажа';
    position: absolute;
    top: -18px;
    right: 0;
    font-size: 10px;
    color: #666;
}

.lm-rates .rate-icon {
    font-size: 10px;
    margin-left: 4px;
}

.lm-rates .rate-icon--buy {
    color: #28a745;
}

.lm-rates .rate-icon--sell {
    color: #dc3545;
}

.lm-rates .map-section {
    margin: 20px 0;
}

.lm-rates .exchange-map-panel {
    display: flex;
    gap: 12px;
    align-items: stretch;
    height: 480px;
    min-height: 480px;
}

.lm-rates .exchange-map-sidebar {
    flex: 0 0 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    padding: 10px;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.lm-rates .exchange-map-currency label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.lm-rates .exchange-map-currency-select {
    width: 100%;
}

.lm-rates .exchange-map-hint {
    margin: 0;
    padding: 8px 10px;
    font-size: 12px;
    color: #666;
    background: #f8fafc;
    border: 1px dashed #d0d7de;
    border-radius: 4px;
    line-height: 1.35;
}

.lm-rates .exchange-map-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid rgb(31, 75, 153);
    border-radius: 4px;
    background: #f0f7ff;
}

.lm-rates .exchange-map-detail-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.lm-rates .exchange-map-detail-address {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #4b5563;
    word-break: break-word;
}

.lm-rates .exchange-map-detail-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-rates .exchange-map-detail-phone-link {
    font-size: 12px;
    color: rgb(31, 75, 153);
    text-decoration: none;
    line-height: 1.3;
}

.lm-rates .exchange-map-detail-phone-link:hover {
    text-decoration: underline;
}

.lm-rates .exchange-map-detail-muted {
    font-size: 12px;
    color: #9ca3af;
}

.lm-rates .exchange-map-detail-rates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 6px;
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px solid rgba(31, 75, 153, 0.2);
}

.lm-rates .exchange-map-detail-rate {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.lm-rates .exchange-map-detail-rate-label {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.2;
}

.lm-rates .exchange-map-detail-rate-value {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.lm-rates .exchange-map-rate-buy {
    color: #28a745;
}

.lm-rates .exchange-map-rate-sell {
    color: #dc3545;
}

.lm-rates .exchange-map-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
    margin-top: 2px;
}

.lm-rates .exchange-map-list-title {
    min-width: 0;
    line-height: 1.3;
}

.lm-rates .exchange-map-list-sort.sort-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.lm-rates .exchange-map-list-sort.sort-header button {
    border: none;
    background: transparent;
    padding: 0;
    line-height: 0;
}

.lm-rates .exchange-map-list-sort-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    min-width: 28px;
    text-align: center;
}

.lm-rates .exchange-map-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}

.lm-rates .exchange-map-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 12px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fafafa;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.lm-rates .exchange-map-item:hover,
.lm-rates .exchange-map-item--active {
    border-color: rgb(31, 75, 153);
    background: #f0f7ff;
}

.lm-rates .exchange-map-item-name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.lm-rates .exchange-map-item-rates {
    flex-shrink: 0;
    font-size: 12px;
    white-space: nowrap;
    line-height: 1.3;
}

.lm-rates .exchange-map-item-sep {
    margin: 0 2px;
    color: #666;
}

.lm-rates .exchange-map-canvas-wrap {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
    position: relative;
}

.lm-rates .exchange-map-canvas {
    width: 100%;
    height: 100%;
    background-color: #eee;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.lm-rates .exchange-map-marker-leaflet {
    background: transparent;
    border: none;
}

.lm-rates .leaflet-marker-icon.exchange-map-marker-leaflet {
    width: auto !important;
    height: auto !important;
}

.lm-rates .exchange-map-marker {
    position: relative;
    box-sizing: border-box;
    width: 124px;
    padding: 4px 8px 5px;
    border-radius: 6px;
    background: #dee2e6;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    line-height: 1.25;
    border: 1px solid #c5cad0;
    pointer-events: auto;
}

.lm-rates .exchange-map-marker--active {
    background: #cfd4da;
    border-color: rgb(31, 75, 153);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgb(31, 75, 153);
}

.lm-rates .exchange-map-marker--point {
    width: 124px;
    padding: 6px 8px;
}

.lm-rates .exchange-map-marker--point .exchange-map-marker-name {
    font-size: 12px;
}

.lm-rates .exchange-office-location-map {
    margin-top: 4px;
}

.lm-rates .exchange-office-location-map .exchange-map-canvas-wrap {
    flex: none;
    width: 100%;
    height: 220px;
    min-height: 220px;
}

.lm-rates .exchange-office-location-map .exchange-map-canvas {
    height: 100%;
    min-height: 220px;
}

.lm-rates .exchange-office-info-block--map {
    padding-bottom: 16px;
}

.lm-rates .exchange-map-marker-name {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-rates .exchange-map-marker-currency {
    margin-top: 1px;
    font-size: 10px;
    color: #555;
}

.lm-rates .exchange-map-marker-rates {
    margin-top: 1px;
    font-size: 11px;
    font-weight: 600;
}

.lm-rates .exchange-map-status {
    margin: 0;
    padding: 16px;
    color: #666;
}

.lm-rates .exchange-map-status--error {
    color: #b42318;
}

.lm-rates .exchange-map-empty {
    margin: 0;
    font-size: 13px;
    color: #666;
}

@media (max-width: 768px) {
.lm-rates .header .lm-container {
        justify-content: center;
    }
.lm-rates .input-group {
        flex-direction: column;
    }
.lm-rates .exchange-map-panel {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
.lm-rates .exchange-map-sidebar {
        flex: none;
        width: 100%;
        height: auto;
        max-height: 360px;
    }
.lm-rates .exchange-map-list {
        max-height: 180px;
        flex: none;
    }
.lm-rates .exchange-map-canvas-wrap {
        flex: none;
        width: 100%;
        min-height: 300px;
        height: 300px;
    }
.lm-rates .exchange-map-canvas {
        min-height: 300px;
        height: 300px;
    }
.lm-rates .exchange-map-canvas-wrap [class*="ymaps-2-1-map"],
.lm-rates .exchange-map-canvas-wrap [class*="ymaps-2-1-map"] *,
.lm-rates .exchange-map-canvas-wrap .leaflet-container,
.lm-rates .exchange-map-canvas-wrap .leaflet-container * {
        touch-action: auto;
    }
.lm-rates .exchange-office-location-map .exchange-map-canvas-wrap {
        height: 200px;
        min-height: 200px;
        max-width: 100%;
        overflow: hidden;
    }
.lm-rates .exchange-office-location-map .exchange-map-canvas {
        min-height: 200px;
        max-width: 100%;
        overflow: hidden;
    }
.lm-rates .exchange-office-location-map [class*="ymaps-2-1-map"],
.lm-rates .exchange-office-location-map .leaflet-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
.lm-rates .exchange-office-page {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }
.lm-rates .exchange-office-layout,
.lm-rates .exchange-office-rates-panel,
.lm-rates .exchange-office-info-panel {
        min-width: 0;
        max-width: 100%;
    }
.lm-rates .exchange-office-info-panel {
        overflow-x: hidden;
    }
.lm-rates .exchange-page-header {
        min-width: 0;
        max-width: 100%;
    }
.lm-rates .exchange-page-breadcrumbs-list {
        min-width: 0;
    }
.lm-rates .exchange-page-breadcrumbs-item--title {
        min-width: 0;
        max-width: 100%;
    }
.lm-rates .exchange-page-breadcrumbs-item--title .exchange-page-breadcrumbs-text {
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }
.lm-rates .exchange-office-rates-row {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
        gap: 6px;
        padding: 8px 6px;
    }
}

.lm-rates .exchange-info .exchange-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.lm-rates .exchange-name {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.lm-rates .exchange-name:hover {
    color: rgb(31, 75, 153);
}

.lm-rates .exchange-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.lm-rates .exchange-promo {
    font-size: 12px;
    color: rgb(31, 75, 153);
}

.lm-rates .exchange-wholesale-text {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.lm-rates .exchange-source-note {
    font-size: 11px;
    color: #9aa0a6;
    margin-top: 1px;
}

.lm-rates .schedule-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    transition: color 0.2s;
}

.lm-rates .schedule-btn:hover::after {
    content: attr(data-schedule);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
    white-space: pre-line;
    z-index: 9999;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 140px;
    text-align: center;
    line-height: 1.6;
    pointer-events: none;
}

.lm-rates .schedule-btn:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    z-index: 10000;
}

.lm-rates .time-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-rates .time-exact {
    font-family: monospace;
    color: #333;
}

.lm-rates .time-ago {
    font-size: 12px;
    color: #999;
}

.lm-rates .phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lm-rates .phone-with-messengers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lm-rates .messenger-icons {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.lm-rates .phone-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.lm-rates .phone-link:hover {
    color: rgb(31, 75, 153);
    text-decoration: underline;
}

.lm-rates .messenger-icon {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.lm-rates .messenger-icon:hover {
    color: rgb(31, 75, 153);
}

.lm-rates .messenger-icon .fa-whatsapp:hover {
    color: #25D366;
}

.lm-rates .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.lm-rates .modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lm-rates .modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lm-rates .modal-header {
    background: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 24px 24px 16px 24px;
}

.lm-rates .modal-header .calculator-icon {
    color: #fff;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.lm-rates .modal-header .calc-title {
    color: #fff;
    font-size: 1.3em;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.lm-rates .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dbe3ea;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: rgb(31, 75, 153);
    cursor: pointer;
    transition: background 0.2s;
}

.lm-rates .close-btn:hover {
    background: #c1cfe4;
}

.lm-rates .modal-body {
    padding: 20px;
}

.lm-rates .calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 0 0;
    margin: 0;
    font-size: 1.1rem;
}

.lm-rates .calc-row input[type="number"] {
    width: 90px;
    font-size: 0.9rem;
    padding: 6px 8px;
    border: 1px solid #bfc9d1;
    border-radius: 4px;
    text-align: right;
    background: #fff;
    transition: border-color 0.2s;
}

.lm-rates .calc-row input[type="number"]:focus {
    border-color: rgb(31, 75, 153);
}

.lm-rates .calc-currency, .lm-rates .calc-rate, .lm-rates .calc-label {
    min-width: 50px;
    text-align: center;
    color: #222;
    font-weight: 500;
}

.lm-rates .calc-rate {
    color: rgb(31, 75, 153);
}

.lm-rates .calc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lm-rates .calc-label {
    color: #888;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
    opacity: 0.8;
    letter-spacing: 0.2px;
    text-align: center;
}

.lm-rates .calc-divider {
    border: none;
    border-top: 1.5px solid #e0e6ed;
    margin: 18px 0 18px 0;
    width: 100%;
    background: transparent;
}

.lm-rates .exchange-point-name {
    text-align: center;
    font-size: 1.08rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: 0.2px;
}

.lm-rates .calc-rovno {
    color: #aaa;
}

.lm-rates .calc-col.calc-equal .calc-label {
    min-width: 0;
    width: auto;
    padding: 0;
    margin: 0;
}

.lm-rates .rates-cell .exchange-info {
    margin-bottom: 8px;
    min-width: 0;
    overflow: hidden;
}

.lm-rates .rates-cell .schedule-btn {
    margin-top: 4px;
    display: block;
    position: static;
    transform: none;
}

.lm-rates .rates-cell .rate-cell {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 1rem;
}

.lm-rates .rates-cell .calculator-block {
    width: 100%;
    margin-top: 8px;
    display: flex;
}

.lm-rates .rates-cell .phone-numbers {
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    overflow: visible;
    white-space: normal;
}

.lm-rates .rates-cell .phone-link {
    font-size: 12px;
    white-space: normal;
    display: block;
    max-width: 100%;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.lm-rates .rates-cell--currency {
    display: flex;
    flex-direction: column;
}

.lm-rates .schedule-block {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.lm-rates .currency-table-select,
.lm-rates .exchange-map-currency-select {
    padding: 6px 28px 6px 10px;
    font-size: 15px;
    border: 1px solid #bfc9d1;
    border-radius: 6px;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23333" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center/18px 18px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    min-width: 80px;
    transition: border-color 0.2s;
}

.lm-rates .currency-table-select:focus,
.lm-rates .exchange-map-currency-select:focus {
    border-color: rgb(31, 75, 153);
    outline: none;
}

.lm-rates .currency-table-select option[selected],
.lm-rates .currency-table-select option:checked,
.lm-rates .exchange-map-currency-select option[selected],
.lm-rates .exchange-map-currency-select option:checked {
    background: rgb(31, 75, 153);
    color: #fff;
}

.lm-rates .phone-mobile-only {
    display: none;
}

@media (max-width: 600px) {
.lm-rates .phone-mobile-only {
        display: flex !important;
        flex-direction: column;
        margin-top: 8px;
    }
.lm-rates .rates-row .rates-cell:last-child .phone-numbers {
        display: none !important;
    }
}

.lm-rates .average-row {
    background: #f8f9fa;
    font-weight: 500;
    border-top: 2px solid #dee2e6;
    min-height: 44px;
}

.lm-rates .average-row .rates-cell {
    justify-content: center;
    align-items: center;
    font-size: 1.08em;
    color: rgb(31, 75, 153);
    border-right: 1px solid #f0f0f0;
}

.lm-rates .average-row .rates-cell:first-child {
    color: #333;
    font-weight: bold;
    font-size: 1em;
}

.lm-rates .average-row .rates-cell:last-child {
    border-right: none;
}

@media (max-width: 600px) {
.lm-rates .average-row .rates-cell {
    display: none;
  }
.lm-rates .average-row .rates-cell.currency-main-col {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
.lm-rates .average-row .rates-cell.currency-main-col .avg-rate-cell {
    display: flex !important;
    flex-direction: row;
    gap: 18px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

.lm-rates .avg-rate-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1em;
    line-height: 1.3;
}

.lm-rates .avg-buy {
    color: #28a745;
    font-weight: 500;
    font-size: 1em;
}

.lm-rates .avg-sell {
    color: #dc3545;
    font-weight: 500;
    font-size: 1em;
}

.lm-rates .average-row .avg-rate-cell {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-family: monospace;
    gap: 18px;
}

.lm-rates .average-row .avg-buy {
    color: #28a745;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.lm-rates .average-row .avg-sell {
    color: #dc3545;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
    flex-direction: row-reverse;
}

.lm-rates .rates-header .sort-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.lm-rates .exchange-map-list-sort.sort-header .arrow-up,
.lm-rates .exchange-map-list-sort.sort-header .arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    cursor: pointer;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #888;
    margin-bottom: 1px;
    cursor: pointer;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #888;
    margin-top: 1px;
    cursor: pointer;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up.arrow-down {
    border-bottom: none;
    border-top: 7px solid #888;
    margin-bottom: 0;
    margin-top: 1px;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down.arrow-up {
    border-top: none;
    border-bottom: 7px solid #888;
    margin-top: 0;
    margin-bottom: 1px;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up:hover {
    border-bottom-color: #555;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down:hover {
    border-top-color: #555;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up.arrow-down:hover {
    border-top-color: #555;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down.arrow-up:hover {
    border-bottom-color: #555;
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up.active {
    border-bottom-color: rgb(31, 75, 153);
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down.active {
    border-top-color: rgb(31, 75, 153);
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-up.arrow-down.active {
    border-top-color: rgb(31, 75, 153);
}

.lm-rates .exchange-map-list-sort.sort-header .currency-arrow-down.arrow-up.active {
    border-bottom-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .arrow-up, .lm-rates .rates-header .sort-header .arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    cursor: pointer;
}

.lm-rates .rates-header .sort-header .arrow-up {
    border-bottom: 7px solid #888;
    margin-bottom: 1px;
}

.lm-rates .rates-header .sort-header .arrow-down {
    border-top: 7px solid #888;
    margin-top: 1px;
}

.lm-rates .rates-header .sort-header .arrow-up.active {
    border-bottom-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .arrow-down.active {
    border-top-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .currency-arrow-up {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #888;
    margin-bottom: 1px;
    cursor: pointer;
}

.lm-rates .rates-header .sort-header .currency-arrow-down {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #888;
    margin-top: 1px;
    cursor: pointer;
}

.lm-rates .rates-header .sort-header .currency-arrow-up.arrow-down {
    border-bottom: none;
    border-top: 7px solid #888;
    margin-bottom: 0;
    margin-top: 1px;
}

.lm-rates .rates-header .sort-header .currency-arrow-down.arrow-up {
    border-top: none;
    border-bottom: 7px solid #888;
    margin-top: 0;
    margin-bottom: 1px;
}

.lm-rates .rates-header .sort-header .currency-arrow-up:hover {
    border-bottom-color: #555;
}

.lm-rates .rates-header .sort-header .currency-arrow-down:hover {
    border-top-color: #555;
}

.lm-rates .rates-header .sort-header .currency-arrow-up.arrow-down:hover {
    border-top-color: #555;
}

.lm-rates .rates-header .sort-header .currency-arrow-down.arrow-up:hover {
    border-bottom-color: #555;
}

.lm-rates .rates-header .sort-header .currency-arrow-up.active {
    border-bottom-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .currency-arrow-down.active {
    border-top-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .currency-arrow-up.arrow-down.active {
    border-top-color: rgb(31, 75, 153);
}

.lm-rates .rates-header .sort-header .currency-arrow-down.arrow-up.active {
    border-bottom-color: rgb(31, 75, 153);
}

.lm-rates .rate-buy.zero-rate, .lm-rates .rate-sell.zero-rate {
    color: #999;
    font-style: italic;
}

.lm-rates .exchange-empty-message {
  margin: 0 0 20px;
  padding: 20px 16px;
  font-size: 1rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.lm-rates .exchange-hub-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.lm-rates .exchange-hub-city-name {
  font-size: 1.05rem;
  margin: 0;
  color: #1e293b;
}

.lm-rates .exchange-hub-city-more {
  font-size: 0.875rem;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}

.lm-rates .exchange-hub-city-more:hover {
  text-decoration: underline;
}

.lm-rates .exchange-hub-city {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.lm-rates .exchange-hub-city:last-child {
  border-bottom: none;
}

.lm-rates .exchange-hub-wrap {
    padding: 0 16px 24px;
}

.lm-rates .exchange-hub-add-note {
    margin: 28px 0 8px;
    padding: 18px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    background: #fafbfc;
    text-align: center;
}

.lm-rates .exchange-hub-add-note-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #15161d;
}

.lm-rates .exchange-hub-add-note-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.lm-rates .exchange-hub-add-note-text a {
    color: #d10024;
    font-weight: 600;
    text-decoration: none;
}

.lm-rates .exchange-hub-add-note-text a:hover {
    text-decoration: underline;
}

.lm-rates .exchange-hub-grid {
    margin-bottom: 0;
}

.lm-rates .exchange-hub-grid .rates-header .rates-cell {
    font-size: 0.8125rem;
}

.lm-rates .exchange-hub-data-row .exchange-name {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.lm-rates .exchange-hub-empty-row .rates-cell {
    padding: 12px;
    color: #64748b;
    font-size: 0.875rem;
}

.lm-rates .exchange-hub-title {
    font-size: 1.35rem;
    margin: 0 0 24px;
}

.lm-rates .exchange-hub-loading,
.lm-rates .exchange-hub-error {
    font-size: 0.875rem;
    color: #64748b;
}

.lm-rates .exchange-hub-error {
    color: #b91c1c;
}

.lm-rates .exchange-seo-block {
    margin: 32px 0 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
}

.lm-rates .exchange-seo-block p + p {
    margin-top: 12px;
}

.lm-rates .exchange-office-page,
.lm-rates .exchange-archive-page {
    padding: 0 0 40px;
}

.lm-rates .exchange-page-header {
    margin: 16px 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border-color);
}

.lm-rates .exchange-page-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.lm-rates .exchange-page-breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin-left: 6px;
    color: #cbd5e1;
}

.lm-rates .exchange-page-breadcrumbs-link {
    color: #15161d;
    text-decoration: none;
}

.lm-rates .exchange-page-breadcrumbs-link:hover {
    color: #15161d;
    text-decoration: underline;
}

.lm-rates .exchange-page-breadcrumbs-text {
    color: #334155;
    font-weight: 600;
}

.lm-rates .exchange-page-breadcrumbs-item--title {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
}

.lm-rates .exchange-page-breadcrumbs-item--title .exchange-page-breadcrumbs-text {
    margin: 0;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    display: inline;
}

.lm-rates .exchange-page-title-suffix {
    color: #64748b;
    font-weight: 500;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
    margin-left: 0.35em;
}

.lm-rates .exchange-office-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    margin-top: 4px;
}

.lm-rates .exchange-office-rates-panel,
.lm-rates .exchange-office-info-panel {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lm-rates .exchange-office-rates-head h2,
.lm-rates .exchange-office-info-panel h2,
.lm-rates .exchange-archive-day h2,
.lm-rates .exchange-archive-chart h2 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.lm-rates .exchange-office-rates-meta {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 16px;
}

.lm-rates .exchange-office-rates-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-rates .exchange-office-rates-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafafa;
}

.lm-rates .exchange-office-rates-row--head {
    background: #f1f5f9;
    font-weight: 600;
}

.lm-rates .exchange-office-currency {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lm-rates .exchange-office-rates-row--two-cols {
    grid-template-columns: 1.2fr 1fr;
}

.lm-rates .exchange-office-currency-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 0 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.lm-rates .exchange-office-currency-flag {
    display: block;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lm-rates .exchange-office-info-panel h3 {
    font-size: 0.8125rem;
    margin: 0 0 8px;
}

.lm-rates .exchange-office-info-block {
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.lm-rates .exchange-office-info-block:first-child {
    padding-top: 0;
}

.lm-rates .exchange-office-info-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lm-rates .exchange-office-info-block--notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-rates .exchange-office-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 8px;
}

.lm-rates .exchange-office-info-value,
.lm-rates .exchange-office-info-note,
.lm-rates .exchange-office-info-muted {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #1e293b;
    margin: 0;
}

.lm-rates .exchange-office-info-muted {
    color: #94a3b8;
}

.lm-rates .exchange-office-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lm-rates .exchange-office-info-note {
    color: #475569;
}

.lm-rates .exchange-office-phone-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lm-rates .exchange-office-schedule-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lm-rates .exchange-office-schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.lm-rates .exchange-office-schedule-day {
    color: #475569;
}

.lm-rates .exchange-office-schedule-hours {
    color: #0f172a;
    font-weight: 600;
    white-space: nowrap;
}

.lm-rates .exchange-office-address,
.lm-rates .exchange-office-contacts,
.lm-rates .exchange-office-schedule p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.lm-rates .exchange-office-phone-link {
    display: block;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 4px;
}

.lm-rates .exchange-office-phone-link:hover {
    text-decoration: underline;
}

.lm-rates .exchange-office-actions {
    margin-top: 20px;
}

.lm-rates .exchange-office-actions--center {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.lm-rates .exchange-archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
}

.lm-rates .exchange-archive-btn:hover {
    background: #1d4ed8;
}

.lm-rates .exchange-archive-btn--secondary {
    background: #475569;
}

.lm-rates .exchange-archive-btn--secondary:hover {
    background: #334155;
}

.lm-rates .exchange-city-archive-link-wrap {
    display: flex;
    justify-content: center;
    margin: 28px 0 0;
    padding: 0 0 48px;
}

.lm-rates .exchange-chart--interactive {
    cursor: crosshair;
}

.lm-rates .exchange-chart-tooltip {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fafc;
}

.lm-rates .exchange-chart-tooltip-date {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.lm-rates .exchange-chart-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.lm-rates .exchange-chart-tooltip-row + .exchange-chart-tooltip-row {
    margin-top: 4px;
}

.lm-rates .exchange-chart-tooltip-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.lm-rates .exchange-chart-tooltip-label {
    flex: 1;
    color: #475569;
}

.lm-rates .exchange-chart-tooltip-value {
    font-weight: 700;
    color: #0f172a;
}

.lm-rates .exchange-chart-hint {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.lm-rates .exchange-archive-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.lm-rates .exchange-archive-controls--city {
    margin-bottom: 24px;
}

.lm-rates .exchange-archive-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8125rem;
    color: #475569;
}

.lm-rates .exchange-archive-field input,
.lm-rates .exchange-archive-field select {
    min-width: 160px;
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 0.875rem;
}

.lm-rates .exchange-archive-chart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.lm-rates .exchange-chart-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.lm-rates .exchange-chart {
    width: 100%;
    height: auto;
}

.lm-rates .exchange-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.8125rem;
}

.lm-rates .exchange-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lm-rates .exchange-chart-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.lm-rates .exchange-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #64748b;
}

.lm-rates .exchange-chart-empty,
.lm-rates .exchange-office-loading,
.lm-rates .exchange-office-error {
    font-size: 0.875rem;
    color: #64748b;
}

.lm-rates .exchange-office-error {
    color: #b91c1c;
}

@media (max-width: 900px) {
    .lm-rates .exchange-office-layout {
        grid-template-columns: 1fr;
    }
}

.lm-rates.ir-page {
    background: #f3f4f6;
    padding-bottom: 48px;
}

.lm-rates.ir-page .ir-page-top {
    padding-top: 0;
}

.lm-rates.ir-page .exchange-page-header {
    margin-top: 16px;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 12px;
}

.lm-rates .ir-kicker {
    display: inline-block;
    margin: 0 0 12px;
    color: #ffb3c0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-rates .ir-kicker--light {
    color: #d10024;
}

.lm-rates .ir-hero {
    background: linear-gradient(135deg, #15161d 0%, #1e2030 55%, #2a2d3d 100%);
    color: #fff;
}

.lm-rates .ir-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 40px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 56px;
}

.lm-rates .ir-hero-lead {
    margin: 0;
    max-width: 560px;
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.lm-rates .ir-hero-text {
    margin: 16px 0 0;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.lm-rates .ir-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lm-rates .ir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lm-rates .ir-btn--primary {
    color: #fff;
    background: #d10024;
}

.lm-rates .ir-btn--primary:hover {
    background: #b8001f;
    transform: translateY(-1px);
}

.lm-rates .ir-btn--ghost {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.lm-rates .ir-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
}

.lm-rates .ir-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lm-rates .ir-hero-visual img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.lm-rates .ir-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: -32px 0 40px;
    border: 1px solid #e4e7ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(21, 22, 29, 0.08);
    overflow: hidden;
}

.lm-rates .ir-stat {
    padding: 24px 22px;
    text-align: center;
}

.lm-rates .ir-stat + .ir-stat {
    border-left: 1px solid #e4e7ed;
}

.lm-rates .ir-stat strong {
    display: block;
    margin-bottom: 6px;
    color: #15161d;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.lm-rates .ir-stat span {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.lm-rates .ir-block {
    margin-bottom: 48px;
}

.lm-rates .ir-block-head {
    margin-bottom: 22px;
}

.lm-rates .ir-block-head h2,
.lm-rates .ir-cta-copy h2 {
    margin: 0;
    color: #15161d;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.lm-rates .ir-lead {
    margin: 0 0 20px;
    max-width: 680px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.lm-rates .ir-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lm-rates .ir-audience-card {
    padding: 24px 22px;
    border: 1px solid #e4e7ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(21, 22, 29, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lm-rates .ir-audience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(21, 22, 29, 0.08);
}

.lm-rates .ir-audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 10px;
    color: #d10024;
    background: #fff0f3;
    font-size: 1.125rem;
}

.lm-rates .ir-audience-card h3 {
    margin: 0 0 10px;
    color: #15161d;
    font-size: 1.0625rem;
}

.lm-rates .ir-audience-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.lm-rates .ir-block--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

.lm-rates .ir-split-main {
    padding: 28px;
    border: 1px solid #e4e7ed;
    border-radius: 12px;
    background: #fff;
}

.lm-rates .ir-format-panel {
    padding: 28px;
    border-radius: 12px;
    color: #fff;
    background: #15161d;
}

.lm-rates .ir-format-panel h3 {
    margin: 0 0 16px;
    font-size: 1.125rem;
}

.lm-rates .ir-checklist {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lm-rates .ir-checklist li {
    position: relative;
    padding-left: 28px;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.lm-rates .ir-checklist li::before {
    content: '\f00c';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #d10024;
    font-family: FontAwesome;
    font-size: 0.875rem;
}

.lm-rates .ir-checklist--light li {
    color: rgba(255, 255, 255, 0.92);
}

.lm-rates .ir-checklist--light li::before {
    color: #ff6b84;
}

.lm-rates .ir-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lm-rates .ir-step {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid #e4e7ed;
    border-radius: 12px;
    background: #fff;
}

.lm-rates .ir-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 999px;
    color: #fff;
    background: #d10024;
    font-size: 0.9375rem;
    font-weight: 700;
}

.lm-rates .ir-step h3 {
    margin: 0 0 8px;
    color: #15161d;
    font-size: 1.0625rem;
}

.lm-rates .ir-step p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.lm-rates .ir-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
    padding: 32px 28px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #15161d 0%, #252836 100%);
}

.lm-rates .ir-cta .ir-kicker {
    color: #ffb3c0;
}

.lm-rates .ir-cta-copy h2 {
    color: #fff;
}

.lm-rates .ir-cta-copy p {
    margin: 12px 0 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.lm-rates .ir-cta-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
}

.lm-rates .ir-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lm-rates .ir-cta-link:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.lm-rates .ir-cta-link .fa {
    color: #ff6b84;
}

@media (max-width: 900px) {
    .lm-rates .ir-hero-inner,
    .lm-rates .ir-block--split,
    .lm-rates .ir-audience-grid,
    .lm-rates .ir-steps {
        grid-template-columns: 1fr;
    }

    .lm-rates .ir-stats {
        grid-template-columns: 1fr;
        margin-top: -20px;
    }

    .lm-rates .ir-stat + .ir-stat {
        border-left: none;
        border-top: 1px solid #e4e7ed;
    }

    .lm-rates .ir-hero-inner {
        padding-top: 20px;
        padding-bottom: 36px;
    }

    .lm-rates .ir-hero-visual {
        order: -1;
    }

    .lm-rates .ir-hero-visual img {
        max-width: 280px;
    }

    .lm-rates .ir-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .lm-rates .ir-cta-links {
        width: 100%;
    }
}

.lm-rates .ir-hero-phone {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lm-rates .ir-hero-messengers,
.lm-rates .ir-cta-messengers {
    display: flex;
    gap: 8px;
}

.lm-rates .ir-hero-messengers .messenger-icon,
.lm-rates .ir-cta-messengers .messenger-icon {
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
}

.lm-rates .ir-hero-messengers .messenger-icon:hover,
.lm-rates .ir-cta-messengers .messenger-icon:hover {
    color: #fff;
}

.lm-rates .ir-hero-messengers .fa-whatsapp:hover {
    color: #25D366;
}

.lm-rates .ir-hero-messengers .ir-messenger-telegram:hover,
.lm-rates .ir-cta-messengers .ir-messenger-telegram:hover {
    color: #2aabee;
}

.lm-rates .ir-cta-phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lm-rates .ir-cta-btn {
    margin-top: 16px;
}

.lm-rates .ir-modal-content {
    max-width: 480px;
}

.lm-rates .ir-modal-header .calc-title {
    font-size: 1.15em;
}

.lm-rates .ir-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lm-rates .ir-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #444;
}

.lm-rates .ir-form-field span {
    font-weight: 600;
}

.lm-rates .ir-form-field input,
.lm-rates .ir-form-field textarea {
    width: 100%;
    border: 1px solid #c9d1d9;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    color: #15161d;
    resize: vertical;
}

.lm-rates .ir-form-field input:focus,
.lm-rates .ir-form-field textarea:focus {
    outline: none;
    border-color: #15161d;
}

.lm-rates .ir-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lm-rates .ir-form-error {
    margin: 0;
    color: #b00020;
    font-size: 13px;
}

.lm-rates .ir-modal-submit {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.lm-rates .ir-modal-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.lm-rates .ir-modal-success {
    text-align: center;
    padding: 8px 4px 4px;
}

.lm-rates .ir-modal-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e7f7ec;
    color: #1a9c4a;
    font-size: 38px;
}

.lm-rates .ir-modal-success h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #15161d;
}

.lm-rates .ir-modal-success p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* === Главная (StoreHomeContent) === */

.lm-rates.lm-home {
    background: #f6f7f9;
    min-height: 100vh;
    padding-bottom: 48px;
}

.lm-rates.lm-home .exchange-page-header {
    margin-top: 12px;
}

.lm-home-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d10024;
}

.lm-home-hero {
    margin: 12px 0 28px;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #15161d 0%, #232531 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.lm-home-hero-copy h2 {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.lm-home-hero-text {
    margin: 0 0 22px;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.lm-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lm-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lm-home-btn--primary {
    background: #d10024;
    color: #fff;
    border: 1px solid #d10024;
}

.lm-home-btn--primary:hover {
    background: #b3001f;
    border-color: #b3001f;
}

.lm-home-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lm-home-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.lm-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.lm-home-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lm-home-block {
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 14px;
    padding: 22px 24px 26px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.lm-home-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.lm-home-block-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #15161d;
}

.lm-home-block-head span {
    font-size: 12px;
    color: #6b7280;
}

.lm-home-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lm-home-tools .lm-home-service p {
    margin-bottom: 2px;
}

.lm-home-tools-more {
    margin: 14px 0 0;
    text-align: right;
}

.lm-home-tools-more a {
    font-size: 13px;
    font-weight: 600;
    color: #d10024;
    text-decoration: none;
}

.lm-home-tools-more a:hover {
    text-decoration: underline;
}

.lm-home-service {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid #ececf2;
    border-radius: 12px;
    background: #fafbfc;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.lm-home-service:hover {
    border-color: #d10024;
    box-shadow: 0 8px 20px rgba(209, 0, 36, 0.08);
    transform: translateY(-2px);
}

.lm-home-service--soon {
    opacity: 0.75;
}

.lm-home-service--soon:hover {
    border-color: #ececf2;
    box-shadow: none;
    transform: none;
}

.lm-home-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fdecef;
    color: #d10024;
    font-size: 18px;
}

.lm-home-service h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #15161d;
}

.lm-home-service p {
    margin: 0;
    flex: 1;
    font-size: 13.5px;
    line-height: 1.55;
    color: #4b5563;
}

.lm-home-service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #d10024;
    text-decoration: none;
    align-self: flex-start;
}

.lm-home-service-cta:hover {
    text-decoration: underline;
}

.lm-home-service-cta--soon {
    color: #8a8e9b;
    cursor: default;
}

.lm-home-service-cta--soon:hover {
    text-decoration: none;
}

.lm-home-advantages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lm-home-advantage {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    background: #fafbfc;
    border: 1px solid #ececf2;
}

.lm-home-advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ecf3ff;
    color: #2c6cf6;
    font-size: 15px;
}

.lm-home-advantage h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #15161d;
}

.lm-home-advantage p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}

.lm-home-cities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.lm-home-city {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fafbfc;
    border: 1px solid #ececf2;
    border-radius: 10px;
    color: #15161d;
    font-size: 13.5px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.lm-home-city .fa {
    color: #d10024;
    font-size: 12px;
}

.lm-home-city:hover {
    border-color: #d10024;
    color: #d10024;
    background: #fff;
}

.lm-home-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 16px;
}

.lm-home-side-card {
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.lm-home-side-card h4 {
    margin: 6px 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #15161d;
}

.lm-home-side-card p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
}

.lm-home-side-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d10024;
}

.lm-home-side-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d10024;
    text-decoration: none;
}

.lm-home-side-link:hover {
    text-decoration: underline;
}

.lm-home-side-card--accent {
    background: linear-gradient(135deg, #15161d 0%, #2a2c38 100%);
    border-color: transparent;
}

.lm-home-side-card--accent h4 {
    color: #fff;
}

.lm-home-side-card--accent p {
    color: rgba(255, 255, 255, 0.78);
}

.lm-home-side-card--accent .lm-home-side-kicker {
    color: #ff6b84;
}

.lm-home-side-card--accent .lm-home-side-link {
    color: #fff;
}

.lm-home-rates-mini {
    list-style: none;
    margin: 10px 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: #fff;
}

.lm-home-rates-mini li {
    display: grid;
    grid-template-columns: minmax(52px, auto) 1fr 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.lm-home-rates-mini-head {
    background: transparent !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lm-home-rates-mini-code {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lm-home-rates-mini-val {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.lm-home-rates-mini-status {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.lm-home-side-banner {
    position: relative;
    min-height: 240px;
    border-radius: 14px;
    border: 1px dashed #c9d1d9;
    background: repeating-linear-gradient(
        45deg,
        #fafbfc,
        #fafbfc 10px,
        #f1f3f5 10px,
        #f1f3f5 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8e9b;
    font-size: 13px;
}

.lm-home-side-banner-label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b6bac3;
}

.lm-home-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-home-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #15161d;
    text-decoration: none;
}

.lm-home-contact a:hover {
    color: #d10024;
}

.lm-home-contact .fa {
    width: 18px;
    color: #d10024;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1024px) {
    .lm-home-layout {
        grid-template-columns: 1fr;
    }
    .lm-home-side {
        position: static;
    }
    .lm-home-advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lm-home-hero {
        padding: 24px 20px;
    }
    .lm-home-hero-copy h2 {
        font-size: 22px;
    }
    .lm-home-block {
        padding: 18px;
    }
    .lm-home-services,
    .lm-home-advantages {
        grid-template-columns: 1fr;
    }
    .lm-home-cities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Инструменты (как ir-page) --- */
.lm-rates.tool-landing-page .tool-report-samples {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.lm-rates.tool-landing-page .tool-report-samples .tool-sample-card {
    margin: 0;
    align-self: flex-end;
    max-width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.lm-rates.tool-landing-page .tool-report-samples .tool-sample-card__media {
    padding: 0;
    background: transparent;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.lm-rates.tool-landing-page .tool-report-samples .tool-sample-card__media img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
}

.lm-rates.tool-landing-page .tool-report-samples .tool-sample-card figcaption {
    margin: 8px 0 0;
    padding: 0;
    border-top: none;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    text-align: right;
}

.lm-rates .tool-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-rates .tool-hub-card-cta {
    margin-top: 18px;
}

.lm-rates .ir-format-panel a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lm-rates .ir-format-panel a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .lm-rates .tool-hub-grid {
        grid-template-columns: 1fr;
    }

    .lm-rates.tool-landing-page .tool-report-samples {
        align-items: center;
    }

    .lm-rates.tool-landing-page .tool-report-samples .tool-sample-card {
        align-self: center;
    }

    .lm-rates.tool-landing-page .tool-report-samples .tool-sample-card figcaption {
        text-align: center;
    }
}

/* --- Инструменты (legacy tool-landing-page) --- */
.lm-rates .tool-landing-page .tool-landing-top {
    padding-top: 8px;
    padding-bottom: 8px;
}

.lm-rates .tool-landing-page .tool-landing-wrap {
    padding-top: 32px;
    padding-bottom: 56px;
}

.lm-rates .tool-landing-page .tool-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 36px 40px;
    align-items: start;
    margin-bottom: 48px;
}

.lm-rates .tool-landing-page .tool-page-main {
    display: flex;
    flex-direction: column;
    gap: 36px;
    min-width: 0;
}

.lm-rates .tool-landing-page .tool-page-section {
    margin: 0;
}

.lm-rates .tool-landing-page .tool-preview {
    position: sticky;
    top: 20px;
}

.lm-rates .tool-landing-page .tool-intro {
    margin: 0;
    padding: 0 0 36px;
    border-bottom: 1px solid #e5e7eb;
}

.lm-rates .tool-landing-page .tool-intro-lead {
    margin: 0 0 12px;
    max-width: 780px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #334155;
}

.lm-rates .tool-landing-page .tool-intro-text {
    margin: 0 0 20px;
    max-width: 780px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

.lm-rates .tool-landing-page .tool-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.lm-rates .tool-landing-page .tool-intro-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #15161d;
    text-decoration: none;
}

.lm-rates .tool-landing-page .tool-intro-phone:hover {
    color: #d10024;
}

.lm-rates .tool-landing-page .tool-intro-messengers {
    display: inline-flex;
    gap: 8px;
}

.lm-rates .tool-marketplaces-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lm-rates .tool-marketplaces-list li {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.lm-rates .tool-benefits-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.lm-rates .tool-benefits-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #334155;
}

.lm-rates .tool-benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
}

.lm-rates .tool-landing-page .tool-preview {
    padding: 24px 22px 28px;
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.lm-rates .tool-preview-label {
    margin: 0 0 16px;
    padding-bottom: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #eef2f7;
}

.lm-rates .tool-preview .tool-sample-card + .tool-sample-card {
    margin-top: 16px;
}

.lm-rates .tool-sample-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.lm-rates .tool-sample-card__media {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    background: #f1f5f9;
    -webkit-overflow-scrolling: touch;
}

.lm-rates .tool-sample-card__media img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 auto;
}

.lm-rates .tool-sample-card figcaption {
    padding: 10px 14px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    border-top: 1px solid #eef2f7;
}

.lm-rates .tool-faq-list {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.lm-rates .tool-faq-item {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.lm-rates .tool-faq-item h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #15161d;
}

.lm-rates .tool-faq-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.lm-rates .tool-hub-service-features {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: disc;
    font-size: 12.5px;
    line-height: 1.5;
    color: #64748b;
}

.lm-rates .tool-landing-page .tool-page-faq {
    margin-bottom: 48px;
}

@media (max-width: 768px) {
.lm-rates .tool-landing-page .tool-landing-wrap {
        padding-top: 20px;
        padding-bottom: 36px;
    }
.lm-rates .tool-landing-page .tool-page-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
.lm-rates .tool-landing-page .tool-preview {
        position: static;
        padding: 18px 16px 22px;
    }
.lm-rates .tool-landing-page .tool-page-main {
        gap: 28px;
    }
}