/* ═══════════════════════════════════════════════
  TOKENS
═══════════════════════════════════════════════ */
:root {
  --red: #F02718;
  --red6: #D32215;
  --red7: #B41D12;
  --red50: #FEE9E8;
  --red100: #FCD4D1;
  --red200: #FAB3AE;
  --red300: #F8938C;
  --orange: #FD8713;
  --orange50: #FFF3E7;
  --ink: #1A1A1A;
  --ink2: #3D3D3D;
  --muted: #6B7280;
  --muted2: #9CA3AF;
  --surf: #F6F6F8;
  --surf2: #EBEBED;
  --border: rgba(0, 0, 0, 0.10);
  --grad: linear-gradient(135deg, #F02718 0%, #F7471B 50%, #FD8713 100%);
  --r: 18px;
  --r2: 12px;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  --fh: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fb: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --redesim-red-50: #FEE9E8;
  --redesim-red-100: #FCD4D1;
  --redesim-red-200: #FAB3AE;
  --redesim-red-300: #F8938C;
  --redesim-red-400: #F45D52;
  --redesim-red-500: #F02718;
  --redesim-red-600: #D32215;
  --redesim-red-700: #B41D12;
  --redesim-red-800: #90170E;
  --redesim-red-900: #6C120B;
  --redesim-orange-50: #FFF3E7;
  --redesim-orange-100: #FFE7D0;
  --redesim-orange-200: #FED5AC;
  --redesim-orange-300: #FEC389;
  --redesim-orange-400: #FEA54E;
  --redesim-orange-500: #FD8713;
  --redesim-orange-600: #DF7711;
  --redesim-orange-700: #BE650E;
  --redesim-ink: #1F1F1F;
  --redesim-muted: #4B4B4B;
  --redesim-surface: #F5F5F7;
  --redesim-border: rgba(0, 0, 0, 0.12);
  --redesim-focus: rgba(240, 39, 24, 0.25);
  --redesim-hero-gradient: linear-gradient(135deg, #F02718 0%, #F7471B 45%, #FD8713 100%);
  --radius-card: 16px;
  --radius-btn: 14px;
  --radius-input: 12px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.07);
  --orange50: var(--redesim-orange-50);
  --surf2: #EBEBED;
  --redesim-soft-peach: #FEE1D7;
}

/* ═══════════════════════════════════════════════
   BASE RESET
═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb) !important;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  margin-bottom: 0 !important;
  overflow-wrap: normal;
  word-wrap: normal;
  word-break: normal;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fh);
  line-height: 1.2;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--fb);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(240, 39, 24, 0.25);
}

.btn-primary:hover {
  background: var(--red6);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 39, 24, 0.32);
}

.btn-primary:active {
  background: var(--red7);
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red7);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-btn);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
  background: var(--red50);
  border-color: var(--red300);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red6);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #fff8f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--fb);
  box-shadow: 0 2px 8px rgba(240, 39, 24, 0.25);
  white-space: nowrap;
}

.rd-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red6);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, box-shadow 0.15s;
}

.rd-btn-white:hover {
  background: #fff8f8;
}

.rd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.rd-btn-outline:hover {
  border-color: var(--red300);
  color: var(--red);
  background: var(--red50);
}

.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--fb);
  text-decoration: none !important;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-secondary-light:hover {
  border-color: var(--red300);
  color: var(--red) !important;
  background: var(--red50);
}

body.redesim-page .btn-white {
  display: inline-flex !important;
  background: #fff !important;
  color: var(--red6) !important;
  border-radius: var(--radius-btn) !important;
  padding: 13px 28px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadein 0.5s ease forwards;
}

@keyframes fadein {
  to {
    opacity: 1;
    transform: none;
  }
}

.fade-in:nth-child(1) {
  animation-delay: 0.05s;
}

.fade-in:nth-child(2) {
  animation-delay: 0.10s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.15s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.20s;
}

.fade-in:nth-child(5) {
  animation-delay: 0.25s;
}

.fade-in:nth-child(6) {
  animation-delay: 0.30s;
}

.fade-in:nth-child(7) {
  animation-delay: 0.35s;
}

.fade-in:nth-child(8) {
  animation-delay: 0.40s;
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--redesim-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
}

.logo-icon {
  display: none;
}

header .redesim-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta-desktop {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  height: calc(100dvh - 64px);
  overflow-y: auto;
  background: #fff;
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--redesim-border);
  padding-top: 64px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a,
.mobile-nav a:visited {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink) !important;
  padding: 14px 0;
  border-bottom: 1px solid var(--redesim-border);
}

.mobile-nav .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════
   NAV MENU — DESKTOP
═══════════════════════════════════════════════ */
nav.redesim-nav ul,
nav.redesim-nav [id^="menu-"] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

nav.redesim-nav ul li {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

nav.redesim-nav ul>li>a,
nav.redesim-nav ul>li>span,
nav.redesim-nav ul>li>a:visited {
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  text-decoration: none !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap !important;
}

nav.redesim-nav ul>li>a:hover {
  color: var(--red) !important;
  background: var(--red50) !important;
}

nav.redesim-nav ul>li.current-menu-item>a,
nav.redesim-nav ul>li.current-menu-item>span {
  color: var(--red) !important;
  font-weight: 600 !important;
}

nav.redesim-nav ul li.menu-item-has-children>a::after {
  content: '' !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) !important;
  margin-left: 6px !important;
  vertical-align: 2px !important;
  transition: transform 0.2s !important;
}

nav.redesim-nav ul li.menu-item-has-children:hover>a::after {
  transform: rotate(-135deg) !important;
  vertical-align: -1px !important;
}

nav.redesim-nav ul ul {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 200px !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  padding: 8px !important;
  z-index: 9999 !important;
  gap: 2px !important;
}

nav.redesim-nav ul li.menu-item-has-children::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 8px !important;
}

nav.redesim-nav ul li.menu-item-has-children:hover>ul,
nav.redesim-nav ul li.focus>ul {
  display: flex !important;
}

nav.redesim-nav ul ul li>a,
nav.redesim-nav ul ul li>a:visited {
  display: block !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  background: none !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap !important;
}

nav.redesim-nav ul ul li>a:hover {
  background: var(--red50) !important;
  color: var(--red) !important;
}

/* ═══════════════════════════════════════════════
   NAV MENU — MOBILE
═══════════════════════════════════════════════ */
div.mobile-nav ul,
div.mobile-nav [id^="menu-"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  width: 100% !important;
}

div.mobile-nav ul li {
  position: static !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

div.mobile-nav ul>li>a,
div.mobile-nav ul>li>span,
div.mobile-nav ul>li>a:visited {
  display: block !important;
  padding: 14px 4px !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--redesim-border) !important;
  background: none !important;
  border-radius: 0 !important;
  white-space: normal !important;
}

div.mobile-nav ul>li>a:hover {
  color: var(--red) !important;
  background: none !important;
}

div.mobile-nav ul ul {
  display: flex !important;
  flex-direction: column !important;
  position: static !important;
  box-shadow: none !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  margin: 4px 0 8px 14px !important;
  list-style: none !important;
  min-width: 0 !important;
  z-index: auto !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
}

div.mobile-nav ul ul li>a,
div.mobile-nav ul ul li>a:visited {
  font-size: 15px !important;
  padding: 10px 4px !important;
  border-bottom: 1px solid var(--redesim-border) !important;
  color: var(--muted) !important;
  border-radius: 0 !important;
  background: none !important;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  background: var(--redesim-hero-gradient);
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: flex-start;
  min-width: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  margin-top: 0 !important;
}

.hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
  max-width: 100%;
  line-height: 1.65;
  word-break: break-word;
}

.hero-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-price-from {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-price-val {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.hero-price-sep {
  display: none;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-price-compare {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  flex: 1 1 100%;
  white-space: normal;
  word-break: break-word;
}

.hero-price-compare s {
  color: rgba(255, 255, 255, 0.65);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-buttons>* {
  width: 100%;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  color: #FFD700;
  font-size: 17px;
  letter-spacing: 1px;
}

.trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: stretch;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.signal-ring {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse-ring 3s ease-out infinite;
  pointer-events: none;
}

.signal-ring-2 {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: pulse-ring 3s ease-out infinite 1s;
  pointer-events: none;
}

@keyframes pulse-ring {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* Hero — page template variant */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-flag {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}

.hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 10px;
  max-width: 100%;
}

.hero-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red7);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--fb);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: background 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.hero-cta:hover {
  background: #fff8f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .16);
}

/* Breadcrumb */
.rd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.rd-breadcrumb a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}

.rd-breadcrumb a:hover {
  color: #fff;
}

.rd-breadcrumb svg {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.rd-breadcrumb span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 100px;
  padding: 4px 12px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   DEST PICKER
═══════════════════════════════════════════════ */
.dest-picker {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 14px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.dp-header {
  display: none;
}

.dp-search-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
}

.dp-input {
  flex: 1;
  background: var(--redesim-surface);
  border: 1.5px solid var(--redesim-border);
  border-radius: 12px;
  padding: 10px 10px 10px 30px !important;
  font-family: var(--fb);
  font-size: 13px !important;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

.dp-input::placeholder {
  color: #9a9a9a;
}

.dp-input:focus {
  background: #fff;
  border-color: var(--red);
  outline: 3px solid var(--redesim-focus);
}

.dp-search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0;
  width: 42px;
  min-width: 42px;
  height: 42px;
  flex-shrink: 0;
  font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.dp-chips-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a3c40;
  margin: 15px 0 15px;
}

.dp-chips {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dp-chips::-webkit-scrollbar {
  display: none;
}

.dp-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--redesim-surface);
  border: 1.5px solid var(--redesim-border);
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.dp-chip:hover {
  background: var(--red50);
  border-color: var(--red300);
  color: var(--red6);
}

.dp-chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(240, 39, 24, 0.3);
}

.dp-chip-flag {
  line-height: 1;
}

.dp-result {
  background: var(--redesim-surface);
  border: 1.5px solid var(--redesim-border);
  border-radius: 12px;
  padding: 10px;
  display: none;
  animation: dp-in 0.2s ease;
}

.dp-result.show {
  display: block;
}

@keyframes dp-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dp-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dp-result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.dp-result-badge {
  font-size: 11px;
  background: var(--redesim-orange-500);
  color: #fff;
  border-radius: 99px;
  padding: 2px 9px;
  font-weight: 600;
}

.dp-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dp-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid var(--redesim-border);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}

.dp-opt:hover {
  border-color: var(--red300);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.dp-opt.best {
  border-color: var(--red);
  background: var(--red50);
}

.dp-opt-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dp-opt-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-opt-meta {
  font-size: 11px;
  color: var(--muted);
}

.dp-opt-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dp-opt-price {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.dp-opt-buy {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--fb);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(240, 39, 24, 0.25);
  transition: background 0.15s;
}

.dp-opt-buy:hover {
  background: var(--red6);
}

.dp-no-result {
  display: none;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

.dp-no-result.show {
  display: block;
}

.dp-no-result a {
  color: var(--red);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════ */
.stats-strip {
  padding: 40px 0;
  background: var(--redesim-surface);
  border-bottom: 1px solid var(--redesim-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--redesim-border);
  display: none;
}

.stat-number {
  font-family: var(--fh);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red50);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 8px !important;
  margin-top: 10px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto !important;
}

/* ═══════════════════════════════════════════════
   TARIFFS SECTION
═══════════════════════════════════════════════ */
.tariffs-section {
  padding: 22px 0 20px;
  background: #fff;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.sec-title {
  font-family: var(--fh);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sec-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════
   PROMO BANNER
═══════════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg, #FFF1F0 0%, #FFF8F0 100%);
  border: 1.5px solid var(--red200);
  border-radius: var(--r);
  padding: 16px 22px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(240, 39, 24, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(240, 39, 24, 0.3);
}

.promo-code {
  display: inline-block;
  background: #fff;
  border: 1.5px dashed var(--red300);
  border-radius: 8px;
  padding: 2px 10px;
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}

.promo-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--red7);
  margin-bottom: 2px;
}

.promo-sub {
  font-size: 13px;
  color: var(--muted);
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

.promo-timer svg {
  opacity: 0.6;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--red100);
  border-radius: 8px;
  padding: 4px 10px;
  min-width: 38px;
}

.timer-val {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.timer-unit {
  font-size: 9px;
  color: var(--muted2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timer-sep {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: var(--red300);
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════════════ */
.filter-wrap {
  position: relative;
  margin-bottom: 40px;
}

.filter-wrap::after {
  display: none;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 4px;
  justify-content: space-between;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surf);
  color: var(--muted) !important;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  flex-shrink: 0;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.filter-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}

.filter-btn:hover {
  border-color: var(--red300);
  color: var(--red) !important;
  background: var(--red50);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(240, 39, 24, 0.30);
}

button.filter-btn:focus,
button.filter-btn:focus-visible,
button.filter-btn:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

button:focus,
button:focus-visible {
  outline: none !important;
}

/* ═══════════════════════════════════════════════
   RESORT CAROUSEL
═══════════════════════════════════════════════ */
.carousel-wrap {
  margin-bottom: 56px;
  position: relative;
}

.carousel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.carousel-title {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.15s;
}

.carousel-arrow:hover {
  background: var(--red50);
  border-color: var(--red300);
  color: var(--red);
}

.carousel-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.carousel-arrow svg {
  width: 14px;
  height: 14px;
}

.carousel-track-outer {
  overflow: hidden;
  border-radius: var(--r);
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 14px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surf2);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.4);
}

/* Resort card */
.resort-card {
  flex: 0 0 calc(42% - 7px);
  height: 280px;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.resort-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.resort-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.resort-card:hover .resort-bg {
  transform: scale(1.06);
}

.resort-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
}

.resort-card.hot .resort-overlay {
  background: linear-gradient(to top, rgba(160, 20, 10, 0.90) 0%, rgba(240, 39, 24, 0.30) 55%, transparent 100%);
}

.resort-badge-hot {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--orange);
  color: #fff;
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(253, 135, 19, 0.4);
}

.resort-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.resort-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.resort-flag {
  font-size: 22px;
  line-height: 1;
}

.resort-name {
  font-family: var(--fh);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.resort-country {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.resort-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.resort-pill {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.resort-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.resort-price {
  font-family: var(--fh);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.resort-period {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.60);
  margin-top: 3px;
}

.resort-buy {
  background: rgba(255, 255, 255, 0.95);
  color: var(--red7);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.15s, transform 0.12s;
}

.resort-buy:hover {
  background: #fff;
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════
   COUNTRIES
═══════════════════════════════════════════════ */
.countries-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.countries-title {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.countries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.countries-extra {
  display: none;
}

.countries-extra.open {
  display: contents;
}

.countries-more {
  text-align: center;
  margin-top: 12px;
}

.countries-flag {
  display: inline !important;
  height: 1em !important;
  width: 2em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
  border: 1px solid #dedede;
}

.countries-flag-mini {
  display: inline !important;
  height: 1em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 1px !important;
  border: 1px solid #dedede;
}

.countries-flag-mini-b {
  border-radius: 6px;
}

.country-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r2);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}

.country-card:hover {
  border-color: var(--red300);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.country-card-flag {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-card-info {
  flex: 1;
  min-width: 0;
}

.country-card-name {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-card-hint {
  font-size: 11px;
  color: var(--muted2);
  margin-top: 3px;
}

.country-card-right {
  flex-shrink: 0;
  text-align: right;
}

.country-price-from {
  font-size: 10px;
  color: var(--muted2);
  margin-bottom: 1px;
}

.country-price {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  line-height: 1;
}

.country-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  color: var(--muted2);
}

.country-card:hover .country-card-arrow {
  background: var(--red50);
  color: var(--red);
}

.country-card-arrow svg {
  width: 12px;
  height: 12px;
}

.btn-show-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  border-radius: 100px;
  padding: 13px 28px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(240, 39, 24, 0.28);
  transition: box-shadow 0.15s, transform 0.15s;
}

.btn-show-all:hover {
  box-shadow: 0 8px 28px rgba(240, 39, 24, 0.38);
  transform: translateY(-2px);
}

.btn-show-all svg {
  transition: transform 0.3s;
}

.btn-show-all.open svg {
  transform: rotate(180deg);
}

.btn-show-all-count {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 11px;
}

/* ═══════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-checks label {
  margin-bottom: .2rem;
}

.modal {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
  animation: modal-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
  from {
    transform: translateY(24px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: all 0.15s;
}

.modal-close:hover {
  background: var(--red50);
  color: var(--red);
}

.modal h3 {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.modal-tariff {
  background: var(--surf);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-tariff-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.modal-tariff-flag {
  font-size: 28px;
}

.modal-tariff-name {
  font-weight: 700;
  font-size: 14px;
}

.modal-tariff-spec {
  font-size: 12px;
  color: var(--muted);
}

.modal-tariff-price {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.modal-tariff-info {
  background: var(--redesim-surface);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-direction: column;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s, outline 0.15s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(240, 39, 24, 0.15);
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--redesim-ink);
}

.modal-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--redesim-border);
  border-radius: var(--radius-input);
  font-family: var(--fb);
  font-size: 15px;
  transition: border-color 0.15s, outline 0.15s;
}

.modal-form-group input:focus {
  outline: 3px solid var(--redesim-focus);
  border-color: var(--redesim-red-500);
}

.promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-direction: column;
}

.promo-row input {
  flex: 1;
}

.modal-promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-direction: column;
}

.modal-promo-row input {
  flex: 1;
}

.btn-promo {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--surf2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
}

.btn-promo:hover {
  background: var(--red50);
  color: var(--red);
  border-color: var(--red300);
}

/* .modal-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surf);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
} */

.modal-total-label {
  font-size: 13px;
  color: var(--muted);
}

.modal-total-val {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}

.btn-pay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #fff !important;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(240, 39, 24, 0.32);
  transition: box-shadow 0.15s, transform 0.12s;
  margin-bottom: 12px;
}

.btn-pay:hover {
  box-shadow: 0 8px 28px rgba(240, 39, 24, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.modal-buy-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px;
  margin-bottom: 12px;
}

.modal-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted2);
  text-align: center;
}

.modal-secure svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 8px 0;
}

.modal-success-icon {
  font-size: 52px;
  margin-bottom: 14px;
  text-align: center;
}

.modal-success h3 {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Modal checks */
.check-optional {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted2);
}

.modal-checks {
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 0 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  cursor: pointer;
  user-select: none;
}

.check-row:first-child {
  padding-top: 4px;
}

.check-row:last-child {
  padding-bottom: 4px;
}

.check-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.check-box svg {
  width: 12px;
  height: 10px;
  opacity: 0;
  transition: opacity 0.12s;
}

.check-row input:checked~.check-box {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 2px 6px rgba(240, 39, 24, 0.28);
}

.check-row input:checked~.check-box svg {
  opacity: 1;
}

.check-row:hover .check-box {
  border-color: var(--red300);
}

.check-all .check-label-all {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

.check-all .check-box {
  border-width: 2px;
}

.check-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.check-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink2);
  flex: 1;
}

.check-label a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-label a:hover {
  color: var(--red6);
}

.check-link-hint {
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
  background: var(--red50);
  color: var(--red) !important;
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 2px;
  white-space: nowrap;
}

.check-link-hint:hover {
  background: var(--red100) !important;
}

.check-req {
  color: var(--red);
  font-weight: 700;
  margin-left: 1px;
}

.check-error {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--red7);
  background: var(--red50);
  border-radius: 8px;
  padding: 7px 10px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.check-row--error .check-box {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red50);
  animation: shakeCheck 0.35s ease;
}

.check-row--error .check-label {
  color: var(--ink);
}

@keyframes shakeCheck {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features {
  background: var(--redesim-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 14px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--redesim-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.feature-icon-nobg {
  display: flex;
  width: auto;
  height: 24px;
  gap: 10px;
}

.feature-icon-nobg svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.features-cta {
  text-align: center;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  display: none;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--redesim-hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(240, 39, 24, 0.3);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.how-cta {
  text-align: center;
  margin-top: 48px;
}

/* ═══════════════════════════════════════════════
   COVERAGE
═══════════════════════════════════════════════ */
.coverage {
  background: var(--redesim-surface);
}

.coverage-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.coverage-map {
  position: relative;
  background: var(--redesim-surface);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-map svg {
  width: 90%;
  opacity: 0.6;
}

.coverage-text h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  margin-bottom: 18px;
}

.coverage-text p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.region-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--redesim-surface);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--redesim-border);
}

.region-flag {
  font-size: 15px;
}

/* ═══════════════════════════════════════════════
   FAQ (главная — button accordion)
═══════════════════════════════════════════════ */
.faq {
  background: var(--redesim-surface);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--redesim-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  background: none;
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--red);
}

.faq-question.open {
  color: var(--red);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--red);
  transition: transform 0.25s ease;
}

.faq-question.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--red);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   FAQ PAGE (страница FAQ — details/summary)
═══════════════════════════════════════════════ */
.faq-page {
  padding: 64px 0;
  background: #fff;
}

.faq-page .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-page .faq-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

details.faq-item {
  border-bottom: 1px solid var(--redesim-border);
  overflow: visible;
}

details.faq-item summary.faq-question {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.15s;
  user-select: none;
}

details.faq-item summary.faq-question::-webkit-details-marker {
  display: none;
}

details.faq-item summary.faq-question::marker {
  display: none;
}

details.faq-item summary.faq-question:hover {
  color: var(--red);
}

details.faq-item[open] summary.faq-question {
  color: var(--red);
}

details.faq-item[open] summary.faq-question .faq-arrow {
  transform: rotate(180deg);
}

.faq-page .faq-answer {
  padding-bottom: 20px;
  overflow: visible;
}

.faq-page .faq-answer p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  white-space: normal;
  word-break: break-word;
}

.faq-page .faq-answer a {
  color: var(--red);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════ */
.cta-banner {
  background: var(--redesim-hero-gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 220px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-size: 16px;
}

.social-btn:hover {
  background: var(--red);
}

.footer-col h4 {
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-bottom-row p {
  font-size: 13px;
}

.footer-payments {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 16px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   WARNING BAR
═══════════════════════════════════════════════ */
.warning-bar {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 12px 0;
}

.warning-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.warning-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.warning-text {
  font-size: 13px;
  color: #92400E;
  line-height: 1.6;
  margin-bottom: 0;
}

.warning-text strong {
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   PICKER (страница тарифов)
═══════════════════════════════════════════════ */
.picker {
  background: var(--surf);
  border-bottom: 1px solid var(--border);
  padding: 14px 0 12px;
}

.picker-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--redesim-hero-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--fh);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.picker-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

.day-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dc {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surf2);
  color: var(--muted);
  border: 1.5px solid transparent;
  transition: all .15s;
}

.dc:hover {
  border-color: var(--red300);
  color: var(--red);
}

.dc.act {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(240, 39, 24, .28);
}

.day-custom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.day-adj {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surf2);
  color: var(--ink);
  border: 1.5px solid var(--border);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
  cursor: pointer;
}

.day-adj:hover {
  border-color: var(--red300);
  color: var(--red);
  background: var(--red50);
}

.day-adj:active {
  transform: scale(.93);
}

.day-custom label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.day-inp {
  width: 60px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  font-family: var(--fb);
  color: var(--ink);
  transition: border-color .15s;
}

.day-inp:focus {
  outline: 3px solid var(--redesim-focus);
  border-color: var(--red);
}

.day-word {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--fh);
}

.usage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.uc {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}

.uc:hover {
  border-color: var(--red300);
  background: var(--red50);
}

.uc.act {
  border-color: var(--red);
  background: var(--red50);
}

.uc-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uc-title {
  font-size: 12px;
  font-weight: 600;
}

.uc-gb {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  margin-left: 4px;
  display: inline;
}

/* ═══════════════════════════════════════════════
   RESULTS (страница тарифов)
═══════════════════════════════════════════════ */
.results {
  padding: 3px 0 64px;
}

.results-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.results-title {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--fh);
}

.results-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.results-count {
  font-size: 12px;
  color: var(--muted2);
  background: var(--surf2);
  border-radius: 100px;
  padding: 4px 12px;
}

.daily-note {
  background: linear-gradient(135deg, var(--red50), var(--orange50));
  border: 1px solid var(--red200);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--red7);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prov-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.prov-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.prov-hdr {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prov-hdr-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prov-badge {
  font-size: 20px;
  border-radius: 8px;
  padding: 4px 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

.pb-a {
  background: #1d4fd88d;
  color: #F5F3FF;
  /* border: 1px solid #1D4ED8; */
}

.pb-u {
  background: #6c28d975;
  color: #F5F3FF;
  /* border: 1px solid #6D28D9; */
}

.pb-p {
  background: #065f4675;
  color: #F5F3FF;
  /* border: 1px solid #065F46; */
}

.prov-op {
  font-size: 11px;
  color: var(--muted2);
}

.prov-spd {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}


.t-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .1s;
  user-select: none;
  position: relative;
}

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

.t-row:hover {
  background: var(--surf);
}

.t-row.sel {
  background: #FEF2F2;
}

.t-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .15s;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-row.sel .t-radio {
  border-color: var(--red);
}

.t-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: opacity .15s;
  transform: scale(.5);
}

.t-row.sel .t-radio::after {
  opacity: 1;
  transform: scale(1);
}

.t-row.sel {
  background: var(--red50);
  border-color: var(--red200);
  color: var(--red7);
}

.t-name {
  flex: 1;
  min-width: 0;
}

.t-name-main {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.t-row.sel .t-name-main {
  font-weight: 600;
}

.t-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.t-badge {
  font-size: 10px;
  font-weight: 500;
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}

.tb-rec {
  background: #DCFCE7;
  color: #15803D;
}

.tb-val {
  background: #DBEAFE;
  color: #1D4ED8;
}

.tb-day {
  background: var(--surf2);
  color: var(--muted);
}

.t-name-main-days {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.t-name-main-volume,
.t-daily-mult {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
}

.t-price {
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2);
  white-space: nowrap;
  flex-shrink: 0;
}

.t-row.sel .t-price {
  color: var(--red);
}

.t-det {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  border-top: 0 solid var(--border);
}

.t-det.open {
  max-height: 400px;
  border-top: 1px solid var(--border);
}

.t-det-inner {
  padding: 10px 16px 12px 42px;
  background: #fff;
}

.t-det-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 0;
  margin-top: 4px;
  transition: color .15s;
  cursor: pointer;
}

.t-det-toggle:hover {
  color: var(--red);
}

.t-det-toggle svg {
  transition: transform .25s;
}

.t-det-toggle.open svg {
  transform: rotate(180deg);
}

.det-table {
  width: 100%;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.det-table tr {
  border-bottom: 1px solid var(--border);
}

.det-table tr:last-child {
  border-bottom: none;
}

.det-table td {
  font-size: 12px;
  padding: 5px 0;
  vertical-align: top;
}

.det-table td:first-child {
  color: var(--muted);
  width: 55%;
  padding-right: 8px;
}

.det-table td:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.prov-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--surf);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prov-foot-info {
  flex: 1;
  min-width: 0;
}

.prov-sel-name {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prov-sel-price {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.prov-sel-ppg {
  font-size: 11px;
  color: var(--muted2);
  margin-top: 1px;
}

.btn-col-buy {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(240, 39, 24, .28);
  flex-shrink: 0;
  transition: background .15s, transform .12s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--fb);
}

.btn-col-buy:hover {
  background: var(--red6);
  transform: scale(1.03);
}

.btn-col-buy:active {
  transform: scale(.97);
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  display: none;
}

.empty.show {
  display: block;
}

/* ═══════════════════════════════════════════════
   STICKY DAYS BAR
═══════════════════════════════════════════════ */
.sticky-days {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
  padding: 10px 16px 12px;
  transform: translateY(100%);
  transition: transform .3s ease;
}

.sticky-days.visible {
  transform: translateY(0);
}

.sticky-days-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.sticky-days-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.sticky-days-chips::-webkit-scrollbar {
  display: none;
}

.sdc {
  padding: 7px 14px;
  border-radius: 100px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  background: var(--surf2);
  color: var(--muted);
  border: 1.5px solid transparent;
  transition: all .15s;
  cursor: pointer;
}

.sdc.act {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 6px rgba(240, 39, 24, .3);
}



.sticky-days-custom input:focus {
  outline: 2px solid var(--redesim-focus);
  border-color: var(--red);
}

/* FIX: выравнивание "Другой срок" в sticky-days */
.sticky-days-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.sticky-days-custom label {
  margin: 0;
  line-height: 34px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.sticky-days-custom input {
  width: 76px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--fb);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
  line-height: 40px;
  box-shadow: none;
}

.sticky-days-custom span {
  margin: 0;
  line-height: 34px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════ */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--redesim-border);
}

.review-stars {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.avatar-1 {
  background: linear-gradient(135deg, #F02718, #FD8713);
}

.avatar-2 {
  background: linear-gradient(135deg, #6C5CE7, #a29bfe);
}

.avatar-3 {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.avatar-4 {
  background: linear-gradient(135deg, #fd9644, #e17055);
}

.author-name {
  font-weight: 600;
  font-size: 14px;
}

.author-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   PAGE TEMPLATE
═══════════════════════════════════════════════ */
.page-main {
  padding: 32px 0 48px;
}

.page-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-content.redesim-prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink2);
  min-width: 0;
}

.redesim-prose h2 {
  font-size: clamp(18px, 4vw, 26px);
  margin-top: 36px;
  margin-bottom: 12px;
}

.redesim-prose h3 {
  font-size: clamp(15px, 3vw, 20px);
  margin-top: 28px;
  margin-bottom: 8px;
}

.redesim-prose p {
  margin-bottom: 16px;
}

.redesim-prose ul,
.redesim-prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.redesim-prose ul {
  list-style: disc;
}

.redesim-prose ol {
  list-style: decimal;
}

.redesim-prose li {
  margin-bottom: 6px;
}

.redesim-prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.redesim-prose img {
  width: 100%;
  border-radius: var(--r2);
  margin: 20px 0;
}

.redesim-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}

.redesim-prose th,
.redesim-prose td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.redesim-prose th {
  background: var(--surf);
  font-weight: 600;
}

body.redesim-page section.page-cta-banner {
  background: var(--surf) !important;
}

.page-cta-banner {
  background: var(--surf);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.page-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-cta-text h2 {
  font-size: clamp(20px, 4vw, 28px);
  margin-bottom: 8px;
}

.page-cta-text p {
  font-size: 14px;
  color: var(--muted);
}

.page-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cta-actions>* {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   TRUST STRIP
═══════════════════════════════════════════════ */
.trust-strip {
  padding: 28px 0;
  background: var(--redesim-surface);
  border-bottom: 1px solid var(--redesim-border);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-strip-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--redesim-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.operator-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.operator-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--redesim-border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--redesim-muted);
}

.operator-badge span {
  font-size: 16px;
}

.trustpilot-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--redesim-border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #00B67A;
  margin-left: auto;
}

.tp-stars {
  color: #00B67A;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════
   REVIEWS EXTRAS
═══════════════════════════════════════════════ */
.reviews-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 16px;
  flex-wrap: wrap;
}

.external-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--redesim-border);
  padding: 10px 18px;
}

.ext-tp-logo {
  font-size: 13px;
  font-weight: 700;
  color: #00B67A;
}

.ext-stars {
  color: #00B67A;
  font-size: 16px;
}

.ext-label {
  font-size: 12px;
  color: var(--muted);
}

.review-card-wide {
  grid-column: 1/-1;
}

/* ═══════════════════════════════════════════════
   RESORT CARD — EXTRA VARIANTS
═══════════════════════════════════════════════ */
.resort-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.resort-card:hover .resort-card-bg {
  transform: scale(1.07);
}

.resort-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.resort-card.popular .resort-card-overlay {
  background: linear-gradient(to top, rgba(176, 25, 14, 0.92) 0%, rgba(240, 39, 24, 0.35) 55%, transparent 100%);
}

.resort-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.resort-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.resort-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.resort-price-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.resort-buy-btn {
  background: #fff;
  color: var(--redesim-red-600);
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.15s, transform 0.12s;
}

.resort-buy-btn:hover {
  background: var(--redesim-red-50);
  transform: scale(1.04);
}

.resort-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--redesim-orange-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 11px;
}

.badge-hot {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--redesim-orange-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 11px;
}

.carousel-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--redesim-muted);
  margin-bottom: 14px;
}

.carousel-arrow-prev {
  left: -20px;
}

.carousel-arrow-next {
  right: -20px;
}

/* ═══════════════════════════════════════════════
   COUNTRIES EXTRAS
═══════════════════════════════════════════════ */
.countries-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.countries-section-title {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 600;
  color: var(--redesim-ink);
}

.countries-more-wrap {
  text-align: center;
  margin-top: 8px;
}

.country-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.country-card-period {
  font-size: 11px;
  color: var(--redesim-muted);
  margin-top: 1px;
}

.country-card-price {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  color: var(--redesim-red-500);
  white-space: nowrap;
}

.country-card-sub {
  font-size: 11px;
  color: var(--redesim-muted);
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════
   MODAL EXTRAS
═══════════════════════════════════════════════ */
.modal-tariff-specs {
  font-size: 12px;
  color: var(--redesim-muted);
}

.modal-tariff-price-lg {
  font-family: var(--fh);
  font-size: 24px;
  font-weight: 700;
  color: var(--redesim-red-500);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   COVERAGE MAP DOTS
═══════════════════════════════════════════════ */
.map-dots {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(240, 39, 24, 0.15) 0%, transparent 60%), radial-gradient(circle at 70% 60%, rgba(253, 135, 19, 0.12) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════════
   RESULTS EXTRAS
═══════════════════════════════════════════════ */
.prov-daily-note {
  font-size: 11px;
  color: var(--muted);
  background: var(--surf);
  border-bottom: 1px solid var(--border);
  padding: 6px 16px;
}

.uc-desc {
  display: none;
}

.tb-fup {
  display: none;
}

/* ═══════════════════════════════════════════════
   BLOG SECTION
═══════════════════════════════════════════════ */

section.blog-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

section.blog-section a.blog-card,
section.blog-section a.blog-card:hover,
section.blog-section a.blog-card:visited,
section.blog-section a.blog-card:focus {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

section.blog-section a.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

section.blog-section a.blog-card .blog-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

section.blog-section a.blog-card .blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

section.blog-section a.blog-card .blog-card__cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e63946;
  text-decoration: none;
}

section.blog-section a.blog-card .blog-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #1a1a1a;
}

section.blog-section a.blog-card .blog-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  flex: 1;
}

section.blog-section a.blog-card .blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

section.blog-section a.blog-card .blog-card__more {
  color: #e63946;
  font-weight: 600;
}

section.blog-section .blog-all {
  text-align: center;
  margin-top: 36px;
}

/* ═══════════════════════════════════════════════
   TABLET (≥ 600px)
═══════════════════════════════════════════════ */
@media (min-width: 600px) {
  .resort-card {
    flex: 0 0 calc(46% - 7px);
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section.blog-section .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════
   TABLET (≥ 640px)
═══════════════════════════════════════════════ */
@media (min-width: 640px) {
  .page-main {
    padding: 48px 0 64px;
  }

  .promo-row {
    flex-direction: row;
  }

  .modal-promo-row {
    flex-direction: row;
  }

  .page-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-cta-actions>* {
    width: auto;
  }
}

/* ═══════════════════════════════════════════════
   TABLET (≥ 768px)
═══════════════════════════════════════════════ */
@media (min-width: 768px) {

  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 14px;
    max-width: 480px;
  }

  .hero-badge {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .hero-price-sep {
    display: block;
  }

  .hero-price-val {
    font-size: 22px;
  }

  .hero-price-compare {
    font-size: 12px;
    flex: unset;
    white-space: nowrap;
  }

  .hero-price-row {
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 10px 16px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-buttons>* {
    width: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
  }

  .hero-flag {
    font-size: 56px;
  }

  header .redesim-nav {
    display: flex;
  }

  .header-cta-desktop {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-header-actions {
    display: none;
  }

  .signal-ring {
    display: block;
  }

  .signal-ring-2 {
    display: block;
  }

  .dest-picker {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .dp-search-row {
    gap: 8px;
    margin-bottom: 14px;
  }

  .dp-input {
    padding: 11px 12px 11px 36px !important;
    font-size: 14px !important;
  }

  .dp-search-icon {
    width: 16px;
    height: 16px;
    left: 12px;
  }

  .dp-search-btn {
    padding: 11px 18px;
    width: auto;
    height: auto;
    font-size: 14px;
    background-image: none;
  }

  .dp-chips {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 7px;
    margin-bottom: 16px;
    padding-bottom: 0;
  }

  .dp-chip {
    padding: 6px 13px;
    font-size: 13px;
    white-space: normal;
    flex-shrink: 1;
  }

  .dp-result {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .dp-result-name {
    font-size: 15px;
  }

  .dp-options {
    gap: 7px;
  }

  .dp-opt {
    padding: 10px 14px;
    border-radius: 10px;
    gap: 8px;
  }

  .dp-opt-name {
    font-size: 13px;
  }

  .dp-opt-meta {
    font-size: 12px;
  }

  .dp-opt-price {
    font-size: 16px;
  }

  .dp-opt-buy {
    padding: 7px 14px;
    font-size: 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item+.stat-item::before {
    display: block;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .steps-grid::before {
    display: block;
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--red300) 0, var(--red300) 8px, transparent 8px, transparent 16px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom-row {
    flex-direction: row;
    align-items: center;
  }

  .usage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .uc {
    padding: 8px 12px;
  }

  .picker-card {
    padding: 16px;
  }

  .modal-tariff-info {
    flex-direction: row;
    align-items: center;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-page .faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP (≥ 900px)
═══════════════════════════════════════════════ */
@media (min-width: 900px) {
  .sticky-days {
    display: none;
  }

  .resort-card {
    flex: 0 0 calc(31% - 10px);
  }

  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-banner {
    flex-wrap: nowrap;
  }

  .page-main {
    padding: 64px 0 80px;
  }

  .page-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .page-content.redesim-prose {
    flex: 1;
    max-width: 780px;
  }

  .page-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-cta-actions {
    flex-shrink: 0;
  }

  section.blog-section .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP (≥ 1024px)
═══════════════════════════════════════════════ */
@media (min-width: 1024px) {

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
  }

  .hero p {
    font-size: clamp(15px, 1.8vw, 18px);
    margin-bottom: 16px;
  }

  .hero-grid {
    gap: 48px;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .coverage-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .prov-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP (≥ 1100px)
═══════════════════════════════════════════════ */
@media (min-width: 1100px) {
  .resort-card {
    flex: 0 0 calc(28.5% - 10px);
  }
}

.uc-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.t-det-buy {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.dp-search-results {
  display: none;
  margin-top: 14px;
}

.dp-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}

.dp-search-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dp-search-item-flag {
  width: 20px;
  height: 15px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dp-search-item-flag img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  display: block;
}

.countries-flag-mini--none {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  background: #e9e9e9;
  display: inline-block;
}

.dp-search-item-name {
  line-height: 1.2;
}

.dp-input-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.dp-input-wrap .dp-input {
  width: 100%;
  padding-left: 44px;
  padding-right: 44px;
}

.dp-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
  z-index: 4;
}

.dp-clear-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.dp-clear-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #555;
}

.dp-clear-btn.show {
  display: inline-flex;
}

.faq-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-page-col {
  min-width: 0;
}

@media (min-width: 768px) {
  .faq-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.faq-page .faq-answer {
  overflow: hidden !important;
  padding-bottom: 0;
}

.faq-page .faq-answer.open {
  padding-bottom: 20px;
}

.rd-breadcrumb a,
.rd-breadcrumb a:visited {
  color: rgba(255, 255, 255, 0.75) !important;
}

.rd-breadcrumb a:hover {
  color: #fff !important;
}

#bestPick .prov-cols {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

nav.redesim-nav ul li.menu-item-has-children>ul {
  display: none !important;
}

nav.redesim-nav ul li.menu-item-has-children:hover>ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  min-width: 640px !important;
  gap: 2px 16px !important;
}

.section-breadcrumbs {
  margin: 3px 0 0 0;
  text-align: center;
}

.section-breadcrumbs-label a {
  color: var(--red) !important;
}

.section-breadcrumbs-label {
  color: var(--muted) !important;
  user-select: none;
}

/* ═══════════════════════════════════════════════
   MIGRATED INLINE STYLES
   Все стили вынесены из PHP-шаблонов
═══════════════════════════════════════════════ */

/* JS-скрытые элементы (начальное состояние) */
.js-hidden {
  display: none;
}

#chkError {
  display: none;
}

/* Подсказка в picker-card */
.picker-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Кнопка «Как это работает» на героях (ghost вариант btn-secondary) */
.btn-secondary--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Best pick блок */
.best-pick {
  margin-bottom: 32px;
}

.best-pick-label {
  margin-bottom: 12px;
}

.prov-col--best {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(240, 39, 24, 0.12);
}

.t-row--static {
  cursor: default;
}

.prov-foot--visible {
  display: flex !important;
}

/* Заголовок «Все тарифы для...» */
.all-tariffs-hdr {
  margin-bottom: 16px;
}

/* Emoji в пустом состоянии */
.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

/* empty — явно видимый вариант (из esim-country_pack) */
.empty--visible {
  display: block;
}

/* Детали тарифа — внутренний контент */
.det-content {
  display: block;
  margin-top: 8px;
}

/* Карусель — фоновые изображения курортов */
.resort-bg--antalya {
  background-image: url('https://images.unsplash.com/photo-1569949380669-b9ce6db95660?w=700&h=500&fit=crop');
}

.resort-bg--phuket {
  background-image: url('https://images.unsplash.com/photo-1552465011-b4e21bf6e79a?w=700&h=500&fit=crop');
}

.resort-bg--dubai {
  background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=700&h=500&fit=crop');
}

.resort-bg--bali {
  background-image: url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=700&h=500&fit=crop');
}

.resort-bg--santorini {
  background-image: url('https://images.unsplash.com/photo-1570077188670-e3a8d69ac5ff?w=700&h=500&fit=crop');
}

.resort-bg--barcelona {
  background-image: url('https://images.unsplash.com/photo-1539037116277-4db20889f2d4?w=700&h=500&fit=crop');
}

.resort-bg--maldives {
  background-image: url('https://images.unsplash.com/photo-1573843981267-be1999ff37cd?w=700&h=500&fit=crop');
}

/* Карта покрытия */
.coverage-map-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Звёзды в отзывах */
.review-stars {
  color: #FFBA00;
}

.review-stars .star-empty {
  color: #ddd;
}

/* Центрирование блока «Все вопросы» в FAQ */
.faq-all {
  text-align: center;
  margin-top: 36px;
}

/* Ссылка «Проверь совместимость» */
.link-compat {
  color: var(--redesim-red-500);
  font-weight: 500;
}

.link-compat:hover {
  color: var(--red6);
}

/* Telegram CTA ссылка в секции cta-banner */
.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.15s;
  text-decoration: none;
}

.btn-tg:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

/* Логотип в футере */
.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

/* Ссылка в подвале футера (оферта) */
.footer-legal-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* promo-row: обёртка поля ввода промокода */
.promo-input-wrap {
  flex: 1;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   PROMO — применённый промокод
═══════════════════════════════════════════════ */
.promo-applied {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--red50, #fff1f0);
  border: 1.5px solid var(--red300, #fca5a5);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 18px;
}

.promo-applied-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red, #e02b20);
  font-size: 13px;
  font-weight: 600;
}

.promo-applied-left svg {
  flex-shrink: 0;
  color: var(--red, #e02b20);
}

.promo-applied-code {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.promo-applied-label {
  font-weight: 500;
  color: var(--ink2, #555);
}

.promo-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #888);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.promo-remove:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink, #222);
}

.promo-remove svg {
  flex-shrink: 0;
}

.promo-error {
  display: none;
  font-size: 12px;
  color: var(--red7, #b91c1c);
  background: var(--red50, #fff1f0);
  border-radius: 8px;
  padding: 7px 10px;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   MODAL TOTAL — зачёркнутая старая цена
═══════════════════════════════════════════════ */
.modal-total-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.modal-total-old {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted, #888);
  text-decoration: line-through;
  display: none;
}

.modal-total-old.visible {
  display: inline;
}

/* ═══════════════════════════════════════════════
   BTN-PAY — вторичная кнопка (закрыть)
═══════════════════════════════════════════════ */
.btn-pay--secondary {
  background: var(--surf2, #f5f5f5);
  color: var(--ink2, #555);
  margin-top: 10px;
  box-shadow: none;
}

.btn-pay--secondary:hover {
  background: var(--border, #e5e5e5);
  color: var(--ink, #222);
}

/* ═══════════════════════════════════════════════
   MODAL SUCCESS — pending/link state
═══════════════════════════════════════════════ */
#mSuccessBtn {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

#mSuccessClose {
  display: none;
}

/* ═══════════════════════════════════════════════
   MODAL FLAG IMG
═══════════════════════════════════════════════ */
.modal-flag-img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  vertical-align: middle;
  flex-shrink: 0;
}

.modal-tariff-flag {
  display: flex;
  align-items: center;
  line-height: 1;
  font-size: 22px;
}

.modal_icon {
  width: 52px;
  display: inline;
}

/* ═══════════════════════════════════════════════
   BEST PICK CARD
═══════════════════════════════════════════════ */
.bp-card {
  background: linear-gradient(160deg, #fff1f0 0%, #fff8f8 30%, #fff 70%);
  border: 1.5px solid var(--red200);
  border-top: 3px solid var(--red);
  border-radius: var(--r);
  box-shadow: 0 4px 24px rgba(240, 39, 24, 0.08);
  margin-bottom: 12px;
  overflow: hidden;
}

.bp-card .tb-rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
}

.bp-card-main {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.bp-card-left {
  flex: 1;
  padding: 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.bp-name {
  font-family: var(--fh);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.bp-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: -6px;
}

.bp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.bp-feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ink2);
  font-weight: 500;
}

.bp-feature svg {
  color: var(--muted);
  flex-shrink: 0;
}

.bp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 28px;
  border-left: 1px solid var(--border);
  background: #fafafa;
  flex-shrink: 0;
  min-width: 180px;
}

.bp-price {
  font-family: var(--fh);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  white-space: nowrap;
}

.bp-price-sub {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.bp-buy-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 20px;
}

.bp-match-text {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .bp-card-main {
    flex-direction: column;
  }

  .bp-card-right {
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    min-width: 0;
  }

  .bp-price-sub {
    display: none;
  }

  .bp-buy-btn {
    margin-top: 0;
    width: auto;
  }
}

.hero-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 10px 18px 10px 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero-price-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-price-badge-inner {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-price-from {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-price-val {
  font-family: var(--fh);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-price-currency {
  font-weight: 600;
  font-size: 24px;
  margin-left: 2px;
}

.hero-price-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.hero-price-meta-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.hero-price-meta-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .picker {
    position: sticky;
    top: 64px;
    /* высота хедера */
    z-index: 50;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
}

.country-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto 20px;
}

.country-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted2);
  pointer-events: none;
}

.country-search-input {
  width: 100%;
  padding: 12px 44px 12px 48px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 12px;
  background: #fff;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.country-search-input:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--redesim-focus);
}

.country-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--muted2);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.country-search-clear svg {
  width: 14px;
  height: 14px;
}

.country-search-clear:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.country-search-clear.show {
  display: inline-flex;
}

.country-search-empty {
  display: none;
  text-align: center;
  padding: 32px 20px;
  color: var(--muted);
  font-size: 14px;
}

.country-search-empty.show {
  display: block;
}

.country-card.country-hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS PAGE (.hiw-*)
   Добавить в конец css/redesim.css
   ═══════════════════════════════════════════════════ */

/* Tag pill */
.hiw-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red50);
  border: 1px solid var(--red200);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hiw-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ─── Compare ─────────────────────────────────── */
.hiw-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  margin-top: 32px;
}

.hiw-compare-col {
  padding: 32px 36px;
}

.hiw-compare-col--old {
  opacity: 0.65;
}

.hiw-compare-col--new {
  background: var(--red50);
}

.hiw-compare-hdr {
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hiw-compare-col--new .hiw-compare-hdr {
  color: var(--red);
}

.hiw-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hiw-compare-list li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hiw-compare-col--new .hiw-compare-list li {
  color: var(--ink);
}

.hiw-compare-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.hiw-compare-mark--no {
  background: #fee;
  color: #d32215;
}

.hiw-compare-mark--ok {
  background: var(--red50);
  color: var(--red);
}

.hiw-compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.hiw-compare-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(240, 39, 24, 0.25);
}

/* ─── What is eSIM ────────────────────────────── */
.hiw-what-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.hiw-what-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

.hiw-what-text p+p {
  margin-top: 16px;
}

.hiw-esim-visual {
  background: linear-gradient(145deg, #1a1a2e 0%, #0e0e1a 60%, rgba(240, 39, 24, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.hiw-esim-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(240, 39, 24, 0.1), transparent 70%);
  border-radius: 50%;
}

.hiw-qr-box {
  width: 110px;
  height: 110px;
  background: #f0f0f5;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  padding: 12px;
  gap: 2px;
  position: relative;
  overflow: hidden;
}

.hiw-qr-cell {
  border-radius: 2px;
  background: #1a1a2e;
}

.hiw-qr-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red), 0 0 20px rgba(240, 39, 24, 0.3);
  animation: hiw-scan 2s ease-in-out infinite;
}

@keyframes hiw-scan {
  0% {
    top: 12px;
  }

  50% {
    top: calc(100% - 14px);
  }

  100% {
    top: 12px;
  }
}

.hiw-visual-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* ─── 5 Vertical Steps (eSIM Easy style) ──────── */
.hiw-steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.hiw-vstep {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: -1px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hiw-vstep:first-child {
  border-radius: var(--r) var(--r) 0 0;
}

.hiw-vstep:last-child {
  border-radius: 0 0 var(--r) var(--r);
  margin-bottom: 0;
}

.hiw-vstep:only-child {
  border-radius: var(--r);
}

.hiw-vstep:hover {
  border-color: var(--red200);
  box-shadow: 0 4px 20px rgba(240, 39, 24, 0.06);
  z-index: 1;
}

.hiw-vstep-num {
  font-family: var(--fh);
  font-size: 28px;
  font-weight: 800;
  color: var(--red200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
  padding-top: 2px;
  transition: color 0.2s;
}

.hiw-vstep:hover .hiw-vstep-num {
  color: var(--red);
}

.hiw-vstep-body {
  flex: 1;
}

.hiw-vstep-body h3 {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.hiw-vstep-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.hiw-vstep-body a {
  color: var(--red);
  font-weight: 500;
}

.hiw-vstep-body strong {
  color: var(--ink);
  font-weight: 600;
}

.hiw-vstep-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r2);
  background: var(--red50);
  border: 1px solid var(--red200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.hiw-vstep:hover .hiw-vstep-icon {
  background: var(--grad);
  border-color: transparent;
}

.hiw-vstep-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  transition: stroke 0.2s;
}

.hiw-vstep:hover .hiw-vstep-icon svg {
  stroke: #fff;
}

/* ─── Important to know ───────────────────────── */
.hiw-important {
  background: linear-gradient(135deg, var(--red50), #fff);
  border: 1px solid var(--red200);
  border-radius: var(--r);
  padding: 32px 36px;
}

.hiw-important h3 {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hiw-important-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hiw-important-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

.hiw-important-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Install tabs ────────────────────────────── */
.hiw-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  margin: 28px 0 32px;
}

.hiw-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--fb);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.hiw-tab.act {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(240, 39, 24, 0.25);
}

.hiw-tab svg {
  width: 16px;
  height: 16px;
}

.hiw-guide {
  display: none;
}

.hiw-guide.act {
  display: block;
}

.hiw-guide-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}

.hiw-guide-step:last-child {
  border-bottom: none;
}

.hiw-guide-step:hover {
  padding-left: 8px;
}

.hiw-gstep-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.2s;
}

.hiw-guide-step:hover .hiw-gstep-num {
  background: var(--grad);
  border-color: var(--red);
  color: #fff;
}

.hiw-gstep-body h4 {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.hiw-gstep-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.hiw-gstep-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ─── Devices ─────────────────────────────────── */
.hiw-devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.hiw-device-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hiw-device-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240, 39, 24, 0.06);
  border-color: var(--red200);
}

.hiw-device-card h3 {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.hiw-device-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hiw-device-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hiw-device-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hiw-device-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Check compat */
.hiw-check {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--red50), #fff);
  border: 1px solid var(--red200);
  border-radius: var(--r);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hiw-check h4 {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.hiw-check p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.hiw-check strong {
  color: var(--red);
  font-weight: 700;
}

.hiw-check .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}

/* FAQ 2-col */
.hiw-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ─── Mobile ──────────────────────────────────── */
@media (max-width: 900px) {
  .hiw-devices {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-faq-grid {
    grid-template-columns: 1fr;
  }

  .results--tariff-page .bp-card-right {
    padding: 10px 28px !important;
  }

  .results--tariff-page .bp-card-left {
    padding: 14px 20px 6px 28px !important;
  }

  .results--tariff-page .bp-buy-btn {
    margin-top: 0 !important;
  }

}

@media (max-width: 768px) {
  .filter-bar {
    justify-content: center;
  }

  .dp-input {
    padding-left: 44px !important;
    font-size: 16px !important;
  }

  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .blog-card__title {
    font-size: 18px !important;
  }

  .hiw-compare {
    grid-template-columns: 1fr;
  }

  .hiw-compare-divider {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }

  .hiw-devices {
    grid-template-columns: 1fr;
  }

  .hiw-what-grid {
    grid-template-columns: 1fr;
  }

  .hiw-check {
    flex-direction: column;
    align-items: flex-start;
  }

  .hiw-vstep {
    flex-wrap: wrap;
    padding: 20px 20px;
    gap: 16px;
  }

  .hiw-vstep-icon {
    display: none;
  }
}

.feature-title {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.footer-heading {
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.page-header {
  position: relative;
  z-index: 1;
}

@media (max-width: 400px) {
  .promo-banner {
    padding: 16px !important;
  }

  .promo-left {
    /* flex-direction: column !important; */
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .promo-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .promo-title {
    font-size: 14px !important;
  }

  .promo-sub {
    font-size: 12px !important;
  }

  .promo-timer {
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 12px !important;
  }

  .timer-block {
    min-width: auto !important;
    padding: 4px 8px !important;
  }

  .timer-val {
    font-size: 14px !important;
  }
}

section {
  padding: 22px 0;
}

.mobile-nav .menu-item-has-children>.sub-menu {
  display: none !important;
  padding-left: 16px;
}

.mobile-nav .menu-item-has-children.sub-open>.sub-menu {
  display: block !important;
}

.mobile-nav .menu-item-has-children>a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
  display: inline-block;
}

.mobile-nav .menu-item-has-children.sub-open>a::after {
  transform: rotate(-135deg);
}

.header-inner {
  gap: 24px;
}

.redesim-nav .redesim-menu {
  gap: 4px;
}

.redesim-nav .redesim-menu a {
  font-size: 14px;
  padding: 8px 10px;
  white-space: nowrap;
}

.header-cta-desktop {
  font-size: 13px;
  padding: 8px 16px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .redesim-nav .redesim-menu {
    gap: 0;
  }

  .redesim-nav .redesim-menu a {
    font-size: 13px;
    padding: 8px 8px;
  }

  .header-cta-desktop {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* cookie notice */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid var(--redesim-border, rgba(0, 0, 0, .12));
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  font-family: var(--fb, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  animation: cookieNoticeIn .25s ease;
}

.cookie-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink, #1A1A1A);
}

.cookie-notice__text a {
  color: var(--red, #F02718);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__text a:hover {
  color: var(--red6, #D32215);
}

.cookie-notice__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  background: var(--red, #F02718);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn, 14px);
  font-family: var(--fb, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(240, 39, 24, 0.25);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}

.cookie-notice__close:hover {
  background: var(--red6, #D32215);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 39, 24, 0.32);
}

.cookie-notice__close:active {
  transform: translateY(0);
}

@keyframes cookieNoticeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .cookie-notice {
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-notice__close {
    width: 100%;
  }
}

.social-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-legal a,
.footer-legal a:visited {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: underline;
}

.footer-legal a:hover {
  color: #fff !important;
}

/* Location filter (China page) */
.location-filter {
  padding: 3px 0 0;
}

.lf-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.lf-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  user-select: none;
}

.lf-check:hover {
  border-color: var(--red200);
  color: var(--ink);
}

.lf-check.act {
  border-color: var(--red);
  background: var(--red50);
  color: var(--red);
}

.lf-check input {
  display: none;
}

.lf-box {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.lf-check.act .lf-box {
  border-color: var(--red);
}

.lf-check.act .lf-box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* Hidden by location filter */
.t-row.lf-hidden {
  display: none !important;
}

.lf-title {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.lf-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ═══════════════════════════════════════════════
   TARIFF PAGE — layout по новому макету
   Левая колонка параметров + правая колонка тарифов
════════════════════════════════════════════════ */

body.redesim-page {
  background: #f3f3f4;
}

.tariff-page {
  background: #f3f3f4;
  padding: 3px 0 10px;
  margin-top: 24px;
}

.tariff-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tariff-sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
}

/* ── Левая панель параметров ─────────────────── */

.picker--sidebar {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.picker--sidebar .picker-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  padding: 24px 22px;
}

.picker-side-title {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: #6e6969;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}

.picker--sidebar .step-lbl {
  display: block;
  margin: 0 0 10px;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.picker--sidebar .step-num,
.picker--sidebar .uc-icon {
  display: none;
}

.picker--sidebar .day-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.picker--sidebar .dc {
  background: #fff;
  color: #555;
  border: 1px solid #dedede;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .02);
}

.picker--sidebar .dc:hover {
  border-color: var(--red300);
  color: var(--red);
  background: #fff;
}

.picker--sidebar .dc.act {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 10px rgba(240, 39, 24, .22);
}

.picker--sidebar .day-custom {
  gap: 8px;
  margin-top: 4px;
}

.picker--sidebar .day-custom label {
  color: #777;
  font-size: 13px;
}

.picker--sidebar .day-adj {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border-color: #dedede;
  color: #555;
  font-size: 15px;
  font-weight: 700;
}

.picker--sidebar .day-inp {
  height: 34px;
  width: 54px;
  border-color: #dedede;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
}

.picker--sidebar .day-word {
  color: #777;
  font-size: 12px;
  font-family: var(--fb);
  font-weight: 500;
}

.picker--sidebar .picker-sep {
  margin: 10px 0 18px;
  border-top-color: rgba(0, 0, 0, .08);
}

.picker--sidebar .usage-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker--sidebar .uc {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 14px;
}

.picker--sidebar .uc:hover {
  background: #fff;
  border-color: var(--red300);
}

.picker--sidebar .uc.act {
  background: #fff6f6;
  border-color: var(--red);
}

.picker--sidebar .uc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.picker--sidebar .uc-title {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.picker--sidebar .uc-gb {
  display: block;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 500;
  margin: 2px 0 0;
}

.picker--sidebar .uc.act .uc-title,
.picker--sidebar .uc.act .uc-gb {
  color: var(--red);
}

.uc-radio {
  width: 16px;
  height: 16px;
  border: 2px solid #cfcfcf;
  border-radius: 50%;
  flex: 0 0 16px;
  position: relative;
}

.uc.act .uc-radio {
  border-color: var(--red);
}

.uc.act .uc-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red);
}

/* ── Правая часть ───────────────────────────── */

.results--tariff-page {
  padding: 0;
  min-width: 0;
  container-type: inline-size;
}

.results--tariff-page .results-hdr {
  margin: 0 0 14px;
  align-items: baseline;
}

.results--tariff-page .results-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  display: inline;
}

.results--tariff-page .results-sub {
  display: inline;
  margin-left: 8px;
  color: #888;
  font-size: 14px;
}

.results--tariff-page .results-count {
  display: none;
}

/* ── Рекомендуемый тариф ─────────────────────── */

.results--tariff-page .best-pick {
  margin-bottom: 18px;
}

.results--tariff-page .bp-card {
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 14px;
  box-shadow: none;
  margin: 0;
}

.results--tariff-page .bp-card-main {
  min-height: 162px;
}

.results--tariff-page .bp-card-left {
  padding: 28px;
  gap: 8px;
}

.results--tariff-page .tb-rec {
  background: transparent;
  color: #ff9300;
  font-size: 13px;
  font-weight: 800;
}

.results--tariff-page .bp-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.03em;
}

.results--tariff-page .bp-desc {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.results--tariff-page .bp-features {
  gap: 22px;
  margin-top: 4px;
}

.results--tariff-page .bp-feature {
  color: #555;
  font-size: 14px;
}

.results--tariff-page .bp-feature svg {
  color: var(--red);
}

.results--tariff-page .bp-tags {
  margin-top: 4px;
}

.results--tariff-page .bp-tag {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
}


/* Длинный список операторов в блоке «Подобрали для вас» */
/* По умолчанию #bpOperator остаётся обычным компактным тегом в одну строку.
   В широкий блок на всю строку переводим его только тогда, когда JS реально
   добавил аккордеон для длинного списка операторов. */
.results--tariff-page #bpOperator {
  white-space: nowrap;
}

.results--tariff-page #bpOperator.has-tariff-expandable-text {
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.results--tariff-page #bpOperator.has-tariff-expandable-text .tariff-expandable-text.is-collapsed::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%);
}

.results--tariff-page #bpOperator.has-tariff-expandable-text .tariff-expandable-btn {
  font-size: 11px;
}

.results--tariff-page .bp-card-right {
  background: #fff;
  border-left: 0;
  padding: 26px 28px;
  min-width: 210px;
}

.results--tariff-page .bp-price {
  font-size: 42px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -.04em;
}

.results--tariff-page .bp-buy-btn {
  width: 134px;
  height: 48px;
  border-radius: 10px;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  margin-top: 10px;
}

.results--tariff-page .bp-match-text {
  display: none;
}

/* ── Вкладки провайдеров ─────────────────────── */

.provider-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  margin: 0 0 14px;
  padding: 0 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.provider-tabs::-webkit-scrollbar {
  display: none;
}

.provider-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  color: #777;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.provider-tab.is-active {
  color: var(--ink);
}

.provider-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
}

.provider-tab.is-active::after {
  background: var(--red);
}

.provider-tab-badge {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #d9d9d9;
}

.provider-tab:nth-child(1) .provider-tab-badge {
  background: #5b7ff0;
}

.provider-tab:nth-child(2) .provider-tab-badge {
  background: #a77be8;
}

.provider-tab:nth-child(3) .provider-tab-badge {
  background: #5aa58d;
}

.provider-tab-name {
  display: block;
  min-width: 0;
}

.provider-tab-speed {
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
}

/* ── Строка сетей активного провайдера ───────── */

.provider-operators-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 0 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
}

.provider-operators-label {
  color: #9ca3af;
  font-weight: 600;
  white-space: nowrap;
}

.provider-operators-name {
  min-width: 0;
  color: #111827;
  font-weight: 700;
}

.provider-operators-name.has-tariff-expandable-text {
  flex: 1 1 auto;
  align-items: flex-start;
  text-align: left;
  line-height: 1.35;
}

.provider-operators-name .tariff-expandable-text.is-collapsed::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%);
}

.provider-operators-name .tariff-expandable-btn {
  font-size: 11px;
}

.provider-operators-speed {
  margin-left: auto;
  color: #9ca3af;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Колонка активного провайдера ────────────── */

.results--tariff-page .prov-cols {
  display: block;
}

.results--tariff-page .prov-cols.provider-tabbed .prov-col {
  display: none;
}

.results--tariff-page .prov-cols.provider-tabbed .prov-col.provider-active {
  display: block;
}

.results--tariff-page .prov-col {
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.results--tariff-page .prov-hdr {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.results--tariff-page .prov-hdr-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.results--tariff-page .prov-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 16px;
  flex: 0 0 26px;
}

.results--tariff-page .prov-op {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
}

.results--tariff-page .prov-spd {
  display: inline;
  background: transparent;
  border: 0;
  padding: 0;
  color: #aaa;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Компактные плитки тарифов ───────────────── */

.results--tariff-page .tariff-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
}

.results--tariff-page .tariff-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin: 0;
}

.results--tariff-page .tariff-card.is-hidden {
  display: none !important;
}

.results--tariff-page .t-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) max-content;
  grid-template-areas:
    "radio name price"
    "radio name ppg";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 68px;
  padding: 14px;
  border-bottom: 0;
  background: #fff;
}

.results--tariff-page .t-row:hover {
  background: #fff;
}

.results--tariff-page .t-row.sel {
  background: #fffafa;
}

.results--tariff-page .t-radio {
  grid-area: radio;
  width: 22px;
  height: 22px;
}

.results--tariff-page .t-radio::after {
  width: 8px;
  height: 8px;
}

.results--tariff-page .t-name {
  grid-area: name;
  min-width: 0;
}

.results--tariff-page .t-name-main {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.results--tariff-page .t-row.sel .t-name-main {
  font-weight: 800;
}

.results--tariff-page .t-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.results--tariff-page .t-price {
  grid-area: price;
  justify-self: end;
  align-self: end;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.results--tariff-page .t-row.sel .t-price {
  color: var(--red);
}

.results--tariff-page .t-ppg {
  grid-area: ppg;
  justify-self: end;
  align-self: start;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.results--tariff-page .t-row.sel .t-ppg {
  color: var(--red);
}

.results--tariff-page .tb-val,
.results--tariff-page .tb-rec {
  background: var(--redesim-hero-gradient);
  color: #fff;
}

.results--tariff-page .tb-day {
  background: #e5efff;
  color: #2b69e6;
}

/* ── Детали тарифа ───────────────────────────── */

.results--tariff-page .t-det {
  max-height: none;
  overflow: visible;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.results--tariff-page .t-det-inner {
  padding: 0 14px 12px 48px;
  background: #fff;
}

.results--tariff-page .t-det-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.results--tariff-page .det-content {
  display: none;
}

.results--tariff-page .t-det.open {
  border-top: 1px solid var(--border);
}

.results--tariff-page .t-det.open .t-det-inner {
  padding-top: 10px;
}

.results--tariff-page .t-det.open .det-content {
  display: block;
}

.results--tariff-page .prov-foot {
  display: none !important;
}

.results--tariff-page .all-tariffs-hdr {
  display: none !important;
}

.results--tariff-page .empty {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .08);
}

/* ═══════════════════════════════════════════════
   Сетка тарифов от ширины правого блока
   Важно: не от ширины экрана, а от .results--tariff-page
════════════════════════════════════════════════ */

/* 2 колонки, когда правая область реально достаточно широкая */
@container (min-width: 440px) {
  .results--tariff-page .tariff-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .results--tariff-page .t-row {
    grid-template-columns: 20px minmax(0, 1fr) max-content;
    column-gap: 10px;
    min-height: 66px;
    padding: 13px 14px;
  }

  .results--tariff-page .t-name-main {
    font-size: 15px;
  }

  .results--tariff-page .t-price {
    font-size: 19px;
  }

  .results--tariff-page .t-ppg {
    font-size: 12px;
  }

  .results--tariff-page .t-det-inner {
    padding: 0 14px 12px 44px;
  }

  .results--tariff-page .t-det-toggle {
    font-size: 13px;
  }
}

/* 3 колонки, когда справа действительно хватает места */
@container (min-width: 700px) {
  .results--tariff-page .tariff-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results--tariff-page .t-row {
    padding: 14px;
    column-gap: 9px;
  }

  .results--tariff-page .t-name-main {
    font-size: 15px;
  }

  .results--tariff-page .t-price {
    font-size: 19px;
  }
}

/* ── Общий адаптив страницы ─────────────────── */

@media (max-width: 1100px) {
  .tariff-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
  }

  .results--tariff-page .bp-price {
    font-size: 34px;
  }
}

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

  .tariff-sidebar {
    position: static;
  }

  .picker--sidebar .picker-card {
    padding: 18px;
  }

  .results--tariff-page .bp-card-main {
    flex-direction: column;
  }

  .results--tariff-page .bp-card-right {
    min-width: 0;
    border-top: 1px solid rgba(0, 0, 0, .08);
    flex-direction: row;
    justify-content: space-between;
  }

  .results--tariff-page .bp-buy-btn {
    width: auto;
  }
}

/* ── Мобильные вкладки и заголовок провайдера ─ */

@media (max-width: 640px) {
  .provider-tabs {
    gap: 20px;
    padding: 0 12px;
    margin: 0 -12px 14px;
  }

  .provider-tab {
    flex: 0 0 auto;
    max-width: 245px;
    min-width: 0;
    padding: 10px 0 11px;
    gap: 6px;
  }

  .provider-tab-name {
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .provider-tab-speed {
    display: none;
  }

  .provider-operators-info {
    margin: 6px 0 10px;
    font-size: 12px;
  }

  .provider-operators-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .provider-operators-speed {
    font-size: 11px;
  }

  .results--tariff-page .prov-hdr {
    padding: 14px;
    gap: 8px;
  }

  .results--tariff-page .prov-hdr-left {
    flex: 1 1 auto;
  }

  .results--tariff-page .prov-op {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .results--tariff-page .prov-spd {
    flex: 0 0 auto;
    font-size: 11px;
  }
}

/* Узкие смартфоны — точно 1 колонка */
@media (max-width: 519px) {
  .results--tariff-page .tariff-rows {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .results--tariff-page .t-row {
    grid-template-columns: 22px minmax(0, 1fr) max-content;
    column-gap: 12px;
    min-height: 68px;
    padding: 14px;
  }

  .results--tariff-page .t-name-main {
    font-size: 16px;
  }

  .results--tariff-page .t-price {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {

  body.redesim-page .container,
  body.redesim-page .fixed-block-after-site,
  body.redesim-page .fixed-main-navigation-inner,
  body.redesim-page .fixed-related-posts,
  body.redesim-page .fixed-section-block,
  body.redesim-page .fixed-section-html,
  body.redesim-page .fixed-site-content,
  body.redesim-page .fixed-site-footer-inner,
  body.redesim-page .fixed-site-header-inner,
  body.redesim-page .footer-navigation-fixed,
  body.redesim-page .main-navigation-fixed,
  body.redesim-page .site-footer-fixed,
  body.redesim-page .site-header-fixed {
    max-width: 1280px !important;
  }
}

/* ═══════════════════════════════════════════════
   FIX: 3 столбца тарифов на большом разрешении
═══════════════════════════════════════════════ */

@media (min-width: 1200px) {
  body.redesim-page .tariff-page .container {
    max-width: 1280px !important;
  }

  body.redesim-page .tariff-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
  }

  body.redesim-page .results--tariff-page .tariff-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
    padding: 16px;
  }

  body.redesim-page .results--tariff-page .t-row {
    grid-template-columns: 20px minmax(0, 1fr) max-content;
    column-gap: 10px;
    padding: 14px 14px;
    min-height: 72px;
  }

  body.redesim-page .results--tariff-page .t-name-main {
    font-size: 15px;
    line-height: 1.25;
  }

  body.redesim-page .results--tariff-page .t-price {
    font-size: 20px;
  }

  body.redesim-page .results--tariff-page .t-ppg {
    font-size: 12px;
  }

  body.redesim-page .results--tariff-page .t-det-inner {
    padding: 0 14px 12px 44px;
  }

  body.redesim-page .results--tariff-page .t-det-toggle {
    font-size: 13px;
  }
}

/* Picker checkbox */
.picker-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  user-select: none;
}

.picker-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.picker-check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-border, #d1d5db);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 1px;
}

.picker-check-box svg {
  opacity: 0;
  transition: opacity 0.15s;
}

.picker-check input:checked~.picker-check-box {
  background: var(--c-accent, #f02718);
  border-color: var(--c-accent, #f02718);
}

.picker-check input:checked~.picker-check-box svg {
  opacity: 1;
}

.picker-check-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text, #111);
  line-height: 1.3;
}

.picker-check-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-muted, #6b7280);
  margin-top: 2px;
}

.tariff-details-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tariff-details-modal.open {
  display: flex;
}

.tariff-details-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.52);
  backdrop-filter: blur(6px);
}

.tariff-details-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  animation: tariffDetailsIn 0.18s ease-out;
}

@keyframes tariffDetailsIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.tariff-details-lock {
  overflow: hidden;
}

.tariff-details-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surf);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.tariff-details-close:hover {
  background: var(--red50);
  color: var(--red);
}

.tariff-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 38px;
  margin-bottom: 18px;
}

.tariff-details-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}

.tariff-details-title {
  font-family: var(--fh);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.tariff-details-price {
  flex-shrink: 0;
  text-align: right;
  padding-top: 15px;
}

.tariff-details-price-main {
  font-family: var(--fh);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  white-space: nowrap;
}

.tariff-details-price-sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.tariff-details-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.tariff-details-summary-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tariff-details-summary-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.tariff-details-summary-row strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
}

.tariff-details-section-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.tariff-details-list {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 18px;
}

.tariff-details-list-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
}

.tariff-details-list-row:last-child {
  border-bottom: 0;
}

.tariff-details-list-row span {
  color: var(--muted);
  font-weight: 600;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.tariff-details-list-row strong {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
  line-height: 1.45;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}


/* Компактные списки сетей: одна строка + плавный градиент справа */
.has-tariff-inline-fade {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}

.has-tariff-inline-fade .tariff-inline-fade-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  line-height: inherit;
  padding-right: 56px;
}

.has-tariff-inline-fade::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(42px, 12vw, 86px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 76%);
}

.provider-operators-info {
  min-width: 0;
  flex-wrap: nowrap;
}

.provider-operators-name.has-tariff-inline-fade {
  flex: 1 1 auto;
  color: #111827;
  font-weight: 700;
}

.provider-operators-speed {
  flex: 0 0 auto;
}

.results--tariff-page .bp-tags {
  min-width: 0;
}

.results--tariff-page #bpOperator.has-tariff-inline-fade {
  flex: 1 1 260px;
  width: auto;
  max-width: min(100%, 680px);
  text-align: left;
  white-space: nowrap;
}

.results--tariff-page #bpOperator.has-tariff-inline-fade::after,
.provider-operators-name.has-tariff-inline-fade::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 76%);
}

.results--tariff-page #bpOperator.has-tariff-inline-fade .tariff-inline-fade-text {
  padding-right: 62px;
}

@media (max-width: 640px) {
  .provider-operators-info {
    gap: 6px;
  }

  .provider-operators-name.has-tariff-inline-fade {
    flex-basis: auto;
  }

  .has-tariff-inline-fade .tariff-inline-fade-text {
    padding-right: 42px;
  }

  .results--tariff-page #bpOperator.has-tariff-inline-fade {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Длинные списки стран и операторов в тарифе: показываем 2 строки */
.has-tariff-expandable-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}

.tariff-expandable-text {
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  word-break: normal;
  overflow-wrap: anywhere;
}

.tariff-expandable-text.is-collapsed {
  max-height: calc(1.35em * 2);
  overflow: hidden;
  position: relative;
}

.tariff-expandable-text.is-collapsed::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 1.35em;
  background: linear-gradient(90deg, rgba(246, 246, 248, 0), var(--surf) 70%);
  pointer-events: none;
}

.det-table .tariff-expandable-text.is-collapsed::after,
.tariff-details-list-row .tariff-expandable-text.is-collapsed::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%);
}

.tariff-expandable-text.is-expanded {
  max-height: none;
  overflow: visible;
}

.tariff-expandable-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  border: 0;
  border-bottom: 1px dashed currentColor;
  cursor: pointer;
}

.tariff-expandable-btn:hover {
  color: var(--red6);
}

.det-table td:last-child.has-tariff-expandable-text {
  align-items: flex-end;
}

@media (max-width: 600px) {
  .has-tariff-expandable-text {
    align-items: flex-start;
    text-align: left;
  }

  .tariff-expandable-text.is-collapsed::after {
    width: 55%;
  }
}

.tariff-details-buy {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 800;
}

/* Кнопку "Детали пакета" в карточках скрываем, если модалка открывается по клику на тариф */
.results--tariff-page .t-det {
  display: none !important;
}

.results--tariff-page .t-det-toggle {
  display: none !important;
}

/* Мобильная версия */
@media (max-width: 520px) {
  .tariff-details-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .tariff-details-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 20px 20px 0 0;
    padding: 20px 16px 18px;
  }

  .tariff-details-head {
    flex-direction: column;
    gap: 10px;
    padding-right: 38px;
  }

  .tariff-details-title {
    font-size: 22px;
  }

  .tariff-details-price {
    text-align: left;
    padding-top: 0;
  }

  .tariff-details-summary-row,
  .tariff-details-list-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 14px;
  }

  .tariff-details-summary-row strong,
  .tariff-details-list-row strong {
    text-align: left;
  }
}

/* ── STICKY FILTER BUTTON ── */
.sticky-filter-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: none;
  pointer-events: none;
}

.sticky-filter-btn.visible {
  display: block;
  pointer-events: all;
}

.filter-fab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent, #f02718);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240, 39, 24, .35);
  white-space: nowrap;
  position: relative;
  transition: box-shadow .2s, transform .15s;
}

.filter-fab:active {
  transform: scale(.97);
}

.filter-fab-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid var(--c-accent, #f02718);
}

.filter-fab-badge.active {
  display: block;
}

/* ── DRAWER OVERLAY ── */
.filter-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1000;
}

.filter-drawer-overlay.open {
  display: block;
}

/* ── DRAWER ── */
.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--c-bg, #fff);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .15);
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.32, 1, .4, 1);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
}

.filter-drawer.open {
  transform: translateY(0);
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  flex-shrink: 0;
}

.filter-drawer-title {
  font-size: 17px;
  font-weight: 700;
}

.filter-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-muted, #6b7280);
  padding: 4px;
  display: flex;
}

.filter-drawer-body {
  overflow-y: auto;
  padding: 16px 20px;
  flex: 1;
}

/* Внутри drawer — убираем заголовок picker-side-title */
.filter-drawer-body .picker-side-title {
  display: none;
}

/* Внутри drawer — picker-card без тени и паддингов */
.filter-drawer-body .picker-card {
  box-shadow: none;
  padding: 0;
  background: none;
  border: none;
}

.filter-drawer-footer {
  padding: 12px 20px 24px;
  flex-shrink: 0;
  border-top: 1px solid var(--c-border, #e5e7eb);
}

.filter-drawer-apply {
  width: 100%;
  justify-content: center;
}

/* Показываем sticky только на мобайле, когда sidebar скрыт */
@media (min-width: 1024px) {

  .sticky-filter-btn,
  .filter-drawer,
  .filter-drawer-overlay {
    display: none !important;
  }
}

/* BLOG */
body.redesim-page .rd-blog-hero,
body.redesim-page .rd-single-hero {
  padding: 54px 0 42px;
}

body.redesim-page .rd-blog-hero .hero-inner,
body.redesim-page .rd-single-hero .hero-inner {
  display: block;
}

body.redesim-page .rd-blog-hero h1,
body.redesim-page .rd-single-hero h1 {
  max-width: 1100px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #fff;
}

body.redesim-page .rd-blog-label {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  margin-bottom: 14px !important;
}

body.redesim-page .rd-blog-breadcrumb {
  margin-bottom: 14px;
}

body.redesim-page .rd-blog-section,
body.redesim-page .rd-single-section {
  padding: 48px 0 76px;
}

body.redesim-page .rd-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.redesim-page .rd-blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.redesim-page .rd-blog-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--redesim-orange-50), var(--redesim-red-50));
  text-decoration: none;
}

body.redesim-page .rd-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

body.redesim-page .rd-blog-card:hover .rd-blog-card-thumb img {
  transform: scale(1.035);
}

body.redesim-page .rd-blog-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 24px;
  color: var(--red);
}

body.redesim-page .rd-blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

body.redesim-page .rd-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

body.redesim-page .rd-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.redesim-page .rd-blog-meta svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  flex-shrink: 0;
}

body.redesim-page .rd-blog-card-title {
  margin: 0 0 10px !important;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

body.redesim-page .rd-blog-card-title a {
  color: var(--ink);
  text-decoration: none;
}

body.redesim-page .rd-blog-card-title a:hover {
  color: var(--red);
}

body.redesim-page .rd-blog-card-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

body.redesim-page .rd-blog-read-more {
  margin-top: auto;
  align-self: flex-start;
}

body.redesim-page .rd-blog-read-more svg {
  width: 15px;
  height: 15px;
}

body.redesim-page .rd-blog-pagination {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}

body.redesim-page .rd-blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.redesim-page .rd-blog-pagination a,
body.redesim-page .rd-blog-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

body.redesim-page .rd-blog-pagination .current,
body.redesim-page .rd-blog-pagination a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
}

body.redesim-page .rd-blog-empty {
  padding: 30px;
  color: var(--muted);
  font-weight: 600;
}

body.redesim-page .rd-single-meta-panel {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
}

body.redesim-page .rd-single-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.redesim-page .rd-single-meta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body.redesim-page .rd-single-meta-card svg {
  width: 34px;
  height: 34px;
  color: var(--red);
  flex-shrink: 0;
}

body.redesim-page .rd-single-meta-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

body.redesim-page .rd-single-meta-value {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

body.redesim-page .rd-single-layout {
  max-width: 940px;
  margin: 0 auto;
}

body.redesim-page .rd-single-cover {
  margin: 0 0 34px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

body.redesim-page .rd-single-cover img {
  width: 100%;
  height: auto;
}

body.redesim-page .rd-single-content {
  color: var(--ink2);
  font-size: 18px;
  line-height: 1.78;
}

body.redesim-page .rd-single-content h2,
body.redesim-page .rd-single-content h3,
body.redesim-page .rd-single-content h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 1.55em 0 .65em !important;
}

body.redesim-page .rd-single-content h2 {
  font-size: clamp(28px, 3vw, 40px);
}

body.redesim-page .rd-single-content h3 {
  font-size: clamp(23px, 2.4vw, 31px);
}

body.redesim-page .rd-single-content p {
  margin: 0 0 1.1em;
}

body.redesim-page .rd-single-content a {
  color: var(--red);
  font-weight: 600;
  text-underline-offset: 3px;
}

body.redesim-page .rd-single-content img {
  border-radius: var(--radius-card);
  max-width: 100%;
  height: auto;
}

body.redesim-page .rd-single-content blockquote {
  margin: 30px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius-card);
  background: var(--redesim-orange-50);
  color: var(--ink2);
  font-weight: 600;
}

body.redesim-page .rd-single-content ul,
body.redesim-page .rd-single-content ol {
  padding-left: 1.25em;
  margin: 0 0 1.25em;
  list-style: revert;
}

body.redesim-page .rd-single-content li {
  margin: .45em 0;
}

body.redesim-page .rd-single-comments {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  body.redesim-page .rd-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.redesim-page .rd-single-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {

  body.redesim-page .rd-blog-hero,
  body.redesim-page .rd-single-hero {
    padding: 40px 0 30px;
  }

  body.redesim-page .rd-blog-grid,
  body.redesim-page .rd-single-meta-grid {
    grid-template-columns: 1fr;
  }

  body.redesim-page .rd-blog-card-body {
    padding: 18px;
  }

  body.redesim-page .rd-single-meta-panel {
    padding: 18px;
    border-radius: 16px;
  }

  body.redesim-page .rd-single-content {
    font-size: 17px;
    line-height: 1.72;
  }
}

/* Внутренний слой вкладки — оператор вместо скорости */
.provider-tabs .provider-tab-operator {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.provider-tabs .provider-tab.is-active .provider-tab-operator {
  background: rgba(240, 39, 24, 0.10);
  color: #b51c10;
}

/* Кнопка-«i» рядом с именем провайдера */
.provider-tabs .provider-tab-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca3af;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.provider-tabs .provider-tab-info:hover,
.provider-tabs .provider-tab-info:focus-visible {
  color: #f02718;
  background: rgba(240, 39, 24, 0.08);
  transform: scale(1.06);
  outline: none;
}

.provider-tabs .provider-tab-info svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* Модалка с описанием провайдера */
.provider-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.provider-info-modal.open {
  display: flex;
}

body.provider-info-lock {
  overflow: hidden;
}

.provider-info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: providerInfoFade 0.18s ease;
}

.provider-info-dialog {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.22),
    0 4px 12px rgba(15, 23, 42, 0.08);
  padding: 28px 28px 24px;
  animation: providerInfoPop 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.provider-info-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.provider-info-close:hover,
.provider-info-close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: #111827;
  outline: none;
}

.provider-info-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f02718;
  margin-bottom: 8px;
}

.provider-info-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.provider-info-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #374151;
}

.picker-check .picker-check-label {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  flex-direction: row !important;
  width: auto !important;
  text-align: left;
}

.picker-check-info {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca3af;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.picker-check-info:hover,
.picker-check-info:focus-visible {
  color: #f02718;
  background: rgba(240, 39, 24, 0.08);
  transform: scale(1.06);
  outline: none;
}

.picker-check-info svg {
  display: block;
  width: 14px;
  height: 14px;
}


@keyframes providerInfoFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes providerInfoPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .provider-info-dialog {
    padding: 24px 20px 20px;
    border-radius: 14px;
  }

  .provider-info-title {
    font-size: 19px;
  }

  .provider-info-desc {
    font-size: 14px;
  }
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: inline-flex;
  align-items: center;
  color: #ffc107;
  /* жёлто-оранжевый, как у эмодзи */
  line-height: 0;
  /* убирает лишнюю высоту строки у SVG */
}

a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
  color: #fff;
  text-decoration: none;
}

.table-of-contents__list {
  list-style: none !important;
}

.text-block-section ul,
.text-block-section ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  padding-left: 20px;
  margin: 24px 0;
  list-style: none;
}

.text-block-section ul li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.text-block-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #f02718;
  background-color: transparent;
}

#yandex_rating {
  margin-top: 10px;
}


/* Обёртка регионов */
.coverage-regions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 0;
  margin-bottom: 32px;
}

/* Чип региона */
.region-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 46px;
  padding: 10px 18px;

  border: 1px solid var(--redesim-border, rgba(0, 0, 0, 0.12));
  border-radius: 999px;
  background: #fff;
  color: var(--redesim-ink, #1F1F1F);

  font-family: var(--fb, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);

  transition:
    transform 180ms ease-out,
    box-shadow 180ms ease-out,
    border-color 180ms ease-out,
    background 180ms ease-out,
    color 180ms ease-out;
}

.region-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 39, 24, 0.28);
  background: linear-gradient(180deg, #fff 0%, var(--redesim-red-50, #FEE9E8) 100%);
  color: var(--redesim-red-700, #B41D12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.region-chip:active {
  transform: translateY(0);
  border-color: rgba(180, 29, 18, 0.34);
  background: var(--redesim-soft-peach, #FEE1D7);
}

.region-chip:focus-visible {
  outline: 3px solid var(--redesim-focus, rgba(240, 39, 24, 0.25));
  outline-offset: 3px;
}

/* Иконка */
.region-icon {
  position: relative;

  width: 26px;
  height: 26px;
  flex: 0 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: var(--redesim-red-50, #FEE9E8);

  transition:
    background 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
}

.region-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  transition: transform 180ms ease-out;
}

.region-icon svg * {
  vector-effect: non-scaling-stroke;
}

.region-chip:hover .region-icon {
  background: var(--redesim-hero-gradient, linear-gradient(135deg, #F02718 0%, #F7471B 45%, #FD8713 100%));
  box-shadow: 0 6px 14px rgba(240, 39, 24, 0.18);
}

.region-chip:hover .region-icon svg {
  transform: scale(1.04);
}

/* Общая защита: если в SVG есть currentColor */
.region-chip .region-icon svg [stroke="currentColor"] {
  stroke: var(--redesim-red-500, #F02718);
}

.region-chip .region-icon svg [fill="currentColor"] {
  fill: var(--redesim-red-500, #F02718);
}

/* 1. Европа */
.coverage-regions .region-chip:nth-child(1) .region-icon svg circle {
  fill: var(--redesim-red-500, #F02718) !important;
}

.coverage-regions .region-chip:nth-child(1) .region-icon svg path {
  fill: #fff !important;
}

.coverage-regions .region-chip:nth-child(1):hover .region-icon svg circle {
  fill: rgba(255, 255, 255, 0.18) !important;
}

.coverage-regions .region-chip:nth-child(1):hover .region-icon svg path {
  fill: #fff !important;
}

/* 2. Азия */
.coverage-regions .region-chip:nth-child(2) .region-icon svg circle,
.coverage-regions .region-chip:nth-child(2) .region-icon svg path:first-of-type {
  fill: var(--redesim-red-50, #FEE9E8) !important;
}

.coverage-regions .region-chip:nth-child(2) .region-icon svg path:nth-of-type(2),
.coverage-regions .region-chip:nth-child(2) .region-icon svg path:nth-of-type(4) {
  fill: var(--redesim-red-500, #F02718) !important;
}

.coverage-regions .region-chip:nth-child(2) .region-icon svg path:nth-of-type(3),
.coverage-regions .region-chip:nth-child(2) .region-icon svg path:nth-of-type(5) {
  fill: var(--redesim-orange-500, #FD8713) !important;
}

.coverage-regions .region-chip:nth-child(2):hover .region-icon svg circle,
.coverage-regions .region-chip:nth-child(2):hover .region-icon svg path:first-of-type {
  fill: rgba(255, 255, 255, 0.2) !important;
}

.coverage-regions .region-chip:nth-child(2):hover .region-icon svg path:nth-of-type(n+2) {
  fill: #fff !important;
}

/* 3. Америка */
.coverage-regions .region-chip:nth-child(3) .region-icon svg circle {
  fill: var(--redesim-orange-50, #FFF3E7) !important;
}

.coverage-regions .region-chip:nth-child(3) .region-icon svg path:nth-of-type(1),
.coverage-regions .region-chip:nth-child(3) .region-icon svg path:nth-of-type(3) {
  fill: var(--redesim-red-500, #F02718) !important;
}

.coverage-regions .region-chip:nth-child(3) .region-icon svg path:nth-of-type(2),
.coverage-regions .region-chip:nth-child(3) .region-icon svg path:nth-of-type(4) {
  fill: var(--redesim-orange-500, #FD8713) !important;
}

.coverage-regions .region-chip:nth-child(3):hover .region-icon svg circle {
  fill: rgba(255, 255, 255, 0.18) !important;
}

.coverage-regions .region-chip:nth-child(3):hover .region-icon svg path {
  fill: #fff !important;
}

/* 4. Африка */
.coverage-regions .region-chip:nth-child(4) .region-icon svg circle {
  fill: var(--redesim-orange-50, #FFF3E7) !important;
}

.coverage-regions .region-chip:nth-child(4) .region-icon svg path:nth-of-type(1) {
  fill: var(--redesim-red-700, #B41D12) !important;
}

.coverage-regions .region-chip:nth-child(4) .region-icon svg path:nth-of-type(2) {
  fill: var(--redesim-orange-500, #FD8713) !important;
}

.coverage-regions .region-chip:nth-child(4) .region-icon svg path:nth-of-type(3) {
  stroke: var(--redesim-red-800, #90170E) !important;
}

.coverage-regions .region-chip:nth-child(4):hover .region-icon svg circle {
  fill: rgba(255, 255, 255, 0.18) !important;
}

.coverage-regions .region-chip:nth-child(4):hover .region-icon svg path:nth-of-type(1),
.coverage-regions .region-chip:nth-child(4):hover .region-icon svg path:nth-of-type(2) {
  fill: #fff !important;
}

.coverage-regions .region-chip:nth-child(4):hover .region-icon svg path:nth-of-type(3) {
  stroke: #fff !important;
}

/* 5. Океания */
.coverage-regions .region-chip:nth-child(5) .region-icon svg circle {
  fill: var(--redesim-red-50, #FEE9E8) !important;
}

.coverage-regions .region-chip:nth-child(5) .region-icon svg path:nth-of-type(1) {
  fill: var(--redesim-red-500, #F02718) !important;
}

.coverage-regions .region-chip:nth-child(5) .region-icon svg path:nth-of-type(2),
.coverage-regions .region-chip:nth-child(5) .region-icon svg path:nth-of-type(3),
.coverage-regions .region-chip:nth-child(5) .region-icon svg path:nth-of-type(4) {
  fill: var(--redesim-orange-500, #FD8713) !important;
}

.coverage-regions .region-chip:nth-child(5) .region-icon svg path:nth-of-type(5) {
  stroke: #fff !important;
}

.coverage-regions .region-chip:nth-child(5):hover .region-icon svg circle {
  fill: rgba(255, 255, 255, 0.18) !important;
}

.coverage-regions .region-chip:nth-child(5):hover .region-icon svg path:nth-of-type(1),
.coverage-regions .region-chip:nth-child(5):hover .region-icon svg path:nth-of-type(2),
.coverage-regions .region-chip:nth-child(5):hover .region-icon svg path:nth-of-type(3),
.coverage-regions .region-chip:nth-child(5):hover .region-icon svg path:nth-of-type(4) {
  fill: #fff !important;
}

/* 6. СНГ */
.coverage-regions .region-chip:nth-child(6) .region-icon svg circle {
  fill: var(--redesim-red-50, #FEE9E8) !important;
}

.coverage-regions .region-chip:nth-child(6) .region-icon svg path:nth-of-type(1),
.coverage-regions .region-chip:nth-child(6) .region-icon svg path:nth-of-type(3),
.coverage-regions .region-chip:nth-child(6) .region-icon svg path:nth-of-type(5) {
  fill: var(--redesim-red-700, #B41D12) !important;
}

.coverage-regions .region-chip:nth-child(6) .region-icon svg path:nth-of-type(2) {
  fill: var(--redesim-red-500, #F02718) !important;
}

.coverage-regions .region-chip:nth-child(6) .region-icon svg path:nth-of-type(4) {
  fill: var(--redesim-orange-500, #FD8713) !important;
}

.coverage-regions .region-chip:nth-child(6):hover .region-icon svg circle {
  fill: rgba(255, 255, 255, 0.18) !important;
}

.coverage-regions .region-chip:nth-child(6):hover .region-icon svg path {
  fill: #fff !important;
}

/* Мобильная адаптация */
@media (max-width: 767px) {

  .filter-fab-badge.active {
    display: none;
  }

  .coverage-regions {
    gap: 10px;
  }

  .region-chip {
    width: calc(50% - 5px);
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
  }

  .region-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .region-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 374px) {
  .region-chip {
    width: 100%;
  }
}

.color--red {
  color: var(--red) !important;
}

@media (max-width: 600px) {

  .provider-operators-name.has-tariff-expandable-text,
  .results--tariff-page #bpOperator.has-tariff-expandable-text {
    align-items: flex-start;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════
   FIX: сети в одну строку без наложений
   - строка провайдера резервирует место под скорость
   - градиент совпадает с фоном секции тарифов
   - блок лучшего тарифа не залезает под цену/кнопку
═══════════════════════════════════════════════ */
.results--tariff-page .bp-card-main {
  min-width: 0;
}

.results--tariff-page .bp-card-left {
  min-width: 0;
  overflow: hidden;
}

.results--tariff-page .bp-card-right {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.results--tariff-page .bp-tags {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.results--tariff-page #bpOperator {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.results--tariff-page #bpOperator.has-tariff-inline-fade {
  display: inline-flex;
  flex: 1 1 340px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

.results--tariff-page #bpOperator.has-tariff-inline-fade .tariff-inline-fade-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  padding-right: 68px;
}

.results--tariff-page #bpOperator.has-tariff-inline-fade::after {
  width: clamp(54px, 8vw, 96px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 78%);
}

.provider-operators-info {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.provider-operators-label,
.provider-operators-speed {
  position: relative;
  z-index: 2;
  min-width: 0;
  white-space: nowrap;
}

.provider-operators-name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.provider-operators-name.has-tariff-inline-fade {
  display: block;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #111827;
  font-weight: 700;
}

.provider-operators-name.has-tariff-inline-fade .tariff-inline-fade-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  padding-right: 58px;
}

.provider-operators-name.has-tariff-inline-fade::after {
  width: clamp(44px, 8vw, 82px);
  background: linear-gradient(90deg, rgba(245, 245, 247, 0), var(--redesim-surface, #F5F5F7) 78%) !important;
}

.provider-operators-speed {
  margin-left: 0 !important;
  padding-left: 2px;
  background: var(--redesim-surface, #F5F5F7);
}

@media (max-width: 640px) {
  .provider-operators-info {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    font-size: 13px;
  }

  .provider-operators-name.has-tariff-inline-fade .tariff-inline-fade-text {
    padding-right: 44px;
  }

  .provider-operators-name.has-tariff-inline-fade::after {
    width: 52px;
  }

  .results--tariff-page #bpOperator.has-tariff-inline-fade {
    flex: 1 1 100%;
    width: 100%;
  }

  .results--tariff-page #bpOperator.has-tariff-inline-fade .tariff-inline-fade-text {
    padding-right: 52px;
  }
}


/* FIX: сворачивание длинного описания пакета в модальном окне покупки */
.modal-tariff-left>div {
  min-width: 0;
  flex: 1 1 auto;
}

.modal-tariff-spec.has-tariff-expandable-text {
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
  gap: 5px;
}

.modal-tariff-spec .tariff-expandable-text {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.modal-tariff-spec .tariff-expandable-text.is-collapsed {
  max-height: calc(1.45em * 2);
}

.modal-tariff-spec .tariff-expandable-text.is-collapsed::after {
  background: linear-gradient(90deg, rgba(246, 246, 248, 0), var(--surf) 72%);
}

.modal-tariff-spec .tariff-expandable-btn {
  align-self: flex-start;
}

.modal-tariff-price {
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .modal-tariff {
    align-items: flex-start;
  }

  .modal-tariff-spec .tariff-expandable-text.is-collapsed::after {
    width: 58%;
  }
}

/* FIX: единая модалка покупки с деталями пакета */
.modal-tariff.modal-tariff--enhanced,
.modal-tariff:has(.modal-tariff-spec--enhanced) {
  align-items: flex-start;
}

.modal-tariff-spec--enhanced {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(100%, 390px);
  max-width: 100%;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.modal-tariff-summary-main {
  font-size: 12px;
  color: var(--muted);
}

.modal-tariff-detail-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-tariff-detail-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted2);
}

.modal-tariff-detail-value {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  line-height: 1.45;
}

.modal-tariff-detail-value .tariff-expandable-text {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.modal-tariff-detail-value .tariff-expandable-text.is-collapsed {
  position: relative;
  max-height: calc(1.45em * 2);
  overflow: hidden;
}

.modal-tariff-detail-value .tariff-expandable-text.is-collapsed::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 1.45em;
  background: linear-gradient(90deg, rgba(246, 246, 248, 0), var(--surf) 72%);
  pointer-events: none;
}

.modal-tariff-detail-value .tariff-expandable-btn {
  align-self: flex-start;
  margin-top: 3px;
}

.modal-tariff-detail-row--minor {
  grid-template-columns: minmax(0, 1fr) auto;
}

.modal-tariff-detail-row--minor .modal-tariff-detail-label {
  font-size: 12px;
}

.modal-tariff-detail-row--minor .modal-tariff-detail-value {
  text-align: right;
  white-space: normal;
}

@media (max-width: 640px) {

  .modal-tariff.modal-tariff--enhanced,
  .modal-tariff:has(.modal-tariff-spec--enhanced) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .modal-tariff.modal-tariff--enhanced .modal-tariff-left,
  .modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-left {
    grid-column: 1 / -1;
  }

  .modal-tariff.modal-tariff--enhanced .modal-tariff-price,
  .modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-price {
    grid-column: 2;
    justify-self: end;
  }

  .modal-tariff-spec--enhanced {
    width: 100%;
  }

  .modal-tariff-detail-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .modal-tariff-detail-row--minor {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .modal-tariff-detail-row--minor .modal-tariff-detail-value {
    text-align: right;
  }
}

/* FIX: аккуратная карточка тарифа в модальном окне оформления
   - цена сверху скрыта, итоговая цена остаётся только в блоке оплаты ниже;
   - флаг страны скрыт;
   - параметры тарифа выровнены в единую сетку. */
.modal-tariff.modal-tariff--enhanced,
.modal-tariff:has(.modal-tariff-spec--enhanced) {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px 20px;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-price,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-price {
  display: none !important;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-flag,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-flag {
  display: none !important;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-left,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-left {
  width: 100%;
  min-width: 0;
  gap: 0;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-left>div,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-left>div {
  width: 100%;
  min-width: 0;
  flex: 1 1 100%;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-name,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-name {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
  font-weight: 600;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-spec--enhanced,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-spec--enhanced {
  width: 100%;
  max-width: none;
  margin-top: 8px;
  gap: 0;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-summary-main,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-summary-main {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-detail-row,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-row,
.modal-tariff.modal-tariff--enhanced .modal-tariff-detail-row--minor,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-row--minor {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 9px 0;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-detail-label,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-label {
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-detail-value,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-value,
.modal-tariff.modal-tariff--enhanced .modal-tariff-detail-row--minor .modal-tariff-detail-value,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-row--minor .modal-tariff-detail-value {
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 560px) {

  .modal-tariff.modal-tariff--enhanced,
  .modal-tariff:has(.modal-tariff-spec--enhanced) {
    padding: 16px 18px;
  }

  .modal-tariff.modal-tariff--enhanced .modal-tariff-detail-row,
  .modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-row,
  .modal-tariff.modal-tariff--enhanced .modal-tariff-detail-row--minor,
  .modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-detail-row--minor {
    grid-template-columns: minmax(126px, 38%) minmax(0, 1fr);
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════
   Фильтр по операторам и операторы в карточках тарифов
═══════════════════════════════════════════════ */
.operator-filter-wrap {
  margin-top: 12px;
  min-width: 0;
}

.operator-filter-sep {
  margin-top: 14px;
}

.operator-filter-title {
  margin-bottom: 8px;
}

.operator-filter-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 0 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 39, 24, 0.35) transparent;
  cursor: default;
  user-select: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

.operator-filter-row.is-dragging,
.results--tariff-page .t-operators.is-dragging {
  cursor: grabbing;
}

.results--tariff-page .t-operators {
  cursor: grab;
}

.operator-filter-row.is-dragging *,
.results--tariff-page .t-operators.is-dragging * {
  pointer-events: none;
}

.operator-filter-row::-webkit-scrollbar {
  height: 5px;
}

.operator-filter-row::-webkit-scrollbar-track {
  background: transparent;
}

.operator-filter-row::-webkit-scrollbar-thumb {
  background: rgba(240, 39, 24, 0.28);
  border-radius: 999px;
}

.operator-filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.operator-filter-chip:hover {
  border-color: var(--red300);
  color: var(--red6);
  background: var(--red50);
}

.operator-filter-chip.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(240, 39, 24, 0.18);
}

.results--tariff-page .t-operators {
  position: relative;
  max-width: 100%;
  margin-top: 4px;
  padding: 0 0 5px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 39, 24, 0.28) transparent;
  cursor: default;
  user-select: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

.results--tariff-page .t-operators::-webkit-scrollbar {
  height: 4px;
}

.results--tariff-page .t-operators::-webkit-scrollbar-track {
  background: transparent;
}

.results--tariff-page .t-operators::-webkit-scrollbar-thumb {
  background: rgba(240, 39, 24, 0.22);
  border-radius: 999px;
}

.results--tariff-page .t-operators span {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .operator-filter-chip {
    font-size: 12px;
    padding: 6px 10px;
  }

  .results--tariff-page .t-operators {
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════
   FIX: мобильная ширина операторов без выезда за экран
   Операторы остаются в одну строку и скроллятся внутри своего блока,
   но больше не расширяют карточку/страницу по ширине.
═══════════════════════════════════════════════ */
.results--tariff-page,
.results--tariff-page .best-pick,
.results--tariff-page .bp-card,
.results--tariff-page .bp-card-main,
.results--tariff-page .bp-card-left,
.results--tariff-page .bp-tags,
.results--tariff-page .tariff-rows,
.results--tariff-page .tariff-card,
.results--tariff-page .t-row,
.results--tariff-page .t-name,
.operator-filter-wrap,
.operator-filter-row {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.operator-filter-row {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.results--tariff-page .t-operators {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
}

.results--tariff-page .t-operators span {
  display: inline-block;
  width: max-content;
  max-width: none;
  min-width: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {

  .tariff-page,
  .tariff-layout,
  .tariff-sidebar,
  .picker,
  .picker-card,
  .results--tariff-page {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .picker-card,
  .results--tariff-page .bp-card,
  .results--tariff-page .tariff-card,
  .results--tariff-page .t-row {
    overflow: hidden;
  }

  .operator-filter-row,
  .results--tariff-page .t-operators {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .results--tariff-page .bp-tags {
    overflow: hidden;
  }

  .results--tariff-page #bpOperator.has-tariff-inline-fade {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
}


/* FIX: операторы в карточке тарифа — без горизонтальной прокрутки.
   Оставляем одну строку и мягко скрываем длинный список градиентом. */
.results--tariff-page .tariff-card .t-operators {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 42px 0 0;
  overflow: hidden;
  overflow-x: hidden !important;
  overflow-y: hidden;
  white-space: nowrap;
  text-overflow: clip;
  scrollbar-width: none;
  cursor: default;
  user-select: text;
  touch-action: auto;
  overscroll-behavior-x: auto;
}

.results--tariff-page .tariff-card .t-operators::-webkit-scrollbar {
  display: none;
}

.results--tariff-page .tariff-card .t-operators span {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.results--tariff-page .tariff-card .t-operators::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 72%);
}

/* FIX: фильтр стран — не показываем варианты, где у активного оператора нет тарифов. */
.location-filter.lf-filter-hidden,
.lf-check.lf-option-hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   Фильтр операторов: выбор нескольких операторов через модальное окно
═══════════════════════════════════════════════ */
.operator-filter-open {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}

.operator-filter-open:hover,
.operator-filter-open:focus-visible {
  border-color: var(--red300);
  background: var(--red50);
  color: var(--red6);
  box-shadow: 0 4px 14px rgba(240, 39, 24, 0.10);
  outline: none;
}

.operator-filter-open-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.operator-filter-open-count {
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

html.operator-picker-lock,
body.operator-picker-lock {
  overflow: hidden;
}

body.operator-picker-lock {
  touch-action: none;
}

.operator-picker-modal {
  --operator-picker-vh: 100vh;
  --operator-picker-visual-vh: 100vh;
  --operator-picker-keyboard-offset: 0px;
  --operator-picker-top: 0px;
  --operator-picker-left: 0px;
  --operator-picker-width: 100vw;
  position: fixed;
  top: var(--operator-picker-top);
  left: var(--operator-picker-left);
  width: var(--operator-picker-width);
  height: var(--operator-picker-vh);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.operator-picker-modal.open {
  display: flex;
}

.operator-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(2px);
}

.operator-picker-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(680px, calc(var(--operator-picker-vh, 100vh) - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.operator-picker-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
}

.operator-picker-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.operator-picker-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.operator-picker-close:hover,
.operator-picker-close:focus-visible {
  background: var(--red50);
  color: var(--red);
  outline: none;
}

.operator-picker-search {
  flex: 0 0 auto;
  margin: 0 20px 10px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f7f7f8;
  color: var(--muted);
}

.operator-picker-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.operator-picker-search input::placeholder {
  color: #9aa1ad;
}

.operator-picker-list {
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.operator-picker-list.is-scrollable {
  max-height: 210px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.operator-picker-item {
  width: 100%;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 70px;
  padding: 10px 20px;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  background: #fff;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.operator-picker-item:last-child {
  border-bottom: 0;
}

.operator-picker-item:hover,
.operator-picker-item:focus-visible {
  background: #fff7f6;
  outline: none;
}

.operator-picker-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.operator-picker-check {
  width: 22px;
  height: 22px;
  border: 2px solid #d9dee7;
  border-radius: 5px;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.operator-picker-item.is-checked .operator-picker-check {
  border-color: var(--red);
  background: var(--red);
}

.operator-picker-item.is-checked .operator-picker-check::after {
  content: '';
  display: block;
  width: 6px;
  height: 11px;
  margin: 2px auto 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.operator-picker-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.operator-picker-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.operator-picker-code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.operator-picker-empty {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.operator-picker-foot {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
}

.operator-picker-selected {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.operator-picker-reset,
.operator-picker-apply {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.operator-picker-reset {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.operator-picker-reset:hover,
.operator-picker-reset:focus-visible {
  border-color: var(--red300);
  color: var(--red);
  outline: none;
}

.operator-picker-apply {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(240, 39, 24, 0.18);
}

.operator-picker-apply:hover,
.operator-picker-apply:focus-visible {
  background: var(--red6);
  border-color: var(--red6);
  outline: none;
}

@media (max-width: 767px) {
  .operator-picker-modal {
    align-items: flex-end;
    justify-content: center;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .operator-picker-dialog {
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: max(260px, calc(var(--operator-picker-vh, 100vh) - var(--operator-picker-keyboard-offset, 0px) - 20px));
    border-radius: 18px;
    overflow: hidden;
    transform: translateY(calc(-1 * var(--operator-picker-keyboard-offset, 0px)));
    transition: transform .18s ease, max-height .18s ease;
    will-change: transform;
  }

  .operator-picker-head {
    padding: 16px 18px 10px;
  }

  .operator-picker-search {
    margin: 0 18px 10px;
  }

  .operator-picker-list {
    flex: 0 1 auto;
    min-height: 70px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .operator-picker-list.is-scrollable {
    max-height: max(112px, min(226px, calc(var(--operator-picker-vh, 100vh) - var(--operator-picker-keyboard-offset, 0px) - 250px)));
  }

  .operator-picker-foot {
    grid-template-columns: 1fr 1fr;
    padding: 14px 18px;
  }

  .operator-picker-selected {
    grid-column: 1 / -1;
  }
}

/* Убираем стрелки у number input в Chrome, Safari, Edge, Opera */
.day-inp::-webkit-outer-spin-button,
.day-inp::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Убираем стрелки в Firefox */
.day-inp[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* FIX: не оставляем пустые плитки, если строка тарифа скрыта фильтрами. */
.results--tariff-page .tariff-card:has(> .t-row.lf-hidden),
.results--tariff-page .tariff-card:has(> .t-row.js-hidden),
.results--tariff-page .tariff-card:has(> .t-row[hidden]) {
  display: none !important;
}


/* FIX: мягкое скрытие длинного списка операторов в карточках тарифов.
   Делаем градиент через CSS-mask, чтобы не зависеть от фона карточки и не трогать DOM/JS. */
.results--tariff-page .tariff-card .t-operators {
  padding-right: 0 !important;
  overflow: hidden !important;
}

.results--tariff-page .tariff-card .t-operators span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0) 100%);
}

.results--tariff-page .tariff-card .t-operators::after {
  display: none !important;
}

/* FIX: компактная сводка стран/операторов в карточках тарифов */
.results--tariff-page .tariff-card .t-operators.t-operators--summary {
  padding-right: 0;
  overflow: visible;
  white-space: normal;
}

.results--tariff-page .tariff-card .t-operators.t-operators--summary::after {
  display: none;
}

.results--tariff-page .tariff-card .t-operators.t-operators--summary span {
  display: inline;
  width: auto;
  max-width: none;
  overflow: visible;
  white-space: normal;
}

.tariff-card-coverage-summary {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.tariff-card-coverage-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed rgba(75, 85, 99, 0.45);
}

.tariff-card-coverage-link:hover,
.tariff-card-coverage-link:focus-visible {
  color: var(--red, #f02718);
  border-bottom-color: currentColor;
  outline: none;
}

.tariff-card-coverage-sep {
  color: #9ca3af;
  font-weight: 700;
}

/* Модалка со списком стран и операторов тарифа */
.tariff-coverage-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tariff-coverage-modal.open {
  display: flex;
}

body.tariff-coverage-lock {
  overflow: hidden;
}

.tariff-coverage-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.tariff-coverage-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.22),
    0 4px 12px rgba(15, 23, 42, 0.08);
  padding: 28px 28px 24px;
  animation: providerInfoPop 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tariff-coverage-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.tariff-coverage-close:hover,
.tariff-coverage-close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: #111827;
  outline: none;
}

.tariff-coverage-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f02718;
  margin-bottom: 8px;
}

.tariff-coverage-title {
  margin: 0 34px 18px 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.tariff-coverage-groups {
  display: grid;
  gap: 16px;
}

.tariff-coverage-group {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.tariff-coverage-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.tariff-coverage-group-head b {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(240, 39, 24, 0.08);
  color: #f02718;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.tariff-coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tariff-coverage-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5f6f8;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tariff-coverage-empty {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .tariff-coverage-modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
  }

  .tariff-coverage-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
    padding: 24px 18px 18px;
  }

  .tariff-coverage-title {
    font-size: 20px;
  }
}

.results--tariff-page .tariff-card .t-row {
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-areas:
    "name price"
    "name ppg" !important;
  column-gap: 14px !important;
  padding: 14px 16px !important;
}

.results--tariff-page .tariff-card .t-radio {
  display: none !important;
}

.results--tariff-page .tariff-card .t-det-inner {
  padding: 0 16px 12px 16px !important;
}


/* .modal-total--top {
  margin: 12px 0 12px;
  padding: 14px 18px;
  border: 1px solid rgba(240, 39, 24, 0.08);
  background: linear-gradient(135deg, rgba(240, 39, 24, 0.055), rgba(253, 135, 19, 0.075));
} */

.modal-total--top .modal-total-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.modal-total--top .modal-total-val {
  font-size: 24px;
}

.modal-tariff.modal-tariff--enhanced,
.modal-tariff:has(.modal-tariff-spec--enhanced) {
  margin-bottom: 18px;
  padding: 14px 16px;
}

.modal-tariff.modal-tariff--enhanced .modal-tariff-name,
.modal-tariff:has(.modal-tariff-spec--enhanced) .modal-tariff-name {
  margin-bottom: 0 !important;
}

.modal-tarif-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-tariff-params {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.modal-tariff-params-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.modal-tariff-params-summary::-webkit-details-marker {
  display: none;
}

.modal-tariff-params-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.modal-tariff-params-note {
  grid-column: 1 / 2;
  display: block;
  max-width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-tariff-params-chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
  margin-right: 2px;
}

.modal-tariff-params[open] .modal-tariff-params-chevron {
  transform: rotate(225deg);
}

.modal-tariff-params-body {
  padding: 0 14px 12px;
}

.modal-tariff-params-body .modal-tariff-detail-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Mobile */
@media (max-width: 560px) {
  /* .modal-total--top {
    margin-top: 10px;
    padding: 13px 14px;
  } */

  .modal-overlay {
    padding: 0 !important;
  }
  .modal {
    max-height: 100dvh !important;
    border-radius: 0 !important;
    padding: 20px 14px !important;
  }
  .modal-close {
    top: 2px !important;
    right: 10px !important;
  }
  .modal-tariff {
    background: none !important;
  }
  .modal-tariff.modal-tariff--enhanced, .modal-tariff:has(.modal-tariff-spec--enhanced) {
    padding: 12px 0 !important;
    margin-bottom: 6px !important;
  }
  .modal-checks label {
    margin-bottom: .1rem !important;
  }

  .modal-total--top .modal-total-val {
    font-size: 22px;
  }
  .country-card {
    overflow: auto !important;
  }

  .modal-tariff-params-summary {
    padding: 11px 12px;
  }

  .modal-tariff-params-note {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .modal-tariff-params-body {
    padding: 0 12px 12px;
  }
}

/* ═══════════════════════════════════════════════
   FIX: объединённое поле промокода и кнопка
   Поле и кнопка визуально становятся одним контролом.
═══════════════════════════════════════════════ */
.promo-row,
.modal-promo-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100%;
  margin-bottom: 18px;
}

.promo-row .promo-input-wrap,
.modal-promo-row .promo-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.promo-row input,
.modal-promo-row input,
.promo-row #mPromo,
.modal-promo-row #mPromo {
  height: 42px;
  min-height: 42px;
  border-radius: 10px 0 0 10px !important;
  border-right: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.promo-row input:focus,
.modal-promo-row input:focus,
.promo-row #mPromo:focus,
.modal-promo-row #mPromo:focus {
  position: relative;
  z-index: 2;
  border-color: var(--red) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(240, 39, 24, 0.12) !important;
}

.promo-row .btn-promo,
.modal-promo-row .btn-promo,
.btn-promo {
  height: 42px;
  min-height: 42px;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 0 10px 10px 0 !important;
  border: 1.5px solid var(--border) !important;
  border-left: 0 !important;
  background: var(--surf2) !important;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none !important;
}

.promo-row .btn-promo:hover,
.modal-promo-row .btn-promo:hover,
.promo-row .btn-promo:focus-visible,
.modal-promo-row .btn-promo:focus-visible {
  background: var(--red50) !important;
  color: var(--red) !important;
  border-color: var(--red300) !important;
  outline: none;
}

/* На узких экранах оставляем кнопку справа, но делаем её компактнее */
@media (max-width: 420px) {
  .promo-row input,
  .modal-promo-row input,
  .promo-row #mPromo,
  .modal-promo-row #mPromo {
    height: 40px;
    min-height: 40px;
    padding-left: 12px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
  }

  .promo-row .btn-promo,
  .modal-promo-row .btn-promo,
  .btn-promo {
    height: 40px;
    min-height: 40px;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}