/* OnlySIM 1.3.2: card presentation only; shared by catalog and tariff pages. */
html body article.mvp-card.mvp-card { container-type:inline-size !important; }
html body article.mvp-card.mvp-card .mvp-metrics { margin-bottom:18px !important; }
html body article.mvp-card.mvp-card .mvp-meta { margin-bottom:10px !important; }
html body article.mvp-card.mvp-card .mvp-metrics strong.infinity { display:flex !important;align-items:center !important;justify-content:center !important;font-size:26px !important;line-height:1 !important;height:26px !important; }
html body article.mvp-card.mvp-card .os-infinity { display:block !important;width:clamp(22px,16cqw,40px) !important;height:auto !important;overflow:visible !important; }
html body article.mvp-card.mvp-card .os-card-price-row { display:flex !important;align-items:center !important;justify-content:space-between !important;gap:3px !important;min-height:48px!important;margin-top:0 !important;margin-bottom:6px !important;min-width:0 !important; }
html body article.mvp-card.mvp-card .mvp-price { flex:1 !important;flex-wrap:nowrap !important;gap:1px !important;min-width:0 !important;margin:0 !important; }
html body article.mvp-card.mvp-card .mvp-price strong { font-size:clamp(18px,15cqw,42px) !important;letter-spacing:-.04em !important;white-space:nowrap !important; }
html body article.mvp-card.mvp-card .mvp-price>span { font-size:clamp(7px,4cqw,12px) !important; }
html body article.mvp-card.mvp-card .card-compare { min-height:0 !important;min-width:48px !important;font-size:clamp(7px,4cqw,13px) !important;padding:0 clamp(3px,1.8cqw,9px) !important;letter-spacing:-.2px !important; }
html body article.mvp-card.mvp-card .mvp-card-bottom.os-connection-bar { display:flex !important;align-items:baseline !important;justify-content:center !important;flex-wrap:nowrap !important;gap:clamp(3px,2cqw,8px) !important;margin:0 !important;padding:9px 4px !important;width:100% !important;box-sizing:border-box !important;border:1px solid #dbe3f6 !important;border-radius:12px !important;background:#eef2ff !important;min-width:0 !important; }
html body article.mvp-card.mvp-card .os-connection-bar .mvp-connection { display:flex !important;align-items:baseline !important;justify-content:center !important;flex-wrap:nowrap !important;gap:1px !important;max-width:100%!important;min-width:0 !important;font-size:clamp(7px,5.1cqw,16px)!important;font-weight:500!important;line-height:1.35!important;white-space:nowrap!important;color:#344460!important; }
html body article.mvp-card.mvp-card .mvp-connection b { font-weight:600 !important;white-space:nowrap !important; }
html body article.mvp-card.mvp-card .os-connection-old { color:#8992a4 !important;font-size:clamp(7px,4.8cqw,15px) !important;line-height:1.35 !important;white-space:nowrap !important;text-decoration-thickness:1px !important; }
html body #comparison .rules-accordion { padding:0!important;background:#edf3ff!important;border:1px solid #dbe4f6!important;border-radius:16px!important; }
html body #comparison .rules-summary { box-sizing:border-box !important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-height:56px !important;padding:14px 18px!important; }
html body #comparison .rules-summary-title { background:transparent!important; }
html body #comparison .rules-content { margin:0!important;padding:16px 18px!important;border-top:1px solid #dbe4f6!important;background:#fff!important; }
@media(max-width:600px){html body article.mvp-card.mvp-card .mvp-metrics{margin-bottom:16px!important}html body article.mvp-card.mvp-card .mvp-metrics strong.infinity{font-size:23px !important;height:23px}}

html body article.mvp-card.mvp-card .card-compare{position:relative!important;right:auto!important;bottom:auto!important;height:clamp(22px,11cqw,36px)!important;max-height:36px!important;border-radius:999px!important;}
html body article.mvp-card.mvp-card .card-compare::after{content:""!important;display:block!important;position:absolute!important;inset:auto 0!important;top:50%!important;height:48px!important;transform:translateY(-50%)!important;background:transparent!important;}
/* Keep currency and suffix together even in a two-column 320px catalog. */
html body article.mvp-card.mvp-card .mvp-price strong{font-size:clamp(14px,calc(20cqw - 10px),42px)!important;}
html body article.mvp-card.mvp-card .mvp-price>span{white-space:nowrap!important;}
html body article.mvp-card.mvp-card .card-compare{font-size:clamp(7px,4.8cqw,13px)!important;}
html body article.mvp-card.mvp-card .os-connection-bar .mvp-connection{gap:3px!important;}
html body article.mvp-card.mvp-card .mvp-price strong{font-size:clamp(14px,calc(20cqw - 10px),36px)!important;}
@container (min-width:300px){html body article.mvp-card.mvp-card .mvp-price strong{font-size:42px!important;}}
@container (max-width:140px){html body article.mvp-card.mvp-card .mvp-price strong{font-size:14px!important;}html body article.mvp-card.mvp-card .os-card-price-row{gap:1px!important;}}

/* Router/modem cards show only the existing internet allowance. */
html body article.mvp-card.mvp-card .mvp-metrics.os-metrics-internet-only{grid-template-columns:minmax(0,1fr)!important;}
html body article.mvp-card.mvp-card .os-metrics-internet-only>div{flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-left:0!important;}
html body article.mvp-card.mvp-card .os-metrics-internet-only>div>span{font-size:clamp(14px,7cqw,22px)!important;line-height:1!important;font-weight:600!important;color:inherit!important;}

/* Use the actual notice height; viewport/scroll handlers cannot overwrite it. */
html body #compareBar{bottom:var(--os-legal-height,var(--legal-height))!important;}
/* Shared value and label rows, including infinity and the optional “от”. */
html body article.mvp-card.mvp-card .mvp-metrics:not(.os-metrics-internet-only)>div{display:grid!important;grid-template-rows:1fr auto!important;align-items:center!important;justify-items:center!important;}
html body article.mvp-card.mvp-card .mvp-metrics:not(.os-metrics-internet-only)>div>span{line-height:1.5!important;}
